@depict-ai/ui 4.8.29 → 4.9.0
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 +90 -51
- package/ES10/index.d.ts +4 -3
- package/ES10/index.js +90 -51
- package/latest/index.cjs +89 -50
- package/latest/index.d.ts +4 -3
- package/latest/index.js +89 -50
- package/locales/ES10/index.cjs +25 -12
- package/locales/ES10/index.d.ts +1 -0
- package/locales/ES10/index.js +25 -12
- package/locales/latest/index.cjs +25 -12
- package/locales/latest/index.d.ts +1 -0
- package/locales/latest/index.js +25 -12
- package/package.json +4 -4
- package/server/ES10/index.cjs +82 -37
- package/server/ES10/index.d.ts +4 -3
- package/server/ES10/index.js +82 -37
- package/server/latest/index.cjs +81 -36
- package/server/latest/index.d.ts +4 -3
- package/server/latest/index.js +81 -36
package/server/latest/index.cjs
CHANGED
|
@@ -109,7 +109,7 @@ $parcel$export(module.exports, "BreadCrumbs", () => $1f4925833f07df29$export$5b7
|
|
|
109
109
|
$parcel$export(module.exports, "QuickLinks", () => $1f4925833f07df29$export$de035477d6fef996);
|
|
110
110
|
$parcel$export(module.exports, "CategoryPage", () => $14f289047713d67a$export$e2bf8ce7779e827e);
|
|
111
111
|
/*! Depict.ai search and product listing SDK */
|
|
112
|
-
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.
|
|
112
|
+
const $b757f75811f3261f$export$83d89fbfd8236492 = "4.9.0";
|
|
113
113
|
function $b54e6192d0caa293$export$d9f36cf74e24d595(media_query) {
|
|
114
114
|
const signal = $5vyXB$solidjs.createSignal(false);
|
|
115
115
|
$5vyXB$solidjs.onCleanup($5vyXB$depictaiutilishared.javascript_media_query(media_query, ({
|
|
@@ -6411,6 +6411,7 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
|
|
|
6411
6411
|
const first_result_in_viewport_ = $5vyXB$solidjs.createSignal();
|
|
6412
6412
|
const last_result_in_viewport_ = $5vyXB$solidjs.createSignal();
|
|
6413
6413
|
const all_products_loaded_ = $5vyXB$solidjs.createSignal(false);
|
|
6414
|
+
const [, setAllProductsLoaded] = all_products_loaded_;
|
|
6414
6415
|
const [currentlyLoadedDisplays, setCurrentlyLoadedDisplays_] = $5vyXB$solidjs.createSignal(0);
|
|
6415
6416
|
const [can_write_scroll_restoration_, set_can_write_scroll_restoration] = $5vyXB$solidjs.createSignal(false);
|
|
6416
6417
|
const owner = $5vyXB$solidjs.getOwner();
|
|
@@ -6440,31 +6441,34 @@ function $840d88a04b2d22a7$export$f7d2f673fc2f091d({
|
|
|
6440
6441
|
// Make "Get products in listing" request to get products in listing
|
|
6441
6442
|
const [plp_products_] = $5vyXB$solidjs.createResource(products_query_base_,
|
|
6442
6443
|
// only first page of results, unless the history state says we should load more (can't do that in load more thing, I tested, they need to be added at once for the browser to not give up scroll restoration)
|
|
6443
|
-
$5vyXB$depictaiutilisharedlatest.catchify(base_query =>
|
|
6444
|
-
|
|
6445
|
-
|
|
6446
|
-
|
|
6447
|
-
|
|
6448
|
-
|
|
6449
|
-
|
|
6450
|
-
|
|
6451
|
-
|
|
6452
|
-
|
|
6453
|
-
|
|
6454
|
-
|
|
6455
|
-
|
|
6456
|
-
|
|
6457
|
-
|
|
6458
|
-
|
|
6459
|
-
|
|
6460
|
-
|
|
6461
|
-
|
|
6462
|
-
|
|
6463
|
-
|
|
6464
|
-
|
|
6465
|
-
|
|
6466
|
-
|
|
6467
|
-
|
|
6444
|
+
$5vyXB$depictaiutilisharedlatest.catchify(base_query => {
|
|
6445
|
+
setAllProductsLoaded(false);
|
|
6446
|
+
return $276380e4607fb9fb$export$cc42dd29bf655ab6({
|
|
6447
|
+
id_: $5vyXB$solidjs.untrack(id_to_query_for_),
|
|
6448
|
+
scroll_restoration_data_: scroll_restoration_data_,
|
|
6449
|
+
min_products_to_fetch_: min_products_to_fetch_,
|
|
6450
|
+
make_request_: (limit, cursor) => depict_api_.get_listing_products({
|
|
6451
|
+
...base_query,
|
|
6452
|
+
limit: limit,
|
|
6453
|
+
...(cursor ? {
|
|
6454
|
+
cursor: cursor
|
|
6455
|
+
} : {}),
|
|
6456
|
+
// This gets exposed to the products display transformer and gives it information about the listing the products are in
|
|
6457
|
+
// It's very hard to implement tracking that uses the collection title without this information
|
|
6458
|
+
currentListingForTransformer_: new Promise(resolve => $5vyXB$solidjs.createRoot(dispose => {
|
|
6459
|
+
$5vyXB$solidjs.createEffect($5vyXB$depictaiutilisharedlatest.catchify(() => {
|
|
6460
|
+
const key = base_query.id_type_ + base_query.id_to_query_for_;
|
|
6461
|
+
const metaResponsePromise = metaRequestsForQuery().get(key);
|
|
6462
|
+
if (!metaResponsePromise) return;
|
|
6463
|
+
resolve(metaResponsePromise);
|
|
6464
|
+
dispose();
|
|
6465
|
+
setMetaRequestsForQuery(prev => (prev.delete(key), prev));
|
|
6466
|
+
}));
|
|
6467
|
+
$5vyXB$solidjs.runWithOwner(owner, () => $5vyXB$solidjs.onCleanup(dispose));
|
|
6468
|
+
}))
|
|
6469
|
+
})
|
|
6470
|
+
});
|
|
6471
|
+
}));
|
|
6468
6472
|
const meta_query_base = $8cd545330f2674dc$export$210f130a61ac1e8d(() => ({
|
|
6469
6473
|
merchant: merchant_(),
|
|
6470
6474
|
market: market_(),
|
|
@@ -8800,14 +8804,15 @@ function $44f0b2e312a9b710$var$RawClassicSearchModal({
|
|
|
8800
8804
|
if (key === "Escape") close_modal_();
|
|
8801
8805
|
});
|
|
8802
8806
|
// total number of results = content results + product results
|
|
8803
|
-
const
|
|
8804
|
-
|
|
8805
|
-
|
|
8806
|
-
|
|
8807
|
-
|
|
8808
|
-
|
|
8809
|
-
|
|
8810
|
-
|
|
8807
|
+
const totalNumberOfResults = $5vyXB$solidjs.createMemo(() => {
|
|
8808
|
+
const results = get_modal_search_results()?.();
|
|
8809
|
+
const hits = results?.n_hits;
|
|
8810
|
+
const content_results = results?.content_search_links?.length;
|
|
8811
|
+
if (!content_results || !content_search_enabled_()) return hits;
|
|
8812
|
+
return (hits ?? 0) + content_results;
|
|
8813
|
+
});
|
|
8814
|
+
const formattedTotalNumberResults = $0f400c3f7248d5f1$export$92f2da32c6e7e7ee({
|
|
8815
|
+
number_: totalNumberOfResults,
|
|
8811
8816
|
i18n_: i18n_
|
|
8812
8817
|
});
|
|
8813
8818
|
const selected_index = $5vyXB$solidjs.createSignal();
|
|
@@ -8815,7 +8820,27 @@ function $44f0b2e312a9b710$var$RawClassicSearchModal({
|
|
|
8815
8820
|
equals: false
|
|
8816
8821
|
});
|
|
8817
8822
|
const less_than_700_high = $b54e6192d0caa293$export$d9f36cf74e24d595("(max-height:700px)");
|
|
8818
|
-
const DiscoverMoreSection = () => $5vyXB$solidjsweb.ssr($44f0b2e312a9b710$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(),
|
|
8823
|
+
const DiscoverMoreSection = () => $5vyXB$solidjsweb.ssr($44f0b2e312a9b710$var$_tmpl$, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
8824
|
+
get when() {
|
|
8825
|
+
return get_search_field_value_();
|
|
8826
|
+
},
|
|
8827
|
+
get fallback() {
|
|
8828
|
+
return i18n_.modal_discover_more_();
|
|
8829
|
+
},
|
|
8830
|
+
get children() {
|
|
8831
|
+
return $5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
8832
|
+
get when() {
|
|
8833
|
+
return totalNumberOfResults();
|
|
8834
|
+
},
|
|
8835
|
+
get fallback() {
|
|
8836
|
+
return i18n_.modal_view_all_no_results_();
|
|
8837
|
+
},
|
|
8838
|
+
get children() {
|
|
8839
|
+
return i18n_.modal_view_all_results_()($5vyXB$solidjsweb.ssr($44f0b2e312a9b710$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape(formattedTotalNumberResults())));
|
|
8840
|
+
}
|
|
8841
|
+
});
|
|
8842
|
+
}
|
|
8843
|
+
})));
|
|
8819
8844
|
if (disable_scrolling_) $ca1176b694a6ee2e$export$fe334901e8bebd57();
|
|
8820
8845
|
$eb3039a27db40508$export$93d9bfd0c9c1a5b8(close_modal_, search_query_url_param_name_);
|
|
8821
8846
|
window.addEventListener("keydown", close_on_escape_handler);
|
|
@@ -9621,7 +9646,27 @@ function $11597ae03e703a47$var$RawSearchModalV2({
|
|
|
9621
9646
|
if (forceUseDiv_) return $5vyXB$solidjsweb.ssrElement("div", props, () => $5vyXB$solidjsweb.escape(props.children), true);
|
|
9622
9647
|
return $5vyXB$solidjsweb.ssrElement("dialog", props, () => $5vyXB$solidjsweb.escape(props.children), true);
|
|
9623
9648
|
};
|
|
9624
|
-
const discoverMoreSection = $5vyXB$solidjsweb.ssr($11597ae03e703a47$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey(),
|
|
9649
|
+
const discoverMoreSection = $5vyXB$solidjsweb.ssr($11597ae03e703a47$var$_tmpl$2, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape($5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
9650
|
+
get when() {
|
|
9651
|
+
return get_search_field_value_();
|
|
9652
|
+
},
|
|
9653
|
+
get fallback() {
|
|
9654
|
+
return i18n_.modal_discover_more_();
|
|
9655
|
+
},
|
|
9656
|
+
get children() {
|
|
9657
|
+
return $5vyXB$solidjsweb.createComponent((0, $5vyXB$solidjs.Show), {
|
|
9658
|
+
get when() {
|
|
9659
|
+
return totalNumberResults();
|
|
9660
|
+
},
|
|
9661
|
+
get fallback() {
|
|
9662
|
+
return i18n_.modal_view_all_no_results_();
|
|
9663
|
+
},
|
|
9664
|
+
get children() {
|
|
9665
|
+
return i18n_.modal_view_all_results_()($5vyXB$solidjsweb.ssr($11597ae03e703a47$var$_tmpl$3, $5vyXB$solidjsweb.ssrHydrationKey(), $5vyXB$solidjsweb.escape(formattedTotalNumberResults())));
|
|
9666
|
+
}
|
|
9667
|
+
});
|
|
9668
|
+
}
|
|
9669
|
+
})));
|
|
9625
9670
|
const search_field = $66b8b9a9613c141d$export$b94867ecbd698f21({
|
|
9626
9671
|
BackIcon_: (0, $b8660a70353e03cf$export$11e9f390c90a537f),
|
|
9627
9672
|
input_field_ref_: element => set_input_field(element),
|
package/server/latest/index.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ import { GetListingRequest } from "@depict-ai/types/api/GetListingRequest";
|
|
|
11
11
|
import { BaseSearchRequestV3 } from "@depict-ai/types/api/BaseSearchRequestV3";
|
|
12
12
|
import { FeaturedInDisplay } from "@depict-ai/types/api/FeaturedInResponseV3";
|
|
13
13
|
import { SearchFilter as _SearchFilter3 } from "@depict-ai/types/api/SearchRequestV2";
|
|
14
|
-
export const version = "4.
|
|
14
|
+
export const version = "4.9.0";
|
|
15
15
|
/**
|
|
16
16
|
* Use `javascript_media_query` but return a reactive accessor instead of taking a callback function
|
|
17
17
|
*/
|
|
@@ -110,6 +110,7 @@ interface search_i18n extends plp_shared_i18n {
|
|
|
110
110
|
previous_: string;
|
|
111
111
|
popular_: string;
|
|
112
112
|
products_: string;
|
|
113
|
+
modal_view_all_no_results_: string;
|
|
113
114
|
}
|
|
114
115
|
/**
|
|
115
116
|
* Category internationalisation
|
|
@@ -1538,7 +1539,7 @@ type OpenModalParams<OriginalDisplay extends Display, OutputDisplay extends Mode
|
|
|
1538
1539
|
* Open the modal with support for alignment.
|
|
1539
1540
|
* @returns {void}
|
|
1540
1541
|
*/
|
|
1541
|
-
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends
|
|
1542
|
+
export const open_modal_with_alignment: <OriginalDisplay extends Display, OutputDisplay extends ModernDisplay>(openModalParams: OpenModalParams<OriginalDisplay, OutputDisplay>) => void;
|
|
1542
1543
|
export function open_search_with_shift_slash(open_search: VoidFunction): () => void;
|
|
1543
1544
|
export interface PageReplacer {
|
|
1544
1545
|
readonly render_: () => Node_Array;
|
|
@@ -1618,5 +1619,5 @@ export function CategoryPage<OriginalDisplay extends Display, OutputDisplay exte
|
|
|
1618
1619
|
layout?: PossibleLayout;
|
|
1619
1620
|
filterModalParent_?: HTMLElement | ShadowRoot;
|
|
1620
1621
|
showSliderArrow_?: boolean;
|
|
1621
|
-
}): import("@depict-ai/utilishared").Node_Array;
|
|
1622
|
+
}): import("@depict-ai/utilishared/latest").Node_Array;
|
|
1622
1623
|
export type { SearchFilter } from "@depict-ai/types/api/SearchRequestV3";
|
package/server/latest/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { createStore as $i7OB2$createStore, reconcile as $i7OB2$reconcile } from
|
|
|
7
7
|
/*! Depict.ai search and product listing SDK */
|
|
8
8
|
import { register_es_version } from "../../multi_import_deduplicator.mjs";
|
|
9
9
|
register_es_version("ui", "latest");
|
|
10
|
-
const $ec291e0010116877$export$83d89fbfd8236492 = "4.
|
|
10
|
+
const $ec291e0010116877$export$83d89fbfd8236492 = "4.9.0";
|
|
11
11
|
function $dc9262ef6f786812$export$d9f36cf74e24d595(media_query) {
|
|
12
12
|
const signal = $i7OB2$createSignal(false);
|
|
13
13
|
$i7OB2$onCleanup($i7OB2$javascript_media_query(media_query, ({
|
|
@@ -6309,6 +6309,7 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
|
|
|
6309
6309
|
const first_result_in_viewport_ = $i7OB2$createSignal();
|
|
6310
6310
|
const last_result_in_viewport_ = $i7OB2$createSignal();
|
|
6311
6311
|
const all_products_loaded_ = $i7OB2$createSignal(false);
|
|
6312
|
+
const [, setAllProductsLoaded] = all_products_loaded_;
|
|
6312
6313
|
const [currentlyLoadedDisplays, setCurrentlyLoadedDisplays_] = $i7OB2$createSignal(0);
|
|
6313
6314
|
const [can_write_scroll_restoration_, set_can_write_scroll_restoration] = $i7OB2$createSignal(false);
|
|
6314
6315
|
const owner = $i7OB2$getOwner();
|
|
@@ -6338,31 +6339,34 @@ function $df5d81d0fe61ff21$export$f7d2f673fc2f091d({
|
|
|
6338
6339
|
// Make "Get products in listing" request to get products in listing
|
|
6339
6340
|
const [plp_products_] = $i7OB2$createResource(products_query_base_,
|
|
6340
6341
|
// only first page of results, unless the history state says we should load more (can't do that in load more thing, I tested, they need to be added at once for the browser to not give up scroll restoration)
|
|
6341
|
-
$i7OB2$catchify(base_query =>
|
|
6342
|
-
|
|
6343
|
-
|
|
6344
|
-
|
|
6345
|
-
|
|
6346
|
-
|
|
6347
|
-
|
|
6348
|
-
|
|
6349
|
-
|
|
6350
|
-
|
|
6351
|
-
|
|
6352
|
-
|
|
6353
|
-
|
|
6354
|
-
|
|
6355
|
-
|
|
6356
|
-
|
|
6357
|
-
|
|
6358
|
-
|
|
6359
|
-
|
|
6360
|
-
|
|
6361
|
-
|
|
6362
|
-
|
|
6363
|
-
|
|
6364
|
-
|
|
6365
|
-
|
|
6342
|
+
$i7OB2$catchify(base_query => {
|
|
6343
|
+
setAllProductsLoaded(false);
|
|
6344
|
+
return $641bba2917fe862b$export$cc42dd29bf655ab6({
|
|
6345
|
+
id_: $i7OB2$untrack(id_to_query_for_),
|
|
6346
|
+
scroll_restoration_data_: scroll_restoration_data_,
|
|
6347
|
+
min_products_to_fetch_: min_products_to_fetch_,
|
|
6348
|
+
make_request_: (limit, cursor) => depict_api_.get_listing_products({
|
|
6349
|
+
...base_query,
|
|
6350
|
+
limit: limit,
|
|
6351
|
+
...(cursor ? {
|
|
6352
|
+
cursor: cursor
|
|
6353
|
+
} : {}),
|
|
6354
|
+
// This gets exposed to the products display transformer and gives it information about the listing the products are in
|
|
6355
|
+
// It's very hard to implement tracking that uses the collection title without this information
|
|
6356
|
+
currentListingForTransformer_: new Promise(resolve => $i7OB2$createRoot(dispose => {
|
|
6357
|
+
$i7OB2$createEffect($i7OB2$catchify(() => {
|
|
6358
|
+
const key = base_query.id_type_ + base_query.id_to_query_for_;
|
|
6359
|
+
const metaResponsePromise = metaRequestsForQuery().get(key);
|
|
6360
|
+
if (!metaResponsePromise) return;
|
|
6361
|
+
resolve(metaResponsePromise);
|
|
6362
|
+
dispose();
|
|
6363
|
+
setMetaRequestsForQuery(prev => (prev.delete(key), prev));
|
|
6364
|
+
}));
|
|
6365
|
+
$i7OB2$runWithOwner(owner, () => $i7OB2$onCleanup(dispose));
|
|
6366
|
+
}))
|
|
6367
|
+
})
|
|
6368
|
+
});
|
|
6369
|
+
}));
|
|
6366
6370
|
const meta_query_base = $587cd61972788655$export$210f130a61ac1e8d(() => ({
|
|
6367
6371
|
merchant: merchant_(),
|
|
6368
6372
|
market: market_(),
|
|
@@ -8698,14 +8702,15 @@ function $42912431795f188e$var$RawClassicSearchModal({
|
|
|
8698
8702
|
if (key === "Escape") close_modal_();
|
|
8699
8703
|
});
|
|
8700
8704
|
// total number of results = content results + product results
|
|
8701
|
-
const
|
|
8702
|
-
|
|
8703
|
-
|
|
8704
|
-
|
|
8705
|
-
|
|
8706
|
-
|
|
8707
|
-
|
|
8708
|
-
|
|
8705
|
+
const totalNumberOfResults = $i7OB2$createMemo(() => {
|
|
8706
|
+
const results = get_modal_search_results()?.();
|
|
8707
|
+
const hits = results?.n_hits;
|
|
8708
|
+
const content_results = results?.content_search_links?.length;
|
|
8709
|
+
if (!content_results || !content_search_enabled_()) return hits;
|
|
8710
|
+
return (hits ?? 0) + content_results;
|
|
8711
|
+
});
|
|
8712
|
+
const formattedTotalNumberResults = $511cc0abd9a64ce8$export$92f2da32c6e7e7ee({
|
|
8713
|
+
number_: totalNumberOfResults,
|
|
8709
8714
|
i18n_: i18n_
|
|
8710
8715
|
});
|
|
8711
8716
|
const selected_index = $i7OB2$createSignal();
|
|
@@ -8713,7 +8718,27 @@ function $42912431795f188e$var$RawClassicSearchModal({
|
|
|
8713
8718
|
equals: false
|
|
8714
8719
|
});
|
|
8715
8720
|
const less_than_700_high = $dc9262ef6f786812$export$d9f36cf74e24d595("(max-height:700px)");
|
|
8716
|
-
const DiscoverMoreSection = () => $i7OB2$ssr($42912431795f188e$var$_tmpl$, $i7OB2$ssrHydrationKey(),
|
|
8721
|
+
const DiscoverMoreSection = () => $i7OB2$ssr($42912431795f188e$var$_tmpl$, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
|
|
8722
|
+
get when() {
|
|
8723
|
+
return get_search_field_value_();
|
|
8724
|
+
},
|
|
8725
|
+
get fallback() {
|
|
8726
|
+
return i18n_.modal_discover_more_();
|
|
8727
|
+
},
|
|
8728
|
+
get children() {
|
|
8729
|
+
return $i7OB2$createComponent((0, $i7OB2$Show), {
|
|
8730
|
+
get when() {
|
|
8731
|
+
return totalNumberOfResults();
|
|
8732
|
+
},
|
|
8733
|
+
get fallback() {
|
|
8734
|
+
return i18n_.modal_view_all_no_results_();
|
|
8735
|
+
},
|
|
8736
|
+
get children() {
|
|
8737
|
+
return i18n_.modal_view_all_results_()($i7OB2$ssr($42912431795f188e$var$_tmpl$2, $i7OB2$ssrHydrationKey(), $i7OB2$escape(formattedTotalNumberResults())));
|
|
8738
|
+
}
|
|
8739
|
+
});
|
|
8740
|
+
}
|
|
8741
|
+
})));
|
|
8717
8742
|
if (disable_scrolling_) $aea1edf92433e81e$export$fe334901e8bebd57();
|
|
8718
8743
|
$512b994d501f412b$export$93d9bfd0c9c1a5b8(close_modal_, search_query_url_param_name_);
|
|
8719
8744
|
window.addEventListener("keydown", close_on_escape_handler);
|
|
@@ -9519,7 +9544,27 @@ function $500a16dd18ee5a71$var$RawSearchModalV2({
|
|
|
9519
9544
|
if (forceUseDiv_) return $i7OB2$ssrElement("div", props, () => $i7OB2$escape(props.children), true);
|
|
9520
9545
|
return $i7OB2$ssrElement("dialog", props, () => $i7OB2$escape(props.children), true);
|
|
9521
9546
|
};
|
|
9522
|
-
const discoverMoreSection = $i7OB2$ssr($500a16dd18ee5a71$var$_tmpl$2, $i7OB2$ssrHydrationKey(),
|
|
9547
|
+
const discoverMoreSection = $i7OB2$ssr($500a16dd18ee5a71$var$_tmpl$2, $i7OB2$ssrHydrationKey(), $i7OB2$escape($i7OB2$createComponent((0, $i7OB2$Show), {
|
|
9548
|
+
get when() {
|
|
9549
|
+
return get_search_field_value_();
|
|
9550
|
+
},
|
|
9551
|
+
get fallback() {
|
|
9552
|
+
return i18n_.modal_discover_more_();
|
|
9553
|
+
},
|
|
9554
|
+
get children() {
|
|
9555
|
+
return $i7OB2$createComponent((0, $i7OB2$Show), {
|
|
9556
|
+
get when() {
|
|
9557
|
+
return totalNumberResults();
|
|
9558
|
+
},
|
|
9559
|
+
get fallback() {
|
|
9560
|
+
return i18n_.modal_view_all_no_results_();
|
|
9561
|
+
},
|
|
9562
|
+
get children() {
|
|
9563
|
+
return i18n_.modal_view_all_results_()($i7OB2$ssr($500a16dd18ee5a71$var$_tmpl$3, $i7OB2$ssrHydrationKey(), $i7OB2$escape(formattedTotalNumberResults())));
|
|
9564
|
+
}
|
|
9565
|
+
});
|
|
9566
|
+
}
|
|
9567
|
+
})));
|
|
9523
9568
|
const search_field = $5285d2814d0fac0c$export$b94867ecbd698f21({
|
|
9524
9569
|
BackIcon_: (0, $5cec65dd06ade2c4$export$11e9f390c90a537f),
|
|
9525
9570
|
input_field_ref_: element => set_input_field(element),
|