@depict-ai/ui 2.0.23 → 2.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/ES10/index.cjs +108 -80
- package/ES10/index.d.ts +9 -1
- package/ES10/index.js +108 -81
- package/latest/index.cjs +106 -78
- package/latest/index.d.ts +9 -1
- package/latest/index.js +106 -79
- package/package.json +1 -1
- package/server/ES10/index.cjs +68 -41
- package/server/ES10/index.d.ts +9 -1
- package/server/ES10/index.js +68 -42
- package/server/latest/index.cjs +66 -39
- package/server/latest/index.d.ts +9 -1
- package/server/latest/index.js +66 -40
package/ES10/index.js
CHANGED
|
@@ -8,7 +8,7 @@ import $8tj43$babelruntimehelpersdefineProperty from "@babel/runtime/helpers/def
|
|
|
8
8
|
/*! Depict.ai search and product listing SDK */
|
|
9
9
|
import { register_es_version } from "../multi_import_deduplicator.mjs";
|
|
10
10
|
register_es_version("ui", "ES10");
|
|
11
|
-
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.0.
|
|
11
|
+
const $8db9a15135765c11$export$83d89fbfd8236492 = "2.0.25";
|
|
12
12
|
const $2855bffe06ef7a03$var$fallback_operator = "in";
|
|
13
13
|
const $2855bffe06ef7a03$var$fallback_token = "";
|
|
14
14
|
const $2855bffe06ef7a03$var$legacy_filter_prefix = "filter_";
|
|
@@ -3563,8 +3563,7 @@ function $f6b0500577e1b210$export$3f1a388cc0d8fed7(props) {
|
|
|
3563
3563
|
// Split like this to make placeholder wrapping more visible & this component is exported and used in MobileModal
|
|
3564
3564
|
return $8tj43$createComponent((0, $8tj43$Show), {
|
|
3565
3565
|
get when() {
|
|
3566
|
-
|
|
3567
|
-
return (_props$available_filt = props.available_filters_()) === null || _props$available_filt === void 0 ? void 0 : _props$available_filt.length;
|
|
3566
|
+
return props.available_filters_();
|
|
3568
3567
|
},
|
|
3569
3568
|
get fallback() {
|
|
3570
3569
|
return Array.from({
|
|
@@ -5344,6 +5343,15 @@ const $05f67356defcdd65$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<svg xmlns="h
|
|
|
5344
5343
|
function $05f67356defcdd65$export$28f6150e232898de() {
|
|
5345
5344
|
return $8tj43$getNextElement($05f67356defcdd65$var$_tmpl$);
|
|
5346
5345
|
}
|
|
5346
|
+
|
|
5347
|
+
/**
|
|
5348
|
+
* Returns true when we have an array of filters that's an array but empty and no selected filters.
|
|
5349
|
+
* Used for hiding the filter button, filter section is from sort/filter modal and desktop filters
|
|
5350
|
+
*/
|
|
5351
|
+
function $6fcb97029a69ec44$export$50f68cc9882e36a4(args_for_filtering) {
|
|
5352
|
+
var _args_for_filtering$a, _args_for_filtering$s;
|
|
5353
|
+
return ((_args_for_filtering$a = args_for_filtering.available_filters_()) === null || _args_for_filtering$a === void 0 ? void 0 : _args_for_filtering$a.length) === 0 && !((_args_for_filtering$s = args_for_filtering.selected_filters_[0]()) !== null && _args_for_filtering$s !== void 0 && _args_for_filtering$s.length);
|
|
5354
|
+
}
|
|
5347
5355
|
const $082c4ed3e22f8d71$var$_tmpl$ = /*#__PURE__*/$8tj43$template(`<button class="clear minor"></button>`, 2),
|
|
5348
5356
|
$082c4ed3e22f8d71$var$_tmpl$2 = /*#__PURE__*/$8tj43$template(`<div class="depict plp" id="depict-filter-sort-mobile-modal-container"><div class="depict-filter-sort-modal-backdrop"></div><button class="dismiss-modal"></button><div class="filter-sort-modal"><div class="body"><!#><!/><!#><!/></div><div class="bottom-row"><!#><!/><button class="show-results major"></button></div></div></div>`, 20),
|
|
5349
5357
|
$082c4ed3e22f8d71$var$_tmpl$3 = /*#__PURE__*/$8tj43$template(`<details class="sorting"></details>`, 2),
|
|
@@ -5585,38 +5593,45 @@ function $082c4ed3e22f8d71$export$9bf11afa910f536e(_ref) {
|
|
|
5585
5593
|
})();
|
|
5586
5594
|
}
|
|
5587
5595
|
}), _el$7, _co$);
|
|
5588
|
-
$8tj43$insert(_el$5, $8tj43$createComponent((0, $
|
|
5589
|
-
|
|
5590
|
-
|
|
5591
|
-
return $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$6);
|
|
5592
|
-
},
|
|
5593
|
-
get summary_() {
|
|
5594
|
-
return (() => {
|
|
5595
|
-
const _el$26 = $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$4),
|
|
5596
|
-
_el$27 = _el$26.firstChild,
|
|
5597
|
-
_el$28 = _el$27.firstChild,
|
|
5598
|
-
_el$30 = _el$28.firstChild,
|
|
5599
|
-
[_el$31, _co$6] = $8tj43$getNextMarker(_el$30.nextSibling),
|
|
5600
|
-
_el$29 = _el$31.nextSibling,
|
|
5601
|
-
_el$32 = _el$28.nextSibling,
|
|
5602
|
-
[_el$33, _co$7] = $8tj43$getNextMarker(_el$32.nextSibling);
|
|
5603
|
-
$8tj43$insert(_el$28, $8tj43$createComponent((0, $05f67356defcdd65$export$28f6150e232898de), {}), _el$31, _co$6);
|
|
5604
|
-
$8tj43$insert(_el$29, () => i18n_.filters_());
|
|
5605
|
-
$8tj43$insert(_el$27, $8tj43$createComponent((0, $457279ff15864cb9$export$e5c2828934226505), {
|
|
5606
|
-
expanded_: filters_expanded,
|
|
5607
|
-
i18n_: i18n_
|
|
5608
|
-
}), _el$33, _co$7);
|
|
5609
|
-
return _el$26;
|
|
5610
|
-
})();
|
|
5596
|
+
$8tj43$insert(_el$5, $8tj43$createComponent((0, $8tj43$Show), {
|
|
5597
|
+
get when() {
|
|
5598
|
+
return !$6fcb97029a69ec44$export$50f68cc9882e36a4(args_for_filtering_);
|
|
5611
5599
|
},
|
|
5612
5600
|
get children() {
|
|
5613
|
-
return (()
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
}
|
|
5618
|
-
|
|
5619
|
-
|
|
5601
|
+
return $8tj43$createComponent((0, $ad371564683947ab$export$6c6d7a51fa9aa15d), {
|
|
5602
|
+
is_open_: [filters_expanded, set_filters_expanded],
|
|
5603
|
+
get details_() {
|
|
5604
|
+
return $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$6);
|
|
5605
|
+
},
|
|
5606
|
+
get summary_() {
|
|
5607
|
+
return (() => {
|
|
5608
|
+
const _el$26 = $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$4),
|
|
5609
|
+
_el$27 = _el$26.firstChild,
|
|
5610
|
+
_el$28 = _el$27.firstChild,
|
|
5611
|
+
_el$30 = _el$28.firstChild,
|
|
5612
|
+
[_el$31, _co$6] = $8tj43$getNextMarker(_el$30.nextSibling),
|
|
5613
|
+
_el$29 = _el$31.nextSibling,
|
|
5614
|
+
_el$32 = _el$28.nextSibling,
|
|
5615
|
+
[_el$33, _co$7] = $8tj43$getNextMarker(_el$32.nextSibling);
|
|
5616
|
+
$8tj43$insert(_el$28, $8tj43$createComponent((0, $05f67356defcdd65$export$28f6150e232898de), {}), _el$31, _co$6);
|
|
5617
|
+
$8tj43$insert(_el$29, () => i18n_.filters_());
|
|
5618
|
+
$8tj43$insert(_el$27, $8tj43$createComponent((0, $457279ff15864cb9$export$e5c2828934226505), {
|
|
5619
|
+
expanded_: filters_expanded,
|
|
5620
|
+
i18n_: i18n_
|
|
5621
|
+
}), _el$33, _co$7);
|
|
5622
|
+
return _el$26;
|
|
5623
|
+
})();
|
|
5624
|
+
},
|
|
5625
|
+
get children() {
|
|
5626
|
+
return (() => {
|
|
5627
|
+
const _el$34 = $8tj43$getNextElement($082c4ed3e22f8d71$var$_tmpl$5);
|
|
5628
|
+
$8tj43$insert(_el$34, $8tj43$createComponent((0, $f6b0500577e1b210$export$3f1a388cc0d8fed7), $8tj43$mergeProps(args_for_filtering_, {
|
|
5629
|
+
are_in_modal_: true
|
|
5630
|
+
})));
|
|
5631
|
+
return _el$34;
|
|
5632
|
+
})();
|
|
5633
|
+
}
|
|
5634
|
+
});
|
|
5620
5635
|
}
|
|
5621
5636
|
}), _el$9, _co$2);
|
|
5622
5637
|
$8tj43$insert(_el$10, $8tj43$createComponent((0, $8tj43$Show), {
|
|
@@ -5729,6 +5744,7 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
5729
5744
|
selected_filters_: selected_filters_,
|
|
5730
5745
|
i18n_: i18n_
|
|
5731
5746
|
};
|
|
5747
|
+
const hide_filters = $8tj43$createMemo(() => $6fcb97029a69ec44$export$50f68cc9882e36a4(filter_options));
|
|
5732
5748
|
const sorting_options = {
|
|
5733
5749
|
current_sorting_: current_sorting_,
|
|
5734
5750
|
available_sortings_: available_sortings_,
|
|
@@ -5743,7 +5759,8 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
5743
5759
|
search_filters_open_: search_filters_open_,
|
|
5744
5760
|
search_sorting_open_: search_sorting_open_,
|
|
5745
5761
|
number_of_rendered_selected_filters_items_: number_of_rendered_selected_filters_items_,
|
|
5746
|
-
filter_button_width_: adhere_to_width ? filter_button_width_ : undefined
|
|
5762
|
+
filter_button_width_: adhere_to_width ? filter_button_width_ : undefined,
|
|
5763
|
+
hide_button_: hide_filters
|
|
5747
5764
|
});
|
|
5748
5765
|
};
|
|
5749
5766
|
const make_open_sorting_button = function () {
|
|
@@ -5795,12 +5812,17 @@ function $7396052a1484264f$export$d7841e452f2e59a8(_ref) {
|
|
|
5795
5812
|
} else {
|
|
5796
5813
|
var _close_modal_2;
|
|
5797
5814
|
(_close_modal_2 = close_modal_) === null || _close_modal_2 === void 0 || _close_modal_2();
|
|
5798
|
-
if (filters_open()) set_extra_els_in_results_container_((
|
|
5799
|
-
|
|
5800
|
-
|
|
5801
|
-
|
|
5802
|
-
|
|
5803
|
-
|
|
5815
|
+
if (filters_open()) set_extra_els_in_results_container_(() => $8tj43$createComponent((0, $8tj43$Show), {
|
|
5816
|
+
get when() {
|
|
5817
|
+
return !hide_filters();
|
|
5818
|
+
},
|
|
5819
|
+
get children() {
|
|
5820
|
+
const _el$ = $8tj43$getNextElement($7396052a1484264f$var$_tmpl$),
|
|
5821
|
+
_el$2 = _el$.firstChild;
|
|
5822
|
+
$8tj43$insert(_el$2, $8tj43$createComponent((0, $f6b0500577e1b210$export$3f1a388cc0d8fed7), filter_options));
|
|
5823
|
+
return _el$;
|
|
5824
|
+
}
|
|
5825
|
+
}));else set_extra_els_in_results_container_((() => {
|
|
5804
5826
|
const _el$3 = $8tj43$getNextElement($7396052a1484264f$var$_tmpl$2),
|
|
5805
5827
|
_el$4 = _el$3.firstChild;
|
|
5806
5828
|
$8tj43$insert(_el$4, $8tj43$createComponent((0, $cfdbd124dd09d713$export$1f1775a58da589b5), sorting_options));
|
|
@@ -5866,7 +5888,8 @@ function $7396052a1484264f$var$OpenFiltersButton(_ref3) {
|
|
|
5866
5888
|
search_sorting_open_: search_sorting_open_,
|
|
5867
5889
|
filter_button_width_: filter_button_width_,
|
|
5868
5890
|
tabindex_: tabindex_,
|
|
5869
|
-
number_of_rendered_selected_filters_items_: [num_selected_filters]
|
|
5891
|
+
number_of_rendered_selected_filters_items_: [num_selected_filters],
|
|
5892
|
+
hide_button_: hide_button_
|
|
5870
5893
|
} = _ref3;
|
|
5871
5894
|
const filters_closed = $8tj43$createMemo(() => !search_filters_open_[0]());
|
|
5872
5895
|
// We assume in embedded_num_products that this is a single HTMLElement so pls change there if you change it here
|
|
@@ -5912,22 +5935,27 @@ function $7396052a1484264f$var$OpenFiltersButton(_ref3) {
|
|
|
5912
5935
|
}), _el$19, _co$4);
|
|
5913
5936
|
$8tj43$insert(_el$17, () => i18n_.filter_text_());
|
|
5914
5937
|
$8tj43$effect(_p$ => {
|
|
5915
|
-
const _v$ =
|
|
5916
|
-
|
|
5917
|
-
|
|
5918
|
-
_v$
|
|
5938
|
+
const _v$ = hide_button_() ? {
|
|
5939
|
+
display: "none"
|
|
5940
|
+
} : {},
|
|
5941
|
+
_v$2 = !filters_closed(),
|
|
5942
|
+
_v$3 = !!filters_closed(),
|
|
5943
|
+
_v$4 = (filters_closed() ? i18n_.open_filters_ : i18n_.close_filters_)(),
|
|
5944
|
+
_v$5 = filter_button_width_ !== null && filter_button_width_ !== void 0 && filter_button_width_() ? {
|
|
5919
5945
|
width: filter_button_width_() + "px"
|
|
5920
5946
|
} : {};
|
|
5921
|
-
|
|
5922
|
-
_v$2 !== _p$._v$2 && _el$16.classList.toggle("
|
|
5923
|
-
_v$3 !== _p$._v$3 &&
|
|
5924
|
-
_p$._v$4
|
|
5947
|
+
_p$._v$ = $8tj43$style(_el$14, _v$, _p$._v$);
|
|
5948
|
+
_v$2 !== _p$._v$2 && _el$16.classList.toggle("major", _p$._v$2 = _v$2);
|
|
5949
|
+
_v$3 !== _p$._v$3 && _el$16.classList.toggle("minor", _p$._v$3 = _v$3);
|
|
5950
|
+
_v$4 !== _p$._v$4 && $8tj43$setAttribute(_el$16, "aria-label", _p$._v$4 = _v$4);
|
|
5951
|
+
_p$._v$5 = $8tj43$style(_el$16, _v$5, _p$._v$5);
|
|
5925
5952
|
return _p$;
|
|
5926
5953
|
}, {
|
|
5927
5954
|
_v$: undefined,
|
|
5928
5955
|
_v$2: undefined,
|
|
5929
5956
|
_v$3: undefined,
|
|
5930
|
-
_v$4: undefined
|
|
5957
|
+
_v$4: undefined,
|
|
5958
|
+
_v$5: undefined
|
|
5931
5959
|
});
|
|
5932
5960
|
$8tj43$runHydrationEvents();
|
|
5933
5961
|
return _el$14;
|
|
@@ -5987,22 +6015,22 @@ function $7396052a1484264f$var$OpenSortingButton(_ref4) {
|
|
|
5987
6015
|
}
|
|
5988
6016
|
}), _el$25, _co$6);
|
|
5989
6017
|
$8tj43$effect(_p$ => {
|
|
5990
|
-
const _v$
|
|
5991
|
-
_v$
|
|
5992
|
-
_v$
|
|
5993
|
-
_v$
|
|
6018
|
+
const _v$6 = !sorting_closed(),
|
|
6019
|
+
_v$7 = !!sorting_closed(),
|
|
6020
|
+
_v$8 = (sorting_closed() ? i18n_.open_sorting_ : i18n_.close_sorting_)(),
|
|
6021
|
+
_v$9 = sort_button_width_ !== null && sort_button_width_ !== void 0 && sort_button_width_() ? {
|
|
5994
6022
|
width: sort_button_width_() + "px"
|
|
5995
6023
|
} : {};
|
|
5996
|
-
_v$
|
|
5997
|
-
_v$
|
|
5998
|
-
_v$
|
|
5999
|
-
_p$._v$
|
|
6024
|
+
_v$6 !== _p$._v$6 && _el$22.classList.toggle("major", _p$._v$6 = _v$6);
|
|
6025
|
+
_v$7 !== _p$._v$7 && _el$22.classList.toggle("minor", _p$._v$7 = _v$7);
|
|
6026
|
+
_v$8 !== _p$._v$8 && $8tj43$setAttribute(_el$22, "aria-label", _p$._v$8 = _v$8);
|
|
6027
|
+
_p$._v$9 = $8tj43$style(_el$22, _v$9, _p$._v$9);
|
|
6000
6028
|
return _p$;
|
|
6001
6029
|
}, {
|
|
6002
|
-
_v$5: undefined,
|
|
6003
6030
|
_v$6: undefined,
|
|
6004
6031
|
_v$7: undefined,
|
|
6005
|
-
_v$8: undefined
|
|
6032
|
+
_v$8: undefined,
|
|
6033
|
+
_v$9: undefined
|
|
6006
6034
|
});
|
|
6007
6035
|
$8tj43$runHydrationEvents();
|
|
6008
6036
|
return _el$22;
|
|
@@ -9389,7 +9417,8 @@ function $c4dee1ef44de29ca$export$af0124069c150252(_ref) {
|
|
|
9389
9417
|
get_modal_search_results_: get_modal_search_results_,
|
|
9390
9418
|
read_suggestion_signal_: read_suggestion_signal_,
|
|
9391
9419
|
router_: router_,
|
|
9392
|
-
content_results_: content_results_
|
|
9420
|
+
content_results_: content_results_,
|
|
9421
|
+
has_previous_searches_matching_query_: has_previous_searches_matching_query_
|
|
9393
9422
|
} = _ref;
|
|
9394
9423
|
const [get_autocomplete_wants_override_function, set_autocomplete_wants_override_function] = $8tj43$createSignal(() => false);
|
|
9395
9424
|
$8tj43$createComputed(() => {
|
|
@@ -9398,7 +9427,7 @@ function $c4dee1ef44de29ca$export$af0124069c150252(_ref) {
|
|
|
9398
9427
|
const search_results = (_get_modal_search_res = get_modal_search_results_()) === null || _get_modal_search_res === void 0 ? void 0 : _get_modal_search_res();
|
|
9399
9428
|
const content_results = content_results_();
|
|
9400
9429
|
// If we only have one content result and nothing else, go there when pressing enter
|
|
9401
|
-
if (!suggestions.length && !(search_results !== null && search_results !== void 0 && (_search_results$displ = search_results.displays) !== null && _search_results$displ !== void 0 && _search_results$displ.length) && (content_results === null || content_results === void 0 ? void 0 : content_results.length) === 1) {
|
|
9430
|
+
if (!suggestions.length && !(search_results !== null && search_results !== void 0 && (_search_results$displ = search_results.displays) !== null && _search_results$displ !== void 0 && _search_results$displ.length) && (content_results === null || content_results === void 0 ? void 0 : content_results.length) === 1 && !has_previous_searches_matching_query_()) {
|
|
9402
9431
|
const [{
|
|
9403
9432
|
page_url: page_url
|
|
9404
9433
|
}] = content_results;
|
|
@@ -9423,7 +9452,7 @@ function $7cd4d275a9f8d600$export$2f2b9559550c7bbc(_ref) {
|
|
|
9423
9452
|
search_field_value_: search_field_value_,
|
|
9424
9453
|
get_search_query_: get_search_query_,
|
|
9425
9454
|
search_query_url_param_name_: search_query_url_param_name_,
|
|
9426
|
-
previous_searches_: unfiltered_previous_searches,
|
|
9455
|
+
previous_searches_: [unfiltered_previous_searches, set_unfiltered_previous_searches_],
|
|
9427
9456
|
previous_searches_text_: previous_searches_text_,
|
|
9428
9457
|
depict_api_: depict_api_,
|
|
9429
9458
|
tenant_: tenant_,
|
|
@@ -9445,7 +9474,16 @@ function $7cd4d275a9f8d600$export$2f2b9559550c7bbc(_ref) {
|
|
|
9445
9474
|
const [read_search_field_value] = search_field_value_;
|
|
9446
9475
|
const updating_blocked = $8tj43$createSignal(false);
|
|
9447
9476
|
const [read_suggestion_signal_, write_suggestion_signal] = $8tj43$createSignal([]);
|
|
9448
|
-
const
|
|
9477
|
+
const previous_searches_without_current_query = $8tj43$createMemo(() => [...unfiltered_previous_searches()].reverse().filter(q => q !== get_search_query_()));
|
|
9478
|
+
const previous_searches_matching_query = $8tj43$createMemo(() => {
|
|
9479
|
+
return previous_searches_without_current_query().filter(cs_search => {
|
|
9480
|
+
var _searching_for_value;
|
|
9481
|
+
const search = cs_search.toLowerCase();
|
|
9482
|
+
const value = (_searching_for_value = searching_for_value()) === null || _searching_for_value === void 0 ? void 0 : _searching_for_value.toLowerCase();
|
|
9483
|
+
if (!value) return false;
|
|
9484
|
+
return search.includes(value) || value.includes(search);
|
|
9485
|
+
}).slice(0, 2);
|
|
9486
|
+
});
|
|
9449
9487
|
const deparallelized_fn = $8tj43$deparallelize_no_drop(async request_obj => {
|
|
9450
9488
|
var _api_response$suggest;
|
|
9451
9489
|
const api_response = await depict_api_.suggest(request_obj);
|
|
@@ -9487,7 +9525,8 @@ function $7cd4d275a9f8d600$export$2f2b9559550c7bbc(_ref) {
|
|
|
9487
9525
|
get_modal_search_results_: get_modal_search_results_,
|
|
9488
9526
|
read_suggestion_signal_: read_suggestion_signal_,
|
|
9489
9527
|
router_: router_,
|
|
9490
|
-
content_results_: get_content_results_
|
|
9528
|
+
content_results_: get_content_results_,
|
|
9529
|
+
has_previous_searches_matching_query_: $8tj43$createMemo(() => previous_searches_matching_query().length > 0)
|
|
9491
9530
|
});
|
|
9492
9531
|
$8tj43$createComputed(() => {
|
|
9493
9532
|
const field_value = read_search_field_value();
|
|
@@ -9524,13 +9563,11 @@ function $7cd4d275a9f8d600$export$2f2b9559550c7bbc(_ref) {
|
|
|
9524
9563
|
get children() {
|
|
9525
9564
|
return $8tj43$createComponent((0, $494c9ad553139dbc$export$a146ac6fa8346a25), {
|
|
9526
9565
|
i18n_: i18n_,
|
|
9527
|
-
|
|
9528
|
-
return unfiltered_previous_searches[1];
|
|
9529
|
-
},
|
|
9566
|
+
set_unfiltered_previous_searches_: set_unfiltered_previous_searches_,
|
|
9530
9567
|
search_query_param_name_: search_query_url_param_name_,
|
|
9531
9568
|
text_: previous_searches_text_,
|
|
9532
9569
|
get previous_searches_() {
|
|
9533
|
-
return $8tj43$createMemo(() =>
|
|
9570
|
+
return $8tj43$createMemo(() => previous_searches_without_current_query().slice(0, 3));
|
|
9534
9571
|
},
|
|
9535
9572
|
selected_index_: selected_index_,
|
|
9536
9573
|
currently_showing_suggestions_: currently_showing_suggestions_,
|
|
@@ -9539,17 +9576,7 @@ function $7cd4d275a9f8d600$export$2f2b9559550c7bbc(_ref) {
|
|
|
9539
9576
|
});
|
|
9540
9577
|
}
|
|
9541
9578
|
}), $8tj43$createComponent((0, $40dd3f46f55d62ba$export$e872e2339fb04a7f), {
|
|
9542
|
-
|
|
9543
|
-
return $8tj43$createMemo(() => {
|
|
9544
|
-
return filtered_previous_searches().filter(cs_search => {
|
|
9545
|
-
var _searching_for_value;
|
|
9546
|
-
const search = cs_search.toLowerCase();
|
|
9547
|
-
const value = (_searching_for_value = searching_for_value()) === null || _searching_for_value === void 0 ? void 0 : _searching_for_value.toLowerCase();
|
|
9548
|
-
if (!value) return false;
|
|
9549
|
-
return search.includes(value) || value.includes(search);
|
|
9550
|
-
}).slice(0, 2);
|
|
9551
|
-
});
|
|
9552
|
-
},
|
|
9579
|
+
filtered_previous_searches_: previous_searches_matching_query,
|
|
9553
9580
|
on_previous_searches_page_: show_previous_searches_component,
|
|
9554
9581
|
i18n_: i18n_,
|
|
9555
9582
|
get_content_results_: get_content_results_,
|
|
@@ -11850,4 +11877,4 @@ const $d399250dfa491636$export$c3834fa86c616831 = [[4], [3, 1024], [2, 901]];
|
|
|
11850
11877
|
const $d399250dfa491636$export$864d304a0bc46829 = "2%";
|
|
11851
11878
|
const $d399250dfa491636$export$7bf543b9d9be2c22 = (0, $fa332ea03168857c$export$b91cec6bdc6b32a1);
|
|
11852
11879
|
$8tj43$add_to_version_info("ui", (0, $8db9a15135765c11$export$83d89fbfd8236492));
|
|
11853
|
-
export { $2855bffe06ef7a03$export$58aa3f171519b6d7 as encode_filters, $2855bffe06ef7a03$export$f934fa24c3a86811 as decode_filters, $4df489344a0f97c7$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $5441862cd2f5e111$export$e68cff63f76bd15b as ListingProvider, $5441862cd2f5e111$export$8d0c4fdbb05a2f2e as useListing, $4df489344a0f97c7$export$e4b984597b71e989 as ShopifyContainedImage, $002f09d00aac50b2$export$6649caad96ef8870 as SlidableItems, $0dc044cffe1e825b$export$9f191182275e9ef as make_accurate_size_accessor, $d5d7e58c5c9d8db0$export$9574e176201e5e8d as RecommendationSlider, $b432b11321ad4c97$export$9756467d34d91cdb as RecommendationGrid, $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $5c5732ef44f05b26$export$58e808b1db15d3bc as fetchDepictRecommendations, $f5f54892fd0c7d9f$export$de035477d6fef996 as QuickLinks, $f5f54892fd0c7d9f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $96fd967c5b358ead$export$643598a327b5833e as get_categories, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $f5f54892fd0c7d9f$export$e2bf8ce7779e827e as CategoryPage, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $eb064bc3350276c1$export$316f6f283ae64765 as SearchField, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version };
|
|
11880
|
+
export { $2855bffe06ef7a03$export$916e6850778505f6 as strip_encoded_filter_and_sort, $2855bffe06ef7a03$export$58aa3f171519b6d7 as encode_filters, $2855bffe06ef7a03$export$f934fa24c3a86811 as decode_filters, $4df489344a0f97c7$export$d7b7ab832c20e2f4 as shopifyContainedImageContextSymbol, $5441862cd2f5e111$export$e68cff63f76bd15b as ListingProvider, $5441862cd2f5e111$export$8d0c4fdbb05a2f2e as useListing, $4df489344a0f97c7$export$e4b984597b71e989 as ShopifyContainedImage, $002f09d00aac50b2$export$6649caad96ef8870 as SlidableItems, $0dc044cffe1e825b$export$9f191182275e9ef as make_accurate_size_accessor, $d5d7e58c5c9d8db0$export$9574e176201e5e8d as RecommendationSlider, $b432b11321ad4c97$export$9756467d34d91cdb as RecommendationGrid, $56047603f9d212b6$export$6e5611bc7e57e477 as ShopifyResponsiveImg, $56047603f9d212b6$export$e6fffe67d4cdd848 as makeSizeAccessor, $801e8845d3fa3653$export$94026ee33dbabc26 as ImageContainer, $74777e8fe65b3dcb$export$b69d0d92862de18b as SentryErrorBoundary, $ad371564683947ab$export$6c6d7a51fa9aa15d as ExpandingDetails, $e18ab2868df26f40$export$f091cbac892643a4 as accessor_of_object_to_object_with_accessor_values, $4711a82d08d2021b$export$fecbb157621501bd as SelectedFilters, $f6b0500577e1b210$export$3f1a388cc0d8fed7 as FilterBody, $44aa24b1bb793549$export$b288c38ae3fddb56 as create_modified_filters, $63f1f8dbcd07d3b0$export$d21e32dfedac04be as SolidLayout, $d5f1e6a0f9117286$export$79b1565500412d9b as general_modal_abstraction, $9783d437ad61594c$export$3b621d86b1566b2 as CrossIcon, $ca6ab5f08bd28bca$export$8be2714ec7f169ee as GenericSliderArrowButton, $5c5732ef44f05b26$export$58e808b1db15d3bc as fetchDepictRecommendations, $f5f54892fd0c7d9f$export$de035477d6fef996 as QuickLinks, $f5f54892fd0c7d9f$export$5b7c3ce0ebe51f86 as BreadCrumbs, $fa332ea03168857c$export$b91cec6bdc6b32a1 as CategoryTitle, $702d7656a373973e$export$824dde41348efed1 as embedded_num_products, $96fd967c5b358ead$export$643598a327b5833e as get_categories, $f5f54892fd0c7d9f$export$f34314aa9505732e as DepictCategory, $f5f54892fd0c7d9f$export$e2bf8ce7779e827e as CategoryPage, $eb064bc3350276c1$export$ac6237957a15b3f0 as DepictSearch, $eb064bc3350276c1$export$bde3eb976dfded9 as get_search_query_updating_blocked_signal, $eb064bc3350276c1$export$f2dc7e4e4aa11abb as SearchPage, $eb064bc3350276c1$export$316f6f283ae64765 as SearchField, $f3b7124b76123e44$export$aa14a9f43128f61f as ProductCardError, $169c13c0531d91d2$export$d86a33413558014e as open_modal_with_alignment, $5eaa00b951637e96$export$ee1733d9a8495996 as DefaultInstantCardPlaceholder, $1308a7816c3d4f2d$export$b3ad617e9036868 as align_field, $a9c7ba6087881ac2$export$6daf8749b65a1b77 as convert_sdk_cols_at_size_to_layout, $cc64aabf2c7a1f1a$export$1233ca167bf71f9a as styles_to_valid_css_string, $e56d241d0f33d459$export$fe334901e8bebd57 as disable_scrolling, $573c007c697a1831$export$d0596b5cae35ad4 as open_search_with_shift_slash, $284849364a6ef73a$export$e015ed2f2950f2e3 as DepictAPI, $00a5b94f0c11efbb$export$d9f36cf74e24d595 as media_query_to_accessor, $e60a76195ac6d408$export$689e204eadb33baf as setup_fast_leave, $a61a2051e15c8d7a$export$5196e4c01fa56fcb as show_toast, $60ec7a29849d81db$export$a71e92cfbb498adc as SolidFormatPrice, $37e8c97bb6876197$export$828dcdd425fd3231 as connect_search_field_height_to_aligner_height, $bc2337c9a05ecd18$export$acb3eaade4b23afd as BasePlaceholder, $ceafb6fb91c6f394$export$89c6019e4baa40b1 as TextPlaceholder, $3ab4aa97880fb88d$export$3f37af283f8fb843 as ImagePlaceholder, $f9fd3017c20b774a$export$3ccaa27d81dd8556 as PageReplacer, $d399250dfa491636$export$864d304a0bc46829 as defaultGridSpacing, $d399250dfa491636$export$c3834fa86c616831 as defaultColsAtSize, $d399250dfa491636$export$7bf543b9d9be2c22 as defaultCategoryTitlePlugin, $8db9a15135765c11$export$83d89fbfd8236492 as version };
|