@absolutejs/absolute 0.20.0-beta.58 → 0.20.0-beta.59
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/angular/components/core/streamingSlotRegistrar.js +1 -1
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -2
- package/dist/build.js +5 -4
- package/dist/build.js.map +3 -3
- package/dist/cli/index.js +29 -4
- package/dist/index.js +5 -4
- package/dist/index.js.map +3 -3
- package/dist/mobile/index.js +9 -3
- package/dist/mobile/index.js.map +4 -4
- package/dist/mobile/shellBootstrap.js +427 -57
- package/dist/mobile/shellSync.js +18 -7
- package/dist/src/mobile/navigationLifecycle.d.ts +36 -0
- package/dist/src/mobile/navigationState.d.ts +53 -0
- package/dist/src/mobile/transport.d.ts +1 -0
- package/package.json +7 -7
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-SZCyBG/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
var __require = import.meta.require;
|
|
3
3
|
|
|
4
|
-
// .angular-partial-tmp-
|
|
4
|
+
// .angular-partial-tmp-SZCyBG/src/core/streamingSlotRegistrar.ts
|
|
5
5
|
var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
|
|
6
6
|
var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
|
|
7
7
|
var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
|
|
@@ -48,7 +48,7 @@ var warnMissingStreamingSlotCollector = (primitiveName) => {
|
|
|
48
48
|
getWarningController()?.maybeWarn(primitiveName);
|
|
49
49
|
};
|
|
50
50
|
|
|
51
|
-
// .angular-partial-tmp-
|
|
51
|
+
// .angular-partial-tmp-SZCyBG/src/core/streamingSlotRegistry.ts
|
|
52
52
|
var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
|
|
53
53
|
var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
|
|
54
54
|
var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
|
package/dist/build.js
CHANGED
|
@@ -980,9 +980,10 @@ var indexContentCache, resolveDevClientDir = () => {
|
|
|
980
980
|
`,
|
|
981
981
|
`// Attempt hydration with error handling`,
|
|
982
982
|
`const shouldClientRender = window.__ABSOLUTE_PAGE_RENDER_MODE__ === 'client';`,
|
|
983
|
-
`//
|
|
984
|
-
`//
|
|
985
|
-
|
|
983
|
+
`// AbsoluteJS routes are document components. Mobile data-envelope renders`,
|
|
984
|
+
`// must therefore use document too: mounting <html><head><body> inside #root`,
|
|
985
|
+
`// makes React's document singletons corrupt the persistent native shell.`,
|
|
986
|
+
`const container = typeof document !== 'undefined' ? document : null;`,
|
|
986
987
|
`if (!container) {`,
|
|
987
988
|
` throw new Error('React root container not found: document is null');`,
|
|
988
989
|
`}
|
|
@@ -30463,5 +30464,5 @@ export {
|
|
|
30463
30464
|
devBuild
|
|
30464
30465
|
};
|
|
30465
30466
|
|
|
30466
|
-
//# debugId=
|
|
30467
|
+
//# debugId=6E3A4F2DB493AC6964756E2164756E21
|
|
30467
30468
|
//# sourceMappingURL=build.js.map
|