@depict-ai/ui 2.1.11 → 2.1.12
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 +12 -6
- package/ES10/index.d.ts +2 -2
- package/ES10/index.js +13 -7
- package/latest/index.cjs +9 -5
- package/latest/index.d.ts +2 -2
- package/latest/index.js +10 -6
- package/package.json +2 -2
- package/server/ES10/index.cjs +4 -5
- package/server/ES10/index.d.ts +2 -2
- package/server/ES10/index.js +4 -5
- package/server/latest/index.cjs +3 -4
- package/server/latest/index.d.ts +2 -2
- package/server/latest/index.js +3 -4
package/ES10/index.cjs
CHANGED
|
@@ -76,7 +76,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
76
76
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
77
77
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
78
78
|
/*! Depict.ai search and product listing SDK */
|
|
79
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.
|
|
79
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.12";
|
|
80
80
|
const $a68b73fd7ba0853f$var$fallback_operator = "in";
|
|
81
81
|
const $a68b73fd7ba0853f$var$fallback_token = "";
|
|
82
82
|
const $a68b73fd7ba0853f$var$legacy_filter_prefix = "filter_";
|
|
@@ -853,11 +853,10 @@ class $95e4006e1dcb5b72$export$aa14a9f43128f61f extends $95e4006e1dcb5b72$export
|
|
|
853
853
|
});
|
|
854
854
|
}
|
|
855
855
|
}
|
|
856
|
-
const $1b3cf201cdd38687$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div
|
|
856
|
+
const $1b3cf201cdd38687$var$_tmpl$ = /*#__PURE__*/$52FdA$solidjsweb.template(`<div><!$><!/><!$><!/>`);
|
|
857
857
|
function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
858
858
|
return $52FdA$solidjs.ErrorBoundary({
|
|
859
859
|
fallback(err, retry) {
|
|
860
|
-
var _props$on_error_;
|
|
861
860
|
const {
|
|
862
861
|
message_: message_,
|
|
863
862
|
severity_: severity_
|
|
@@ -867,10 +866,17 @@ function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
|
867
866
|
console.error(err.cause);
|
|
868
867
|
message = "".concat(message, ": ").concat(err.message);
|
|
869
868
|
} else $52FdA$depictaiutilishared.report([err, message_], severity_);
|
|
870
|
-
(_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 || _props$on_error_.call(props, retry);
|
|
871
869
|
return (() => {
|
|
872
|
-
const _el$ = $52FdA$solidjsweb.getNextElement($1b3cf201cdd38687$var$_tmpl$)
|
|
873
|
-
|
|
870
|
+
const _el$ = $52FdA$solidjsweb.getNextElement($1b3cf201cdd38687$var$_tmpl$),
|
|
871
|
+
_el$2 = _el$.firstChild,
|
|
872
|
+
[_el$3, _co$] = $52FdA$solidjsweb.getNextMarker(_el$2.nextSibling),
|
|
873
|
+
_el$4 = _el$3.nextSibling,
|
|
874
|
+
[_el$5, _co$2] = $52FdA$solidjsweb.getNextMarker(_el$4.nextSibling);
|
|
875
|
+
$52FdA$solidjsweb.insert(_el$, message, _el$3, _co$);
|
|
876
|
+
$52FdA$solidjsweb.insert(_el$, () => {
|
|
877
|
+
var _props$on_error_;
|
|
878
|
+
return (_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 ? void 0 : _props$on_error_.call(props, retry);
|
|
879
|
+
}, _el$5, _co$2);
|
|
874
880
|
$52FdA$solidjsweb.effect(_$p => {
|
|
875
881
|
var _props$class_list_;
|
|
876
882
|
return $52FdA$solidjsweb.classList(_el$, Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || []), _$p);
|
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 { ProductListingRequestV2 } from "@depict-ai/types/api/ProductListingRequestV2";
|
|
10
|
-
export const version = "2.1.
|
|
10
|
+
export const version = "2.1.12";
|
|
11
11
|
/**
|
|
12
12
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export function SentryErrorBoundary(props: {
|
|
|
20
20
|
children: JSX.Element;
|
|
21
21
|
message_: string;
|
|
22
22
|
severity_: Parameters<typeof report>[1];
|
|
23
|
-
on_error_?: (retry: VoidFunction) => void;
|
|
23
|
+
on_error_?: (retry: VoidFunction) => JSX.Element | void;
|
|
24
24
|
class_list_?: string[];
|
|
25
25
|
}): JSX.Element;
|
|
26
26
|
/**
|
package/ES10/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { add_to_version_info as $8tj43$add_to_version_info, base64_encode_unicode as $8tj43$base64_encode_unicode, base64_decode_unicode as $8tj43$base64_decode_unicode, dlog as $8tj43$dlog, queueMacroTask as $8tj43$queueMacroTask, catchify as $8tj43$catchify, is_safari as $8tj43$is_safari, observer as $8tj43$observer, dwarn as $8tj43$dwarn, Amazing_Slider as $8tj43$Amazing_Slider, slider_snap_css as $8tj43$slider_snap_css, slider_fading_factory as $8tj43$slider_fading_factory, slider_fractional_factory as $8tj43$slider_fractional_factory, camelCasifyObject as $8tj43$camelCasifyObject, make_random_classname as $8tj43$make_random_classname, 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, report as $8tj43$report, useExpandingContainer as $8tj43$useExpandingContainer, standard_price_format as $8tj43$standard_price_format, hex_to_rgb as $8tj43$hex_to_rgb, relative_luminance_from_rgb as $8tj43$relative_luminance_from_rgb, 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, sort_obj as $8tj43$sort_obj, edit_current_page_meta_tags as $8tj43$edit_current_page_meta_tags, javascript_media_query as $8tj43$javascript_media_query, use_href_accessor as $8tj43$use_href_accessor, 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, ListenableSet as $8tj43$ListenableSet, insert_surfaces as $8tj43$insert_surfaces } from "@depict-ai/utilishared/ES10";
|
|
2
|
-
import { createComponent as $8tj43$createComponent, insert as $8tj43$insert, template as $8tj43$template, getNextElement as $8tj43$getNextElement, effect as $8tj43$effect, style as $8tj43$style, spread as $8tj43$spread, setAttribute as $8tj43$setAttribute, mergeProps as $8tj43$mergeProps1, isServer as $8tj43$isServer, runHydrationEvents as $8tj43$runHydrationEvents, addEventListener as $8tj43$addEventListener, className as $8tj43$className, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents,
|
|
2
|
+
import { createComponent as $8tj43$createComponent, insert as $8tj43$insert, template as $8tj43$template, getNextElement as $8tj43$getNextElement, effect as $8tj43$effect, style as $8tj43$style, spread as $8tj43$spread, setAttribute as $8tj43$setAttribute, mergeProps as $8tj43$mergeProps1, isServer as $8tj43$isServer, runHydrationEvents as $8tj43$runHydrationEvents, addEventListener as $8tj43$addEventListener, className as $8tj43$className, memo as $8tj43$memo, delegateEvents as $8tj43$delegateEvents, getNextMarker as $8tj43$getNextMarker, classList as $8tj43$classList, Dynamic as $8tj43$Dynamic, use as $8tj43$use, setProperty as $8tj43$setProperty } from "solid-js/web";
|
|
3
3
|
import { createSignal as $8tj43$createSignal, getOwner as $8tj43$getOwner, createEffect as $8tj43$createEffect, runWithOwner as $8tj43$runWithOwner, onCleanup as $8tj43$onCleanup, createMemo as $8tj43$createMemo, createContext as $8tj43$createContext, useContext as $8tj43$useContext, mergeProps as $8tj43$mergeProps, Show as $8tj43$Show, createResource as $8tj43$createResource, Suspense as $8tj43$Suspense, untrack as $8tj43$untrack, createRenderEffect as $8tj43$createRenderEffect, Index as $8tj43$Index, createRoot as $8tj43$createRoot, For as $8tj43$For, createUniqueId as $8tj43$createUniqueId, createComputed as $8tj43$createComputed, ErrorBoundary as $8tj43$ErrorBoundary, on as $8tj43$on, batch as $8tj43$batch, createReaction as $8tj43$createReaction, mapArray as $8tj43$mapArray } from "solid-js";
|
|
4
4
|
import $8tj43$babelruntimehelpersclassPrivateFieldSet from "@babel/runtime/helpers/classPrivateFieldSet";
|
|
5
5
|
import $8tj43$babelruntimehelpersclassPrivateFieldGet from "@babel/runtime/helpers/classPrivateFieldGet";
|
|
@@ -9,7 +9,7 @@ import { createStore as $8tj43$createStore, reconcile as $8tj43$reconcile } from
|
|
|
9
9
|
/*! Depict.ai search and product listing SDK */
|
|
10
10
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
11
11
|
register_es_version("ui", "ES10");
|
|
12
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.
|
|
12
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.12";
|
|
13
13
|
const $2855bffe06ef7a03$var$fallback_operator = "in";
|
|
14
14
|
const $2855bffe06ef7a03$var$fallback_token = "";
|
|
15
15
|
const $2855bffe06ef7a03$var$legacy_filter_prefix = "filter_";
|
|
@@ -786,11 +786,10 @@ class $f3b7124b76123e44$export$aa14a9f43128f61f extends $f3b7124b76123e44$export
|
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
const $74777e8fe65b3dcb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div
|
|
789
|
+
const $74777e8fe65b3dcb$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<div><!$><!/><!$><!/>`);
|
|
790
790
|
function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
791
791
|
return $8tj43$ErrorBoundary({
|
|
792
792
|
fallback(err, retry) {
|
|
793
|
-
var _props$on_error_;
|
|
794
793
|
const {
|
|
795
794
|
message_: message_,
|
|
796
795
|
severity_: severity_
|
|
@@ -800,10 +799,17 @@ function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
|
800
799
|
console.error(err.cause);
|
|
801
800
|
message = "".concat(message, ": ").concat(err.message);
|
|
802
801
|
} else $8tj43$report([err, message_], severity_);
|
|
803
|
-
(_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 || _props$on_error_.call(props, retry);
|
|
804
802
|
return (() => {
|
|
805
|
-
const _el$ = $8tj43$getNextElement($74777e8fe65b3dcb$var$_tmpl$)
|
|
806
|
-
|
|
803
|
+
const _el$ = $8tj43$getNextElement($74777e8fe65b3dcb$var$_tmpl$),
|
|
804
|
+
_el$2 = _el$.firstChild,
|
|
805
|
+
[_el$3, _co$] = $8tj43$getNextMarker(_el$2.nextSibling),
|
|
806
|
+
_el$4 = _el$3.nextSibling,
|
|
807
|
+
[_el$5, _co$2] = $8tj43$getNextMarker(_el$4.nextSibling);
|
|
808
|
+
$8tj43$insert(_el$, message, _el$3, _co$);
|
|
809
|
+
$8tj43$insert(_el$, () => {
|
|
810
|
+
var _props$on_error_;
|
|
811
|
+
return (_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 ? void 0 : _props$on_error_.call(props, retry);
|
|
812
|
+
}, _el$5, _co$2);
|
|
807
813
|
$8tj43$effect(_$p => {
|
|
808
814
|
var _props$class_list_;
|
|
809
815
|
return $8tj43$classList(_el$, Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || []), _$p);
|
package/latest/index.cjs
CHANGED
|
@@ -70,7 +70,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
70
70
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
71
71
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
72
72
|
/*! Depict.ai search and product listing SDK */
|
|
73
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.
|
|
73
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.12";
|
|
74
74
|
const $1ab22f2cd39b3061$var$fallback_operator = "in";
|
|
75
75
|
const $1ab22f2cd39b3061$var$fallback_token = "";
|
|
76
76
|
const $1ab22f2cd39b3061$var$legacy_filter_prefix = "filter_";
|
|
@@ -811,7 +811,7 @@ class $7dd1edb2ee2b43ad$export$aa14a9f43128f61f extends $7dd1edb2ee2b43ad$export
|
|
|
811
811
|
});
|
|
812
812
|
}
|
|
813
813
|
}
|
|
814
|
-
const $edafe91daf3091d7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div
|
|
814
|
+
const $edafe91daf3091d7$var$_tmpl$ = /*#__PURE__*/$gVhhF$solidjsweb.template(`<div><!$><!/><!$><!/>`);
|
|
815
815
|
function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
816
816
|
return $gVhhF$solidjs.ErrorBoundary({
|
|
817
817
|
fallback(err, retry) {
|
|
@@ -824,10 +824,14 @@ function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
|
824
824
|
console.error(err.cause);
|
|
825
825
|
message = `${message}: ${err.message}`;
|
|
826
826
|
} else $gVhhF$depictaiutilishared.report([err, message_], severity_);
|
|
827
|
-
props.on_error_?.(retry);
|
|
828
827
|
return (() => {
|
|
829
|
-
const _el$ = $gVhhF$solidjsweb.getNextElement($edafe91daf3091d7$var$_tmpl$)
|
|
830
|
-
|
|
828
|
+
const _el$ = $gVhhF$solidjsweb.getNextElement($edafe91daf3091d7$var$_tmpl$),
|
|
829
|
+
_el$2 = _el$.firstChild,
|
|
830
|
+
[_el$3, _co$] = $gVhhF$solidjsweb.getNextMarker(_el$2.nextSibling),
|
|
831
|
+
_el$4 = _el$3.nextSibling,
|
|
832
|
+
[_el$5, _co$2] = $gVhhF$solidjsweb.getNextMarker(_el$4.nextSibling);
|
|
833
|
+
$gVhhF$solidjsweb.insert(_el$, message, _el$3, _co$);
|
|
834
|
+
$gVhhF$solidjsweb.insert(_el$, () => props.on_error_?.(retry), _el$5, _co$2);
|
|
831
835
|
$gVhhF$solidjsweb.effect(_$p => $gVhhF$solidjsweb.classList(_el$, Object.fromEntries(props.class_list_?.map(c => [c, true]) || []), _$p));
|
|
832
836
|
return _el$;
|
|
833
837
|
})();
|
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 { ProductListingRequestV2 } from "@depict-ai/types/api/ProductListingRequestV2";
|
|
10
|
-
export const version = "2.1.
|
|
10
|
+
export const version = "2.1.12";
|
|
11
11
|
/**
|
|
12
12
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export function SentryErrorBoundary(props: {
|
|
|
20
20
|
children: JSX.Element;
|
|
21
21
|
message_: string;
|
|
22
22
|
severity_: Parameters<typeof report>[1];
|
|
23
|
-
on_error_?: (retry: VoidFunction) => void;
|
|
23
|
+
on_error_?: (retry: VoidFunction) => JSX.Element | void;
|
|
24
24
|
class_list_?: string[];
|
|
25
25
|
}): JSX.Element;
|
|
26
26
|
/**
|
package/latest/index.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { add_to_version_info as $9HbP8$add_to_version_info, base64_encode_unicode as $9HbP8$base64_encode_unicode, base64_decode_unicode as $9HbP8$base64_decode_unicode, dlog as $9HbP8$dlog, queueMacroTask as $9HbP8$queueMacroTask, catchify as $9HbP8$catchify, is_safari as $9HbP8$is_safari, observer as $9HbP8$observer, dwarn as $9HbP8$dwarn, Amazing_Slider as $9HbP8$Amazing_Slider, slider_snap_css as $9HbP8$slider_snap_css, slider_fading_factory as $9HbP8$slider_fading_factory, slider_fractional_factory as $9HbP8$slider_fractional_factory, camelCasifyObject as $9HbP8$camelCasifyObject, make_random_classname as $9HbP8$make_random_classname, 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, report as $9HbP8$report, useExpandingContainer as $9HbP8$useExpandingContainer, standard_price_format as $9HbP8$standard_price_format, hex_to_rgb as $9HbP8$hex_to_rgb, relative_luminance_from_rgb as $9HbP8$relative_luminance_from_rgb, 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, make_url_with_query_params as $9HbP8$make_url_with_query_params, edit_current_page_meta_tags as $9HbP8$edit_current_page_meta_tags, javascript_media_query as $9HbP8$javascript_media_query, use_href_accessor as $9HbP8$use_href_accessor, 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, ListenableSet as $9HbP8$ListenableSet, insert_surfaces as $9HbP8$insert_surfaces } from "@depict-ai/utilishared/latest";
|
|
2
|
-
import { createComponent as $9HbP8$createComponent, insert as $9HbP8$insert, template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, effect as $9HbP8$effect, style as $9HbP8$style, spread as $9HbP8$spread, setAttribute as $9HbP8$setAttribute, mergeProps as $9HbP8$mergeProps1, isServer as $9HbP8$isServer, runHydrationEvents as $9HbP8$runHydrationEvents, addEventListener as $9HbP8$addEventListener, className as $9HbP8$className, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents,
|
|
2
|
+
import { createComponent as $9HbP8$createComponent, insert as $9HbP8$insert, template as $9HbP8$template, getNextElement as $9HbP8$getNextElement, effect as $9HbP8$effect, style as $9HbP8$style, spread as $9HbP8$spread, setAttribute as $9HbP8$setAttribute, mergeProps as $9HbP8$mergeProps1, isServer as $9HbP8$isServer, runHydrationEvents as $9HbP8$runHydrationEvents, addEventListener as $9HbP8$addEventListener, className as $9HbP8$className, memo as $9HbP8$memo, delegateEvents as $9HbP8$delegateEvents, getNextMarker as $9HbP8$getNextMarker, classList as $9HbP8$classList, Dynamic as $9HbP8$Dynamic, use as $9HbP8$use, setProperty as $9HbP8$setProperty } from "solid-js/web";
|
|
3
3
|
import { createSignal as $9HbP8$createSignal, getOwner as $9HbP8$getOwner, createEffect as $9HbP8$createEffect, runWithOwner as $9HbP8$runWithOwner, onCleanup as $9HbP8$onCleanup, createMemo as $9HbP8$createMemo, createContext as $9HbP8$createContext, useContext as $9HbP8$useContext, mergeProps as $9HbP8$mergeProps, Show as $9HbP8$Show, createResource as $9HbP8$createResource, Suspense as $9HbP8$Suspense, untrack as $9HbP8$untrack, createRenderEffect as $9HbP8$createRenderEffect, Index as $9HbP8$Index, createRoot as $9HbP8$createRoot, For as $9HbP8$For, createUniqueId as $9HbP8$createUniqueId, createComputed as $9HbP8$createComputed, ErrorBoundary as $9HbP8$ErrorBoundary, on as $9HbP8$on, batch as $9HbP8$batch, createReaction as $9HbP8$createReaction, mapArray as $9HbP8$mapArray } from "solid-js";
|
|
4
4
|
import { createStore as $9HbP8$createStore, reconcile as $9HbP8$reconcile } from "solid-js/store";
|
|
5
5
|
|
|
6
6
|
/*! Depict.ai search and product listing SDK */
|
|
7
7
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
8
8
|
register_es_version("ui", "latest");
|
|
9
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.
|
|
9
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.12";
|
|
10
10
|
const $4147651646da990a$var$fallback_operator = "in";
|
|
11
11
|
const $4147651646da990a$var$fallback_token = "";
|
|
12
12
|
const $4147651646da990a$var$legacy_filter_prefix = "filter_";
|
|
@@ -747,7 +747,7 @@ class $4fd48cb976bf1789$export$aa14a9f43128f61f extends $4fd48cb976bf1789$export
|
|
|
747
747
|
});
|
|
748
748
|
}
|
|
749
749
|
}
|
|
750
|
-
const $b7436a6d1fd64e3b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div
|
|
750
|
+
const $b7436a6d1fd64e3b$var$_tmpl$ = /*#__PURE__*/$9HbP8$template(`<div><!$><!/><!$><!/>`);
|
|
751
751
|
function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
752
752
|
return $9HbP8$ErrorBoundary({
|
|
753
753
|
fallback(err, retry) {
|
|
@@ -760,10 +760,14 @@ function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
|
760
760
|
console.error(err.cause);
|
|
761
761
|
message = `${message}: ${err.message}`;
|
|
762
762
|
} else $9HbP8$report([err, message_], severity_);
|
|
763
|
-
props.on_error_?.(retry);
|
|
764
763
|
return (() => {
|
|
765
|
-
const _el$ = $9HbP8$getNextElement($b7436a6d1fd64e3b$var$_tmpl$)
|
|
766
|
-
|
|
764
|
+
const _el$ = $9HbP8$getNextElement($b7436a6d1fd64e3b$var$_tmpl$),
|
|
765
|
+
_el$2 = _el$.firstChild,
|
|
766
|
+
[_el$3, _co$] = $9HbP8$getNextMarker(_el$2.nextSibling),
|
|
767
|
+
_el$4 = _el$3.nextSibling,
|
|
768
|
+
[_el$5, _co$2] = $9HbP8$getNextMarker(_el$4.nextSibling);
|
|
769
|
+
$9HbP8$insert(_el$, message, _el$3, _co$);
|
|
770
|
+
$9HbP8$insert(_el$, () => props.on_error_?.(retry), _el$5, _co$2);
|
|
767
771
|
$9HbP8$effect(_$p => $9HbP8$classList(_el$, Object.fromEntries(props.class_list_?.map(c => [c, true]) || []), _$p));
|
|
768
772
|
return _el$;
|
|
769
773
|
})();
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@depict-ai/ui",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.12",
|
|
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",
|
|
@@ -238,7 +238,7 @@
|
|
|
238
238
|
"@babel/runtime-corejs3": "^7.22.6",
|
|
239
239
|
"@depict-ai/plp-styling": "^1.2.6",
|
|
240
240
|
"@depict-ai/types": "^1.0.39",
|
|
241
|
-
"@depict-ai/utilishared": "^1.0.
|
|
241
|
+
"@depict-ai/utilishared": "^1.0.48",
|
|
242
242
|
"solid-js": "^1.8.1"
|
|
243
243
|
},
|
|
244
244
|
"type": "module",
|
package/server/ES10/index.cjs
CHANGED
|
@@ -76,7 +76,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $33eed84f447aa0c0$expo
|
|
|
76
76
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $33eed84f447aa0c0$export$7bf543b9d9be2c22);
|
|
77
77
|
$parcel$export(module.exports, "version", () => $aa1938dec50d6c12$export$83d89fbfd8236492);
|
|
78
78
|
/*! Depict.ai search and product listing SDK */
|
|
79
|
-
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.
|
|
79
|
+
const $aa1938dec50d6c12$export$83d89fbfd8236492 = "2.1.12";
|
|
80
80
|
const $a68b73fd7ba0853f$var$fallback_operator = "in";
|
|
81
81
|
const $a68b73fd7ba0853f$var$fallback_token = "";
|
|
82
82
|
const $a68b73fd7ba0853f$var$legacy_filter_prefix = "filter_";
|
|
@@ -828,11 +828,11 @@ class $95e4006e1dcb5b72$export$aa14a9f43128f61f extends $95e4006e1dcb5b72$export
|
|
|
828
828
|
});
|
|
829
829
|
}
|
|
830
830
|
}
|
|
831
|
-
const $1b3cf201cdd38687$var$_tmpl$ = ["<div", ' class="', '"
|
|
831
|
+
const $1b3cf201cdd38687$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
832
832
|
function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
833
833
|
return $3hooq$solidjs.ErrorBoundary({
|
|
834
834
|
fallback(err, retry) {
|
|
835
|
-
var _props$
|
|
835
|
+
var _props$class_list_, _props$on_error_;
|
|
836
836
|
const {
|
|
837
837
|
message_: message_,
|
|
838
838
|
severity_: severity_
|
|
@@ -842,8 +842,7 @@ function $1b3cf201cdd38687$export$b69d0d92862de18b(props) {
|
|
|
842
842
|
console.error(err.cause);
|
|
843
843
|
message = "".concat(message, ": ").concat(err.message);
|
|
844
844
|
} else $3hooq$depictaiutilishared.report([err, message_], severity_);
|
|
845
|
-
(_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0
|
|
846
|
-
return $3hooq$solidjsweb.ssr($1b3cf201cdd38687$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.ssrClassList(Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || [])), $3hooq$solidjsweb.escape(message));
|
|
845
|
+
return $3hooq$solidjsweb.ssr($1b3cf201cdd38687$var$_tmpl$, $3hooq$solidjsweb.ssrHydrationKey(), $3hooq$solidjsweb.ssrClassList(Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || [])), $3hooq$solidjsweb.escape(message), $3hooq$solidjsweb.escape((_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 ? void 0 : _props$on_error_.call(props, retry)));
|
|
847
846
|
},
|
|
848
847
|
get children() {
|
|
849
848
|
return props.children;
|
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 { ProductListingRequestV2 } from "@depict-ai/types/api/ProductListingRequestV2";
|
|
10
|
-
export const version = "2.1.
|
|
10
|
+
export const version = "2.1.12";
|
|
11
11
|
/**
|
|
12
12
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export function SentryErrorBoundary(props: {
|
|
|
20
20
|
children: JSX.Element;
|
|
21
21
|
message_: string;
|
|
22
22
|
severity_: Parameters<typeof report>[1];
|
|
23
|
-
on_error_?: (retry: VoidFunction) => void;
|
|
23
|
+
on_error_?: (retry: VoidFunction) => JSX.Element | void;
|
|
24
24
|
class_list_?: string[];
|
|
25
25
|
}): JSX.Element;
|
|
26
26
|
/**
|
package/server/ES10/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { createStore as $b8hua$createStore, reconcile as $b8hua$reconcile } from
|
|
|
9
9
|
/*! Depict.ai search and product listing SDK */
|
|
10
10
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
11
11
|
register_es_version("ui", "ES10");
|
|
12
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.
|
|
12
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.1.12";
|
|
13
13
|
const $2855bffe06ef7a03$var$fallback_operator = "in";
|
|
14
14
|
const $2855bffe06ef7a03$var$fallback_token = "";
|
|
15
15
|
const $2855bffe06ef7a03$var$legacy_filter_prefix = "filter_";
|
|
@@ -761,11 +761,11 @@ class $f3b7124b76123e44$export$aa14a9f43128f61f extends $f3b7124b76123e44$export
|
|
|
761
761
|
});
|
|
762
762
|
}
|
|
763
763
|
}
|
|
764
|
-
const $74777e8fe65b3dcb$var$_tmpl$ = ["<div", ' class="', '"
|
|
764
|
+
const $74777e8fe65b3dcb$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
765
765
|
function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
766
766
|
return $b8hua$ErrorBoundary({
|
|
767
767
|
fallback(err, retry) {
|
|
768
|
-
var _props$
|
|
768
|
+
var _props$class_list_, _props$on_error_;
|
|
769
769
|
const {
|
|
770
770
|
message_: message_,
|
|
771
771
|
severity_: severity_
|
|
@@ -775,8 +775,7 @@ function $74777e8fe65b3dcb$export$b69d0d92862de18b(props) {
|
|
|
775
775
|
console.error(err.cause);
|
|
776
776
|
message = "".concat(message, ": ").concat(err.message);
|
|
777
777
|
} else $b8hua$report([err, message_], severity_);
|
|
778
|
-
(_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0
|
|
779
|
-
return $b8hua$ssr($74777e8fe65b3dcb$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$ssrClassList(Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || [])), $b8hua$escape(message));
|
|
778
|
+
return $b8hua$ssr($74777e8fe65b3dcb$var$_tmpl$, $b8hua$ssrHydrationKey(), $b8hua$ssrClassList(Object.fromEntries(((_props$class_list_ = props.class_list_) === null || _props$class_list_ === void 0 ? void 0 : _props$class_list_.map(c => [c, true])) || [])), $b8hua$escape(message), $b8hua$escape((_props$on_error_ = props.on_error_) === null || _props$on_error_ === void 0 ? void 0 : _props$on_error_.call(props, retry)));
|
|
780
779
|
},
|
|
781
780
|
get children() {
|
|
782
781
|
return props.children;
|
package/server/latest/index.cjs
CHANGED
|
@@ -70,7 +70,7 @@ $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$expo
|
|
|
70
70
|
$parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
|
|
71
71
|
$parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
|
|
72
72
|
/*! Depict.ai search and product listing SDK */
|
|
73
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.
|
|
73
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "2.1.12";
|
|
74
74
|
const $1ab22f2cd39b3061$var$fallback_operator = "in";
|
|
75
75
|
const $1ab22f2cd39b3061$var$fallback_token = "";
|
|
76
76
|
const $1ab22f2cd39b3061$var$legacy_filter_prefix = "filter_";
|
|
@@ -786,7 +786,7 @@ class $7dd1edb2ee2b43ad$export$aa14a9f43128f61f extends $7dd1edb2ee2b43ad$export
|
|
|
786
786
|
});
|
|
787
787
|
}
|
|
788
788
|
}
|
|
789
|
-
const $edafe91daf3091d7$var$_tmpl$ = ["<div", ' class="', '"
|
|
789
|
+
const $edafe91daf3091d7$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
790
790
|
function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
791
791
|
return $5vyXB$solidjs.ErrorBoundary({
|
|
792
792
|
fallback(err, retry) {
|
|
@@ -799,8 +799,7 @@ function $edafe91daf3091d7$export$b69d0d92862de18b(props) {
|
|
|
799
799
|
console.error(err.cause);
|
|
800
800
|
message = `${message}: ${err.message}`;
|
|
801
801
|
} else $5vyXB$depictaiutilishared.report([err, message_], severity_);
|
|
802
|
-
props.on_error_?.(retry);
|
|
803
|
-
return $5vyXB$solidjsweb.ssr($edafe91daf3091d7$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrClassList(Object.fromEntries(props.class_list_?.map(c => [c, true]) || [])), $5vyXB$solidjsweb.escape(message));
|
|
802
|
+
return $5vyXB$solidjsweb.ssr($edafe91daf3091d7$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.ssrClassList(Object.fromEntries(props.class_list_?.map(c => [c, true]) || [])), $5vyXB$solidjsweb.escape(message), $5vyXB$solidjsweb.escape(props.on_error_?.(retry)));
|
|
804
803
|
},
|
|
805
804
|
get children() {
|
|
806
805
|
return props.children;
|
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 { ProductListingRequestV2 } from "@depict-ai/types/api/ProductListingRequestV2";
|
|
10
|
-
export const version = "2.1.
|
|
10
|
+
export const version = "2.1.12";
|
|
11
11
|
/**
|
|
12
12
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
13
13
|
*/
|
|
@@ -20,7 +20,7 @@ export function SentryErrorBoundary(props: {
|
|
|
20
20
|
children: JSX.Element;
|
|
21
21
|
message_: string;
|
|
22
22
|
severity_: Parameters<typeof report>[1];
|
|
23
|
-
on_error_?: (retry: VoidFunction) => void;
|
|
23
|
+
on_error_?: (retry: VoidFunction) => JSX.Element | void;
|
|
24
24
|
class_list_?: string[];
|
|
25
25
|
}): JSX.Element;
|
|
26
26
|
/**
|
package/server/latest/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
|
|
|
6
6
|
/*! Depict.ai search and product listing SDK */
|
|
7
7
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
8
8
|
register_es_version("ui", "latest");
|
|
9
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.
|
|
9
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "2.1.12";
|
|
10
10
|
const $4147651646da990a$var$fallback_operator = "in";
|
|
11
11
|
const $4147651646da990a$var$fallback_token = "";
|
|
12
12
|
const $4147651646da990a$var$legacy_filter_prefix = "filter_";
|
|
@@ -722,7 +722,7 @@ class $4fd48cb976bf1789$export$aa14a9f43128f61f extends $4fd48cb976bf1789$export
|
|
|
722
722
|
});
|
|
723
723
|
}
|
|
724
724
|
}
|
|
725
|
-
const $b7436a6d1fd64e3b$var$_tmpl$ = ["<div", ' class="', '"
|
|
725
|
+
const $b7436a6d1fd64e3b$var$_tmpl$ = ["<div", ' class="', '"><!--$-->', "<!--/--><!--$-->", "<!--/--></div>"];
|
|
726
726
|
function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
727
727
|
return $i7OB2$ErrorBoundary({
|
|
728
728
|
fallback(err, retry) {
|
|
@@ -735,8 +735,7 @@ function $b7436a6d1fd64e3b$export$b69d0d92862de18b(props) {
|
|
|
735
735
|
console.error(err.cause);
|
|
736
736
|
message = `${message}: ${err.message}`;
|
|
737
737
|
} else $i7OB2$report([err, message_], severity_);
|
|
738
|
-
props.on_error_?.(retry);
|
|
739
|
-
return $i7OB2$ssr($b7436a6d1fd64e3b$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrClassList(Object.fromEntries(props.class_list_?.map(c => [c, true]) || [])), $i7OB2$escape(message));
|
|
738
|
+
return $i7OB2$ssr($b7436a6d1fd64e3b$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$ssrClassList(Object.fromEntries(props.class_list_?.map(c => [c, true]) || [])), $i7OB2$escape(message), $i7OB2$escape(props.on_error_?.(retry)));
|
|
740
739
|
},
|
|
741
740
|
get children() {
|
|
742
741
|
return props.children;
|