@depict-ai/ui 1.3.8 → 1.4.2

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/README.md CHANGED
@@ -6,4 +6,5 @@ Breaking changes:
6
6
 
7
7
  - 1.1.0 made the `include_input_field` option of `SearchPage` default to true
8
8
  - 1.2.0 added `page_url_creator` and changed typing to support it. The only breaking change is that this potentially causes type errors where the resolution is to move the generics to the provider instead of the SearchPage and CategoryPage components.
9
- - 1.3.0 moved `depict-filter-sort-mobile-modal-container` from being a class to being an id
9
+ - 1.3.0 moved `depict-filter-sort-mobile-modal-container` from being a class to being an id
10
+ - 1.4.0 Added `brand_` translation string to Locale.
@@ -1,11 +1,12 @@
1
1
  var $57o7A$depictaiutilishared = require("@depict-ai/utilishared");
2
- var $57o7A$solidjs = require("solid-js");
3
2
  var $57o7A$solidjsweb = require("solid-js/web");
3
+ var $57o7A$solidjs = require("solid-js");
4
4
 
5
5
  function $parcel$export(e, n, v, s) {
6
6
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
7
  }
8
8
 
9
+ $parcel$export(module.exports, "ExpandingDetails", () => $a69e505a12a77874$export$6c6d7a51fa9aa15d);
9
10
  $parcel$export(module.exports, "accessor_of_object_to_object_with_accessor_values", () => $0785f4c9947d9b5f$export$f091cbac892643a4);
10
11
  $parcel$export(module.exports, "SelectedFilters", () => $235a2771a44e28e9$export$fecbb157621501bd);
11
12
  $parcel$export(module.exports, "FilterBody", () => $aff9a96d30ed3563$export$3f1a388cc0d8fed7);
@@ -48,26 +49,7 @@ $parcel$export(module.exports, "defaultGridSpacing", () => $a3280f0aad997933$exp
48
49
  $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$export$c3834fa86c616831);
49
50
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
50
51
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
51
- /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.3.8";
52
-
53
-
54
-
55
-
56
- function $0785f4c9947d9b5f$export$f091cbac892643a4(obj) {
57
- const mapfn = (key)=>[
58
- key,
59
- (0, $57o7A$solidjs.createMemo)(()=>obj()[key])
60
- ];
61
- const keys = Object.keys((0, $57o7A$solidjs.untrack)(()=>obj()));
62
- const mapped_stuff = keys.map(mapfn);
63
- return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
64
- }
65
-
66
-
67
-
68
-
69
-
70
-
52
+ /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.2";
71
53
 
72
54
 
73
55
 
@@ -100,21 +82,6 @@ function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
100
82
  }
101
83
 
102
84
 
103
-
104
-
105
- function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
106
- return (0, $57o7A$solidjs.createMemo)(()=>{
107
- const price_formatting = props.price_formatting_;
108
- return (0, $57o7A$depictaiutilishared.standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
109
- });
110
- }
111
-
112
-
113
-
114
-
115
-
116
-
117
-
118
85
  const $a69e505a12a77874$var$has_new_animate = /*@__PURE__*/ $a69e505a12a77874$export$e13dddbb31c3a42f();
119
86
  function $a69e505a12a77874$export$6c6d7a51fa9aa15d(props) {
120
87
  let fresh_component = true;
@@ -186,6 +153,41 @@ function $a69e505a12a77874$export$e13dddbb31c3a42f() {
186
153
 
187
154
 
188
155
 
156
+ function $0785f4c9947d9b5f$export$f091cbac892643a4(obj) {
157
+ const mapfn = (key)=>[
158
+ key,
159
+ (0, $57o7A$solidjs.createMemo)(()=>obj()[key])
160
+ ];
161
+ const keys = Object.keys((0, $57o7A$solidjs.untrack)(()=>obj()));
162
+ const mapped_stuff = keys.map(mapfn);
163
+ return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
164
+ }
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+
177
+
178
+
179
+
180
+
181
+ function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
182
+ return (0, $57o7A$solidjs.createMemo)(()=>{
183
+ const price_formatting = props.price_formatting_;
184
+ return (0, $57o7A$depictaiutilishared.standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
185
+ });
186
+ }
187
+
188
+
189
+
190
+
189
191
 
190
192
 
191
193
 
@@ -2742,17 +2744,24 @@ function $5f7d55c710fd1bc2$var$unwrapping_helper(elements) {
2742
2744
 
2743
2745
  const $f48d0fbb00835aaa$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<div></div>`, 2), $f48d0fbb00835aaa$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$57o7A$solidjsweb.template)(`<style type="text/css"></style>`, 2);
2744
2746
  function $f48d0fbb00835aaa$export$d21e32dfedac04be(props) {
2747
+ const container_element_ = (()=>{
2748
+ const _el$ = (0, $57o7A$solidjsweb.getNextElement)($f48d0fbb00835aaa$var$_tmpl$);
2749
+ (0, $57o7A$solidjsweb.spread)(_el$, (0, $57o7A$solidjsweb.mergeProps)(()=>props.element_attributes), false, true);
2750
+ (0, $57o7A$solidjsweb.insert)(_el$, ()=>props.children);
2751
+ (0, $57o7A$solidjsweb.runHydrationEvents)();
2752
+ return _el$;
2753
+ })(); // Don't want this in the error boundary below, it should only be for the actual layouting
2745
2754
  return (0, $57o7A$solidjsweb.createComponent)((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
2746
2755
  get message_ () {
2747
2756
  return "Failed calculating " + props.layout + " layout";
2748
2757
  },
2749
2758
  severity_: "error",
2750
2759
  get children () {
2751
- return $f48d0fbb00835aaa$var$ActualSolidLayout(props);
2760
+ return $f48d0fbb00835aaa$var$ActualSolidLayout(props, container_element_);
2752
2761
  }
2753
2762
  });
2754
2763
  }
2755
- function $f48d0fbb00835aaa$var$ActualSolidLayout(props) {
2764
+ function $f48d0fbb00835aaa$var$ActualSolidLayout(props, container_element) {
2756
2765
  // Copy of Layout from utilishared but using solid-js signals instead of async iterable IPNS
2757
2766
  const show_all_rows = (0, $57o7A$solidjs.createMemo)(()=>props.rows === "all");
2758
2767
  const rows_or_empty_object = (0, $57o7A$solidjs.createMemo)(()=>show_all_rows() ? {} : props.rows);
@@ -2764,13 +2773,6 @@ function $f48d0fbb00835aaa$var$ActualSolidLayout(props) {
2764
2773
  const [get_styling, set_styling] = (0, $57o7A$solidjs.createSignal)();
2765
2774
  const container_class = (0, $57o7A$depictaiutilishared.make_random_classname)();
2766
2775
  const selector_beginning = `.depict .${container_class}>`; // class so ppl can have id if needed
2767
- const container_element = (()=>{
2768
- const _el$ = (0, $57o7A$solidjsweb.getNextElement)($f48d0fbb00835aaa$var$_tmpl$);
2769
- (0, $57o7A$solidjsweb.spread)(_el$, (0, $57o7A$solidjsweb.mergeProps)(()=>props.element_attributes), false, true);
2770
- (0, $57o7A$solidjsweb.insert)(_el$, ()=>props.children);
2771
- (0, $57o7A$solidjsweb.runHydrationEvents)();
2772
- return _el$;
2773
- })();
2774
2776
  const [get_children_count, set_children_count] = (0, $57o7A$solidjs.createSignal)(0);
2775
2777
  const update_children_count = ()=>set_children_count(container_element.children.length);
2776
2778
  const col_styling = (0, $57o7A$solidjs.createMemo)(()=>(0, $57o7A$depictaiutilishared.n_col_styling_with_dist)(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
@@ -6214,7 +6216,7 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
6214
6216
  #market_signal = (0, $57o7A$solidjs.createSignal)();
6215
6217
  #query_id_signal = (0, $57o7A$solidjs.createSignal)("");
6216
6218
  #listing_type_signal = (0, $57o7A$solidjs.createSignal)();
6217
- static #keys_constructed_with = [];
6219
+ static #keys_constructed_with = new Set();
6218
6220
  get localization() {
6219
6221
  // allow reactive access
6220
6222
  return this.#locale_signal[0]();
@@ -6256,7 +6258,7 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
6256
6258
  constructor({ api: api , on_navigation: on_navigation , page_url_creator: page_url_creator , unique_instance_key_for_state: unique_instance_key_for_state = "" , query_id_state_key: query_id_state_key , ...props_on_class }){
6257
6259
  const owner = (0, $57o7A$solidjs.getOwner)() || (0, $57o7A$solidjs.createRoot)(()=>(0, $57o7A$solidjs.getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
6258
6260
  (0, $57o7A$solidjs.runWithOwner)(owner, ()=>{
6259
- if ($48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $57o7A$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
6261
+ if ($48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $57o7A$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
6260
6262
  throw new Error("You can only have one instance of DepictCategory with the same uniqueInstanceKeyForState");
6261
6263
  Object.assign(this, props_on_class); // set initial signal values
6262
6264
  (0, $d84fe647b84b5dc5$export$5162a71f252e6122)();
@@ -6299,7 +6301,8 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
6299
6301
  sorting_query_param_: sorting_query_param_,
6300
6302
  filter_query_param_prefix_: filter_query_param_prefix_
6301
6303
  });
6302
- $48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.push(unique_instance_key_for_state);
6304
+ $48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.add(unique_instance_key_for_state);
6305
+ (0, $57o7A$solidjs.onCleanup)(()=>$48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.delete(unique_instance_key_for_state));
6303
6306
  });
6304
6307
  }
6305
6308
  }
@@ -7609,7 +7612,10 @@ function $6b65ba8af12c5a26$export$e872e2339fb04a7f({ suggestion_memo_: suggestio
7609
7612
  })()),
7610
7613
  (()=>{
7611
7614
  const _el$3 = (0, $57o7A$solidjsweb.getNextElement)($6b65ba8af12c5a26$var$_tmpl$3);
7612
- (0, $57o7A$solidjsweb.insert)(_el$3, ()=>i18n_.category_());
7615
+ (0, $57o7A$solidjsweb.insert)(_el$3, (0, $57o7A$solidjs.createMemo)(()=>{
7616
+ if (input_obj().category_type === "BRAND") return i18n_.brand_();
7617
+ return i18n_.category_();
7618
+ }));
7613
7619
  return _el$3;
7614
7620
  })()
7615
7621
  ];
@@ -8702,13 +8708,13 @@ class $2c61e4cd8229c49a$export$ac6237957a15b3f0 {
8702
8708
  #merchant_signal = (0, $57o7A$solidjs.createSignal)();
8703
8709
  #market_signal = (0, $57o7A$solidjs.createSignal)();
8704
8710
  #modal_open_signal = (0, $57o7A$solidjs.createSignal)(false);
8705
- static #keys_constructed_with = [];
8711
+ static #keys_constructed_with = new Set();
8706
8712
  #router = new (0, $e96dd13889871fc0$export$7e1297a3a19f10d8)("hard_navigation");
8707
8713
  constructor({ unique_instance_key_for_state: unique_instance_key_for_state = "" , search_query_url_param_name: search_query_url_param_name_ = "query" + unique_instance_key_for_state , url_transformer: url_transformer , on_navigation: on_navigation , enable_category_suggestions: enable_category_suggestions = true , page_url_creator: page_url_creator , disable_scrolling_during_modal: // Stuff needed for non-standard customer deployments that we shouldn't actually expose
8708
8714
  disable_scrolling_during_modal = true , api: api , bottom_distance_under_modal: bottom_distance_under_modal , render_instant_card: render_instant_card , ...props_on_class }){
8709
8715
  const owner = (0, $57o7A$solidjs.getOwner)() || (0, $57o7A$solidjs.createRoot)(()=>(0, $57o7A$solidjs.getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
8710
8716
  (0, $57o7A$solidjs.runWithOwner)(owner, ()=>{
8711
- if ($2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $57o7A$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
8717
+ if ($2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $57o7A$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
8712
8718
  throw new Error("You can only have one instance of DepictSearch with the same uniqueInstanceKeyForState");
8713
8719
  Object.assign(this, props_on_class);
8714
8720
  if (on_navigation) this.#router.on_navigation_ = on_navigation;
@@ -8859,7 +8865,8 @@ class $2c61e4cd8229c49a$export$ac6237957a15b3f0 {
8859
8865
  };
8860
8866
  (0, $57o7A$solidjs.runWithOwner)(owner, ()=>(0, $57o7A$solidjs.createEffect)(modal_opening_effect));
8861
8867
  })();
8862
- $2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.push(unique_instance_key_for_state);
8868
+ $2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.add(unique_instance_key_for_state);
8869
+ (0, $57o7A$solidjs.onCleanup)(()=>$2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.delete(unique_instance_key_for_state));
8863
8870
  });
8864
8871
  }
8865
8872
  get on_navigation() {
@@ -1,27 +1,8 @@
1
- import {add_to_version_info as $gco9i$add_to_version_info, catchify as $gco9i$catchify, observer as $gco9i$observer, useExpandingContainer as $gco9i$useExpandingContainer, standard_price_format as $gco9i$standard_price_format, Amazing_Slider as $gco9i$Amazing_Slider, slider_snap_css as $gco9i$slider_snap_css, slider_fading_factory as $gco9i$slider_fading_factory, make_random_classname as $gco9i$make_random_classname, dlog as $gco9i$dlog, report as $gco9i$report, hsl_to_rgb as $gco9i$hsl_to_rgb, relative_luminance_from_rgb as $gco9i$relative_luminance_from_rgb, javascript_media_query as $gco9i$javascript_media_query, n_col_styling_with_dist as $gco9i$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $gco9i$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $gco9i$layout_get_total_rec_amount_for_row, layout_media_query_header as $gco9i$layout_media_query_header, fetch_recs as $gco9i$fetch_recs, snakeCasifyObject as $gco9i$snakeCasifyObject, instant_exec_on_suspect_history_change as $gco9i$instant_exec_on_suspect_history_change, base_url as $gco9i$base_url, get_depict_id as $gco9i$get_depict_id, get_user_id as $gco9i$get_user_id, get_session_id as $gco9i$get_session_id, sort_obj as $gco9i$sort_obj, fetch_retry as $gco9i$fetch_retry, add_version_query_params as $gco9i$add_version_query_params, dwarn as $gco9i$dwarn, make_url_with_query_params as $gco9i$make_url_with_query_params, base64_encode_unicode as $gco9i$base64_encode_unicode, base64_decode_unicode as $gco9i$base64_decode_unicode, queueMacroTask as $gco9i$queueMacroTask, is_debug as $gco9i$is_debug, make_asyncIterable_exiter as $gco9i$make_asyncIterable_exiter, href_change_ipns as $gco9i$href_change_ipns, ContainedImage as $gco9i$ContainedImage, buildThresholdList as $gco9i$buildThresholdList, deparallelize_no_drop as $gco9i$deparallelize_no_drop, insert_surfaces as $gco9i$insert_surfaces} from "@depict-ai/utilishared";
2
- import {createMemo as $gco9i$createMemo, untrack as $gco9i$untrack, getOwner as $gco9i$getOwner, Show as $gco9i$Show, runWithOwner as $gco9i$runWithOwner, Index as $gco9i$Index, onCleanup as $gco9i$onCleanup, createSignal as $gco9i$createSignal, createEffect as $gco9i$createEffect, createRoot as $gco9i$createRoot, on as $gco9i$on, For as $gco9i$For, createRenderEffect as $gco9i$createRenderEffect, createComputed as $gco9i$createComputed, batch as $gco9i$batch, ErrorBoundary as $gco9i$ErrorBoundary, createResource as $gco9i$createResource, createReaction as $gco9i$createReaction, Suspense as $gco9i$Suspense} from "solid-js";
3
- import {template as $gco9i$template, createComponent as $gco9i$createComponent, getNextElement as $gco9i$getNextElement, getNextMarker as $gco9i$getNextMarker, insert as $gco9i$insert, addEventListener as $gco9i$addEventListener, runHydrationEvents as $gco9i$runHydrationEvents, memo as $gco9i$memo, delegateEvents as $gco9i$delegateEvents, effect as $gco9i$effect, setAttribute as $gco9i$setAttribute, spread as $gco9i$spread, mergeProps as $gco9i$mergeProps, Dynamic as $gco9i$Dynamic, use as $gco9i$use, style as $gco9i$style, classList as $gco9i$classList, className as $gco9i$className, isServer as $gco9i$isServer} from "solid-js/web";
4
-
5
- /*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.3.8";
6
-
7
-
8
-
9
-
10
- function $c16e74cfe125bb05$export$f091cbac892643a4(obj) {
11
- const mapfn = (key)=>[
12
- key,
13
- (0, $gco9i$createMemo)(()=>obj()[key])
14
- ];
15
- const keys = Object.keys((0, $gco9i$untrack)(()=>obj()));
16
- const mapped_stuff = keys.map(mapfn);
17
- return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
18
- }
19
-
20
-
21
-
22
-
23
-
1
+ import {add_to_version_info as $gco9i$add_to_version_info, observer as $gco9i$observer, catchify as $gco9i$catchify, useExpandingContainer as $gco9i$useExpandingContainer, standard_price_format as $gco9i$standard_price_format, Amazing_Slider as $gco9i$Amazing_Slider, slider_snap_css as $gco9i$slider_snap_css, slider_fading_factory as $gco9i$slider_fading_factory, make_random_classname as $gco9i$make_random_classname, dlog as $gco9i$dlog, report as $gco9i$report, hsl_to_rgb as $gco9i$hsl_to_rgb, relative_luminance_from_rgb as $gco9i$relative_luminance_from_rgb, javascript_media_query as $gco9i$javascript_media_query, n_col_styling_with_dist as $gco9i$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $gco9i$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $gco9i$layout_get_total_rec_amount_for_row, layout_media_query_header as $gco9i$layout_media_query_header, fetch_recs as $gco9i$fetch_recs, snakeCasifyObject as $gco9i$snakeCasifyObject, instant_exec_on_suspect_history_change as $gco9i$instant_exec_on_suspect_history_change, base_url as $gco9i$base_url, get_depict_id as $gco9i$get_depict_id, get_user_id as $gco9i$get_user_id, get_session_id as $gco9i$get_session_id, sort_obj as $gco9i$sort_obj, fetch_retry as $gco9i$fetch_retry, add_version_query_params as $gco9i$add_version_query_params, dwarn as $gco9i$dwarn, make_url_with_query_params as $gco9i$make_url_with_query_params, base64_encode_unicode as $gco9i$base64_encode_unicode, base64_decode_unicode as $gco9i$base64_decode_unicode, queueMacroTask as $gco9i$queueMacroTask, is_debug as $gco9i$is_debug, make_asyncIterable_exiter as $gco9i$make_asyncIterable_exiter, href_change_ipns as $gco9i$href_change_ipns, ContainedImage as $gco9i$ContainedImage, buildThresholdList as $gco9i$buildThresholdList, deparallelize_no_drop as $gco9i$deparallelize_no_drop, insert_surfaces as $gco9i$insert_surfaces} from "@depict-ai/utilishared";
2
+ import {insert as $gco9i$insert, createComponent as $gco9i$createComponent, template as $gco9i$template, getNextElement as $gco9i$getNextElement, getNextMarker as $gco9i$getNextMarker, addEventListener as $gco9i$addEventListener, runHydrationEvents as $gco9i$runHydrationEvents, memo as $gco9i$memo, delegateEvents as $gco9i$delegateEvents, effect as $gco9i$effect, setAttribute as $gco9i$setAttribute, spread as $gco9i$spread, mergeProps as $gco9i$mergeProps, Dynamic as $gco9i$Dynamic, use as $gco9i$use, style as $gco9i$style, classList as $gco9i$classList, className as $gco9i$className, isServer as $gco9i$isServer} from "solid-js/web";
3
+ import {createSignal as $gco9i$createSignal, createMemo as $gco9i$createMemo, untrack as $gco9i$untrack, createEffect as $gco9i$createEffect, getOwner as $gco9i$getOwner, Show as $gco9i$Show, runWithOwner as $gco9i$runWithOwner, Index as $gco9i$Index, onCleanup as $gco9i$onCleanup, createRoot as $gco9i$createRoot, on as $gco9i$on, For as $gco9i$For, createRenderEffect as $gco9i$createRenderEffect, createComputed as $gco9i$createComputed, batch as $gco9i$batch, ErrorBoundary as $gco9i$ErrorBoundary, createResource as $gco9i$createResource, createReaction as $gco9i$createReaction, Suspense as $gco9i$Suspense} from "solid-js";
24
4
 
5
+ /*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.2";
25
6
 
26
7
 
27
8
 
@@ -54,21 +35,6 @@ function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
54
35
  }
55
36
 
56
37
 
57
-
58
-
59
- function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
60
- return (0, $gco9i$createMemo)(()=>{
61
- const price_formatting = props.price_formatting_;
62
- return (0, $gco9i$standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
63
- });
64
- }
65
-
66
-
67
-
68
-
69
-
70
-
71
-
72
38
  const $6bb0a0c563dff4bb$var$has_new_animate = /*@__PURE__*/ $6bb0a0c563dff4bb$export$e13dddbb31c3a42f();
73
39
  function $6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d(props) {
74
40
  let fresh_component = true;
@@ -140,6 +106,41 @@ function $6bb0a0c563dff4bb$export$e13dddbb31c3a42f() {
140
106
 
141
107
 
142
108
 
109
+ function $c16e74cfe125bb05$export$f091cbac892643a4(obj) {
110
+ const mapfn = (key)=>[
111
+ key,
112
+ (0, $gco9i$createMemo)(()=>obj()[key])
113
+ ];
114
+ const keys = Object.keys((0, $gco9i$untrack)(()=>obj()));
115
+ const mapped_stuff = keys.map(mapfn);
116
+ return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
117
+ }
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+
130
+
131
+
132
+
133
+
134
+ function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
135
+ return (0, $gco9i$createMemo)(()=>{
136
+ const price_formatting = props.price_formatting_;
137
+ return (0, $gco9i$standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
138
+ });
139
+ }
140
+
141
+
142
+
143
+
143
144
 
144
145
 
145
146
 
@@ -2696,17 +2697,24 @@ function $a52235d12ccf9c88$var$unwrapping_helper(elements) {
2696
2697
 
2697
2698
  const $c8d5ff4524619fcd$var$_tmpl$ = /*@__PURE__*/ (0, /*@__PURE__*/$gco9i$template)(`<div></div>`, 2), $c8d5ff4524619fcd$var$_tmpl$2 = /*@__PURE__*/ (0, /*@__PURE__*/$gco9i$template)(`<style type="text/css"></style>`, 2);
2698
2699
  function $c8d5ff4524619fcd$export$d21e32dfedac04be(props) {
2700
+ const container_element_ = (()=>{
2701
+ const _el$ = (0, $gco9i$getNextElement)($c8d5ff4524619fcd$var$_tmpl$);
2702
+ (0, $gco9i$spread)(_el$, (0, $gco9i$mergeProps)(()=>props.element_attributes), false, true);
2703
+ (0, $gco9i$insert)(_el$, ()=>props.children);
2704
+ (0, $gco9i$runHydrationEvents)();
2705
+ return _el$;
2706
+ })(); // Don't want this in the error boundary below, it should only be for the actual layouting
2699
2707
  return (0, $gco9i$createComponent)((0, $b7436a6d1fd64e3b$export$b69d0d92862de18b), {
2700
2708
  get message_ () {
2701
2709
  return "Failed calculating " + props.layout + " layout";
2702
2710
  },
2703
2711
  severity_: "error",
2704
2712
  get children () {
2705
- return $c8d5ff4524619fcd$var$ActualSolidLayout(props);
2713
+ return $c8d5ff4524619fcd$var$ActualSolidLayout(props, container_element_);
2706
2714
  }
2707
2715
  });
2708
2716
  }
2709
- function $c8d5ff4524619fcd$var$ActualSolidLayout(props) {
2717
+ function $c8d5ff4524619fcd$var$ActualSolidLayout(props, container_element) {
2710
2718
  // Copy of Layout from utilishared but using solid-js signals instead of async iterable IPNS
2711
2719
  const show_all_rows = (0, $gco9i$createMemo)(()=>props.rows === "all");
2712
2720
  const rows_or_empty_object = (0, $gco9i$createMemo)(()=>show_all_rows() ? {} : props.rows);
@@ -2718,13 +2726,6 @@ function $c8d5ff4524619fcd$var$ActualSolidLayout(props) {
2718
2726
  const [get_styling, set_styling] = (0, $gco9i$createSignal)();
2719
2727
  const container_class = (0, $gco9i$make_random_classname)();
2720
2728
  const selector_beginning = `.depict .${container_class}>`; // class so ppl can have id if needed
2721
- const container_element = (()=>{
2722
- const _el$ = (0, $gco9i$getNextElement)($c8d5ff4524619fcd$var$_tmpl$);
2723
- (0, $gco9i$spread)(_el$, (0, $gco9i$mergeProps)(()=>props.element_attributes), false, true);
2724
- (0, $gco9i$insert)(_el$, ()=>props.children);
2725
- (0, $gco9i$runHydrationEvents)();
2726
- return _el$;
2727
- })();
2728
2729
  const [get_children_count, set_children_count] = (0, $gco9i$createSignal)(0);
2729
2730
  const update_children_count = ()=>set_children_count(container_element.children.length);
2730
2731
  const col_styling = (0, $gco9i$createMemo)(()=>(0, $gco9i$n_col_styling_with_dist)(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
@@ -6168,7 +6169,7 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
6168
6169
  #market_signal = (0, $gco9i$createSignal)();
6169
6170
  #query_id_signal = (0, $gco9i$createSignal)("");
6170
6171
  #listing_type_signal = (0, $gco9i$createSignal)();
6171
- static #keys_constructed_with = [];
6172
+ static #keys_constructed_with = new Set();
6172
6173
  get localization() {
6173
6174
  // allow reactive access
6174
6175
  return this.#locale_signal[0]();
@@ -6210,7 +6211,7 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
6210
6211
  constructor({ api: api , on_navigation: on_navigation , page_url_creator: page_url_creator , unique_instance_key_for_state: unique_instance_key_for_state = "" , query_id_state_key: query_id_state_key , ...props_on_class }){
6211
6212
  const owner = (0, $gco9i$getOwner)() || (0, $gco9i$createRoot)(()=>(0, $gco9i$getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
6212
6213
  (0, $gco9i$runWithOwner)(owner, ()=>{
6213
- if ($961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $gco9i$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
6214
+ if ($961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $gco9i$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
6214
6215
  throw new Error("You can only have one instance of DepictCategory with the same uniqueInstanceKeyForState");
6215
6216
  Object.assign(this, props_on_class); // set initial signal values
6216
6217
  (0, $90980bd87c9960f9$export$5162a71f252e6122)();
@@ -6253,7 +6254,8 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
6253
6254
  sorting_query_param_: sorting_query_param_,
6254
6255
  filter_query_param_prefix_: filter_query_param_prefix_
6255
6256
  });
6256
- $961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.push(unique_instance_key_for_state);
6257
+ $961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.add(unique_instance_key_for_state);
6258
+ (0, $gco9i$onCleanup)(()=>$961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.delete(unique_instance_key_for_state));
6257
6259
  });
6258
6260
  }
6259
6261
  }
@@ -7563,7 +7565,10 @@ function $cea52f6b24092f05$export$e872e2339fb04a7f({ suggestion_memo_: suggestio
7563
7565
  })()),
7564
7566
  (()=>{
7565
7567
  const _el$3 = (0, $gco9i$getNextElement)($cea52f6b24092f05$var$_tmpl$3);
7566
- (0, $gco9i$insert)(_el$3, ()=>i18n_.category_());
7568
+ (0, $gco9i$insert)(_el$3, (0, $gco9i$createMemo)(()=>{
7569
+ if (input_obj().category_type === "BRAND") return i18n_.brand_();
7570
+ return i18n_.category_();
7571
+ }));
7567
7572
  return _el$3;
7568
7573
  })()
7569
7574
  ];
@@ -8656,13 +8661,13 @@ class $806c97b931758897$export$ac6237957a15b3f0 {
8656
8661
  #merchant_signal = (0, $gco9i$createSignal)();
8657
8662
  #market_signal = (0, $gco9i$createSignal)();
8658
8663
  #modal_open_signal = (0, $gco9i$createSignal)(false);
8659
- static #keys_constructed_with = [];
8664
+ static #keys_constructed_with = new Set();
8660
8665
  #router = new (0, $4fd2ba03703a7d92$export$7e1297a3a19f10d8)("hard_navigation");
8661
8666
  constructor({ unique_instance_key_for_state: unique_instance_key_for_state = "" , search_query_url_param_name: search_query_url_param_name_ = "query" + unique_instance_key_for_state , url_transformer: url_transformer , on_navigation: on_navigation , enable_category_suggestions: enable_category_suggestions = true , page_url_creator: page_url_creator , disable_scrolling_during_modal: // Stuff needed for non-standard customer deployments that we shouldn't actually expose
8662
8667
  disable_scrolling_during_modal = true , api: api , bottom_distance_under_modal: bottom_distance_under_modal , render_instant_card: render_instant_card , ...props_on_class }){
8663
8668
  const owner = (0, $gco9i$getOwner)() || (0, $gco9i$createRoot)(()=>(0, $gco9i$getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
8664
8669
  (0, $gco9i$runWithOwner)(owner, ()=>{
8665
- if ($806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $gco9i$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
8670
+ if ($806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $gco9i$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
8666
8671
  throw new Error("You can only have one instance of DepictSearch with the same uniqueInstanceKeyForState");
8667
8672
  Object.assign(this, props_on_class);
8668
8673
  if (on_navigation) this.#router.on_navigation_ = on_navigation;
@@ -8813,7 +8818,8 @@ class $806c97b931758897$export$ac6237957a15b3f0 {
8813
8818
  };
8814
8819
  (0, $gco9i$runWithOwner)(owner, ()=>(0, $gco9i$createEffect)(modal_opening_effect));
8815
8820
  })();
8816
- $806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.push(unique_instance_key_for_state);
8821
+ $806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.add(unique_instance_key_for_state);
8822
+ (0, $gco9i$onCleanup)(()=>$806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.delete(unique_instance_key_for_state));
8817
8823
  });
8818
8824
  }
8819
8825
  get on_navigation() {
@@ -9308,4 +9314,4 @@ const $4690a06c8489dcd0$export$7bf543b9d9be2c22 = (0, $e4615ecd1849548f$export$b
9308
9314
  (0, $gco9i$add_to_version_info)("ui", (0, $ec291e0010116877$export$83d89fbfd8236492));
9309
9315
 
9310
9316
 
9311
- export {$c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $c58717f39bf51647$export$58e808b1db15d3bc as fetchDepictRecommendations, $961b5c64bef4662f$export$de035477d6fef996 as QuickLinks, $961b5c64bef4662f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $c9312089e8983364$export$643598a327b5833e as get_categories, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $961b5c64bef4662f$export$e2bf8ce7779e827e as CategoryPage, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $806c97b931758897$export$316f6f283ae64765 as SearchField, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version};
9317
+ export {$6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d as ExpandingDetails, $c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $c58717f39bf51647$export$58e808b1db15d3bc as fetchDepictRecommendations, $961b5c64bef4662f$export$de035477d6fef996 as QuickLinks, $961b5c64bef4662f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $c9312089e8983364$export$643598a327b5833e as get_categories, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $961b5c64bef4662f$export$e2bf8ce7779e827e as CategoryPage, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $806c97b931758897$export$316f6f283ae64765 as SearchField, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version};
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { Accessor, JSX, Signal, Setter } from "solid-js";
1
+ import { JSX, Signal, Accessor, Setter } from "solid-js";
2
2
  import { Elem, Display, ColsAtSize, ModernDisplay, Node_Array } from "@depict-ai/utilishared";
3
3
  import { SearchFilter, SearchRequest } from "@depict-ai/types/api/SearchRequest";
4
4
  import { SearchFilter as _SearchFilter1, SearchResponse } from "@depict-ai/types/api/SearchResponse";
@@ -7,7 +7,16 @@ 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.3.8";
10
+ export const version = "1.4.2";
11
+ export function ExpandingDetails(props: {
12
+ details_: HTMLDetailsElement;
13
+ summary_: HTMLElement;
14
+ children: JSX.Element | (() => JSX.Element);
15
+ is_open_: Signal<boolean>;
16
+ duration_?: number;
17
+ delay_?: number;
18
+ dont_animate_if_instant_open_?: boolean;
19
+ }): HTMLDetailsElement;
11
20
  export function accessor_of_object_to_object_with_accessor_values<O extends Record<string | symbol, any>>(obj: Accessor<O>): { [K in keyof O]: Accessor<O[K]>; };
12
21
  /**
13
22
  * Like standard_price_format except that the price and the formatting are reactive accessors
@@ -74,6 +83,7 @@ interface search_i18n extends plp_shared_i18n {
74
83
  get_showing_results_for_: (query: HTMLElement, number_of_results: HTMLElement) => Elem[];
75
84
  previous_searches_text_: string;
76
85
  category_: string;
86
+ brand_: string;
77
87
  suggestions_: string;
78
88
  search_submit_button_aria_label_: string;
79
89
  search_field_field_aria_label_: string;
@@ -1,11 +1,12 @@
1
1
  var $diwD4$depictaiutilishared = require("@depict-ai/utilishared");
2
- var $diwD4$solidjs = require("solid-js");
3
2
  var $diwD4$solidjsweb = require("solid-js/web");
3
+ var $diwD4$solidjs = require("solid-js");
4
4
 
5
5
  function $parcel$export(e, n, v, s) {
6
6
  Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
7
7
  }
8
8
 
9
+ $parcel$export(module.exports, "ExpandingDetails", () => $a69e505a12a77874$export$6c6d7a51fa9aa15d);
9
10
  $parcel$export(module.exports, "accessor_of_object_to_object_with_accessor_values", () => $0785f4c9947d9b5f$export$f091cbac892643a4);
10
11
  $parcel$export(module.exports, "SelectedFilters", () => $235a2771a44e28e9$export$fecbb157621501bd);
11
12
  $parcel$export(module.exports, "FilterBody", () => $aff9a96d30ed3563$export$3f1a388cc0d8fed7);
@@ -48,21 +49,7 @@ $parcel$export(module.exports, "defaultGridSpacing", () => $a3280f0aad997933$exp
48
49
  $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$export$c3834fa86c616831);
49
50
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
50
51
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
51
- /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.3.8";
52
-
53
-
54
-
55
-
56
- function $0785f4c9947d9b5f$export$f091cbac892643a4(obj) {
57
- const mapfn = (key)=>[
58
- key,
59
- (0, $diwD4$solidjs.createMemo)(()=>obj()[key])
60
- ];
61
- const keys = Object.keys((0, $diwD4$solidjs.untrack)(()=>obj()));
62
- const mapped_stuff = keys.map(mapfn);
63
- return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
64
- }
65
-
52
+ /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.4.2";
66
53
 
67
54
 
68
55
 
@@ -95,21 +82,6 @@ function $4b455f60dadde8b8$export$5bad61ecde080b1f(...params) {
95
82
  }
96
83
 
97
84
 
98
-
99
-
100
- function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
101
- return (0, $diwD4$solidjs.createMemo)(()=>{
102
- const price_formatting = props.price_formatting_;
103
- return (0, $diwD4$depictaiutilishared.standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
104
- });
105
- }
106
-
107
-
108
-
109
-
110
-
111
-
112
-
113
85
  const $a69e505a12a77874$var$has_new_animate = /*@__PURE__*/ $a69e505a12a77874$export$e13dddbb31c3a42f();
114
86
  function $a69e505a12a77874$export$6c6d7a51fa9aa15d(props) {
115
87
  let fresh_component = true;
@@ -181,6 +153,36 @@ function $a69e505a12a77874$export$e13dddbb31c3a42f() {
181
153
 
182
154
 
183
155
 
156
+ function $0785f4c9947d9b5f$export$f091cbac892643a4(obj) {
157
+ const mapfn = (key)=>[
158
+ key,
159
+ (0, $diwD4$solidjs.createMemo)(()=>obj()[key])
160
+ ];
161
+ const keys = Object.keys((0, $diwD4$solidjs.untrack)(()=>obj()));
162
+ const mapped_stuff = keys.map(mapfn);
163
+ return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
164
+ }
165
+
166
+
167
+
168
+
169
+
170
+
171
+
172
+
173
+
174
+
175
+
176
+ function $d659702496cb72ea$export$a71e92cfbb498adc(props) {
177
+ return (0, $diwD4$solidjs.createMemo)(()=>{
178
+ const price_formatting = props.price_formatting_;
179
+ return (0, $diwD4$depictaiutilishared.standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
180
+ });
181
+ }
182
+
183
+
184
+
185
+
184
186
 
185
187
 
186
188
 
@@ -2182,17 +2184,18 @@ const $f48d0fbb00835aaa$var$_tmpl$ = [
2182
2184
  "</style>"
2183
2185
  ];
2184
2186
  function $f48d0fbb00835aaa$export$d21e32dfedac04be(props) {
2187
+ const container_element_ = (0, $diwD4$solidjsweb.ssrElement)("div", props.element_attributes, ()=>(0, $diwD4$solidjsweb.escape)(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
2185
2188
  return (0, $diwD4$solidjsweb.createComponent)((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
2186
2189
  get message_ () {
2187
2190
  return "Failed calculating " + props.layout + " layout";
2188
2191
  },
2189
2192
  severity_: "error",
2190
2193
  get children () {
2191
- return $f48d0fbb00835aaa$var$ActualSolidLayout(props);
2194
+ return $f48d0fbb00835aaa$var$ActualSolidLayout(props, container_element_);
2192
2195
  }
2193
2196
  });
2194
2197
  }
2195
- function $f48d0fbb00835aaa$var$ActualSolidLayout(props) {
2198
+ function $f48d0fbb00835aaa$var$ActualSolidLayout(props, container_element) {
2196
2199
  // Copy of Layout from utilishared but using solid-js signals instead of async iterable IPNS
2197
2200
  const show_all_rows = (0, $diwD4$solidjs.createMemo)(()=>props.rows === "all");
2198
2201
  const rows_or_empty_object = (0, $diwD4$solidjs.createMemo)(()=>show_all_rows() ? {} : props.rows);
@@ -2204,7 +2207,6 @@ function $f48d0fbb00835aaa$var$ActualSolidLayout(props) {
2204
2207
  const [get_styling, set_styling] = (0, $diwD4$solidjs.createSignal)();
2205
2208
  const container_class = (0, $diwD4$depictaiutilishared.make_random_classname)();
2206
2209
  const selector_beginning = `.depict .${container_class}>`; // class so ppl can have id if needed
2207
- const container_element = (0, $diwD4$solidjsweb.ssrElement)("div", props.element_attributes, ()=>(0, $diwD4$solidjsweb.escape)(props.children), true);
2208
2210
  const [get_children_count, set_children_count] = (0, $diwD4$solidjs.createSignal)(0);
2209
2211
  const update_children_count = ()=>set_children_count(container_element.children.length);
2210
2212
  const col_styling = (0, $diwD4$solidjs.createMemo)(()=>(0, $diwD4$depictaiutilishared.n_col_styling_with_dist)(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
@@ -5460,7 +5462,7 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
5460
5462
  #market_signal = (0, $diwD4$solidjs.createSignal)();
5461
5463
  #query_id_signal = (0, $diwD4$solidjs.createSignal)("");
5462
5464
  #listing_type_signal = (0, $diwD4$solidjs.createSignal)();
5463
- static #keys_constructed_with = [];
5465
+ static #keys_constructed_with = new Set();
5464
5466
  get localization() {
5465
5467
  // allow reactive access
5466
5468
  return this.#locale_signal[0]();
@@ -5502,7 +5504,7 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
5502
5504
  constructor({ api: api , on_navigation: on_navigation , page_url_creator: page_url_creator , unique_instance_key_for_state: unique_instance_key_for_state = "" , query_id_state_key: query_id_state_key , ...props_on_class }){
5503
5505
  const owner = (0, $diwD4$solidjs.getOwner)() || (0, $diwD4$solidjs.createRoot)(()=>(0, $diwD4$solidjs.getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
5504
5506
  (0, $diwD4$solidjs.runWithOwner)(owner, ()=>{
5505
- if ($48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $diwD4$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
5507
+ if ($48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $diwD4$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
5506
5508
  throw new Error("You can only have one instance of DepictCategory with the same uniqueInstanceKeyForState");
5507
5509
  Object.assign(this, props_on_class); // set initial signal values
5508
5510
  (0, $d84fe647b84b5dc5$export$5162a71f252e6122)();
@@ -5545,7 +5547,8 @@ class $48567ac5b39bac56$export$f34314aa9505732e {
5545
5547
  sorting_query_param_: sorting_query_param_,
5546
5548
  filter_query_param_prefix_: filter_query_param_prefix_
5547
5549
  });
5548
- $48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.push(unique_instance_key_for_state);
5550
+ $48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.add(unique_instance_key_for_state);
5551
+ (0, $diwD4$solidjs.onCleanup)(()=>$48567ac5b39bac56$export$f34314aa9505732e.#keys_constructed_with.delete(unique_instance_key_for_state));
5549
5552
  });
5550
5553
  }
5551
5554
  }
@@ -6649,7 +6652,10 @@ function $6b65ba8af12c5a26$export$e872e2339fb04a7f({ suggestion_memo_: suggestio
6649
6652
  },
6650
6653
  searching_for_value_: searching_for_value_
6651
6654
  }),
6652
- (0, $diwD4$solidjsweb.ssr)($6b65ba8af12c5a26$var$_tmpl$3, (0, $diwD4$solidjsweb.ssrHydrationKey)(), (0, $diwD4$solidjsweb.escape)(i18n_.category_()))
6655
+ (0, $diwD4$solidjsweb.ssr)($6b65ba8af12c5a26$var$_tmpl$3, (0, $diwD4$solidjsweb.ssrHydrationKey)(), (0, $diwD4$solidjsweb.escape)((0, $diwD4$solidjs.createMemo)(()=>{
6656
+ if (input_obj().category_type === "BRAND") return i18n_.brand_();
6657
+ return i18n_.category_();
6658
+ })()))
6653
6659
  ]));
6654
6660
  };
6655
6661
  const set_list_until_cleanup = (memo, index)=>{
@@ -7686,13 +7692,13 @@ class $2c61e4cd8229c49a$export$ac6237957a15b3f0 {
7686
7692
  #merchant_signal = (0, $diwD4$solidjs.createSignal)();
7687
7693
  #market_signal = (0, $diwD4$solidjs.createSignal)();
7688
7694
  #modal_open_signal = (0, $diwD4$solidjs.createSignal)(false);
7689
- static #keys_constructed_with = [];
7695
+ static #keys_constructed_with = new Set();
7690
7696
  #router = new (0, $e96dd13889871fc0$export$7e1297a3a19f10d8)("hard_navigation");
7691
7697
  constructor({ unique_instance_key_for_state: unique_instance_key_for_state = "" , search_query_url_param_name: search_query_url_param_name_ = "query" + unique_instance_key_for_state , url_transformer: url_transformer , on_navigation: on_navigation , enable_category_suggestions: enable_category_suggestions = true , page_url_creator: page_url_creator , disable_scrolling_during_modal: // Stuff needed for non-standard customer deployments that we shouldn't actually expose
7692
7698
  disable_scrolling_during_modal = true , api: api , bottom_distance_under_modal: bottom_distance_under_modal , render_instant_card: render_instant_card , ...props_on_class }){
7693
7699
  const owner = (0, $diwD4$solidjs.getOwner)() || (0, $diwD4$solidjs.createRoot)(()=>(0, $diwD4$solidjs.getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
7694
7700
  (0, $diwD4$solidjs.runWithOwner)(owner, ()=>{
7695
- if ($2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $diwD4$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
7701
+ if ($2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $diwD4$solidjsweb.isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
7696
7702
  throw new Error("You can only have one instance of DepictSearch with the same uniqueInstanceKeyForState");
7697
7703
  Object.assign(this, props_on_class);
7698
7704
  if (on_navigation) this.#router.on_navigation_ = on_navigation;
@@ -7843,7 +7849,8 @@ class $2c61e4cd8229c49a$export$ac6237957a15b3f0 {
7843
7849
  };
7844
7850
  (0, $diwD4$solidjs.runWithOwner)(owner, ()=>(0, $diwD4$solidjs.createEffect)(modal_opening_effect));
7845
7851
  })();
7846
- $2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.push(unique_instance_key_for_state);
7852
+ $2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.add(unique_instance_key_for_state);
7853
+ (0, $diwD4$solidjs.onCleanup)(()=>$2c61e4cd8229c49a$export$ac6237957a15b3f0.#keys_constructed_with.delete(unique_instance_key_for_state));
7847
7854
  });
7848
7855
  }
7849
7856
  get on_navigation() {
@@ -1,22 +1,8 @@
1
1
  import {add_to_version_info as $cV3wj$add_to_version_info, observer as $cV3wj$observer, catchify as $cV3wj$catchify, useExpandingContainer as $cV3wj$useExpandingContainer, standard_price_format as $cV3wj$standard_price_format, Amazing_Slider as $cV3wj$Amazing_Slider, slider_snap_css as $cV3wj$slider_snap_css, slider_fading_factory as $cV3wj$slider_fading_factory, make_random_classname as $cV3wj$make_random_classname, dlog as $cV3wj$dlog, report as $cV3wj$report, hsl_to_rgb as $cV3wj$hsl_to_rgb, relative_luminance_from_rgb as $cV3wj$relative_luminance_from_rgb, javascript_media_query as $cV3wj$javascript_media_query, n_col_styling_with_dist as $cV3wj$n_col_styling_with_dist, layout_get_visible_recs_without_partial_rows as $cV3wj$layout_get_visible_recs_without_partial_rows, layout_get_total_rec_amount_for_row as $cV3wj$layout_get_total_rec_amount_for_row, layout_media_query_header as $cV3wj$layout_media_query_header, fetch_recs as $cV3wj$fetch_recs, snakeCasifyObject as $cV3wj$snakeCasifyObject, instant_exec_on_suspect_history_change as $cV3wj$instant_exec_on_suspect_history_change, base_url as $cV3wj$base_url, get_depict_id as $cV3wj$get_depict_id, get_user_id as $cV3wj$get_user_id, get_session_id as $cV3wj$get_session_id, sort_obj as $cV3wj$sort_obj, fetch_retry as $cV3wj$fetch_retry, add_version_query_params as $cV3wj$add_version_query_params, dwarn as $cV3wj$dwarn, make_url_with_query_params as $cV3wj$make_url_with_query_params, base64_encode_unicode as $cV3wj$base64_encode_unicode, base64_decode_unicode as $cV3wj$base64_decode_unicode, queueMacroTask as $cV3wj$queueMacroTask, make_asyncIterable_exiter as $cV3wj$make_asyncIterable_exiter, href_change_ipns as $cV3wj$href_change_ipns, ContainedImage as $cV3wj$ContainedImage, deparallelize_no_drop as $cV3wj$deparallelize_no_drop, insert_surfaces as $cV3wj$insert_surfaces} from "@depict-ai/utilishared";
2
- import {createMemo as $cV3wj$createMemo, untrack as $cV3wj$untrack, getOwner as $cV3wj$getOwner, Show as $cV3wj$Show, Index as $cV3wj$Index, onCleanup as $cV3wj$onCleanup, createSignal as $cV3wj$createSignal, createEffect as $cV3wj$createEffect, For as $cV3wj$For, createRenderEffect as $cV3wj$createRenderEffect, createComputed as $cV3wj$createComputed, on as $cV3wj$on, batch as $cV3wj$batch, ErrorBoundary as $cV3wj$ErrorBoundary, createRoot as $cV3wj$createRoot, runWithOwner as $cV3wj$runWithOwner, createResource as $cV3wj$createResource, createReaction as $cV3wj$createReaction, Suspense as $cV3wj$Suspense} from "solid-js";
3
- import {createComponent as $cV3wj$createComponent, ssr as $cV3wj$ssr, ssrHydrationKey as $cV3wj$ssrHydrationKey, escape as $cV3wj$escape, insert as $cV3wj$insert, ssrAttribute as $cV3wj$ssrAttribute, ssrElement as $cV3wj$ssrElement, Dynamic as $cV3wj$Dynamic, ssrStyle as $cV3wj$ssrStyle, ssrClassList as $cV3wj$ssrClassList, isServer as $cV3wj$isServer, mergeProps as $cV3wj$mergeProps} from "solid-js/web";
4
-
5
- /*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.3.8";
6
-
7
-
8
-
9
-
10
- function $c16e74cfe125bb05$export$f091cbac892643a4(obj) {
11
- const mapfn = (key)=>[
12
- key,
13
- (0, $cV3wj$createMemo)(()=>obj()[key])
14
- ];
15
- const keys = Object.keys((0, $cV3wj$untrack)(()=>obj()));
16
- const mapped_stuff = keys.map(mapfn);
17
- return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
18
- }
2
+ import {insert as $cV3wj$insert, createComponent as $cV3wj$createComponent, ssr as $cV3wj$ssr, ssrHydrationKey as $cV3wj$ssrHydrationKey, escape as $cV3wj$escape, ssrAttribute as $cV3wj$ssrAttribute, ssrElement as $cV3wj$ssrElement, Dynamic as $cV3wj$Dynamic, ssrStyle as $cV3wj$ssrStyle, ssrClassList as $cV3wj$ssrClassList, isServer as $cV3wj$isServer, mergeProps as $cV3wj$mergeProps} from "solid-js/web";
3
+ import {createSignal as $cV3wj$createSignal, createMemo as $cV3wj$createMemo, untrack as $cV3wj$untrack, createEffect as $cV3wj$createEffect, getOwner as $cV3wj$getOwner, Show as $cV3wj$Show, Index as $cV3wj$Index, onCleanup as $cV3wj$onCleanup, For as $cV3wj$For, createRenderEffect as $cV3wj$createRenderEffect, createComputed as $cV3wj$createComputed, on as $cV3wj$on, batch as $cV3wj$batch, ErrorBoundary as $cV3wj$ErrorBoundary, createRoot as $cV3wj$createRoot, runWithOwner as $cV3wj$runWithOwner, createResource as $cV3wj$createResource, createReaction as $cV3wj$createReaction, Suspense as $cV3wj$Suspense} from "solid-js";
19
4
 
5
+ /*! Depict.ai search and product listing SDK */ const $ec291e0010116877$export$83d89fbfd8236492 = "1.4.2";
20
6
 
21
7
 
22
8
 
@@ -49,21 +35,6 @@ function $24e27fab9c821b86$export$5bad61ecde080b1f(...params) {
49
35
  }
50
36
 
51
37
 
52
-
53
-
54
- function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
55
- return (0, $cV3wj$createMemo)(()=>{
56
- const price_formatting = props.price_formatting_;
57
- return (0, $cV3wj$standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
58
- });
59
- }
60
-
61
-
62
-
63
-
64
-
65
-
66
-
67
38
  const $6bb0a0c563dff4bb$var$has_new_animate = /*@__PURE__*/ $6bb0a0c563dff4bb$export$e13dddbb31c3a42f();
68
39
  function $6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d(props) {
69
40
  let fresh_component = true;
@@ -135,6 +106,36 @@ function $6bb0a0c563dff4bb$export$e13dddbb31c3a42f() {
135
106
 
136
107
 
137
108
 
109
+ function $c16e74cfe125bb05$export$f091cbac892643a4(obj) {
110
+ const mapfn = (key)=>[
111
+ key,
112
+ (0, $cV3wj$createMemo)(()=>obj()[key])
113
+ ];
114
+ const keys = Object.keys((0, $cV3wj$untrack)(()=>obj()));
115
+ const mapped_stuff = keys.map(mapfn);
116
+ return Object.fromEntries(mapped_stuff); // FUCK TYPESCRIPT, WHY CAN'T YOU DO THIS CORRECTLY???
117
+ }
118
+
119
+
120
+
121
+
122
+
123
+
124
+
125
+
126
+
127
+
128
+
129
+ function $8c0f86cb3e266eeb$export$a71e92cfbb498adc(props) {
130
+ return (0, $cV3wj$createMemo)(()=>{
131
+ const price_formatting = props.price_formatting_;
132
+ return (0, $cV3wj$standard_price_format)(props.price_, price_formatting.places_after_comma_, price_formatting.decimal_places_delimiter_, price_formatting.thousands_delimiter_);
133
+ });
134
+ }
135
+
136
+
137
+
138
+
138
139
 
139
140
 
140
141
 
@@ -2136,17 +2137,18 @@ const $c8d5ff4524619fcd$var$_tmpl$ = [
2136
2137
  "</style>"
2137
2138
  ];
2138
2139
  function $c8d5ff4524619fcd$export$d21e32dfedac04be(props) {
2140
+ const container_element_ = (0, $cV3wj$ssrElement)("div", props.element_attributes, ()=>(0, $cV3wj$escape)(props.children), true); // Don't want this in the error boundary below, it should only be for the actual layouting
2139
2141
  return (0, $cV3wj$createComponent)((0, $b7436a6d1fd64e3b$export$b69d0d92862de18b), {
2140
2142
  get message_ () {
2141
2143
  return "Failed calculating " + props.layout + " layout";
2142
2144
  },
2143
2145
  severity_: "error",
2144
2146
  get children () {
2145
- return $c8d5ff4524619fcd$var$ActualSolidLayout(props);
2147
+ return $c8d5ff4524619fcd$var$ActualSolidLayout(props, container_element_);
2146
2148
  }
2147
2149
  });
2148
2150
  }
2149
- function $c8d5ff4524619fcd$var$ActualSolidLayout(props) {
2151
+ function $c8d5ff4524619fcd$var$ActualSolidLayout(props, container_element) {
2150
2152
  // Copy of Layout from utilishared but using solid-js signals instead of async iterable IPNS
2151
2153
  const show_all_rows = (0, $cV3wj$createMemo)(()=>props.rows === "all");
2152
2154
  const rows_or_empty_object = (0, $cV3wj$createMemo)(()=>show_all_rows() ? {} : props.rows);
@@ -2158,7 +2160,6 @@ function $c8d5ff4524619fcd$var$ActualSolidLayout(props) {
2158
2160
  const [get_styling, set_styling] = (0, $cV3wj$createSignal)();
2159
2161
  const container_class = (0, $cV3wj$make_random_classname)();
2160
2162
  const selector_beginning = `.depict .${container_class}>`; // class so ppl can have id if needed
2161
- const container_element = (0, $cV3wj$ssrElement)("div", props.element_attributes, ()=>(0, $cV3wj$escape)(props.children), true);
2162
2163
  const [get_children_count, set_children_count] = (0, $cV3wj$createSignal)(0);
2163
2164
  const update_children_count = ()=>set_children_count(container_element.children.length);
2164
2165
  const col_styling = (0, $cV3wj$createMemo)(()=>(0, $cV3wj$n_col_styling_with_dist)(selector_beginning, props.grid_spacing, props.cols_at_size, props.layout, props.override_vertical_spacing));
@@ -5414,7 +5415,7 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
5414
5415
  #market_signal = (0, $cV3wj$createSignal)();
5415
5416
  #query_id_signal = (0, $cV3wj$createSignal)("");
5416
5417
  #listing_type_signal = (0, $cV3wj$createSignal)();
5417
- static #keys_constructed_with = [];
5418
+ static #keys_constructed_with = new Set();
5418
5419
  get localization() {
5419
5420
  // allow reactive access
5420
5421
  return this.#locale_signal[0]();
@@ -5456,7 +5457,7 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
5456
5457
  constructor({ api: api , on_navigation: on_navigation , page_url_creator: page_url_creator , unique_instance_key_for_state: unique_instance_key_for_state = "" , query_id_state_key: query_id_state_key , ...props_on_class }){
5457
5458
  const owner = (0, $cV3wj$getOwner)() || (0, $cV3wj$createRoot)(()=>(0, $cV3wj$getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
5458
5459
  (0, $cV3wj$runWithOwner)(owner, ()=>{
5459
- if ($961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $cV3wj$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
5460
+ if ($961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $cV3wj$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
5460
5461
  throw new Error("You can only have one instance of DepictCategory with the same uniqueInstanceKeyForState");
5461
5462
  Object.assign(this, props_on_class); // set initial signal values
5462
5463
  (0, $90980bd87c9960f9$export$5162a71f252e6122)();
@@ -5499,7 +5500,8 @@ class $961b5c64bef4662f$export$f34314aa9505732e {
5499
5500
  sorting_query_param_: sorting_query_param_,
5500
5501
  filter_query_param_prefix_: filter_query_param_prefix_
5501
5502
  });
5502
- $961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.push(unique_instance_key_for_state);
5503
+ $961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.add(unique_instance_key_for_state);
5504
+ (0, $cV3wj$onCleanup)(()=>$961b5c64bef4662f$export$f34314aa9505732e.#keys_constructed_with.delete(unique_instance_key_for_state));
5503
5505
  });
5504
5506
  }
5505
5507
  }
@@ -6603,7 +6605,10 @@ function $cea52f6b24092f05$export$e872e2339fb04a7f({ suggestion_memo_: suggestio
6603
6605
  },
6604
6606
  searching_for_value_: searching_for_value_
6605
6607
  }),
6606
- (0, $cV3wj$ssr)($cea52f6b24092f05$var$_tmpl$3, (0, $cV3wj$ssrHydrationKey)(), (0, $cV3wj$escape)(i18n_.category_()))
6608
+ (0, $cV3wj$ssr)($cea52f6b24092f05$var$_tmpl$3, (0, $cV3wj$ssrHydrationKey)(), (0, $cV3wj$escape)((0, $cV3wj$createMemo)(()=>{
6609
+ if (input_obj().category_type === "BRAND") return i18n_.brand_();
6610
+ return i18n_.category_();
6611
+ })()))
6607
6612
  ]));
6608
6613
  };
6609
6614
  const set_list_until_cleanup = (memo, index)=>{
@@ -7640,13 +7645,13 @@ class $806c97b931758897$export$ac6237957a15b3f0 {
7640
7645
  #merchant_signal = (0, $cV3wj$createSignal)();
7641
7646
  #market_signal = (0, $cV3wj$createSignal)();
7642
7647
  #modal_open_signal = (0, $cV3wj$createSignal)(false);
7643
- static #keys_constructed_with = [];
7648
+ static #keys_constructed_with = new Set();
7644
7649
  #router = new (0, $4fd2ba03703a7d92$export$7e1297a3a19f10d8)("hard_navigation");
7645
7650
  constructor({ unique_instance_key_for_state: unique_instance_key_for_state = "" , search_query_url_param_name: search_query_url_param_name_ = "query" + unique_instance_key_for_state , url_transformer: url_transformer , on_navigation: on_navigation , enable_category_suggestions: enable_category_suggestions = true , page_url_creator: page_url_creator , disable_scrolling_during_modal: // Stuff needed for non-standard customer deployments that we shouldn't actually expose
7646
7651
  disable_scrolling_during_modal = true , api: api , bottom_distance_under_modal: bottom_distance_under_modal , render_instant_card: render_instant_card , ...props_on_class }){
7647
7652
  const owner = (0, $cV3wj$getOwner)() || (0, $cV3wj$createRoot)(()=>(0, $cV3wj$getOwner)()); // we might have an owner, if so, pass it on. Otherwise, create one so solid doesn't print warnings to the console
7648
7653
  (0, $cV3wj$runWithOwner)(owner, ()=>{
7649
- if ($806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.includes(unique_instance_key_for_state) && !(0, $cV3wj$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
7654
+ if ($806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.has(unique_instance_key_for_state) && !(0, $cV3wj$isServer)) // on the server we can't write stuff to history.state anyway so can have multiple
7650
7655
  throw new Error("You can only have one instance of DepictSearch with the same uniqueInstanceKeyForState");
7651
7656
  Object.assign(this, props_on_class);
7652
7657
  if (on_navigation) this.#router.on_navigation_ = on_navigation;
@@ -7797,7 +7802,8 @@ class $806c97b931758897$export$ac6237957a15b3f0 {
7797
7802
  };
7798
7803
  (0, $cV3wj$runWithOwner)(owner, ()=>(0, $cV3wj$createEffect)(modal_opening_effect));
7799
7804
  })();
7800
- $806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.push(unique_instance_key_for_state);
7805
+ $806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.add(unique_instance_key_for_state);
7806
+ (0, $cV3wj$onCleanup)(()=>$806c97b931758897$export$ac6237957a15b3f0.#keys_constructed_with.delete(unique_instance_key_for_state));
7801
7807
  });
7802
7808
  }
7803
7809
  get on_navigation() {
@@ -8288,4 +8294,4 @@ const $4690a06c8489dcd0$export$7bf543b9d9be2c22 = (0, $e4615ecd1849548f$export$b
8288
8294
  (0, $cV3wj$add_to_version_info)("ui", (0, $ec291e0010116877$export$83d89fbfd8236492));
8289
8295
 
8290
8296
 
8291
- export {$c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $c58717f39bf51647$export$58e808b1db15d3bc as fetchDepictRecommendations, $961b5c64bef4662f$export$de035477d6fef996 as QuickLinks, $961b5c64bef4662f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $c9312089e8983364$export$643598a327b5833e as get_categories, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $961b5c64bef4662f$export$e2bf8ce7779e827e as CategoryPage, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $806c97b931758897$export$316f6f283ae64765 as SearchField, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version};
8297
+ export {$6bb0a0c563dff4bb$export$6c6d7a51fa9aa15d as ExpandingDetails, $c16e74cfe125bb05$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $1adfe60f3a14a1d7$export$fecbb157621501bd as SelectedFilters, $fab07f52c9861732$export$3f1a388cc0d8fed7 as FilterBody, $5efb5894079b220e$export$b288c38ae3fddb56 as create_modified_filters, $c8d5ff4524619fcd$export$d21e32dfedac04be as SolidLayout, $194bd6b8e4c59830$export$79b1565500412d9b as general_modal_abstraction, $19976a74d273070d$export$3b621d86b1566b2 as CrossIcon, $fbbadcb080ad1d4a$export$8be2714ec7f169ee as GenericSliderArrowButton, $c58717f39bf51647$export$58e808b1db15d3bc as fetchDepictRecommendations, $961b5c64bef4662f$export$de035477d6fef996 as QuickLinks, $961b5c64bef4662f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $e4615ecd1849548f$export$b91cec6bdc6b32a1 as CategoryTitle, $a6e23a834336fc19$export$824dde41348efed1 as embedded_num_products, $c9312089e8983364$export$643598a327b5833e as get_categories, $961b5c64bef4662f$export$f34314aa9505732e as DepictCategory, $961b5c64bef4662f$export$e2bf8ce7779e827e as CategoryPage, $806c97b931758897$export$ac6237957a15b3f0 as DepictSearch, $806c97b931758897$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $806c97b931758897$export$f2dc7e4e4aa11abb as SearchPage, $806c97b931758897$export$316f6f283ae64765 as SearchField, $4fd48cb976bf1789$export$aa14a9f43128f61f as ProductCardError, $6891c018a834cfdd$export$d86a33413558014e as open_modal_with_alignment, $bb15dfb548a7666e$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $b6d5529b253681aa$export$b3ad617e9036868 as align_field, $b5cccc8ee7d24677$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $926b1b5ba2239356$export$1233ca167bf71f9a as styles_to_valid_css_string, $aea1edf92433e81e$export$fe334901e8bebd57 as disable_scrolling, $6e8944558258054f$export$d0596b5cae35ad4 as open_search_with_shift_slash, $7fa23e2a0079eca4$export$e015ed2f2950f2e3 as DepictAPI, $dc9262ef6f786812$export$d9f36cf74e24d595 as media_query_to_accessor, $6936724b9e0b98d5$export$689e204eadb33baf as setup_fast_leave, $bf52d9f9eebd1938$export$5196e4c01fa56fcb as show_toast, $8c0f86cb3e266eeb$export$a71e92cfbb498adc as SolidFormatPrice, $4ca91518c9a35379$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $d20eff0aadc28983$export$acb3eaade4b23afd as BasePlaceholder, $d134eae24341b4a1$export$89c6019e4baa40b1 as TextPlaceholder, $7f60f09116a3fe61$export$3f37af283f8fb843 as ImagePlaceholder, $753e9b2889a47c89$export$3ccaa27d81dd8556 as PageReplacer, $4690a06c8489dcd0$export$864d304a0bc46829 as defaultGridSpacing, $4690a06c8489dcd0$export$c3834fa86c616831 as defaultColsAtSize, $4690a06c8489dcd0$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $ec291e0010116877$export$83d89fbfd8236492 as version};
@@ -51,6 +51,7 @@ interface search_i18n extends plp_shared_i18n {
51
51
  get_showing_results_for_: (query: HTMLElement, number_of_results: HTMLElement) => Elem[];
52
52
  previous_searches_text_: string;
53
53
  category_: string;
54
+ brand_: string;
54
55
  suggestions_: string;
55
56
  search_submit_button_aria_label_: string;
56
57
  search_field_field_aria_label_: string;
package/locales/index.js CHANGED
@@ -63,6 +63,7 @@ const $0f11d1c8c78bac40$export$434b5d2e9cbbcde1 = {
63
63
  ],
64
64
  "search_recs_title_": "Other alternatives",
65
65
  "category_": "Category",
66
+ "brand_": "Brand",
66
67
  "modal_discover_more_": "Discover more",
67
68
  "previous_searches_text_": "Your previous searches",
68
69
  "suggestions_": "Suggestions",
@@ -158,6 +159,7 @@ const $cc5f333f4d0674e5$export$62ef558576ddaf3d = {
158
159
  },
159
160
  "search_recs_title_": "Dalš\xed možnosti",
160
161
  "category_": "Kategorie",
162
+ "brand_": "Značka",
161
163
  "modal_discover_more_": "Objevte v\xedce",
162
164
  "previous_searches_text_": "Vaše předchoz\xed hled\xe1n\xed",
163
165
  "suggestions_": "N\xe1vrhy",
@@ -232,6 +234,7 @@ const $6d2294054a72fcfe$export$70578856b2420b5d = {
232
234
  ],
233
235
  "search_recs_title_": "Andre alternativer",
234
236
  "category_": "Kategori",
237
+ "brand_": "M\xe6rke",
235
238
  "suggestions_": "Forslag",
236
239
  "modal_discover_more_": "Opdag mere",
237
240
  "previous_searches_text_": "Dine tidligere s\xf8gninger",
@@ -326,6 +329,7 @@ const $37e37251f83c2043$export$5d14584e27bf4bc5 = {
326
329
  },
327
330
  "search_recs_title_": "Andere opties",
328
331
  "category_": "Categorie",
332
+ "brand_": "Merk",
329
333
  "modal_discover_more_": "Ontdek meer",
330
334
  "previous_searches_text_": "vorige zoekopdrachten",
331
335
  "suggestions_": "Suggesties",
@@ -402,6 +406,7 @@ const $597bd174c99156c2$export$bb9c5e11b9203620 = {
402
406
  ],
403
407
  "clear_filters_query_sorting_after_submit_": "Tyhjenn\xe4 valinnat uuden haun alkaessa",
404
408
  "category_": "Kategoria",
409
+ "brand_": "Merkki",
405
410
  "modal_discover_more_": "Katso lis\xe4\xe4",
406
411
  get_showing_results_for_: (q, number_of_results)=>{
407
412
  return q.textContent !== "" ? [
@@ -495,6 +500,7 @@ const $69bc56544b53deda$export$e608b2bb21ba1862 = {
495
500
  },
496
501
  "search_recs_title_": "Autres alternatives",
497
502
  "category_": "Cat\xe9gorie",
503
+ "brand_": "Marque",
498
504
  "modal_discover_more_": "D\xe9couvrir plus",
499
505
  "previous_searches_text_": "Vos recherches pr\xe9c\xe9dentes",
500
506
  "suggestions_": "Suggestions",
@@ -569,6 +575,7 @@ const $dc8b0b929b2d7ddb$export$b43a5e72c07b4d2a = {
569
575
  "previous_searches_text_": "Vorherige Suchanfragen",
570
576
  "suggestions_": "Vorschl\xe4ge",
571
577
  "category_": "Kategori",
578
+ "brand_": "Marke",
572
579
  "clear_filters_query_sorting_after_submit_": "Suchanfrage l\xf6schen. Sortierung und Filter nach dem n\xe4chsten Senden ebenfalls l\xf6schen.",
573
580
  "modal_discover_more_": "Mehr erforschen",
574
581
  search_submit_button_aria_label_: "Suchen",
@@ -661,6 +668,7 @@ const $e401cebd86a65dd5$export$c05550c0848a3fe4 = {
661
668
  },
662
669
  "search_recs_title_": "Altre alternative",
663
670
  "category_": "Categoria",
671
+ "brand_": "Marca",
664
672
  "modal_discover_more_": "Scopri di pi\xf9",
665
673
  "previous_searches_text_": "Le tue ricerche precedenti",
666
674
  "suggestions_": "Suggerimenti",
@@ -735,6 +743,7 @@ const $2c5d03375c4a5b27$export$dcb702a89633f297 = {
735
743
  "search_recs_title_": "Andre alternativer",
736
744
  "modal_discover_more_": "Oppdag mer",
737
745
  "category_": "Kategori",
746
+ "brand_": "Merke",
738
747
  "suggestions_": "Forslag",
739
748
  "previous_searches_text_": "Tidligere s\xf8k",
740
749
  "no_results_text_": "Ingen resultater",
@@ -825,6 +834,7 @@ const $7432d62a9527b38a$export$b0eb0dd41442f532 = {
825
834
  },
826
835
  "search_recs_title_": "Inne alternatywy",
827
836
  "category_": "Kategoria",
837
+ "brand_": "Marka",
828
838
  "modal_discover_more_": "Zobacz więcej",
829
839
  "previous_searches_text_": "Twoje poprzednie wyszukiwania",
830
840
  "suggestions_": "Sugestie",
@@ -898,6 +908,7 @@ const $8c622dc7e9fbf3de$export$b3b5aa2c4df8976f = {
898
908
  },
899
909
  "search_recs_title_": "Outras alternativas",
900
910
  "category_": "Categoria",
911
+ "brand_": "Marca",
901
912
  "modal_discover_more_": "Descobrir mais",
902
913
  "previous_searches_text_": "As suas pesquisas anteriores",
903
914
  "suggestions_": "Sugest\xf5es",
@@ -982,6 +993,7 @@ const $32d3bec8717cf616$export$49b8f20513f0ff25 = {
982
993
  },
983
994
  "search_recs_title_": "Otras alternativas",
984
995
  "category_": "Categor\xeda",
996
+ "brand_": "Marca",
985
997
  "modal_discover_more_": "Descubrir m\xe1s",
986
998
  "previous_searches_text_": "Tus b\xfasquedas anteriores",
987
999
  "suggestions_": "Sugerencias",
@@ -1053,6 +1065,7 @@ const $38de3920ebd2d651$export$596caee559c76764 = {
1053
1065
  "clear_filters_query_sorting_after_submit_": "Rensa f\xf6rfr\xe5ga och filter + sorting efter ny f\xf6rfr\xe5ga",
1054
1066
  "previous_searches_text_": "Dina tidigare s\xf6kningar",
1055
1067
  "category_": "Kategori",
1068
+ "brand_": "Varum\xe4rke",
1056
1069
  "suggestions_": "F\xf6rslag",
1057
1070
  "modal_discover_more_": "Utforska mer",
1058
1071
  "placeholder_text_": "S\xf6k",
@@ -81,6 +81,7 @@ const $f1b6d8431ecd6285$export$434b5d2e9cbbcde1 = {
81
81
  ],
82
82
  "search_recs_title_": "Other alternatives",
83
83
  "category_": "Category",
84
+ "brand_": "Brand",
84
85
  "modal_discover_more_": "Discover more",
85
86
  "previous_searches_text_": "Your previous searches",
86
87
  "suggestions_": "Suggestions",
@@ -176,6 +177,7 @@ const $8ef6412601d023f6$export$62ef558576ddaf3d = {
176
177
  },
177
178
  "search_recs_title_": "Dalš\xed možnosti",
178
179
  "category_": "Kategorie",
180
+ "brand_": "Značka",
179
181
  "modal_discover_more_": "Objevte v\xedce",
180
182
  "previous_searches_text_": "Vaše předchoz\xed hled\xe1n\xed",
181
183
  "suggestions_": "N\xe1vrhy",
@@ -250,6 +252,7 @@ const $fc1a3c43e73d0d0c$export$70578856b2420b5d = {
250
252
  ],
251
253
  "search_recs_title_": "Andre alternativer",
252
254
  "category_": "Kategori",
255
+ "brand_": "M\xe6rke",
253
256
  "suggestions_": "Forslag",
254
257
  "modal_discover_more_": "Opdag mere",
255
258
  "previous_searches_text_": "Dine tidligere s\xf8gninger",
@@ -344,6 +347,7 @@ const $cd1eff535043eb6a$export$5d14584e27bf4bc5 = {
344
347
  },
345
348
  "search_recs_title_": "Andere opties",
346
349
  "category_": "Categorie",
350
+ "brand_": "Merk",
347
351
  "modal_discover_more_": "Ontdek meer",
348
352
  "previous_searches_text_": "vorige zoekopdrachten",
349
353
  "suggestions_": "Suggesties",
@@ -420,6 +424,7 @@ const $d0b352fa07f6870a$export$bb9c5e11b9203620 = {
420
424
  ],
421
425
  "clear_filters_query_sorting_after_submit_": "Tyhjenn\xe4 valinnat uuden haun alkaessa",
422
426
  "category_": "Kategoria",
427
+ "brand_": "Merkki",
423
428
  "modal_discover_more_": "Katso lis\xe4\xe4",
424
429
  get_showing_results_for_: (q, number_of_results)=>{
425
430
  return q.textContent !== "" ? [
@@ -513,6 +518,7 @@ const $e564b793c93f72ec$export$e608b2bb21ba1862 = {
513
518
  },
514
519
  "search_recs_title_": "Autres alternatives",
515
520
  "category_": "Cat\xe9gorie",
521
+ "brand_": "Marque",
516
522
  "modal_discover_more_": "D\xe9couvrir plus",
517
523
  "previous_searches_text_": "Vos recherches pr\xe9c\xe9dentes",
518
524
  "suggestions_": "Suggestions",
@@ -587,6 +593,7 @@ const $fe31f8ec160a842b$export$b43a5e72c07b4d2a = {
587
593
  "previous_searches_text_": "Vorherige Suchanfragen",
588
594
  "suggestions_": "Vorschl\xe4ge",
589
595
  "category_": "Kategori",
596
+ "brand_": "Marke",
590
597
  "clear_filters_query_sorting_after_submit_": "Suchanfrage l\xf6schen. Sortierung und Filter nach dem n\xe4chsten Senden ebenfalls l\xf6schen.",
591
598
  "modal_discover_more_": "Mehr erforschen",
592
599
  search_submit_button_aria_label_: "Suchen",
@@ -679,6 +686,7 @@ const $51586940f993357f$export$c05550c0848a3fe4 = {
679
686
  },
680
687
  "search_recs_title_": "Altre alternative",
681
688
  "category_": "Categoria",
689
+ "brand_": "Marca",
682
690
  "modal_discover_more_": "Scopri di pi\xf9",
683
691
  "previous_searches_text_": "Le tue ricerche precedenti",
684
692
  "suggestions_": "Suggerimenti",
@@ -753,6 +761,7 @@ const $0a060b0fa5b7442d$export$dcb702a89633f297 = {
753
761
  "search_recs_title_": "Andre alternativer",
754
762
  "modal_discover_more_": "Oppdag mer",
755
763
  "category_": "Kategori",
764
+ "brand_": "Merke",
756
765
  "suggestions_": "Forslag",
757
766
  "previous_searches_text_": "Tidligere s\xf8k",
758
767
  "no_results_text_": "Ingen resultater",
@@ -843,6 +852,7 @@ const $738a70c7e6fb49c6$export$b0eb0dd41442f532 = {
843
852
  },
844
853
  "search_recs_title_": "Inne alternatywy",
845
854
  "category_": "Kategoria",
855
+ "brand_": "Marka",
846
856
  "modal_discover_more_": "Zobacz więcej",
847
857
  "previous_searches_text_": "Twoje poprzednie wyszukiwania",
848
858
  "suggestions_": "Sugestie",
@@ -916,6 +926,7 @@ const $646aae836974143a$export$b3b5aa2c4df8976f = {
916
926
  },
917
927
  "search_recs_title_": "Outras alternativas",
918
928
  "category_": "Categoria",
929
+ "brand_": "Marca",
919
930
  "modal_discover_more_": "Descobrir mais",
920
931
  "previous_searches_text_": "As suas pesquisas anteriores",
921
932
  "suggestions_": "Sugest\xf5es",
@@ -1000,6 +1011,7 @@ const $4ede94931984913a$export$49b8f20513f0ff25 = {
1000
1011
  },
1001
1012
  "search_recs_title_": "Otras alternativas",
1002
1013
  "category_": "Categor\xeda",
1014
+ "brand_": "Marca",
1003
1015
  "modal_discover_more_": "Descubrir m\xe1s",
1004
1016
  "previous_searches_text_": "Tus b\xfasquedas anteriores",
1005
1017
  "suggestions_": "Sugerencias",
@@ -1071,6 +1083,7 @@ const $9c8f18e0e8a2b1d9$export$596caee559c76764 = {
1071
1083
  "clear_filters_query_sorting_after_submit_": "Rensa f\xf6rfr\xe5ga och filter + sorting efter ny f\xf6rfr\xe5ga",
1072
1084
  "previous_searches_text_": "Dina tidigare s\xf6kningar",
1073
1085
  "category_": "Kategori",
1086
+ "brand_": "Varum\xe4rke",
1074
1087
  "suggestions_": "F\xf6rslag",
1075
1088
  "modal_discover_more_": "Utforska mer",
1076
1089
  "placeholder_text_": "S\xf6k",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@depict-ai/ui",
3
- "version": "1.3.8",
3
+ "version": "1.4.2",
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
  "main": "dist/client/main.cjs",