@absolutejs/absolute 0.19.0-beta.745 → 0.19.0-beta.747
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/index.js +46 -35
- package/dist/angular/index.js.map +3 -3
- package/dist/angular/server.js +42 -31
- package/dist/angular/server.js.map +3 -3
- package/dist/build.js +43 -32
- package/dist/build.js.map +3 -3
- package/dist/dev/client/handlers/angular.ts +131 -18
- package/dist/dev/client/handlers/angularRuntime.ts +25 -4
- package/dist/index.js +46 -35
- package/dist/index.js.map +3 -3
- package/package.json +1 -1
package/dist/build.js
CHANGED
|
@@ -44397,46 +44397,57 @@ var absoluteHttpTransferCacheOptions = {
|
|
|
44397
44397
|
}
|
|
44398
44398
|
};
|
|
44399
44399
|
|
|
44400
|
-
// Re-
|
|
44401
|
-
|
|
44402
|
-
|
|
44403
|
-
|
|
44404
|
-
}
|
|
44405
|
-
|
|
44406
|
-
// Ensure root element exists after destroy (Angular removes it)
|
|
44407
|
-
var _sel = ${componentClassName}.\u0275cmp?.selectors?.[0]?.[0] || 'ng-app';
|
|
44408
|
-
if (!document.querySelector(_sel)) {
|
|
44409
|
-
(document.getElementById('root') || document.body).appendChild(document.createElement(_sel));
|
|
44410
|
-
}
|
|
44400
|
+
// Re-export the page module so HMR fast-patch (in handlers/angular.ts) can
|
|
44401
|
+
// dynamically import this chunk and discover the freshly-built component
|
|
44402
|
+
// classes without needing a separate build artifact.
|
|
44403
|
+
export * from '${normalizedImportPath}';
|
|
44411
44404
|
|
|
44412
|
-
|
|
44413
|
-
|
|
44414
|
-
|
|
44415
|
-
|
|
44416
|
-
|
|
44417
|
-
|
|
44418
|
-
|
|
44419
|
-
window.
|
|
44405
|
+
// Re-Bootstrap HMR with View Transitions API.
|
|
44406
|
+
// Skipped during fast-patch: the HMR client sets
|
|
44407
|
+
// window.__ANGULAR_HMR_FAST_PATCH__ = true before \`import()\`-ing this
|
|
44408
|
+
// chunk so it can read the new component classes via \`export *\` above
|
|
44409
|
+
// without destroying the running app.
|
|
44410
|
+
if (!window.__ANGULAR_HMR_FAST_PATCH__) {
|
|
44411
|
+
if (window.__ANGULAR_APP__) {
|
|
44412
|
+
try { window.__ANGULAR_APP__.destroy(); } catch (_err) { /* ignore */ }
|
|
44413
|
+
window.__ANGULAR_APP__ = null;
|
|
44414
|
+
}
|
|
44420
44415
|
|
|
44421
|
-
|
|
44422
|
-
|
|
44423
|
-
if (
|
|
44424
|
-
|
|
44425
|
-
window.__ABS_SLOT_FLUSH__();
|
|
44426
|
-
});
|
|
44416
|
+
// Ensure root element exists after destroy (Angular removes it)
|
|
44417
|
+
var _sel = ${componentClassName}.\u0275cmp?.selectors?.[0]?.[0] || 'ng-app';
|
|
44418
|
+
if (!document.querySelector(_sel)) {
|
|
44419
|
+
(document.getElementById('root') || document.body).appendChild(document.createElement(_sel));
|
|
44427
44420
|
}
|
|
44428
|
-
|
|
44429
|
-
|
|
44430
|
-
|
|
44431
|
-
|
|
44432
|
-
|
|
44421
|
+
|
|
44422
|
+
var providers = [provideZonelessChangeDetection()];
|
|
44423
|
+
if (!window.__HMR_SKIP_HYDRATION__ && !pageHasIslands) {
|
|
44424
|
+
providers.push(provideClientHydration(withHttpTransferCacheOptions(absoluteHttpTransferCacheOptions)));
|
|
44425
|
+
}
|
|
44426
|
+
delete window.__HMR_SKIP_HYDRATION__;
|
|
44427
|
+
providers.push.apply(providers, pageProviders);
|
|
44428
|
+
providers.push.apply(providers, propProviders);
|
|
44429
|
+
window.__ABS_SLOT_HYDRATION_PENDING__ = pageHasRawStreamingSlots;
|
|
44430
|
+
|
|
44431
|
+
if (pageHasRawStreamingSlots) {
|
|
44433
44432
|
window.__ABS_SLOT_HYDRATION_PENDING__ = false;
|
|
44434
44433
|
if (typeof window.__ABS_SLOT_FLUSH__ === 'function') {
|
|
44435
44434
|
requestAnimationFrame(function() {
|
|
44436
44435
|
window.__ABS_SLOT_FLUSH__();
|
|
44437
44436
|
});
|
|
44438
44437
|
}
|
|
44439
|
-
}
|
|
44438
|
+
} else {
|
|
44439
|
+
bootstrapApplication(${componentClassName}, {
|
|
44440
|
+
providers: providers
|
|
44441
|
+
}).then(function (appRef) {
|
|
44442
|
+
window.__ANGULAR_APP__ = appRef;
|
|
44443
|
+
window.__ABS_SLOT_HYDRATION_PENDING__ = false;
|
|
44444
|
+
if (typeof window.__ABS_SLOT_FLUSH__ === 'function') {
|
|
44445
|
+
requestAnimationFrame(function() {
|
|
44446
|
+
window.__ABS_SLOT_FLUSH__();
|
|
44447
|
+
});
|
|
44448
|
+
}
|
|
44449
|
+
});
|
|
44450
|
+
}
|
|
44440
44451
|
}
|
|
44441
44452
|
`.trim() : `
|
|
44442
44453
|
import '@angular/compiler';
|
|
@@ -50078,5 +50089,5 @@ export {
|
|
|
50078
50089
|
build
|
|
50079
50090
|
};
|
|
50080
50091
|
|
|
50081
|
-
//# debugId=
|
|
50092
|
+
//# debugId=5B61B3040B6736CE64756E2164756E21
|
|
50082
50093
|
//# sourceMappingURL=build.js.map
|