@webtypen/webframez-react 0.0.43 → 0.0.44

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/http.cjs CHANGED
@@ -156,7 +156,6 @@ function sendRSC(res, model, options = {}) {
156
156
  var import_node_fs = __toESM(require("node:fs"), 1);
157
157
  var import_node_module2 = __toESM(require("node:module"), 1);
158
158
  var import_node_path2 = __toESM(require("node:path"), 1);
159
- var import_route_slot = require("@webtypen/webframez-react/route-slot");
160
159
 
161
160
  // src/head.ts
162
161
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -659,7 +658,7 @@ function createFileRouter(options) {
659
658
  const errorHead = await resolveHead(errorModule, errorProps);
660
659
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
661
660
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
662
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
661
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
663
662
  return {
664
663
  statusCode,
665
664
  model,
@@ -785,7 +784,7 @@ function createFileRouter(options) {
785
784
  const pageHead = await resolveHead(pageModule, pageContext);
786
785
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
787
786
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
788
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
787
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
789
788
  return {
790
789
  statusCode: 200,
791
790
  model,
package/dist/http.js CHANGED
@@ -136,7 +136,6 @@ function sendRSC(res, model, options = {}) {
136
136
  import fs from "node:fs";
137
137
  import Module from "node:module";
138
138
  import path2 from "node:path";
139
- import { RouteChildrenSlot } from "@webtypen/webframez-react/route-slot";
140
139
 
141
140
  // src/head.ts
142
141
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -639,7 +638,7 @@ function createFileRouter(options) {
639
638
  const errorHead = await resolveHead(errorModule, errorProps);
640
639
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
641
640
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
642
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
641
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
643
642
  return {
644
643
  statusCode,
645
644
  model,
@@ -765,7 +764,7 @@ function createFileRouter(options) {
765
764
  const pageHead = await resolveHead(pageModule, pageContext);
766
765
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
767
766
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
768
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
767
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
769
768
  return {
770
769
  statusCode: 200,
771
770
  model,
package/dist/index.cjs CHANGED
@@ -191,7 +191,6 @@ function createRSCHandler(options) {
191
191
  var import_node_fs = __toESM(require("node:fs"), 1);
192
192
  var import_node_module2 = __toESM(require("node:module"), 1);
193
193
  var import_node_path2 = __toESM(require("node:path"), 1);
194
- var import_route_slot = require("@webtypen/webframez-react/route-slot");
195
194
 
196
195
  // src/head.ts
197
196
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -694,7 +693,7 @@ function createFileRouter(options) {
694
693
  const errorHead = await resolveHead(errorModule, errorProps);
695
694
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
696
695
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
697
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
696
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
698
697
  return {
699
698
  statusCode,
700
699
  model,
@@ -820,7 +819,7 @@ function createFileRouter(options) {
820
819
  const pageHead = await resolveHead(pageModule, pageContext);
821
820
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
822
821
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
823
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
822
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
824
823
  return {
825
824
  statusCode: 200,
826
825
  model,
package/dist/index.js CHANGED
@@ -152,7 +152,6 @@ function createRSCHandler(options) {
152
152
  import fs from "node:fs";
153
153
  import Module from "node:module";
154
154
  import path2 from "node:path";
155
- import { RouteChildrenSlot } from "@webtypen/webframez-react/route-slot";
156
155
 
157
156
  // src/head.ts
158
157
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -655,7 +654,7 @@ function createFileRouter(options) {
655
654
  const errorHead = await resolveHead(errorModule, errorProps);
656
655
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
657
656
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
658
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
657
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
659
658
  return {
660
659
  statusCode,
661
660
  model,
@@ -781,7 +780,7 @@ function createFileRouter(options) {
781
780
  const pageHead = await resolveHead(pageModule, pageContext);
782
781
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
783
782
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
784
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
783
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
785
784
  return {
786
785
  statusCode: 200,
787
786
  model,
package/dist/router.cjs CHANGED
@@ -40,7 +40,6 @@ module.exports = __toCommonJS(router_exports);
40
40
  var import_node_fs = __toESM(require("node:fs"), 1);
41
41
  var import_node_module = __toESM(require("node:module"), 1);
42
42
  var import_node_path = __toESM(require("node:path"), 1);
43
- var import_route_slot = require("@webtypen/webframez-react/route-slot");
44
43
 
45
44
  // src/head.ts
46
45
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -543,7 +542,7 @@ function createFileRouter(options) {
543
542
  const errorHead = await resolveHead(errorModule, errorProps);
544
543
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
545
544
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
546
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
545
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
547
546
  return {
548
547
  statusCode,
549
548
  model,
@@ -669,7 +668,7 @@ function createFileRouter(options) {
669
668
  const pageHead = await resolveHead(pageModule, pageContext);
670
669
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
671
670
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
672
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
671
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
673
672
  return {
674
673
  statusCode: 200,
675
674
  model,
package/dist/router.js CHANGED
@@ -10,7 +10,6 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
10
10
  import fs from "node:fs";
11
11
  import Module from "node:module";
12
12
  import path from "node:path";
13
- import { RouteChildrenSlot } from "@webtypen/webframez-react/route-slot";
14
13
 
15
14
  // src/head.ts
16
15
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -513,7 +512,7 @@ function createFileRouter(options) {
513
512
  const errorHead = await resolveHead(errorModule, errorProps);
514
513
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
515
514
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
516
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
515
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
517
516
  return {
518
517
  statusCode,
519
518
  model,
@@ -639,7 +638,7 @@ function createFileRouter(options) {
639
638
  const pageHead = await resolveHead(pageModule, pageContext);
640
639
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
641
640
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
642
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
641
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
643
642
  return {
644
643
  statusCode: 200,
645
644
  model,
@@ -163,7 +163,6 @@ function sendRSC(res, model, options = {}) {
163
163
  var import_node_fs = __toESM(require("node:fs"), 1);
164
164
  var import_node_module2 = __toESM(require("node:module"), 1);
165
165
  var import_node_path2 = __toESM(require("node:path"), 1);
166
- var import_route_slot = require("@webtypen/webframez-react/route-slot");
167
166
 
168
167
  // src/head.ts
169
168
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -666,7 +665,7 @@ function createFileRouter(options) {
666
665
  const errorHead = await resolveHead(errorModule, errorProps);
667
666
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
668
667
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
669
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
668
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
670
669
  return {
671
670
  statusCode,
672
671
  model,
@@ -792,7 +791,7 @@ function createFileRouter(options) {
792
791
  const pageHead = await resolveHead(pageModule, pageContext);
793
792
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
794
793
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
795
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_route_slot.RouteChildrenSlot, {})) : void 0;
794
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ (0, import_jsx_runtime.jsx)(RouteChildren, {})) : void 0;
796
795
  return {
797
796
  statusCode: 200,
798
797
  model,
@@ -139,7 +139,6 @@ function sendRSC(res, model, options = {}) {
139
139
  import fs from "node:fs";
140
140
  import Module from "node:module";
141
141
  import path2 from "node:path";
142
- import { RouteChildrenSlot } from "@webtypen/webframez-react/route-slot";
143
142
 
144
143
  // src/head.ts
145
144
  var ABSOLUTE_ASSET_URL_PATTERN = /^(?:[a-zA-Z][a-zA-Z\d+\-.]*:|\/\/|#)/;
@@ -642,7 +641,7 @@ function createFileRouter(options) {
642
641
  const errorHead = await resolveHead(errorModule, errorProps);
643
642
  const layoutNode = layoutModule ? await layoutModule.default(context) : null;
644
643
  const model = layoutNode ? injectRouteChildren(layoutNode, errorNode) : errorNode;
645
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
644
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
646
645
  return {
647
646
  statusCode,
648
647
  model,
@@ -768,7 +767,7 @@ function createFileRouter(options) {
768
767
  const pageHead = await resolveHead(pageModule, pageContext);
769
768
  const layoutNode = layoutModule ? await layoutModule.default(pageContext) : null;
770
769
  const model = layoutNode ? injectRouteChildren(layoutNode, pageNode) : pageNode;
771
- const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildrenSlot, {})) : void 0;
770
+ const contextModel = layoutNode ? injectRouteChildren(layoutNode, /* @__PURE__ */ jsx(RouteChildren, {})) : void 0;
772
771
  return {
773
772
  statusCode: 200,
774
773
  model,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@webtypen/webframez-react",
3
- "version": "0.0.43",
3
+ "version": "0.0.44",
4
4
  "description": "TypeScript React RSC addition for @webtypen/webframez-core",
5
5
  "homepage": "https://webtypen.de/",
6
6
  "author": {