@depict-ai/ui 1.1.0 → 1.1.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.
@@ -1,11 +1,12 @@
1
1
  var $diwD4$depictaiutilishared = require("@depict-ai/utilishared");
2
- var $diwD4$solidjsweb = require("solid-js/web");
3
2
  var $diwD4$solidjs = require("solid-js");
3
+ var $diwD4$solidjsweb = require("solid-js/web");
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, "general_modal_abstraction", () => $9abb0a35d4b60ed3$export$79b1565500412d9b);
9
10
  $parcel$export(module.exports, "CrossIcon", () => $c77c68e559a1506c$export$3b621d86b1566b2);
10
11
  $parcel$export(module.exports, "GenericSliderArrowButton", () => $0f313083912e447a$export$8be2714ec7f169ee);
11
12
  $parcel$export(module.exports, "fetchDepictRecommendations", () => $bc91d938b8c601b4$export$58e808b1db15d3bc);
@@ -42,9 +43,59 @@ $parcel$export(module.exports, "defaultGridSpacing", () => $a3280f0aad997933$exp
42
43
  $parcel$export(module.exports, "defaultColsAtSize", () => $a3280f0aad997933$export$c3834fa86c616831);
43
44
  $parcel$export(module.exports, "defaultCategoryTitlePlugin", () => $a3280f0aad997933$export$7bf543b9d9be2c22);
44
45
  $parcel$export(module.exports, "version", () => $b757f75811f3261f$export$83d89fbfd8236492);
45
- /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.0.18";
46
+ /*! Depict.ai search and product listing SDK */ const $b757f75811f3261f$export$83d89fbfd8236492 = "1.1.2";
47
+
48
+
49
+
46
50
 
47
51
 
52
+ async function $9abb0a35d4b60ed3$export$79b1565500412d9b(search_modal, modal_fn_opts) {
53
+ const body = await (0, $diwD4$depictaiutilishared.observer).wait_for_element("body");
54
+ let dispose_and_remove;
55
+ const open_modal_ = (extra_options_for_modal = {}, on_dispose)=>{
56
+ if (dispose_and_remove) // modal is already open
57
+ return;
58
+ const modal_els = (0, $diwD4$solidjs.createRoot)((dispose)=>{
59
+ let closing_animation;
60
+ let animation_started;
61
+ dispose_and_remove = ()=>{
62
+ const actually_close = ()=>{
63
+ dispose();
64
+ on_dispose?.();
65
+ modal_els.forEach((el)=>el.remove());
66
+ };
67
+ if (animation_started && +new Date() - animation_started > 1000) // Animation broke, close it this time
68
+ actually_close();
69
+ else if (!animation_started && closing_animation) {
70
+ animation_started = +new Date();
71
+ (0, $diwD4$depictaiutilishared.catchify)(closing_animation)()?.then((0, $diwD4$depictaiutilishared.catchify)(actually_close));
72
+ } else actually_close();
73
+ };
74
+ return search_modal({
75
+ ...modal_fn_opts,
76
+ ...extra_options_for_modal,
77
+ close_modal_: close_modal_,
78
+ open_modal_: open_modal_,
79
+ register_closing_animation_: (animation)=>closing_animation = animation
80
+ });
81
+ });
82
+ body.append(...modal_els);
83
+ };
84
+ const close_modal_ = ()=>{
85
+ if (dispose_and_remove) {
86
+ // modal is open
87
+ const dispose_fn = dispose_and_remove;
88
+ // set dispose function to undefined in case that it triggers this dispose function itself. Not doing it leads to a bug like https://github.com/solidjs/solid/discussions/1194
89
+ dispose_and_remove = undefined;
90
+ dispose_fn();
91
+ }
92
+ };
93
+ return {
94
+ open_modal_: open_modal_,
95
+ close_modal_: close_modal_
96
+ };
97
+ }
98
+
48
99
 
49
100
 
50
101
 
@@ -1510,55 +1561,6 @@ function $235a2771a44e28e9$export$fecbb157621501bd({ number_of_rendered_selected
1510
1561
 
1511
1562
 
1512
1563
 
1513
- async function $9abb0a35d4b60ed3$export$79b1565500412d9b(search_modal, modal_fn_opts) {
1514
- const body = await (0, $diwD4$depictaiutilishared.observer).wait_for_element("body");
1515
- let dispose_and_remove;
1516
- const open_modal_ = (extra_options_for_modal = {}, on_dispose)=>{
1517
- if (dispose_and_remove) // modal is already open
1518
- return;
1519
- const modal_els = (0, $diwD4$solidjs.createRoot)((dispose)=>{
1520
- let closing_animation;
1521
- let animation_started;
1522
- dispose_and_remove = ()=>{
1523
- const actually_close = ()=>{
1524
- dispose();
1525
- on_dispose?.();
1526
- modal_els.forEach((el)=>el.remove());
1527
- };
1528
- if (animation_started && +new Date() - animation_started > 1000) // Animation broke, close it this time
1529
- actually_close();
1530
- else if (!animation_started && closing_animation) {
1531
- animation_started = +new Date();
1532
- (0, $diwD4$depictaiutilishared.catchify)(closing_animation)()?.then((0, $diwD4$depictaiutilishared.catchify)(actually_close));
1533
- } else actually_close();
1534
- };
1535
- return search_modal({
1536
- ...modal_fn_opts,
1537
- ...extra_options_for_modal,
1538
- close_modal_: close_modal_,
1539
- open_modal_: open_modal_,
1540
- register_closing_animation_: (animation)=>closing_animation = animation
1541
- });
1542
- });
1543
- body.append(...modal_els);
1544
- };
1545
- const close_modal_ = ()=>{
1546
- if (dispose_and_remove) {
1547
- // modal is open
1548
- const dispose_fn = dispose_and_remove;
1549
- // set dispose function to undefined in case that it triggers this dispose function itself. Not doing it leads to a bug like https://github.com/solidjs/solid/discussions/1194
1550
- dispose_and_remove = undefined;
1551
- dispose_fn();
1552
- }
1553
- };
1554
- return {
1555
- open_modal_: open_modal_,
1556
- close_modal_: close_modal_
1557
- };
1558
- }
1559
-
1560
-
1561
-
1562
1564
 
1563
1565
 
1564
1566
 
@@ -3941,7 +3943,6 @@ function $2fb324fbcc7b4a7b$var$ActualFloatingButtons({ search_filters_open_: [ge
3941
3943
 
3942
3944
 
3943
3945
 
3944
-
3945
3946
  const $1ab22f2cd39b3061$var$operator_map = {
3946
3947
  "eq": "≡",
3947
3948
  "neq": "≠",
@@ -5113,7 +5114,8 @@ function $c79fd10a3ab7d6e0$export$477caf01aecaeb2a(options) {
5113
5114
  router_.navigate_.go_to_({
5114
5115
  is_replace_: true,
5115
5116
  new_url_: url_object.href,
5116
- force_spa_navigation_: true
5117
+ force_spa_navigation_: true,
5118
+ scroll: false
5117
5119
  });
5118
5120
  }, {
5119
5121
  defer: true
@@ -5173,7 +5175,7 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
5173
5175
  * @param force_spa_navigation_ if you want to force SPA navigation even if on_navigation_ is set to "hard_navigation". You should only set this to true for inter-SDK-page navigations
5174
5176
  * @param is_replace_ if you want to replace the current URL in history instead of pushing a new one
5175
5177
  * @param category_query_id_ If you are navigating to a category and know the query_id of, please provide it. This is for making a better devEx in js-ui
5176
- */ go_to_: (0, $diwD4$depictaiutilishared.catchify)(async ({ new_url_: raw_new_url , event_: event_ , force_spa_navigation_: force_spa_navigation_ , is_replace_: is_replace_ , category_query_id_: category_query_id_ })=>{
5178
+ */ go_to_: (0, $diwD4$depictaiutilishared.catchify)(async ({ new_url_: raw_new_url , event_: event_ , force_spa_navigation_: force_spa_navigation_ , is_replace_: is_replace_ , category_query_id_: category_query_id_ , scroll: scroll = true })=>{
5177
5179
  const new_url_ = raw_new_url instanceof URL ? raw_new_url : new URL(raw_new_url, location.origin);
5178
5180
  const wants_hard_navigation = this.on_navigation_ === "hard_navigation";
5179
5181
  if (this.#dont_attempt_navigation(event_)) return;
@@ -5195,7 +5197,8 @@ class $e96dd13889871fc0$export$7e1297a3a19f10d8 {
5195
5197
  history[is_replace_ ? "replaceState" : "pushState"](new_state, "", new_url_);
5196
5198
  } else this.#throwing_on_navigation.call(this, {
5197
5199
  is_replace: is_replace_,
5198
- new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin)
5200
+ new_url: new_url_ instanceof URL ? new_url_ : new URL(new_url_, location.origin),
5201
+ scroll: scroll
5199
5202
  });
5200
5203
  await promise;
5201
5204
  })
@@ -7061,6 +7064,26 @@ function $65a0c4b1c2eb5d0b$export$9dd50d35b9d94fdf({ get_search_query_: get_sear
7061
7064
 
7062
7065
 
7063
7066
 
7067
+
7068
+ function $2005eec80e40088f$export$41b4894022a3580f({ style_props_: style_props_ = (0, $diwD4$solidjs.createSignal)({}) } = {}) {
7069
+ const [, set_style_props] = style_props_;
7070
+ const supports_hover = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(hover: hover) and (pointer: fine)");
7071
+ const desktop_short = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(max-height: 790px)");
7072
+ const mobile_short = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(max-height: 1000px)");
7073
+ const transform_y = (0, $diwD4$solidjs.createMemo)(()=>supports_hover() ? !desktop_short() : !mobile_short());
7074
+ set_style_props({
7075
+ position: "fixed",
7076
+ top: "50%"
7077
+ });
7078
+ (0, $diwD4$solidjs.createComputed)(()=>set_style_props((old_value)=>({
7079
+ ...old_value,
7080
+ transform: transform_y() ? "translateY(-50%)" : "unset"
7081
+ })));
7082
+ return style_props_;
7083
+ }
7084
+
7085
+
7086
+
7064
7087
  const $f1d7cb69f839a526$var$_tmpl$ = [
7065
7088
  "<div",
7066
7089
  ' class="filter-results-for-one-row"><!--#-->',
@@ -7078,8 +7101,7 @@ const $f1d7cb69f839a526$var$_tmpl$ = [
7078
7101
  "<!--/--><!--#-->",
7079
7102
  "<!--/--></div>"
7080
7103
  ];
7081
- function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
7082
- const { depict_api_: depict_api_ , search_field_value_: search_field_value_ , get_search_query_: get_search_query_ , open_modal_: open_modal_ , submit_query_: submit_query_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , search_filters_open_: search_filters_open_ , search_sorting_open_: search_sorting_open_ , expanded_filters_: expanded_filters_ , input_modal_open_: input_modal_open_ , selected_filters_: selected_filters_ , i18n_: i18n_ , make_category_suggestion_card_: make_category_suggestion_card_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , clear_filters_on_next_submit_: clear_filters_on_next_submit_ , local_filter_cache_: local_filter_cache_ , include_input_field_: include_input_field_ , tenant_: tenant_ , market_: market_ , showing_recommendation_rows_: showing_recommendation_rows_ , search_recs_view_more_: search_recs_view_more_ , disable_search_recommendations_: disable_search_recommendations_ , layout_options_: layout_options_ , recommendations_layout_options_: recommendations_layout_options_ = layout_options_ , scroll_restoration_data_: scroll_restoration_data_ , product_card_template_: product_card_template_ } = opts;
7104
+ function $f1d7cb69f839a526$export$a54ec244c8863715({ depict_api_: depict_api_ , search_field_value_: search_field_value_ , get_search_query_: get_search_query_ , open_modal_: open_modal_ , submit_query_: submit_query_ , current_sorting_: current_sorting_ , min_products_to_fetch_: min_products_to_fetch_ , search_filters_open_: search_filters_open_ , search_sorting_open_: search_sorting_open_ , expanded_filters_: expanded_filters_ , input_modal_open_: input_modal_open_ , selected_filters_: selected_filters_ , i18n_: i18n_ , make_category_suggestion_card_: make_category_suggestion_card_ , expanded_hierarchical_filters_: expanded_hierarchical_filters_ , clear_filters_on_next_submit_: clear_filters_on_next_submit_ , local_filter_cache_: local_filter_cache_ , include_input_field_: include_input_field_ , tenant_: tenant_ , market_: market_ , showing_recommendation_rows_: showing_recommendation_rows_ , search_recs_view_more_: search_recs_view_more_ , disable_search_recommendations_: disable_search_recommendations_ , layout_options_: layout_options_ , recommendations_layout_options_: recommendations_layout_options_ = layout_options_ , scroll_restoration_data_: scroll_restoration_data_ , product_card_template_: product_card_template_ , modal_body_style_ref_: modal_body_style_ref_ }) {
7083
7105
  const [get_sorting] = current_sorting_;
7084
7106
  const all_products_loaded_ = (0, $diwD4$solidjs.createSignal)(false);
7085
7107
  const [get_all_products_loaded, set_all_products_loaded] = all_products_loaded_;
@@ -7132,42 +7154,8 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
7132
7154
  })));
7133
7155
  const available_filters_ = (0, $diwD4$solidjs.createMemo)(()=>search_results_()?.filters);
7134
7156
  const modal_body_style = (0, $diwD4$solidjs.createSignal)({});
7135
- let search_field;
7136
- if (include_input_field_) {
7137
- const SafeSearchField = (0, $diwD4$depictaiutilishared.catchify)((0, $66b8b9a9613c141d$export$b94867ecbd698f21));
7138
- let input_element;
7139
- let div_with_field_class;
7140
- search_field = SafeSearchField({
7141
- i18n_: i18n_,
7142
- search_field_value_: search_field_value_,
7143
- submit_query_: submit_query_,
7144
- clear_filters_: clear_filters_on_next_submit_,
7145
- input_field_ref_: (el)=>input_element = el,
7146
- field_element_ref_: (el)=>div_with_field_class = el,
7147
- disabled_: true
7148
- });
7149
- if (search_field) {
7150
- opts?.modal_body_style_ref_?.(modal_body_style);
7151
- const align_position = (0, $diwD4$depictaiutilishared.catchify)((0, $fd463ff0edb29915$export$b3ad617e9036868))(modal_body_style, search_field, undefined, true);
7152
- div_with_field_class.addEventListener("click", (0, $diwD4$depictaiutilishared.catchify)((e)=>{
7153
- const target = e.target;
7154
- const sel = ".submit";
7155
- if (target?.matches?.(sel) || target?.closest?.(sel)) // the search button is just decor, don't do anything when clicked
7156
- return;
7157
- // When selecting text in the SearchField that's in the page we want the same selection to persist. It doesn't by itself, since the SearchModal has an entirely different SearchField. Therefore, we manually copy the selection over.
7158
- const selected_text_range_ = [
7159
- input_element.selectionStart,
7160
- input_element.selectionEnd
7161
- ];
7162
- align_position?.();
7163
- open_modal_({
7164
- style_props_: modal_body_style,
7165
- selected_text_range_: selected_text_range_
7166
- }, ()=>include_input_field_?.on_close_?.());
7167
- include_input_field_?.on_open_?.();
7168
- }));
7169
- }
7170
- }
7157
+ const [get_search_field_elements, set_search_field_elements] = (0, $diwD4$solidjs.createSignal)();
7158
+ const SafeSearchField = (0, $diwD4$depictaiutilishared.catchify)((0, $66b8b9a9613c141d$export$b94867ecbd698f21));
7171
7159
  const [sort_or_filter_open_, set_sort_or_filter_open_] = (0, $diwD4$solidjs.createSignal)(false);
7172
7160
  const [desktop_filter_elements_, set_desktop_filter_elements] = (0, $diwD4$solidjs.createSignal)();
7173
7161
  const formatted_number_of_results_ = (0, $0f400c3f7248d5f1$export$92f2da32c6e7e7ee)({
@@ -7227,9 +7215,58 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
7227
7215
  get_search_query_();
7228
7216
  (0, $341a019928b8b91e$export$c7e181728ad525f)(location);
7229
7217
  });
7218
+ (0, $diwD4$solidjs.createEffect)(()=>{
7219
+ // reactive include_input_field
7220
+ // this uses ~7 variables from outer scope which is why I didn't refactor it into a function
7221
+ add_input_field: {
7222
+ const input_field_accessor_value = include_input_field_?.() ?? true; // default to showing input field
7223
+ if (!input_field_accessor_value) break add_input_field;
7224
+ let input_element;
7225
+ let div_with_field_class;
7226
+ const search_field = SafeSearchField({
7227
+ i18n_: i18n_,
7228
+ search_field_value_: search_field_value_,
7229
+ submit_query_: submit_query_,
7230
+ clear_filters_: clear_filters_on_next_submit_,
7231
+ input_field_ref_: (el)=>input_element = el,
7232
+ field_element_ref_: (el)=>div_with_field_class = el,
7233
+ disabled_: true
7234
+ });
7235
+ if (!search_field) break add_input_field;
7236
+ modal_body_style[1]({});
7237
+ modal_body_style_ref_?.(modal_body_style);
7238
+ const align_position = (0, $diwD4$depictaiutilishared.catchify)((0, $fd463ff0edb29915$export$b3ad617e9036868))(modal_body_style, search_field, undefined, true);
7239
+ div_with_field_class.addEventListener("click", (0, $diwD4$depictaiutilishared.catchify)((e)=>{
7240
+ const target = e.target;
7241
+ const sel = ".submit";
7242
+ if (target?.matches?.(sel) || target?.closest?.(sel)) // the search button is just decor, don't do anything when clicked
7243
+ return;
7244
+ // When selecting text in the SearchField that's in the page we want the same selection to persist. It doesn't by itself, since the SearchModal has an entirely different SearchField. Therefore, we manually copy the selection over.
7245
+ const selected_text_range_ = [
7246
+ input_element.selectionStart,
7247
+ input_element.selectionEnd
7248
+ ];
7249
+ align_position?.();
7250
+ open_modal_({
7251
+ style_props_: modal_body_style,
7252
+ selected_text_range_: selected_text_range_
7253
+ }, ()=>input_field_accessor_value?.on_close_?.());
7254
+ input_field_accessor_value?.on_open_?.();
7255
+ }));
7256
+ set_search_field_elements(search_field);
7257
+ return;
7258
+ }
7259
+ // We bailed out of adding the input field
7260
+ set_search_field_elements();
7261
+ // There *might* still be a modal open, either from depict_search.modal_open = true or clicking the SearchField which existed here. Said modal now doesn't have anything to align to anymore - it will still try to align to the style_props_ which it got through the modal_body_style_ref_ which are now no longer updated.
7262
+ // In that case, we write what's needed to center the modal to the modal_body_style for the lifetime of this effect function call to make sure the modal is centered and the UI doesn't look "botched".
7263
+ (0, $2005eec80e40088f$export$41b4894022a3580f)({
7264
+ style_props_: modal_body_style
7265
+ });
7266
+ });
7230
7267
  return [
7231
7268
  (0, $diwD4$solidjsweb.isServer) ? "<!-- Search page based on Depict SDK -->" : document.createComment("Search page based on Depict SDK"),
7232
- (0, $diwD4$solidjsweb.ssr)($f1d7cb69f839a526$var$_tmpl$2, (0, $diwD4$solidjsweb.ssrHydrationKey)() + (0, $diwD4$solidjsweb.ssrAttribute)("id", (0, $diwD4$solidjsweb.escape)((0, $0b6e2070a98de347$export$44dad306455dddf).SEARCH_PAGE, true), false), (0, $diwD4$solidjsweb.escape)(search_field), make_category_suggestion_card_ ? (0, $diwD4$solidjsweb.escape)((0, $diwD4$solidjsweb.createComponent)((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
7269
+ (0, $diwD4$solidjsweb.ssr)($f1d7cb69f839a526$var$_tmpl$2, (0, $diwD4$solidjsweb.ssrHydrationKey)() + (0, $diwD4$solidjsweb.ssrAttribute)("id", (0, $diwD4$solidjsweb.escape)((0, $0b6e2070a98de347$export$44dad306455dddf).SEARCH_PAGE, true), false), (0, $diwD4$solidjsweb.escape)(get_search_field_elements()), make_category_suggestion_card_ ? (0, $diwD4$solidjsweb.escape)((0, $diwD4$solidjsweb.createComponent)((0, $edafe91daf3091d7$export$b69d0d92862de18b), {
7233
7270
  severity_: "error",
7234
7271
  message_: "Category suggestions failed",
7235
7272
  get children () {
@@ -7345,7 +7382,6 @@ function $f1d7cb69f839a526$export$a54ec244c8863715(opts) {
7345
7382
 
7346
7383
 
7347
7384
 
7348
-
7349
7385
  function $d8e94ea381ab57fa$export$828dcdd425fd3231(aligner) {
7350
7386
  const style_element = document.createElement("style");
7351
7387
  document.head.append(style_element);
@@ -7371,6 +7407,7 @@ function $d8e94ea381ab57fa$export$828dcdd425fd3231(aligner) {
7371
7407
 
7372
7408
 
7373
7409
 
7410
+
7374
7411
  const $2c61e4cd8229c49a$var$_tmpl$ = [
7375
7412
  "<div",
7376
7413
  ' class="depict plp search">',
@@ -7518,18 +7555,7 @@ class $2c61e4cd8229c49a$export$ac6237957a15b3f0 {
7518
7555
  return;
7519
7556
  }
7520
7557
  // Open centered modal
7521
- const supports_hover = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(hover: hover) and (pointer: fine)");
7522
- const desktop_short = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(max-height: 790px)");
7523
- const mobile_short = (0, $b54e6192d0caa293$export$d9f36cf74e24d595)("(max-height: 1000px)");
7524
- const transform_y = (0, $diwD4$solidjs.createMemo)(()=>supports_hover() ? !desktop_short() : !mobile_short());
7525
- const style_props_ = (0, $diwD4$solidjs.createSignal)({
7526
- position: "fixed",
7527
- top: "50%"
7528
- });
7529
- (0, $diwD4$solidjs.createComputed)(()=>style_props_[1]((old_value)=>({
7530
- ...old_value,
7531
- transform: transform_y() ? "translateY(-50%)" : "unset"
7532
- })));
7558
+ const style_props_ = (0, $2005eec80e40088f$export$41b4894022a3580f)();
7533
7559
  if (signal_value_is_options) {
7534
7560
  const [options_arg, ...rest] = open_signal_value;
7535
7561
  open_modal_({
@@ -7597,7 +7623,8 @@ function $2c61e4cd8229c49a$var$get_shared_properties(depict_search) {
7597
7623
  if (!shared_properties) throw new Error("Can't connect to provided DepictSearch instance");
7598
7624
  return shared_properties;
7599
7625
  }
7600
- function $2c61e4cd8229c49a$export$f2dc7e4e4aa11abb({ depict_search: depict_search , include_input_field: include_input_field , grid_spacing: grid_spacing , cols_at_size: cols_at_size , product_card_template: product_card_template , extra_depict_options: extra_depict_options }) {
7626
+ function $2c61e4cd8229c49a$export$f2dc7e4e4aa11abb(props) {
7627
+ const { depict_search: depict_search , grid_spacing: grid_spacing , cols_at_size: cols_at_size , product_card_template: product_card_template , extra_depict_options: extra_depict_options } = props;
7601
7628
  const shared_properties = $2c61e4cd8229c49a$var$get_shared_properties(depict_search);
7602
7629
  const grid_spacing_override = typeof grid_spacing === "string" ? {
7603
7630
  grid_spacing: grid_spacing
@@ -7651,7 +7678,7 @@ function $2c61e4cd8229c49a$export$f2dc7e4e4aa11abb({ depict_search: depict_searc
7651
7678
  selected_filters_: shared_properties.selected_filters_,
7652
7679
  showing_recommendation_rows_: state_.search_showing_recommendation_rows,
7653
7680
  scroll_restoration_data_: state_.search_scroll_restoration_data,
7654
- include_input_field_: include_input_field,
7681
+ include_input_field_: ()=>props.include_input_field,
7655
7682
  layout_options_: {
7656
7683
  cols_at_size: (0, $4e04be41243c3d80$export$6daf8749b65a1b77)(cols_at_size),
7657
7684
  ...grid_spacing_override