@depict-ai/react-ui 1.0.7 → 1.0.8
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 +2 -2
- package/dist/index.d.ts +505 -489
- package/dist/main.js +70 -29
- package/dist/module.js +73 -32
- package/dist/styles/plain-css-fallback-styling.css +1 -1
- package/dist-server/index.d.ts +59 -28
- package/dist-server/main.js +64 -7
- package/dist-server/module.js +64 -9
- package/locales/index.d.ts +2 -2
- package/locales/index.js +1 -1
- package/locales/require.js +1 -1
- package/package.json +6 -6
- package/dist-server/dist/index.d.ts +0 -54
- package/dist-server/dist/main.js +0 -102
- package/dist-server/dist/module.js +0 -85
package/dist/main.js
CHANGED
|
@@ -8,6 +8,7 @@ var $4GYXz$reactjsxruntime = require("react/jsx-runtime");
|
|
|
8
8
|
var $4GYXz$reactdom = require("react-dom");
|
|
9
9
|
var $4GYXz$solidjsstore = require("solid-js/store");
|
|
10
10
|
var $4GYXz$depictaidpc = require("@depict-ai/dpc");
|
|
11
|
+
var $4GYXz$depictaiuissr = require("@depict-ai/ui/ssr");
|
|
11
12
|
|
|
12
13
|
function $parcel$export(e, n, v, s) {
|
|
13
14
|
Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});
|
|
@@ -31,7 +32,7 @@ $parcel$export(module.exports, "version", () => $db7b67857900028b$export$83d89fb
|
|
|
31
32
|
$parcel$export(module.exports, "Navigation", () => $b742053c966024b4$export$b8a61e5c71402559);
|
|
32
33
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
33
34
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
34
|
-
const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.
|
|
35
|
+
const $db7b67857900028b$export$83d89fbfd8236492 = "1.0.8";
|
|
35
36
|
|
|
36
37
|
|
|
37
38
|
|
|
@@ -106,7 +107,7 @@ function $b4d0d98857ed9934$export$74f3924c5027fe1d(cb) {
|
|
|
106
107
|
}));
|
|
107
108
|
const $b4d0d98857ed9934$export$775e6b3892b5ad52 = (url = location)=>url.pathname == (0, $4GYXz$solidjs.untrack)((0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search_page_path_[0]); // might have changed therefore get it from globalState
|
|
108
109
|
const $b4d0d98857ed9934$export$30c8a12df09be0e4 = (url = location)=>(0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).known_category_paths.has(url.pathname);
|
|
109
|
-
function $b4d0d98857ed9934$export$f6e64e17bd69eeef(solid_component, props, wrapper_type = "div", wrapper_style = {}) {
|
|
110
|
+
function $b4d0d98857ed9934$export$f6e64e17bd69eeef({ solid_component: solid_component , props: props , wrapper_type: wrapper_type = "div" , wrapper_style: wrapper_style = {} , hydrate_function_when_ssr: hydrate_function_when_ssr }) {
|
|
110
111
|
const [portals, set_portals] = (0, $4GYXz$react.useState)([]);
|
|
111
112
|
const wrapper_element_ref = (0, $4GYXz$react.useRef)();
|
|
112
113
|
const [[store, write_store]] = (0, $4GYXz$react.useState)(()=>(0, $4GYXz$solidjsstore.createStore)(props));
|
|
@@ -114,13 +115,23 @@ function $b4d0d98857ed9934$export$f6e64e17bd69eeef(solid_component, props, wrapp
|
|
|
114
115
|
write_store((0, $4GYXz$solidjsstore.reconcile)(props));
|
|
115
116
|
(0, $4GYXz$react.useEffect)(()=>{
|
|
116
117
|
const wrapper_element = wrapper_element_ref.current;
|
|
117
|
-
|
|
118
|
+
// If someone only rendered a solid component on the client that *could* be hydrated (no childNodes) then we fall back to `render` to avoid solid complaining about not being able to hydrate or crashing because the result of generateHydrationScript hasn't run at all
|
|
119
|
+
// This can happen for HMR or when SSR capable components are only rendered on the client
|
|
120
|
+
const render_function = hydrate_function_when_ssr && wrapper_element.childNodes.length ? hydrate_function_when_ssr : (0, $4GYXz$solidjsweb.render);
|
|
121
|
+
const dispose = render_function(()=>solid_component(store, set_portals), wrapper_element);
|
|
118
122
|
return dispose;
|
|
119
123
|
}, []);
|
|
120
|
-
return (0, $4GYXz$react.createElement)(wrapper_type, {
|
|
124
|
+
return (0, $4GYXz$react.createElement)((0, $4GYXz$react.Fragment), null, (0, $4GYXz$react.createElement)(wrapper_type, {
|
|
121
125
|
ref: wrapper_element_ref,
|
|
122
|
-
style: wrapper_style
|
|
123
|
-
|
|
126
|
+
style: wrapper_style,
|
|
127
|
+
...hydrate_function_when_ssr ? {
|
|
128
|
+
// We need this because on the server we put the solid SSR rendered string into html but it won't match on the client, luckily we can just suppress it
|
|
129
|
+
suppressHydrationWarning: true,
|
|
130
|
+
dangerouslySetInnerHTML: {
|
|
131
|
+
__html: ""
|
|
132
|
+
}
|
|
133
|
+
} : {}
|
|
134
|
+
}), ...portals);
|
|
124
135
|
}
|
|
125
136
|
function $b4d0d98857ed9934$export$e5139bbbb9a05035(component, is_set = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).required_state_set_[0]) {
|
|
126
137
|
return (...args)=>{
|
|
@@ -235,9 +246,9 @@ function $6319748b4f0426f0$export$6453cbc34515a94d() {
|
|
|
235
246
|
});
|
|
236
247
|
}));
|
|
237
248
|
}
|
|
238
|
-
/*
|
|
239
|
-
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
240
|
-
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
249
|
+
/*
|
|
250
|
+
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
251
|
+
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
241
252
|
*/ function $6319748b4f0426f0$var$addLotsOfPadding() {
|
|
242
253
|
if ($6319748b4f0426f0$var$padding_animation) return; // We're already showing a bunch of padding
|
|
243
254
|
$6319748b4f0426f0$var$padding_animation = document.body.animate({
|
|
@@ -402,7 +413,10 @@ const $883a881f7926405d$export$80e99ee6b29cadd2 = /*#__PURE__*/ (0, $4GYXz$react
|
|
|
402
413
|
|
|
403
414
|
|
|
404
415
|
function $7ad7a3d0011b7b1b$export$a54ec244c8863715(props) {
|
|
405
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
416
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
417
|
+
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($7ad7a3d0011b7b1b$var$SolidSearchPage),
|
|
418
|
+
props: props
|
|
419
|
+
});
|
|
406
420
|
}
|
|
407
421
|
function $7ad7a3d0011b7b1b$var$SolidSearchPage(props, set_portals) {
|
|
408
422
|
const depict_search = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search;
|
|
@@ -445,8 +459,13 @@ function $7ad7a3d0011b7b1b$var$SolidSearchPage(props, set_portals) {
|
|
|
445
459
|
|
|
446
460
|
|
|
447
461
|
function $5aa5fcb9f8a2bebc$export$f7d2f673fc2f091d(props) {
|
|
448
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
449
|
-
|
|
462
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
463
|
+
// @ts-ignore
|
|
464
|
+
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($5aa5fcb9f8a2bebc$var$SolidCategoryPage),
|
|
465
|
+
props: props,
|
|
466
|
+
wrapper_type: "div",
|
|
467
|
+
wrapper_style: {}
|
|
468
|
+
});
|
|
450
469
|
}
|
|
451
470
|
function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
452
471
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -487,7 +506,10 @@ function $5aa5fcb9f8a2bebc$var$SolidCategoryPage(props, set_portals) {
|
|
|
487
506
|
|
|
488
507
|
|
|
489
508
|
function $d88e98b11c182b8e$export$5646050d516e06bc() {
|
|
490
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
509
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
510
|
+
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($d88e98b11c182b8e$var$vanilla_breadcrumbs),
|
|
511
|
+
props: undefined
|
|
512
|
+
});
|
|
491
513
|
}
|
|
492
514
|
function $d88e98b11c182b8e$var$vanilla_breadcrumbs() {
|
|
493
515
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -502,7 +524,10 @@ function $d88e98b11c182b8e$var$vanilla_breadcrumbs() {
|
|
|
502
524
|
|
|
503
525
|
|
|
504
526
|
function $f16af0e861aff3d0$export$466cdc317043f6cb() {
|
|
505
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
527
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
528
|
+
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)($f16af0e861aff3d0$var$vanilla_quick_links),
|
|
529
|
+
props: {}
|
|
530
|
+
});
|
|
506
531
|
}
|
|
507
532
|
function $f16af0e861aff3d0$var$vanilla_quick_links() {
|
|
508
533
|
const depict_category = (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).category;
|
|
@@ -516,23 +541,36 @@ function $f16af0e861aff3d0$var$vanilla_quick_links() {
|
|
|
516
541
|
|
|
517
542
|
|
|
518
543
|
|
|
519
|
-
const $df522c8a81ed5a01$export$3f37af283f8fb843 = (
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
544
|
+
const $df522c8a81ed5a01$export$3f37af283f8fb843 = (raw_react_props)=>{
|
|
545
|
+
const react_props = {
|
|
546
|
+
class: raw_react_props.className,
|
|
547
|
+
...raw_react_props
|
|
548
|
+
};
|
|
549
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
550
|
+
solid_component: (props_store)=>(0, $4GYXz$depictaiuissr.ImagePlaceholder)(props_store),
|
|
551
|
+
props: react_props,
|
|
552
|
+
wrapper_type: "span",
|
|
553
|
+
hydrate_function_when_ssr: (0, $4GYXz$solidjsweb.hydrate)
|
|
524
554
|
});
|
|
525
555
|
};
|
|
526
556
|
|
|
527
557
|
|
|
528
558
|
|
|
529
559
|
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
|
|
560
|
+
|
|
561
|
+
const $7c8b440edc188ad5$export$89c6019e4baa40b1 = (raw_react_props)=>{
|
|
562
|
+
const react_props = {
|
|
563
|
+
class: raw_react_props.className,
|
|
564
|
+
...raw_react_props
|
|
565
|
+
};
|
|
566
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
567
|
+
solid_component: (props_store)=>(0, $4GYXz$depictaiuissr.TextPlaceholder)(props_store),
|
|
568
|
+
props: react_props,
|
|
569
|
+
wrapper_type: "span",
|
|
570
|
+
hydrate_function_when_ssr: (0, $4GYXz$solidjsweb.hydrate),
|
|
571
|
+
wrapper_style: {
|
|
572
|
+
"height": "100%"
|
|
573
|
+
}
|
|
536
574
|
});
|
|
537
575
|
};
|
|
538
576
|
|
|
@@ -576,10 +614,13 @@ function $ae73b15c325f1b21$export$912994940e660d32(params = {}) {
|
|
|
576
614
|
|
|
577
615
|
const $cd591d0e4ce29df7$export$bde46b5bb6287cea = (props)=>{
|
|
578
616
|
const ReactSearchField = ()=>{
|
|
579
|
-
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)(
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
|
|
617
|
+
return (0, $b4d0d98857ed9934$export$f6e64e17bd69eeef)({
|
|
618
|
+
solid_component: (0, $b4d0d98857ed9934$export$e5139bbbb9a05035)(()=>(0, $4GYXz$depictaiui.SearchField)({
|
|
619
|
+
depict_search: (0, $0b7cd4fb39fc3502$export$8e769ad4338a911e).search,
|
|
620
|
+
aligner_ref: props?.alignerRef?.current
|
|
621
|
+
})),
|
|
622
|
+
props: {}
|
|
623
|
+
});
|
|
583
624
|
};
|
|
584
625
|
return ReactSearchField;
|
|
585
626
|
};
|
package/dist/module.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
|
-
import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, queueMacroTask as $TZSbU$queueMacroTask, instant_exec_on_suspect_history_change as $TZSbU$instant_exec_on_suspect_history_change
|
|
1
|
+
import {add_to_version_info as $TZSbU$add_to_version_info, catchify as $TZSbU$catchify, queueMacroTask as $TZSbU$queueMacroTask, instant_exec_on_suspect_history_change as $TZSbU$instant_exec_on_suspect_history_change} from "@depict-ai/utilishared";
|
|
2
2
|
import {CategoryTitle as $43099132aad1ceb6$re_export$CategoryTitle, embedded_num_products as $43099132aad1ceb6$re_export$EmbeddedNumProducts, DepictAPI as $TZSbU$DepictAPI, DepictSearch as $TZSbU$DepictSearch, DepictCategory as $TZSbU$DepictCategory, ProductCardError as $TZSbU$ProductCardError, get_search_query_updating_blocked_signal as $TZSbU$get_search_query_updating_blocked_signal, SearchPage as $TZSbU$SearchPage, defaultColsAtSize as $TZSbU$defaultColsAtSize, defaultGridSpacing as $TZSbU$defaultGridSpacing, CategoryPage as $TZSbU$CategoryPage, defaultCategoryTitlePlugin as $TZSbU$defaultCategoryTitlePlugin, BreadCrumbs as $TZSbU$BreadCrumbs, QuickLinks as $TZSbU$QuickLinks, open_modal_with_alignment as $TZSbU$open_modal_with_alignment, SearchField as $TZSbU$SearchField, fetchDepictRecommendations as $TZSbU$fetchDepictRecommendations} from "@depict-ai/ui";
|
|
3
|
-
import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createEffect as $TZSbU$createEffect, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, getOwner as $TZSbU$getOwner, runWithOwner as $TZSbU$runWithOwner, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed
|
|
3
|
+
import {createRoot as $TZSbU$createRoot, untrack as $TZSbU$untrack, createEffect as $TZSbU$createEffect, createComponent as $TZSbU$createComponent, Show as $TZSbU$Show, getOwner as $TZSbU$getOwner, runWithOwner as $TZSbU$runWithOwner, onCleanup as $TZSbU$onCleanup, createSignal as $TZSbU$createSignal, createComputed as $TZSbU$createComputed} from "solid-js";
|
|
4
4
|
import {createElement as $TZSbU$createElement, Fragment as $TZSbU$Fragment, useState as $TZSbU$useState, useRef as $TZSbU$useRef, useEffect as $TZSbU$useEffect, Component as $TZSbU$Component, forwardRef as $TZSbU$forwardRef} from "react";
|
|
5
5
|
import {defaultLocale as $TZSbU$defaultLocale} from "@depict-ai/ui/locales";
|
|
6
|
-
import {render as $TZSbU$render} from "solid-js/web";
|
|
6
|
+
import {render as $TZSbU$render, hydrate as $TZSbU$hydrate} from "solid-js/web";
|
|
7
7
|
import {jsx as $TZSbU$jsx} from "react/jsx-runtime";
|
|
8
8
|
import {createPortal as $TZSbU$createPortal} from "react-dom";
|
|
9
9
|
import {createStore as $TZSbU$createStore, reconcile as $TZSbU$reconcile} from "solid-js/store";
|
|
10
10
|
import {DPC as $TZSbU$DPC} from "@depict-ai/dpc";
|
|
11
|
+
import {ImagePlaceholder as $TZSbU$ImagePlaceholder, TextPlaceholder as $TZSbU$TextPlaceholder} from "@depict-ai/ui/ssr";
|
|
11
12
|
|
|
12
13
|
/*! Depict.ai search and product listing react SDK wrapper */ // This is where the actual source of your React stuff should live
|
|
13
14
|
// Note, if you add an export here, also add one in src-server/main.ts
|
|
14
|
-
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.
|
|
15
|
+
const $c9c4d066f9a5b51b$export$83d89fbfd8236492 = "1.0.8";
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
|
|
@@ -86,7 +87,7 @@ function $c83ba9ab79386687$export$74f3924c5027fe1d(cb) {
|
|
|
86
87
|
}));
|
|
87
88
|
const $c83ba9ab79386687$export$775e6b3892b5ad52 = (url = location)=>url.pathname == (0, $TZSbU$untrack)((0, $42858f023ef23dab$export$8e769ad4338a911e).search_page_path_[0]); // might have changed therefore get it from globalState
|
|
88
89
|
const $c83ba9ab79386687$export$30c8a12df09be0e4 = (url = location)=>(0, $42858f023ef23dab$export$8e769ad4338a911e).known_category_paths.has(url.pathname);
|
|
89
|
-
function $c83ba9ab79386687$export$f6e64e17bd69eeef(solid_component, props, wrapper_type = "div", wrapper_style = {}) {
|
|
90
|
+
function $c83ba9ab79386687$export$f6e64e17bd69eeef({ solid_component: solid_component , props: props , wrapper_type: wrapper_type = "div" , wrapper_style: wrapper_style = {} , hydrate_function_when_ssr: hydrate_function_when_ssr }) {
|
|
90
91
|
const [portals, set_portals] = (0, $TZSbU$useState)([]);
|
|
91
92
|
const wrapper_element_ref = (0, $TZSbU$useRef)();
|
|
92
93
|
const [[store, write_store]] = (0, $TZSbU$useState)(()=>(0, $TZSbU$createStore)(props));
|
|
@@ -94,13 +95,23 @@ function $c83ba9ab79386687$export$f6e64e17bd69eeef(solid_component, props, wrapp
|
|
|
94
95
|
write_store((0, $TZSbU$reconcile)(props));
|
|
95
96
|
(0, $TZSbU$useEffect)(()=>{
|
|
96
97
|
const wrapper_element = wrapper_element_ref.current;
|
|
97
|
-
|
|
98
|
+
// If someone only rendered a solid component on the client that *could* be hydrated (no childNodes) then we fall back to `render` to avoid solid complaining about not being able to hydrate or crashing because the result of generateHydrationScript hasn't run at all
|
|
99
|
+
// This can happen for HMR or when SSR capable components are only rendered on the client
|
|
100
|
+
const render_function = hydrate_function_when_ssr && wrapper_element.childNodes.length ? hydrate_function_when_ssr : (0, $TZSbU$render);
|
|
101
|
+
const dispose = render_function(()=>solid_component(store, set_portals), wrapper_element);
|
|
98
102
|
return dispose;
|
|
99
103
|
}, []);
|
|
100
|
-
return (0, $TZSbU$createElement)(wrapper_type, {
|
|
104
|
+
return (0, $TZSbU$createElement)((0, $TZSbU$Fragment), null, (0, $TZSbU$createElement)(wrapper_type, {
|
|
101
105
|
ref: wrapper_element_ref,
|
|
102
|
-
style: wrapper_style
|
|
103
|
-
|
|
106
|
+
style: wrapper_style,
|
|
107
|
+
...hydrate_function_when_ssr ? {
|
|
108
|
+
// We need this because on the server we put the solid SSR rendered string into html but it won't match on the client, luckily we can just suppress it
|
|
109
|
+
suppressHydrationWarning: true,
|
|
110
|
+
dangerouslySetInnerHTML: {
|
|
111
|
+
__html: ""
|
|
112
|
+
}
|
|
113
|
+
} : {}
|
|
114
|
+
}), ...portals);
|
|
104
115
|
}
|
|
105
116
|
function $c83ba9ab79386687$export$e5139bbbb9a05035(component, is_set = (0, $42858f023ef23dab$export$8e769ad4338a911e).required_state_set_[0]) {
|
|
106
117
|
return (...args)=>{
|
|
@@ -215,9 +226,9 @@ function $8071251ee4e9ffa1$export$6453cbc34515a94d() {
|
|
|
215
226
|
});
|
|
216
227
|
}));
|
|
217
228
|
}
|
|
218
|
-
/*
|
|
219
|
-
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
220
|
-
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
229
|
+
/*
|
|
230
|
+
Here we want to be able to add padding that *definitely* gets applied and then be able to revert precisely to what was before.
|
|
231
|
+
The best way to achieve this is using an animation that with the fill set to none. This is because animations have the absolute highest precedence in CSS, even higher than !important. Then, to revert to the old padding, we just play the animation which is 1ms long so, it immediately finishes and whatever was defined before takes precedence again.
|
|
221
232
|
*/ function $8071251ee4e9ffa1$var$addLotsOfPadding() {
|
|
222
233
|
if ($8071251ee4e9ffa1$var$padding_animation) return; // We're already showing a bunch of padding
|
|
223
234
|
$8071251ee4e9ffa1$var$padding_animation = document.body.animate({
|
|
@@ -382,7 +393,10 @@ const $421f32789b6f111f$export$80e99ee6b29cadd2 = /*#__PURE__*/ (0, $TZSbU$forwa
|
|
|
382
393
|
|
|
383
394
|
|
|
384
395
|
function $4a678f0c87b12e78$export$a54ec244c8863715(props) {
|
|
385
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
396
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
397
|
+
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($4a678f0c87b12e78$var$SolidSearchPage),
|
|
398
|
+
props: props
|
|
399
|
+
});
|
|
386
400
|
}
|
|
387
401
|
function $4a678f0c87b12e78$var$SolidSearchPage(props, set_portals) {
|
|
388
402
|
const depict_search = (0, $42858f023ef23dab$export$8e769ad4338a911e).search;
|
|
@@ -425,8 +439,13 @@ function $4a678f0c87b12e78$var$SolidSearchPage(props, set_portals) {
|
|
|
425
439
|
|
|
426
440
|
|
|
427
441
|
function $48d7f568740a317d$export$f7d2f673fc2f091d(props) {
|
|
428
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
429
|
-
|
|
442
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
443
|
+
// @ts-ignore
|
|
444
|
+
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($48d7f568740a317d$var$SolidCategoryPage),
|
|
445
|
+
props: props,
|
|
446
|
+
wrapper_type: "div",
|
|
447
|
+
wrapper_style: {}
|
|
448
|
+
});
|
|
430
449
|
}
|
|
431
450
|
function $48d7f568740a317d$var$SolidCategoryPage(props, set_portals) {
|
|
432
451
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -467,7 +486,10 @@ function $48d7f568740a317d$var$SolidCategoryPage(props, set_portals) {
|
|
|
467
486
|
|
|
468
487
|
|
|
469
488
|
function $f866f7ed9f751af4$export$5646050d516e06bc() {
|
|
470
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
489
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
490
|
+
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($f866f7ed9f751af4$var$vanilla_breadcrumbs),
|
|
491
|
+
props: undefined
|
|
492
|
+
});
|
|
471
493
|
}
|
|
472
494
|
function $f866f7ed9f751af4$var$vanilla_breadcrumbs() {
|
|
473
495
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -482,7 +504,10 @@ function $f866f7ed9f751af4$var$vanilla_breadcrumbs() {
|
|
|
482
504
|
|
|
483
505
|
|
|
484
506
|
function $b68a14248b7ef667$export$466cdc317043f6cb() {
|
|
485
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
507
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
508
|
+
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)($b68a14248b7ef667$var$vanilla_quick_links),
|
|
509
|
+
props: {}
|
|
510
|
+
});
|
|
486
511
|
}
|
|
487
512
|
function $b68a14248b7ef667$var$vanilla_quick_links() {
|
|
488
513
|
const depict_category = (0, $42858f023ef23dab$export$8e769ad4338a911e).category;
|
|
@@ -496,23 +521,36 @@ function $b68a14248b7ef667$var$vanilla_quick_links() {
|
|
|
496
521
|
|
|
497
522
|
|
|
498
523
|
|
|
499
|
-
const $f446a84f85ba06f6$export$3f37af283f8fb843 = (
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
524
|
+
const $f446a84f85ba06f6$export$3f37af283f8fb843 = (raw_react_props)=>{
|
|
525
|
+
const react_props = {
|
|
526
|
+
class: raw_react_props.className,
|
|
527
|
+
...raw_react_props
|
|
528
|
+
};
|
|
529
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
530
|
+
solid_component: (props_store)=>(0, $TZSbU$ImagePlaceholder)(props_store),
|
|
531
|
+
props: react_props,
|
|
532
|
+
wrapper_type: "span",
|
|
533
|
+
hydrate_function_when_ssr: (0, $TZSbU$hydrate)
|
|
504
534
|
});
|
|
505
535
|
};
|
|
506
536
|
|
|
507
537
|
|
|
508
538
|
|
|
509
539
|
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
540
|
+
|
|
541
|
+
const $cbd250061abf11cb$export$89c6019e4baa40b1 = (raw_react_props)=>{
|
|
542
|
+
const react_props = {
|
|
543
|
+
class: raw_react_props.className,
|
|
544
|
+
...raw_react_props
|
|
545
|
+
};
|
|
546
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
547
|
+
solid_component: (props_store)=>(0, $TZSbU$TextPlaceholder)(props_store),
|
|
548
|
+
props: react_props,
|
|
549
|
+
wrapper_type: "span",
|
|
550
|
+
hydrate_function_when_ssr: (0, $TZSbU$hydrate),
|
|
551
|
+
wrapper_style: {
|
|
552
|
+
"height": "100%"
|
|
553
|
+
}
|
|
516
554
|
});
|
|
517
555
|
};
|
|
518
556
|
|
|
@@ -556,10 +594,13 @@ function $70344e5e0d0fea06$export$912994940e660d32(params = {}) {
|
|
|
556
594
|
|
|
557
595
|
const $cdd7408b22d1586a$export$bde46b5bb6287cea = (props)=>{
|
|
558
596
|
const ReactSearchField = ()=>{
|
|
559
|
-
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)(
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
597
|
+
return (0, $c83ba9ab79386687$export$f6e64e17bd69eeef)({
|
|
598
|
+
solid_component: (0, $c83ba9ab79386687$export$e5139bbbb9a05035)(()=>(0, $TZSbU$SearchField)({
|
|
599
|
+
depict_search: (0, $42858f023ef23dab$export$8e769ad4338a911e).search,
|
|
600
|
+
aligner_ref: props?.alignerRef?.current
|
|
601
|
+
})),
|
|
602
|
+
props: {}
|
|
603
|
+
});
|
|
563
604
|
};
|
|
564
605
|
return ReactSearchField;
|
|
565
606
|
};
|