@uniweb/runtime 0.28.5 → 0.28.7
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/dist/ssr.js +6 -0
- package/dist/ssr.js.map +1 -1
- package/package.json +3 -3
- package/src/components/PageRenderer.jsx +32 -44
- package/src/default-fetcher.js +3 -1
- package/src/isolate-api.js +16 -6
- package/src/ssr.js +12 -4
package/dist/ssr.js
CHANGED
|
@@ -10,6 +10,7 @@ import { buildTheme, FONT_LINKS_MARKER, buildSectionOverrides } from "@uniweb/th
|
|
|
10
10
|
import "@uniweb/core/services";
|
|
11
11
|
import "@uniweb/core/tracker";
|
|
12
12
|
import DataStore, { deriveCacheKey as deriveCacheKey$1 } from "@uniweb/core/datastore";
|
|
13
|
+
import { RESOLUTION_STATUS, localeOfPath, localeUrl, resolveRoute, routeIndex } from "@uniweb/core/resolve-route";
|
|
13
14
|
import { resolveFetchConfigs } from "@uniweb/core/fetch-config";
|
|
14
15
|
import { resolveRecordsService } from "@uniweb/core/records-service";
|
|
15
16
|
function guaranteeItemStructure(item) {
|
|
@@ -1296,6 +1297,7 @@ function empty() {
|
|
|
1296
1297
|
return { records: {}, errors: null, meta: {} };
|
|
1297
1298
|
}
|
|
1298
1299
|
export {
|
|
1300
|
+
RESOLUTION_STATUS,
|
|
1299
1301
|
applyDefaults,
|
|
1300
1302
|
applySchemas,
|
|
1301
1303
|
classifyRenderError,
|
|
@@ -1313,6 +1315,8 @@ export {
|
|
|
1313
1315
|
initPrerenderForLocale,
|
|
1314
1316
|
injectPageContent,
|
|
1315
1317
|
loadPageData,
|
|
1318
|
+
localeOfPath,
|
|
1319
|
+
localeUrl,
|
|
1316
1320
|
prefetchAndHydrate,
|
|
1317
1321
|
prefetchIcons,
|
|
1318
1322
|
prepareProps,
|
|
@@ -1323,6 +1327,8 @@ export {
|
|
|
1323
1327
|
renderLayout,
|
|
1324
1328
|
renderPage,
|
|
1325
1329
|
resolvePage,
|
|
1330
|
+
resolveRoute,
|
|
1331
|
+
routeIndex,
|
|
1326
1332
|
sliceContentForLocale
|
|
1327
1333
|
};
|
|
1328
1334
|
//# sourceMappingURL=ssr.js.map
|