@absolutejs/absolute 0.19.0-beta.1041 → 0.19.0-beta.1043
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/package.json +1 -1
- package/dist/angular/browser.js +0 -10358
- package/dist/angular/browser.js.map +0 -260
- package/dist/angular/components/constants.js +0 -101
- package/dist/angular/components/core/streamingSlotRegistrar.js +0 -58
- package/dist/angular/components/core/streamingSlotRegistry.js +0 -114
- package/dist/angular/components/defer-slot-payload.js +0 -6
- package/dist/angular/components/defer-slot-templates.directive.js +0 -44
- package/dist/angular/components/defer-slot.component.js +0 -152
- package/dist/angular/components/image.component.js +0 -202
- package/dist/angular/components/index.js +0 -4
- package/dist/angular/components/stream-slot.component.js +0 -102
- package/dist/angular/hmrPreserveCore.ts +0 -188
- package/dist/angular/index.js +0 -15793
- package/dist/angular/index.js.map +0 -299
- package/dist/angular/server.js +0 -6357
- package/dist/angular/server.js.map +0 -61
- package/dist/build.js +0 -27484
- package/dist/build.js.map +0 -146
- package/dist/cli/config/client.js +0 -527
- package/dist/cli/config/server.js +0 -37130
- package/dist/cli/htmx/htmx.min.js +0 -1
- package/dist/cli/index.js +0 -179275
- package/dist/client/index.js +0 -1267
- package/dist/client/index.js.map +0 -31
- package/dist/core/streamingSlotRegistrar.js +0 -138
- package/dist/core/streamingSlotRegistrar.js.map +0 -10
- package/dist/core/streamingSlotRegistry.js +0 -194
- package/dist/core/streamingSlotRegistry.js.map +0 -11
- package/dist/dev/client/constants.ts +0 -26
- package/dist/dev/client/cssUtils.ts +0 -311
- package/dist/dev/client/domDiff.ts +0 -226
- package/dist/dev/client/domState.ts +0 -423
- package/dist/dev/client/domTracker.ts +0 -61
- package/dist/dev/client/errorOverlay.ts +0 -445
- package/dist/dev/client/frameworkDetect.ts +0 -63
- package/dist/dev/client/handlers/angularHmrShim.ts +0 -88
- package/dist/dev/client/handlers/angularRemount.ts +0 -362
- package/dist/dev/client/handlers/angularRemountWiring.ts +0 -52
- package/dist/dev/client/handlers/html.ts +0 -364
- package/dist/dev/client/handlers/htmx.ts +0 -278
- package/dist/dev/client/handlers/react.ts +0 -108
- package/dist/dev/client/handlers/rebuild.ts +0 -153
- package/dist/dev/client/handlers/svelte.ts +0 -334
- package/dist/dev/client/handlers/vue.ts +0 -292
- package/dist/dev/client/headPatch.ts +0 -233
- package/dist/dev/client/hmrClient.ts +0 -352
- package/dist/dev/client/hmrState.ts +0 -14
- package/dist/dev/client/hmrToast.ts +0 -150
- package/dist/dev/client/moduleVersions.ts +0 -62
- package/dist/dev/client/reactRefreshSetup.ts +0 -31
- package/dist/dev/client/vendor/lview/lViewOps.ts +0 -196
- package/dist/dev/client/vendor/lview/slotConstants.ts +0 -44
- package/dist/dev/client/vendor/reactRefreshRuntime.d.ts +0 -12
- package/dist/dev/client/vendor/reactRefreshRuntime.js +0 -313
- package/dist/image-client/imageClient.js +0 -69
- package/dist/index.js +0 -36361
- package/dist/index.js.map +0 -320
- package/dist/islands/browser.js +0 -259
- package/dist/islands/browser.js.map +0 -15
- package/dist/islands/index.js +0 -2415
- package/dist/islands/index.js.map +0 -37
- package/dist/react/browser.js +0 -374
- package/dist/react/browser.js.map +0 -19
- package/dist/react/components/browser/index.js +0 -467
- package/dist/react/components/index.js +0 -684
- package/dist/react/components/index.js.map +0 -18
- package/dist/react/hooks/index.js +0 -285
- package/dist/react/hooks/index.js.map +0 -14
- package/dist/react/index.js +0 -4258
- package/dist/react/index.js.map +0 -56
- package/dist/react/jsxDevRuntimeCompat.js +0 -90
- package/dist/react/jsxDevRuntimeCompat.js.map +0 -10
- package/dist/react/router/browser.js +0 -95
- package/dist/react/router/browser.js.map +0 -10
- package/dist/react/router/index.js +0 -95
- package/dist/react/router/index.js.map +0 -10
- package/dist/react/server.js +0 -1895
- package/dist/react/server.js.map +0 -26
- package/dist/src/angular/Island.browser.d.ts +0 -34
- package/dist/src/angular/Island.d.ts +0 -29
- package/dist/src/angular/angularDeps.d.ts +0 -2
- package/dist/src/angular/angularPatch.d.ts +0 -1
- package/dist/src/angular/animationProviders.d.ts +0 -2
- package/dist/src/angular/browser.d.ts +0 -14
- package/dist/src/angular/components/constants.d.ts +0 -96
- package/dist/src/angular/components/defer-slot-payload.d.ts +0 -7
- package/dist/src/angular/components/defer-slot-templates.directive.d.ts +0 -21
- package/dist/src/angular/components/defer-slot.component.d.ts +0 -29
- package/dist/src/angular/components/image.component.d.ts +0 -42
- package/dist/src/angular/components/index.d.ts +0 -4
- package/dist/src/angular/components/stream-slot.component.d.ts +0 -20
- package/dist/src/angular/composables/index.d.ts +0 -6
- package/dist/src/angular/composables/usePageContext.d.ts +0 -16
- package/dist/src/angular/composables/useResource.d.ts +0 -57
- package/dist/src/angular/composables/useSubscription.d.ts +0 -33
- package/dist/src/angular/composables/useTimers.d.ts +0 -18
- package/dist/src/angular/createIsland.browser.d.ts +0 -2
- package/dist/src/angular/createIsland.d.ts +0 -2
- package/dist/src/angular/deterministicEnv.d.ts +0 -26
- package/dist/src/angular/hmrPreserveCore.d.ts +0 -21
- package/dist/src/angular/httpTransferCache.d.ts +0 -12
- package/dist/src/angular/index.d.ts +0 -14
- package/dist/src/angular/injectorPatch.d.ts +0 -1
- package/dist/src/angular/islandStore.d.ts +0 -9
- package/dist/src/angular/islands.d.ts +0 -4
- package/dist/src/angular/lowerDeferSyntax.d.ts +0 -18
- package/dist/src/angular/lowerServerIslands.d.ts +0 -1
- package/dist/src/angular/pageHandler.d.ts +0 -48
- package/dist/src/angular/pendingTask.d.ts +0 -1
- package/dist/src/angular/preserveAcrossHmr.d.ts +0 -12
- package/dist/src/angular/renderIsland.d.ts +0 -2
- package/dist/src/angular/requestProviders.d.ts +0 -5
- package/dist/src/angular/resolveAngularPackage.d.ts +0 -19
- package/dist/src/angular/routerRedirectProviders.d.ts +0 -6
- package/dist/src/angular/server.d.ts +0 -4
- package/dist/src/angular/ssrRender.d.ts +0 -13
- package/dist/src/angular/ssrSanitizer.d.ts +0 -3
- package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/build/angularLinkerPlugin.d.ts +0 -29
- package/dist/src/build/buildAngularVendor.d.ts +0 -40
- package/dist/src/build/buildDepVendor.d.ts +0 -2
- package/dist/src/build/buildEmberVendor.d.ts +0 -24
- package/dist/src/build/buildReactVendor.d.ts +0 -8
- package/dist/src/build/buildSvelteVendor.d.ts +0 -6
- package/dist/src/build/buildVueVendor.d.ts +0 -6
- package/dist/src/build/chainInlineSourcemaps.d.ts +0 -13
- package/dist/src/build/compileAngular.d.ts +0 -40
- package/dist/src/build/compileEmber.d.ts +0 -43
- package/dist/src/build/compileSvelte.d.ts +0 -14
- package/dist/src/build/compileTailwind.d.ts +0 -5
- package/dist/src/build/compileVue.d.ts +0 -22
- package/dist/src/build/externalAssetPlugin.d.ts +0 -2
- package/dist/src/build/generateManifest.d.ts +0 -2
- package/dist/src/build/generateReactIndexes.d.ts +0 -2
- package/dist/src/build/htmlScriptHMRPlugin.d.ts +0 -13
- package/dist/src/build/index.d.ts +0 -2
- package/dist/src/build/islandEntries.d.ts +0 -32
- package/dist/src/build/islandRegistryTransform.d.ts +0 -17
- package/dist/src/build/nativeRewrite.d.ts +0 -5
- package/dist/src/build/optimizeHtmlImages.d.ts +0 -2
- package/dist/src/build/outputLogs.d.ts +0 -1
- package/dist/src/build/parseAngularConfigImports.d.ts +0 -9
- package/dist/src/build/parseVueSpaRoutes.d.ts +0 -20
- package/dist/src/build/resolvePackageImport.d.ts +0 -9
- package/dist/src/build/rewriteImports.d.ts +0 -8
- package/dist/src/build/rewriteImportsPlugin.d.ts +0 -48
- package/dist/src/build/rewriteReactImports.d.ts +0 -7
- package/dist/src/build/runAngularHandlerScan.d.ts +0 -7
- package/dist/src/build/scanAngularHandlerCalls.d.ts +0 -13
- package/dist/src/build/scanAngularPageRoutes.d.ts +0 -10
- package/dist/src/build/scanConventions.d.ts +0 -5
- package/dist/src/build/scanCssEntryPoints.d.ts +0 -1
- package/dist/src/build/scanEntryPoints.d.ts +0 -1
- package/dist/src/build/scanRouteRegistrations.d.ts +0 -23
- package/dist/src/build/scanVueSsrOnlyPages.d.ts +0 -6
- package/dist/src/build/staticIslandPages.d.ts +0 -9
- package/dist/src/build/stylePreprocessor.d.ts +0 -26
- package/dist/src/build/tailwindCompiler.d.ts +0 -8
- package/dist/src/build/updateAssetPaths.d.ts +0 -1
- package/dist/src/build/vendorEntrySource.d.ts +0 -1
- package/dist/src/build/verifyAngularCoreUniqueness.d.ts +0 -2
- package/dist/src/build/vueAutoRouterTransform.d.ts +0 -1
- package/dist/src/build/wrapHTMLScript.d.ts +0 -17
- package/dist/src/build.d.ts +0 -2
- package/dist/src/cli/add/dependencies.d.ts +0 -12
- package/dist/src/cli/cache.d.ts +0 -15
- package/dist/src/cli/config/absolute/AbsoluteConfigPanel.d.ts +0 -6
- package/dist/src/cli/config/absolute/editAbsoluteConfig.d.ts +0 -5
- package/dist/src/cli/config/absolute/resolveAbsoluteConfig.d.ts +0 -14
- package/dist/src/cli/config/client.d.ts +0 -1
- package/dist/src/cli/config/configCert.d.ts +0 -12
- package/dist/src/cli/config/eslint/EslintPanel.d.ts +0 -6
- package/dist/src/cli/config/eslint/configAst.d.ts +0 -18
- package/dist/src/cli/config/eslint/editConfigRule.d.ts +0 -6
- package/dist/src/cli/config/eslint/eslintStyles.d.ts +0 -1
- package/dist/src/cli/config/eslint/resolveConfig.d.ts +0 -3
- package/dist/src/cli/config/eslint/serializeValue.d.ts +0 -9
- package/dist/src/cli/config/guards.d.ts +0 -4
- package/dist/src/cli/config/packageJson/PackageJsonPanel.d.ts +0 -6
- package/dist/src/cli/config/packageJson/editPackageJson.d.ts +0 -9
- package/dist/src/cli/config/packageJson/resolvePackageJson.d.ts +0 -9
- package/dist/src/cli/config/page/ConfigShell.d.ts +0 -6
- package/dist/src/cli/config/page/FieldEditor.d.ts +0 -9
- package/dist/src/cli/config/page/PanelHost.d.ts +0 -6
- package/dist/src/cli/config/page/configStyles.d.ts +0 -1
- package/dist/src/cli/config/panels.d.ts +0 -7
- package/dist/src/cli/config/prettier/PrettierPanel.d.ts +0 -6
- package/dist/src/cli/config/prettier/editPrettier.d.ts +0 -5
- package/dist/src/cli/config/prettier/resolvePrettier.d.ts +0 -11
- package/dist/src/cli/config/schema/fromJsonSchema.d.ts +0 -3
- package/dist/src/cli/config/schema/fromType.d.ts +0 -2
- package/dist/src/cli/config/schema/serialize.d.ts +0 -1
- package/dist/src/cli/config/server.d.ts +0 -298
- package/dist/src/cli/config/tsconfig/TsconfigPanel.d.ts +0 -6
- package/dist/src/cli/config/tsconfig/editTsconfig.d.ts +0 -5
- package/dist/src/cli/config/tsconfig/resolveTsconfig.d.ts +0 -8
- package/dist/src/cli/config/tsconfig/tsconfigStyles.d.ts +0 -1
- package/dist/src/cli/discoverInstances.d.ts +0 -5
- package/dist/src/cli/generate/componentTemplates.d.ts +0 -7
- package/dist/src/cli/generate/context.d.ts +0 -30
- package/dist/src/cli/generate/cssStrategy.d.ts +0 -20
- package/dist/src/cli/generate/frameworkKey.d.ts +0 -3
- package/dist/src/cli/generate/frameworks.d.ts +0 -40
- package/dist/src/cli/generate/generateApi.d.ts +0 -3
- package/dist/src/cli/generate/generateComponent.d.ts +0 -4
- package/dist/src/cli/generate/generatePage.d.ts +0 -4
- package/dist/src/cli/generate/naming.d.ts +0 -5
- package/dist/src/cli/generate/navData.d.ts +0 -10
- package/dist/src/cli/generate/outcome.d.ts +0 -17
- package/dist/src/cli/generate/pageTemplates.d.ts +0 -11
- package/dist/src/cli/generate/routeWiring.d.ts +0 -40
- package/dist/src/cli/generate/staticNav.d.ts +0 -5
- package/dist/src/cli/htmx/install.d.ts +0 -6
- package/dist/src/cli/index.d.ts +0 -2
- package/dist/src/cli/inspectData.d.ts +0 -11
- package/dist/src/cli/inspectTui.d.ts +0 -1
- package/dist/src/cli/instanceStatus.d.ts +0 -22
- package/dist/src/cli/interactive.d.ts +0 -2
- package/dist/src/cli/psTui.d.ts +0 -1
- package/dist/src/cli/scripts/add.d.ts +0 -1
- package/dist/src/cli/scripts/build.d.ts +0 -1
- package/dist/src/cli/scripts/compile.d.ts +0 -2
- package/dist/src/cli/scripts/dev.d.ts +0 -1
- package/dist/src/cli/scripts/doctor.d.ts +0 -1
- package/dist/src/cli/scripts/env.d.ts +0 -7
- package/dist/src/cli/scripts/eslint.d.ts +0 -16
- package/dist/src/cli/scripts/generate.d.ts +0 -1
- package/dist/src/cli/scripts/htmx.d.ts +0 -1
- package/dist/src/cli/scripts/info.d.ts +0 -1
- package/dist/src/cli/scripts/inspect.d.ts +0 -1
- package/dist/src/cli/scripts/logs.d.ts +0 -1
- package/dist/src/cli/scripts/ls.d.ts +0 -1
- package/dist/src/cli/scripts/mem.d.ts +0 -1
- package/dist/src/cli/scripts/prettier.d.ts +0 -3
- package/dist/src/cli/scripts/ps.d.ts +0 -1
- package/dist/src/cli/scripts/remove.d.ts +0 -1
- package/dist/src/cli/scripts/routes.d.ts +0 -1
- package/dist/src/cli/scripts/start.d.ts +0 -1
- package/dist/src/cli/scripts/telemetry.d.ts +0 -5
- package/dist/src/cli/scripts/tunnelRelay.d.ts +0 -9
- package/dist/src/cli/scripts/typecheck.d.ts +0 -1
- package/dist/src/cli/scripts/workspace.d.ts +0 -11
- package/dist/src/cli/telemetryEvent.d.ts +0 -1
- package/dist/src/cli/tuiPrimitives.d.ts +0 -14
- package/dist/src/cli/utils.d.ts +0 -15
- package/dist/src/cli/workspaceTui.d.ts +0 -44
- package/dist/src/client/hydrators/react.d.ts +0 -3
- package/dist/src/client/hydrators/svelte.d.ts +0 -2
- package/dist/src/client/hydrators/vue.d.ts +0 -2
- package/dist/src/client/index.d.ts +0 -4
- package/dist/src/client/islandResolver.d.ts +0 -2
- package/dist/src/client/islandRuntime.d.ts +0 -9
- package/dist/src/client/islandStore.d.ts +0 -22
- package/dist/src/client/preserveIslandMarkup.d.ts +0 -16
- package/dist/src/client/streamSwap.d.ts +0 -1
- package/dist/src/constants.d.ts +0 -96
- package/dist/src/core/angularServerModule.d.ts +0 -1
- package/dist/src/core/build.d.ts +0 -14
- package/dist/src/core/currentIslandRegistry.d.ts +0 -7
- package/dist/src/core/devBuild.d.ts +0 -23
- package/dist/src/core/devRouteRegistrationCallsite.d.ts +0 -4
- package/dist/src/core/devVendorPaths.d.ts +0 -17
- package/dist/src/core/index.d.ts +0 -7
- package/dist/src/core/islandManifest.d.ts +0 -3
- package/dist/src/core/islandMarkupAttributes.d.ts +0 -12
- package/dist/src/core/islandPageContext.d.ts +0 -12
- package/dist/src/core/islandSsr.d.ts +0 -6
- package/dist/src/core/islands.d.ts +0 -16
- package/dist/src/core/loadIslandRegistry.d.ts +0 -1
- package/dist/src/core/lookup.d.ts +0 -1
- package/dist/src/core/normalizeIslandProps.d.ts +0 -15
- package/dist/src/core/pageHandlers.d.ts +0 -5
- package/dist/src/core/prepare.d.ts +0 -417
- package/dist/src/core/prerender.d.ts +0 -31
- package/dist/src/core/renderIslandMarkup.d.ts +0 -13
- package/dist/src/core/responseEnhancers.d.ts +0 -10
- package/dist/src/core/staticStreaming.d.ts +0 -25
- package/dist/src/core/streamingSlotRegistrar.d.ts +0 -16
- package/dist/src/core/streamingSlotRegistry.d.ts +0 -2
- package/dist/src/core/streamingSlotWarningScope.d.ts +0 -4
- package/dist/src/core/svelteServerModule.d.ts +0 -1
- package/dist/src/core/vueServerModule.d.ts +0 -1
- package/dist/src/core/wrapPageHandlerWithStreamingSlots.d.ts +0 -2
- package/dist/src/dev/angular/fastHmrCompiler.d.ts +0 -58
- package/dist/src/dev/angular/hmrCompiler.d.ts +0 -2
- package/dist/src/dev/angular/hmrImportGenerator.d.ts +0 -3
- package/dist/src/dev/angular/hmrInjectionPlugin.d.ts +0 -8
- package/dist/src/dev/angular/resolveOwningComponents.d.ts +0 -16
- package/dist/src/dev/angular/vendor/translator/api/ast_factory.d.ts +0 -363
- package/dist/src/dev/angular/vendor/translator/api/import_generator.d.ts +0 -49
- package/dist/src/dev/angular/vendor/translator/context.d.ts +0 -18
- package/dist/src/dev/angular/vendor/translator/translator.d.ts +0 -75
- package/dist/src/dev/angular/vendor/translator/ts_util.d.ts +0 -12
- package/dist/src/dev/angular/vendor/translator/typescript_ast_factory.d.ts +0 -66
- package/dist/src/dev/angular/vendor/translator/typescript_translator.d.ts +0 -13
- package/dist/src/dev/assetStore.d.ts +0 -8
- package/dist/src/dev/buildHMRClient.d.ts +0 -1
- package/dist/src/dev/clientManager.d.ts +0 -33
- package/dist/src/dev/configResolver.d.ts +0 -16
- package/dist/src/dev/dependencyGraph.d.ts +0 -10
- package/dist/src/dev/devCert.d.ts +0 -11
- package/dist/src/dev/fileHashTracker.d.ts +0 -2
- package/dist/src/dev/fileWatcher.d.ts +0 -4
- package/dist/src/dev/moduleMapper.d.ts +0 -27
- package/dist/src/dev/moduleServer.d.ts +0 -24
- package/dist/src/dev/moduleVersionTracker.d.ts +0 -7
- package/dist/src/dev/pathUtils.d.ts +0 -8
- package/dist/src/dev/reactComponentClassifier.d.ts +0 -2
- package/dist/src/dev/rebuildTrigger.d.ts +0 -11
- package/dist/src/dev/requestInspector.d.ts +0 -43
- package/dist/src/dev/serverEntryWatcher.d.ts +0 -5
- package/dist/src/dev/simpleHTMLHMR.d.ts +0 -4
- package/dist/src/dev/simpleHTMXHMR.d.ts +0 -4
- package/dist/src/dev/transformCache.d.ts +0 -22
- package/dist/src/dev/tunnel/client.d.ts +0 -20
- package/dist/src/dev/tunnel/protocol.d.ts +0 -85
- package/dist/src/dev/tunnel/relay.d.ts +0 -28
- package/dist/src/dev/webSocket.d.ts +0 -9
- package/dist/src/ember/browser.d.ts +0 -24
- package/dist/src/ember/index.d.ts +0 -2
- package/dist/src/ember/pageHandler.d.ts +0 -35
- package/dist/src/ember/server.d.ts +0 -2
- package/dist/src/index.d.ts +0 -7
- package/dist/src/islands/browser.d.ts +0 -3
- package/dist/src/islands/index.d.ts +0 -3
- package/dist/src/islands/pageMetadata.d.ts +0 -13
- package/dist/src/islands/sourceMetadata.d.ts +0 -10
- package/dist/src/plugins/devtoolsJson.d.ts +0 -58
- package/dist/src/plugins/hmr.d.ts +0 -163
- package/dist/src/plugins/imageOptimizer.d.ts +0 -67
- package/dist/src/plugins/index.d.ts +0 -3
- package/dist/src/plugins/networking.d.ts +0 -2
- package/dist/src/plugins/pageRouter.d.ts +0 -1
- package/dist/src/react/Island.browser.d.ts +0 -2
- package/dist/src/react/Island.d.ts +0 -2
- package/dist/src/react/bridgeInternals.d.ts +0 -1
- package/dist/src/react/browser.d.ts +0 -3
- package/dist/src/react/components/Head.d.ts +0 -2
- package/dist/src/react/components/Image.d.ts +0 -2
- package/dist/src/react/components/JsonLd.d.ts +0 -4
- package/dist/src/react/components/StreamSlot.browser.d.ts +0 -10
- package/dist/src/react/components/StreamSlot.d.ts +0 -10
- package/dist/src/react/components/SuspenseSlot.browser.d.ts +0 -22
- package/dist/src/react/components/SuspenseSlot.d.ts +0 -37
- package/dist/src/react/components/browser/index.d.ts +0 -5
- package/dist/src/react/components/index.d.ts +0 -5
- package/dist/src/react/createIsland.browser.d.ts +0 -2
- package/dist/src/react/createIsland.d.ts +0 -2
- package/dist/src/react/hooks/index.d.ts +0 -3
- package/dist/src/react/hooks/useIslandStore.d.ts +0 -3
- package/dist/src/react/hooks/useMediaQuery.d.ts +0 -7
- package/dist/src/react/index.d.ts +0 -4
- package/dist/src/react/jsxDevRuntimeCompat.d.ts +0 -8
- package/dist/src/react/pageHandler.d.ts +0 -25
- package/dist/src/react/router/UniversalRouter.d.ts +0 -43
- package/dist/src/react/router/browser.d.ts +0 -2
- package/dist/src/react/router/index.d.ts +0 -2
- package/dist/src/react/server.d.ts +0 -1
- package/dist/src/react/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/svelte/browser.d.ts +0 -4
- package/dist/src/svelte/createIsland.browser.d.ts +0 -2
- package/dist/src/svelte/createIsland.d.ts +0 -2
- package/dist/src/svelte/index.d.ts +0 -6
- package/dist/src/svelte/islandStore.d.ts +0 -5
- package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +0 -4
- package/dist/src/svelte/lowerIslandSyntax.d.ts +0 -4
- package/dist/src/svelte/pageHandler.d.ts +0 -28
- package/dist/src/svelte/renderIsland.d.ts +0 -2
- package/dist/src/svelte/renderToPipeableStream.d.ts +0 -12
- package/dist/src/svelte/renderToReadableStream.d.ts +0 -14
- package/dist/src/svelte/renderToString.d.ts +0 -9
- package/dist/src/svelte/resolveIslandHtml.browser.d.ts +0 -2
- package/dist/src/svelte/resolveIslandHtml.d.ts +0 -2
- package/dist/src/svelte/router/browser.d.ts +0 -4
- package/dist/src/svelte/router/goto.d.ts +0 -15
- package/dist/src/svelte/router/hashMode.d.ts +0 -16
- package/dist/src/svelte/router/index.d.ts +0 -4
- package/dist/src/svelte/router/matchPath.d.ts +0 -30
- package/dist/src/svelte/router/page.svelte.d.ts +0 -15
- package/dist/src/svelte/router/prefetchCache.d.ts +0 -17
- package/dist/src/svelte/router/pushState.d.ts +0 -13
- package/dist/src/svelte/router/viewTransitions.d.ts +0 -6
- package/dist/src/svelte/server.d.ts +0 -1
- package/dist/src/svelte/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/utils/buildDirectoryLock.d.ts +0 -28
- package/dist/src/utils/cleanStaleOutputs.d.ts +0 -1
- package/dist/src/utils/cleanup.d.ts +0 -9
- package/dist/src/utils/commonAncestor.d.ts +0 -1
- package/dist/src/utils/defineConfig.d.ts +0 -39
- package/dist/src/utils/defineConvention.d.ts +0 -3
- package/dist/src/utils/defineEnv.d.ts +0 -10
- package/dist/src/utils/escapeScriptContent.d.ts +0 -1
- package/dist/src/utils/formatBytes.d.ts +0 -2
- package/dist/src/utils/generateHeadElement.d.ts +0 -4
- package/dist/src/utils/generateSitemap.d.ts +0 -21
- package/dist/src/utils/generatedDir.d.ts +0 -3
- package/dist/src/utils/getDurationString.d.ts +0 -1
- package/dist/src/utils/getEnv.d.ts +0 -1
- package/dist/src/utils/imageClient.d.ts +0 -13
- package/dist/src/utils/imageProcessing.d.ts +0 -33
- package/dist/src/utils/index.d.ts +0 -11
- package/dist/src/utils/inlinePageCss.d.ts +0 -2
- package/dist/src/utils/instanceRegistry.d.ts +0 -13
- package/dist/src/utils/jsonLd.d.ts +0 -3
- package/dist/src/utils/loadConfig.d.ts +0 -55
- package/dist/src/utils/logger.d.ts +0 -56
- package/dist/src/utils/networking.d.ts +0 -2
- package/dist/src/utils/normalizePath.d.ts +0 -9
- package/dist/src/utils/portScan.d.ts +0 -22
- package/dist/src/utils/projectRoot.d.ts +0 -17
- package/dist/src/utils/registerClientScript.d.ts +0 -36
- package/dist/src/utils/resolveConvention.d.ts +0 -10
- package/dist/src/utils/resolveDevPort.d.ts +0 -24
- package/dist/src/utils/runtimeMode.d.ts +0 -3
- package/dist/src/utils/spaRouteCss.d.ts +0 -4
- package/dist/src/utils/spaRouteTypes.d.ts +0 -25
- package/dist/src/utils/ssrErrorPage.d.ts +0 -1
- package/dist/src/utils/startupBanner.d.ts +0 -10
- package/dist/src/utils/startupTimings.d.ts +0 -7
- package/dist/src/utils/streamingSlotMetricSink.d.ts +0 -18
- package/dist/src/utils/streamingSlots.d.ts +0 -76
- package/dist/src/utils/stringModifiers.d.ts +0 -3
- package/dist/src/utils/userAgentFunctions.d.ts +0 -1
- package/dist/src/utils/validateSafePath.d.ts +0 -1
- package/dist/src/vue/Island.browser.d.ts +0 -37
- package/dist/src/vue/Island.d.ts +0 -36
- package/dist/src/vue/browser.d.ts +0 -6
- package/dist/src/vue/components/Image.d.ts +0 -74
- package/dist/src/vue/components/StreamSlot.d.ts +0 -22
- package/dist/src/vue/components/SuspenseSlot.d.ts +0 -26
- package/dist/src/vue/components/index.d.ts +0 -3
- package/dist/src/vue/createIsland.browser.d.ts +0 -13
- package/dist/src/vue/createIsland.d.ts +0 -13
- package/dist/src/vue/defineVuePage.d.ts +0 -6
- package/dist/src/vue/index.d.ts +0 -9
- package/dist/src/vue/pageHandler.d.ts +0 -45
- package/dist/src/vue/routerRedirectProviders.d.ts +0 -45
- package/dist/src/vue/server.d.ts +0 -2
- package/dist/src/vue/staticAnalyzeSpaRoutes.d.ts +0 -7
- package/dist/src/vue/useIslandStore.d.ts +0 -3
- package/dist/svelte/browser.js +0 -309
- package/dist/svelte/browser.js.map +0 -19
- package/dist/svelte/components/AwaitSlot.svelte +0 -39
- package/dist/svelte/components/AwaitSlot.svelte.d.ts +0 -2
- package/dist/svelte/components/Head.svelte +0 -144
- package/dist/svelte/components/Head.svelte.d.ts +0 -2
- package/dist/svelte/components/Image.svelte +0 -164
- package/dist/svelte/components/Image.svelte.d.ts +0 -5
- package/dist/svelte/components/Island.svelte +0 -71
- package/dist/svelte/components/Island.svelte.d.ts +0 -5
- package/dist/svelte/components/JsonLd.svelte +0 -21
- package/dist/svelte/components/JsonLd.svelte.d.ts +0 -2
- package/dist/svelte/components/StreamSlot.svelte +0 -41
- package/dist/svelte/components/StreamSlot.svelte.d.ts +0 -2
- package/dist/svelte/index.js +0 -4371
- package/dist/svelte/index.js.map +0 -60
- package/dist/svelte/router/Link.svelte +0 -124
- package/dist/svelte/router/Link.svelte.d.ts +0 -21
- package/dist/svelte/router/Route.svelte +0 -54
- package/dist/svelte/router/Route.svelte.d.ts +0 -13
- package/dist/svelte/router/Router.svelte +0 -189
- package/dist/svelte/router/Router.svelte.d.ts +0 -16
- package/dist/svelte/router/browser.ts +0 -14
- package/dist/svelte/router/goto.ts +0 -89
- package/dist/svelte/router/hashMode.ts +0 -31
- package/dist/svelte/router/index.ts +0 -23
- package/dist/svelte/router/matchPath.ts +0 -136
- package/dist/svelte/router/page.d.ts +0 -15
- package/dist/svelte/router/page.js +0 -27
- package/dist/svelte/router/prefetchCache.ts +0 -85
- package/dist/svelte/router/pushState.ts +0 -35
- package/dist/svelte/router/viewTransitions.ts +0 -35
- package/dist/svelte/server.js +0 -2996
- package/dist/svelte/server.js.map +0 -33
- package/dist/types/absoluteConfig.d.ts +0 -22
- package/dist/types/angular.d.ts +0 -43
- package/dist/types/build.d.ts +0 -245
- package/dist/types/cli.d.ts +0 -71
- package/dist/types/client.d.ts +0 -70
- package/dist/types/config.d.ts +0 -50
- package/dist/types/conventions.d.ts +0 -26
- package/dist/types/ember.d.ts +0 -39
- package/dist/types/env.d.ts +0 -2
- package/dist/types/eslintConfig.d.ts +0 -68
- package/dist/types/globals.d.ts +0 -163
- package/dist/types/image.d.ts +0 -77
- package/dist/types/index.d.ts +0 -17
- package/dist/types/island.d.ts +0 -52
- package/dist/types/jsonLd.d.ts +0 -300
- package/dist/types/mediaQuery.d.ts +0 -9
- package/dist/types/messages.d.ts +0 -152
- package/dist/types/metadata.d.ts +0 -51
- package/dist/types/packageJson.d.ts +0 -74
- package/dist/types/packageJsonPanel.d.ts +0 -29
- package/dist/types/prettier.d.ts +0 -26
- package/dist/types/react.d.ts +0 -2
- package/dist/types/sitemap.d.ts +0 -24
- package/dist/types/style-module-shim.d.ts +0 -29
- package/dist/types/svelte.d.ts +0 -2
- package/dist/types/svelteRouter.d.ts +0 -65
- package/dist/types/svelteRouter.ts +0 -91
- package/dist/types/telemetry.d.ts +0 -15
- package/dist/types/tool.d.ts +0 -11
- package/dist/types/tsconfig.d.ts +0 -31
- package/dist/types/typeGuards.d.ts +0 -2
- package/dist/types/userAgentTypes.d.ts +0 -2
- package/dist/types/vue.d.ts +0 -56
- package/dist/types/websocket.d.ts +0 -6
- package/dist/vue/browser.js +0 -512
- package/dist/vue/browser.js.map +0 -22
- package/dist/vue/components/Image.js +0 -264
- package/dist/vue/components/Image.js.map +0 -12
- package/dist/vue/components/index.js +0 -571
- package/dist/vue/components/index.js.map +0 -15
- package/dist/vue/index.js +0 -5238
- package/dist/vue/index.js.map +0 -69
- package/dist/vue/server.js +0 -2251
- package/dist/vue/server.js.map +0 -32
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { type AfterViewInit } from '@angular/core';
|
|
2
|
-
import { type AngularDeferSlotPayload } from './defer-slot-payload.js';
|
|
3
|
-
import { type DeferSlotTemplateContext, DeferErrorTemplateDirective, DeferFallbackTemplateDirective, DeferResolvedTemplateDirective } from './defer-slot-templates.directive.js';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
type DeferSlotResolver = () => Promise<AngularDeferSlotPayload>;
|
|
6
|
-
type DeferSlotState = 'error' | 'fallback' | 'resolved';
|
|
7
|
-
export declare class DeferSlotComponent implements AfterViewInit {
|
|
8
|
-
private readonly cdr;
|
|
9
|
-
private readonly runtimeReady;
|
|
10
|
-
private serverSlotRegistered;
|
|
11
|
-
className?: string;
|
|
12
|
-
id: string;
|
|
13
|
-
resolve?: DeferSlotResolver;
|
|
14
|
-
resolvedTemplate?: DeferResolvedTemplateDirective;
|
|
15
|
-
fallbackTemplate?: DeferFallbackTemplateDirective;
|
|
16
|
-
errorTemplate?: DeferErrorTemplateDirective;
|
|
17
|
-
readonly slotData: import("@angular/core").WritableSignal<Record<string, string>>;
|
|
18
|
-
readonly state: import("@angular/core").WritableSignal<DeferSlotState>;
|
|
19
|
-
readonly activeTemplate: () => import("@angular/core").TemplateRef<unknown> | null;
|
|
20
|
-
readonly templateContext: () => DeferSlotTemplateContext;
|
|
21
|
-
ngOnInit(): void;
|
|
22
|
-
ngAfterViewInit(): void;
|
|
23
|
-
ngOnDestroy(): void;
|
|
24
|
-
private registerServerSlot;
|
|
25
|
-
private applyPatchPayload;
|
|
26
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<DeferSlotComponent, never>;
|
|
27
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<DeferSlotComponent, "abs-defer-slot", never, { "className": { "alias": "className"; "required": false; }; "id": { "alias": "id"; "required": false; }; "resolve": { "alias": "resolve"; "required": false; }; }, {}, ["resolvedTemplate", "fallbackTemplate", "errorTemplate"], never, true, never>;
|
|
28
|
-
}
|
|
29
|
-
export {};
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import * as i0 from "@angular/core";
|
|
2
|
-
export declare class ImageComponent {
|
|
3
|
-
readonly alt: import("@angular/core").InputSignal<string>;
|
|
4
|
-
readonly blurDataURL: import("@angular/core").InputSignal<string | undefined>;
|
|
5
|
-
readonly className: import("@angular/core").InputSignal<string | undefined>;
|
|
6
|
-
readonly crossOrigin: import("@angular/core").InputSignal<"" | "anonymous" | "use-credentials" | undefined>;
|
|
7
|
-
readonly fetchPriority: import("@angular/core").InputSignal<"high" | "low" | "auto" | undefined>;
|
|
8
|
-
readonly fill: import("@angular/core").InputSignal<boolean>;
|
|
9
|
-
readonly height: import("@angular/core").InputSignal<number | undefined>;
|
|
10
|
-
readonly loader: import("@angular/core").InputSignal<((params: {
|
|
11
|
-
src: string;
|
|
12
|
-
width: number;
|
|
13
|
-
quality: number;
|
|
14
|
-
}) => string) | undefined>;
|
|
15
|
-
readonly loading: import("@angular/core").InputSignal<"lazy" | "eager">;
|
|
16
|
-
readonly onError: import("@angular/core").InputSignal<((event: Event) => void) | undefined>;
|
|
17
|
-
readonly onLoad: import("@angular/core").InputSignal<((event: Event) => void) | undefined>;
|
|
18
|
-
readonly overrideSrc: import("@angular/core").InputSignal<string | undefined>;
|
|
19
|
-
readonly placeholder: import("@angular/core").InputSignal<string>;
|
|
20
|
-
readonly priority: import("@angular/core").InputSignal<boolean>;
|
|
21
|
-
readonly quality: import("@angular/core").InputSignal<number>;
|
|
22
|
-
readonly referrerPolicy: import("@angular/core").InputSignal<string | undefined>;
|
|
23
|
-
readonly sizes: import("@angular/core").InputSignal<string | undefined>;
|
|
24
|
-
readonly src: import("@angular/core").InputSignal<string>;
|
|
25
|
-
readonly style: import("@angular/core").InputSignal<Record<string, string | number> | undefined>;
|
|
26
|
-
readonly unoptimized: import("@angular/core").InputSignal<boolean>;
|
|
27
|
-
readonly width: import("@angular/core").InputSignal<number | undefined>;
|
|
28
|
-
private readonly blurRemoved;
|
|
29
|
-
readonly resolvedSrc: import("@angular/core").Signal<string>;
|
|
30
|
-
readonly srcSet: import("@angular/core").Signal<any>;
|
|
31
|
-
readonly resolvedSrcSet: import("@angular/core").Signal<any>;
|
|
32
|
-
readonly resolvedSizes: import("@angular/core").Signal<string | null>;
|
|
33
|
-
readonly resolvedCrossOrigin: import("@angular/core").Signal<"" | "anonymous" | "use-credentials" | null>;
|
|
34
|
-
readonly resolvedReferrerPolicy: import("@angular/core").Signal<string | null>;
|
|
35
|
-
readonly resolvedLoading: import("@angular/core").Signal<"lazy" | "eager">;
|
|
36
|
-
readonly resolvedFetchPriority: import("@angular/core").Signal<"high" | "low" | "auto" | null>;
|
|
37
|
-
readonly imgStyle: import("@angular/core").Signal<Record<string, string | number>>;
|
|
38
|
-
handleLoad(event: Event): void;
|
|
39
|
-
handleError(event: Event): void;
|
|
40
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ImageComponent, never>;
|
|
41
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ImageComponent, "abs-image", never, { "alt": { "alias": "alt"; "required": true; "isSignal": true; }; "blurDataURL": { "alias": "blurDataURL"; "required": false; "isSignal": true; }; "className": { "alias": "className"; "required": false; "isSignal": true; }; "crossOrigin": { "alias": "crossOrigin"; "required": false; "isSignal": true; }; "fetchPriority": { "alias": "fetchPriority"; "required": false; "isSignal": true; }; "fill": { "alias": "fill"; "required": false; "isSignal": true; }; "height": { "alias": "height"; "required": false; "isSignal": true; }; "loader": { "alias": "loader"; "required": false; "isSignal": true; }; "loading": { "alias": "loading"; "required": false; "isSignal": true; }; "onError": { "alias": "onError"; "required": false; "isSignal": true; }; "onLoad": { "alias": "onLoad"; "required": false; "isSignal": true; }; "overrideSrc": { "alias": "overrideSrc"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "priority": { "alias": "priority"; "required": false; "isSignal": true; }; "quality": { "alias": "quality"; "required": false; "isSignal": true; }; "referrerPolicy": { "alias": "referrerPolicy"; "required": false; "isSignal": true; }; "sizes": { "alias": "sizes"; "required": false; "isSignal": true; }; "src": { "alias": "src"; "required": true; "isSignal": true; }; "style": { "alias": "style"; "required": false; "isSignal": true; }; "unoptimized": { "alias": "unoptimized"; "required": false; "isSignal": true; }; "width": { "alias": "width"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
|
|
42
|
-
}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { DeferSlotComponent } from './defer-slot.component.js';
|
|
2
|
-
export { DeferErrorTemplateDirective, DeferFallbackTemplateDirective, DeferResolvedTemplateDirective } from './defer-slot-templates.directive.js';
|
|
3
|
-
export { ImageComponent } from './image.component.js';
|
|
4
|
-
export { StreamSlotComponent } from './stream-slot.component.js';
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { type SafeHtml } from '@angular/platform-browser';
|
|
2
|
-
import * as i0 from "@angular/core";
|
|
3
|
-
type SlotResolver = () => Promise<string> | string;
|
|
4
|
-
export declare class StreamSlotComponent {
|
|
5
|
-
private readonly cdr;
|
|
6
|
-
private readonly sanitizer;
|
|
7
|
-
private readonly slotConsumer;
|
|
8
|
-
className?: string;
|
|
9
|
-
errorHtml?: string;
|
|
10
|
-
fallbackHtml: string;
|
|
11
|
-
id: string;
|
|
12
|
-
resolve: SlotResolver;
|
|
13
|
-
timeoutMs?: number;
|
|
14
|
-
readonly currentHtml: import("@angular/core").WritableSignal<string | SafeHtml>;
|
|
15
|
-
ngOnInit(): void;
|
|
16
|
-
ngOnDestroy(): void;
|
|
17
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StreamSlotComponent, never>;
|
|
18
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StreamSlotComponent, "abs-stream-slot", never, { "className": { "alias": "className"; "required": false; }; "errorHtml": { "alias": "errorHtml"; "required": false; }; "fallbackHtml": { "alias": "fallbackHtml"; "required": false; }; "id": { "alias": "id"; "required": true; }; "resolve": { "alias": "resolve"; "required": true; }; "timeoutMs": { "alias": "timeoutMs"; "required": false; }; }, {}, never, never, true, never>;
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { usePageContext } from './usePageContext';
|
|
2
|
-
export { useResource } from './useResource';
|
|
3
|
-
export type { Resource, ResourceFetcher, ResourceMutator, ResourceOptions, ResourceStart } from './useResource';
|
|
4
|
-
export { useSubscription } from './useSubscription';
|
|
5
|
-
export type { Observer } from './useSubscription';
|
|
6
|
-
export { useTimers } from './useTimers';
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/** Typed accessor for the per-request context object the backend handler
|
|
2
|
-
* passed via `requestContext`. AbsoluteJS provides it through Angular's
|
|
3
|
-
* standard `REQUEST_CONTEXT` token on both SSR and client hydration, so
|
|
4
|
-
* the value is identical across both phases.
|
|
5
|
-
*
|
|
6
|
-
* `REQUEST_CONTEXT`'s value type is `unknown` upstream, which is correct
|
|
7
|
-
* for a token that can carry anything. Pages know the shape they expect,
|
|
8
|
-
* so this composable takes a generic parameter the caller fills in.
|
|
9
|
-
* Type-safety is enforced at the call site in the backend handler
|
|
10
|
-
* (`handleAngularPageRequest<Ctx>({ requestContext: Ctx })`) — the
|
|
11
|
-
* generic on both sides has to agree for the program to compile, so
|
|
12
|
-
* the cast inside this composable can't go out of sync with reality.
|
|
13
|
-
*
|
|
14
|
-
* Must be called in an Angular injection context (component
|
|
15
|
-
* constructor, field initializer, or `runInInjectionContext`). */
|
|
16
|
-
export declare const usePageContext: <T>() => T;
|
|
@@ -1,57 +0,0 @@
|
|
|
1
|
-
import { type Signal } from '@angular/core';
|
|
2
|
-
export type ResourceFetcher<T> = (signal: AbortSignal) => Promise<T>;
|
|
3
|
-
/** Controls the resource's startup behavior.
|
|
4
|
-
*
|
|
5
|
-
* - `'immediate'` (default) — fire the fetcher synchronously at creation;
|
|
6
|
-
* `loading()` starts `true`.
|
|
7
|
-
* - `'pending'` — don't fire the fetcher yet, but render as if a fetch is
|
|
8
|
-
* coming: `loading()` starts `true`. Pair with a manual `refresh()` call
|
|
9
|
-
* from `ngOnInit` (or wherever the dependencies become available). Use
|
|
10
|
-
* this when the fetcher depends on state set after construction (e.g. a
|
|
11
|
-
* route param assigned by the page factory) — it avoids the blank-frame
|
|
12
|
-
* flash you'd get from `'idle'`.
|
|
13
|
-
* - `'idle'` — don't fire the fetcher and don't pretend you will:
|
|
14
|
-
* `loading()` starts `false`. The resource is dormant until `refresh()`
|
|
15
|
-
* or `mutate()` is called.
|
|
16
|
-
*/
|
|
17
|
-
export type ResourceStart = 'immediate' | 'pending' | 'idle';
|
|
18
|
-
export type ResourceOptions = {
|
|
19
|
-
/** When and how the fetcher fires on creation. Default: `'immediate'`. */
|
|
20
|
-
start?: ResourceStart;
|
|
21
|
-
};
|
|
22
|
-
export type ResourceMutator<T> = T | null | ((prev: T | null) => T | null);
|
|
23
|
-
export type Resource<T> = {
|
|
24
|
-
/** Latest resolved value, or `null` before the first successful load. */
|
|
25
|
-
data: Signal<T | null>;
|
|
26
|
-
/** Latest rejection reason, or `null` when the resource is healthy. */
|
|
27
|
-
error: Signal<unknown>;
|
|
28
|
-
/** True while a fetch is in flight, or when `start: 'pending'` was set
|
|
29
|
-
* and `refresh()` hasn't been called yet. */
|
|
30
|
-
loading: Signal<boolean>;
|
|
31
|
-
/** Re-runs the fetcher. Any in-flight request is aborted first. */
|
|
32
|
-
refresh: () => Promise<void>;
|
|
33
|
-
/** Aborts the in-flight request, if any. No-op otherwise. */
|
|
34
|
-
cancel: () => void;
|
|
35
|
-
/** Imperatively write the data signal without re-fetching. Accepts a
|
|
36
|
-
* new value or an updater function. Use after an edit action returns
|
|
37
|
-
* the new entity, so you avoid a wasteful re-fetch. Pending fetches
|
|
38
|
-
* are aborted so a slower response can't clobber the mutation. */
|
|
39
|
-
mutate: (next: ResourceMutator<T>) => void;
|
|
40
|
-
};
|
|
41
|
-
/** Signal-backed async data composable. Replaces the React
|
|
42
|
-
* `useEffect(() => { fetch(); }, [])` + `useState` pair with a single
|
|
43
|
-
* call that's safe in zoneless Angular (the signals it returns trigger
|
|
44
|
-
* change detection automatically when consumed in a template).
|
|
45
|
-
*
|
|
46
|
-
* ```ts
|
|
47
|
-
* const profile = useResource(() => api.profile.me.get());
|
|
48
|
-
*
|
|
49
|
-
* // in template:
|
|
50
|
-
* // @if (profile.loading()) { … }
|
|
51
|
-
* // @if (profile.data(); as data) { {{ data.name }} }
|
|
52
|
-
* ```
|
|
53
|
-
*
|
|
54
|
-
* The fetcher receives an `AbortSignal` it can pass to `fetch` — the
|
|
55
|
-
* signal aborts on component destroy or on a new `refresh()` call.
|
|
56
|
-
* Must be called in an injection context. */
|
|
57
|
-
export declare const useResource: <T>(fetcher: ResourceFetcher<T>, options?: ResourceOptions) => Resource<T>;
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { DestroyRef } from '@angular/core';
|
|
2
|
-
import type { Observable, Subscription } from 'rxjs';
|
|
3
|
-
export type Observer<T> = {
|
|
4
|
-
next?: (value: T) => void;
|
|
5
|
-
error?: (err: unknown) => void;
|
|
6
|
-
complete?: () => void;
|
|
7
|
-
};
|
|
8
|
-
/** Subscribe to an Observable with automatic teardown when the host
|
|
9
|
-
* component is destroyed. Equivalent to
|
|
10
|
-
* `observable.pipe(takeUntilDestroyed(destroyRef)).subscribe(observer)`,
|
|
11
|
-
* collapsed into one call so consumers can't forget the cleanup
|
|
12
|
-
* operator (the most common Angular memory-leak source).
|
|
13
|
-
*
|
|
14
|
-
* `inject(DestroyRef)` is only legal in an Angular injection context
|
|
15
|
-
* (constructor, field initializer, factory,
|
|
16
|
-
* `runInInjectionContext`). Calling `useSubscription` without a
|
|
17
|
-
* captured `DestroyRef` from `ngOnInit` or any other lifecycle hook
|
|
18
|
-
* will throw `NG0203`. For those call sites, capture the ref once in
|
|
19
|
-
* a field initializer (`private destroyRef = inject(DestroyRef);`)
|
|
20
|
-
* and pass it as the third argument:
|
|
21
|
-
*
|
|
22
|
-
* ```ts
|
|
23
|
-
* ngOnInit() {
|
|
24
|
-
* useSubscription(this.events$, (event) => { ... }, this.destroyRef);
|
|
25
|
-
* }
|
|
26
|
-
* ```
|
|
27
|
-
*
|
|
28
|
-
* Note: this composable handles teardown only — it does not trigger
|
|
29
|
-
* change detection on emissions. If the observer mutates state that
|
|
30
|
-
* drives the template, store that state in a `signal()` so updates
|
|
31
|
-
* propagate in zoneless Angular. */
|
|
32
|
-
export declare function useSubscription<T>(observable: Observable<T>, next: (value: T) => void, destroyRef?: DestroyRef): Subscription;
|
|
33
|
-
export declare function useSubscription<T>(observable: Observable<T>, observer: Observer<T>, destroyRef?: DestroyRef): Subscription;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
/** Component-scoped `setTimeout` / `setInterval` with automatic cleanup
|
|
2
|
-
* on `DestroyRef.onDestroy`. Use instead of raw `setTimeout` so timers
|
|
3
|
-
* scheduled by a component never outlive it.
|
|
4
|
-
*
|
|
5
|
-
* Must be called in an Angular injection context (component constructor,
|
|
6
|
-
* field initializer, or `runInInjectionContext`).
|
|
7
|
-
*
|
|
8
|
-
* Note: this composable just manages timers — it does not trigger change
|
|
9
|
-
* detection. If the timer callback mutates state that drives the template,
|
|
10
|
-
* store that state in a `signal()` so the update propagates in zoneless
|
|
11
|
-
* Angular. See the absolutejs docs on zoneless change detection. */
|
|
12
|
-
export declare const useTimers: () => {
|
|
13
|
-
clearAll: () => void;
|
|
14
|
-
clearInterval(timer: ReturnType<typeof setInterval> | null | undefined): void;
|
|
15
|
-
clearTimeout(timer: ReturnType<typeof setTimeout> | null | undefined): void;
|
|
16
|
-
setInterval(callback: () => void, delayMs: number): NodeJS.Timeout;
|
|
17
|
-
setTimeout(callback: () => void, delayMs: number): NodeJS.Timeout;
|
|
18
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
export type DeterministicRandom = () => number;
|
|
3
|
-
export type DeterministicEnvOptions = {
|
|
4
|
-
now?: Date | number | string;
|
|
5
|
-
seed?: number | string;
|
|
6
|
-
};
|
|
7
|
-
export declare const DETERMINISTIC_NOW: InjectionToken<number>;
|
|
8
|
-
export declare const DETERMINISTIC_RANDOM: InjectionToken<DeterministicRandom>;
|
|
9
|
-
export declare const DETERMINISTIC_SEED: InjectionToken<string>;
|
|
10
|
-
export declare const createDeterministicRandom: (seed?: number | string) => () => number;
|
|
11
|
-
export declare const provideDeterministicEnv: (options?: DeterministicEnvOptions) => ({
|
|
12
|
-
provide: InjectionToken<string>;
|
|
13
|
-
useValue: string;
|
|
14
|
-
deps?: undefined;
|
|
15
|
-
useFactory?: undefined;
|
|
16
|
-
} | {
|
|
17
|
-
provide: InjectionToken<number>;
|
|
18
|
-
useValue: number;
|
|
19
|
-
deps?: undefined;
|
|
20
|
-
useFactory?: undefined;
|
|
21
|
-
} | {
|
|
22
|
-
deps: InjectionToken<string>[];
|
|
23
|
-
provide: InjectionToken<DeterministicRandom>;
|
|
24
|
-
useFactory: (seed?: number | string) => () => number;
|
|
25
|
-
useValue?: undefined;
|
|
26
|
-
})[];
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
export type StateCache = Map<string, Record<string, unknown>>;
|
|
2
|
-
export type InstanceTracker = Set<WeakRef<object>>;
|
|
3
|
-
export type InstanceKeyMap = WeakMap<object, string>;
|
|
4
|
-
export type RebootFlag = {
|
|
5
|
-
value: boolean;
|
|
6
|
-
};
|
|
7
|
-
export type RebootStats = {
|
|
8
|
-
captured: number;
|
|
9
|
-
restoredKeys: Set<string>;
|
|
10
|
-
};
|
|
11
|
-
export declare const buildCacheKey: (instance: object, key?: unknown) => string | null;
|
|
12
|
-
export declare const captureTrackedInstanceStates: () => void;
|
|
13
|
-
export declare const endHmrReboot: () => void;
|
|
14
|
-
export declare const getCache: () => Map<any, any>;
|
|
15
|
-
export declare const getKeyMap: () => InstanceKeyMap;
|
|
16
|
-
export declare const getRebootFlag: () => RebootFlag;
|
|
17
|
-
export declare const getRebootStats: () => RebootStats;
|
|
18
|
-
export declare const getTracker: () => InstanceTracker;
|
|
19
|
-
export declare const isHmrPreserveDev: () => boolean;
|
|
20
|
-
export declare const isPreservable: (value: unknown, depth?: number) => boolean;
|
|
21
|
-
export declare const restoreFromCacheCore: (instance: object, key: string) => boolean;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { HttpTransferCacheOptions } from '@angular/common/http';
|
|
2
|
-
export declare const ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER = "x-skip-transfer-cache";
|
|
3
|
-
export type AbsoluteHttpTransferCacheOptions = Omit<HttpTransferCacheOptions, 'filter'> & {
|
|
4
|
-
filter?: NonNullable<HttpTransferCacheOptions['filter']>;
|
|
5
|
-
skipHeader?: string;
|
|
6
|
-
};
|
|
7
|
-
export declare const buildAbsoluteHttpTransferCacheOptions: (options?: AbsoluteHttpTransferCacheOptions) => {
|
|
8
|
-
filter: (request: import("@angular/common/http").HttpRequest<unknown>) => boolean;
|
|
9
|
-
includeHeaders?: string[] | undefined;
|
|
10
|
-
includePostRequests: boolean;
|
|
11
|
-
includeRequestsWithAuthHeaders: boolean;
|
|
12
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import '@angular/compiler';
|
|
2
|
-
export { ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER, buildAbsoluteHttpTransferCacheOptions } from './httpTransferCache';
|
|
3
|
-
export { createDeterministicRandom, DETERMINISTIC_NOW, DETERMINISTIC_RANDOM, DETERMINISTIC_SEED, provideDeterministicEnv } from './deterministicEnv';
|
|
4
|
-
export { handleAngularPageRequest } from './pageHandler';
|
|
5
|
-
export { usePageContext, useResource, useSubscription, useTimers } from './composables';
|
|
6
|
-
export type { Observer, Resource, ResourceFetcher, ResourceMutator, ResourceOptions, ResourceStart } from './composables';
|
|
7
|
-
export { preserveAcrossHmr } from './preserveAcrossHmr';
|
|
8
|
-
export { withPendingTask } from './pendingTask';
|
|
9
|
-
export { createTypedIsland } from './createIsland';
|
|
10
|
-
export { getCachedRouteData } from './ssrRender';
|
|
11
|
-
export { Island } from './Island';
|
|
12
|
-
export { IslandStore } from './islandStore';
|
|
13
|
-
export { renderIsland } from './renderIsland';
|
|
14
|
-
export { StreamSlotComponent } from './components/stream-slot.component';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const patchAngularCompilerFacade: () => void;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import type { StoreApi } from 'zustand/vanilla';
|
|
3
|
-
import { type IslandStoreState } from '../client/islandStore';
|
|
4
|
-
declare class IslandStoreImpl {
|
|
5
|
-
get<TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected): TSelected;
|
|
6
|
-
select<TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected): Observable<TSelected>;
|
|
7
|
-
}
|
|
8
|
-
export declare const IslandStore: typeof IslandStoreImpl;
|
|
9
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export declare const getAngularIslandSelector: (_islandId: string) => string;
|
|
2
|
-
export declare const isAngularComponent: (value: unknown) => value is import("@angular/core").Type<object>;
|
|
3
|
-
export declare const mountAngularIsland: <Props extends Record<string, unknown>>(component: import("@angular/core").Type<object>, element: HTMLElement, props: Props, islandId: string) => Promise<import("@angular/core").ApplicationRef>;
|
|
4
|
-
export declare const renderAngularIslandToHtml: <Props extends Record<string, unknown>>(component: import("@angular/core").Type<object>, props: Props, islandId: string) => Promise<string>;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export type LoweredAngularDeferSlot = {
|
|
2
|
-
delayMs: number;
|
|
3
|
-
errorHtml: string | null;
|
|
4
|
-
fallbackHtml: string;
|
|
5
|
-
id: string;
|
|
6
|
-
resolvedBindings: Array<{
|
|
7
|
-
expression: string;
|
|
8
|
-
key: string;
|
|
9
|
-
}>;
|
|
10
|
-
resolvedHtml: string;
|
|
11
|
-
resolvedTemplate: string;
|
|
12
|
-
};
|
|
13
|
-
export type LoweredAngularDeferResult = {
|
|
14
|
-
slots: LoweredAngularDeferSlot[];
|
|
15
|
-
template: string;
|
|
16
|
-
transformed: boolean;
|
|
17
|
-
};
|
|
18
|
-
export declare const lowerAngularDeferSyntax: (template: string) => LoweredAngularDeferResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const lowerAngularServerIslands: (html: string) => Promise<string>;
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import type { EnvironmentProviders, Provider } from '@angular/core';
|
|
2
|
-
import { type StreamingSlotEnhancerOptions } from '../core/responseEnhancers';
|
|
3
|
-
type AngularPageRenderOptions = StreamingSlotEnhancerOptions & {
|
|
4
|
-
collectStreamingSlots?: boolean;
|
|
5
|
-
};
|
|
6
|
-
/** True when the request-context type has no required keys — used to
|
|
7
|
-
* flip the `requestContext` argument between required and optional.
|
|
8
|
-
* Pages whose `Context` has only optional fields (or where the caller
|
|
9
|
-
* passes no generic at all) can omit `requestContext`. */
|
|
10
|
-
type HasNoRequiredContextKeys<Ctx> = keyof Ctx extends never ? true : Partial<Ctx> extends Ctx ? true : false;
|
|
11
|
-
export type AngularPageRequestInput<Ctx = unknown> = AngularPageRenderOptions & {
|
|
12
|
-
headTag?: `<head>${string}</head>`;
|
|
13
|
-
indexPath: string;
|
|
14
|
-
pagePath: string;
|
|
15
|
-
/** The incoming request. When provided, its URL is forwarded to
|
|
16
|
-
* Angular's `renderApplication`, so `LocationStrategy.path()` and
|
|
17
|
-
* Angular Router both see the real URL instead of `/`. Without it,
|
|
18
|
-
* Router-based pages can't match anything but the root route. */
|
|
19
|
-
request?: Request;
|
|
20
|
-
/** Mutable response init made available through Angular's RESPONSE_INIT token. */
|
|
21
|
-
responseInit?: ResponseInit;
|
|
22
|
-
/** Extra per-request providers merged in on top of the page
|
|
23
|
-
* module's bundled providers (`appProviders` + `provideRouter` +
|
|
24
|
-
* `APP_BASE_HREF`) at SSR bootstrap. Use for handler-scoped DI
|
|
25
|
-
* values that depend on the request — e.g. a tenant-specific
|
|
26
|
-
* feature-flag service, a per-request HTTP interceptor token,
|
|
27
|
-
* or test-only overrides. The same Angular module instance is
|
|
28
|
-
* shared (the backend resolves `@angular/core` through the same
|
|
29
|
-
* `node_modules` Bun cache key as the rebuilt page bundle), so
|
|
30
|
-
* tokens declared here interop with the bundled providers.
|
|
31
|
-
*
|
|
32
|
-
* **SSR-only.** The browser bundle doesn't see these — the
|
|
33
|
-
* client picks up only the providers baked into the page
|
|
34
|
-
* module. If the same provider must run on both sides, add it
|
|
35
|
-
* to `absolute.config.ts > angular.providers` instead. */
|
|
36
|
-
providers?: ReadonlyArray<Provider | EnvironmentProviders>;
|
|
37
|
-
/** Sitemap metadata for this route. Statically read from the handler
|
|
38
|
-
* source at registration time, so only literal-object values are
|
|
39
|
-
* honoured. For finer control use `Route.data.sitemap` in the
|
|
40
|
-
* page's `Routes` config, or `sitemap.overrides` in `absolute.config.ts`. */
|
|
41
|
-
sitemap?: import('../../types/sitemap').PageHandlerSitemapMetadata;
|
|
42
|
-
} & (HasNoRequiredContextKeys<Ctx> extends true ? {
|
|
43
|
-
requestContext?: NoInfer<Ctx>;
|
|
44
|
-
} : {
|
|
45
|
-
requestContext: NoInfer<Ctx>;
|
|
46
|
-
});
|
|
47
|
-
export declare const handleAngularPageRequest: <Page = unknown>(input: AngularPageRequestInput<Page>) => Promise<Response>;
|
|
48
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const withPendingTask: <Value>(work: () => Promise<Value>) => Promise<Value>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/** Mark a service or component instance for state preservation across
|
|
2
|
-
* full Angular HMR re-bootstraps. Call once from the constructor or
|
|
3
|
-
* `ngOnInit`. Safe in production (no-op outside dev mode).
|
|
4
|
-
*
|
|
5
|
-
* @param instance Usually `this`. The class name is used as part of
|
|
6
|
-
* the cache key.
|
|
7
|
-
* @param key Optional discriminator when multiple instances of the
|
|
8
|
-
* same class can be alive at once (rows, tabs, etc). Coerced
|
|
9
|
-
* to string. Use `ngOnInit` to call this when the key depends
|
|
10
|
-
* on `@Input` values, since Angular sets inputs between
|
|
11
|
-
* constructor and ngOnInit. */
|
|
12
|
-
export declare const preserveAcrossHmr: (instance: object, key?: string | number) => void;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import type { AngularDeps } from '../../types/angular';
|
|
2
|
-
export declare const buildRequestProviders: (deps: AngularDeps, request: Request | undefined, requestContext: unknown, responseInit: ResponseInit | undefined) => {
|
|
3
|
-
provide: import("@angular/core").InjectionToken<unknown>;
|
|
4
|
-
useValue: {} | null;
|
|
5
|
-
}[];
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Resolve Angular package paths from the compiled runtime node_modules first,
|
|
3
|
-
* then the app's process.cwd()/node_modules, falling back to the bare specifier.
|
|
4
|
-
* This prevents Bun's baked import.meta.dir from resolving Angular packages
|
|
5
|
-
* from the absolutejs source tree instead of the consumer's project when
|
|
6
|
-
* running from a published npm package.
|
|
7
|
-
*/
|
|
8
|
-
export declare const resolveAngularPackageDir: (specifier: string) => string | null;
|
|
9
|
-
export declare const resolveAngularPackage: (specifier: string) => string;
|
|
10
|
-
/** Prefer the linked Bun-target vendor file built by
|
|
11
|
-
* `buildAngularServerVendor`. The file is at
|
|
12
|
-
* `<ABSOLUTE_BUILD_DIR>/angular/vendor/server/<safe>.js`, which is what every
|
|
13
|
-
* server bundle's `@angular/*` imports get rewritten to point at. Sharing
|
|
14
|
-
* this path keeps SSR's class identity unified — the dual-package hazard
|
|
15
|
-
* that produces NG0201 only appears when the runtime imports a *different*
|
|
16
|
-
* copy from the bundles. Falls back to `resolveAngularPackage` (node_modules)
|
|
17
|
-
* when no vendor file is available — e.g. running tests outside an
|
|
18
|
-
* absolutejs build, or before the vendor pass completes. */
|
|
19
|
-
export declare const resolveAngularRuntimePath: (specifier: string) => string;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { AngularDeps } from '../../types/angular';
|
|
2
|
-
export declare const buildRouterRedirectProviders: (deps: AngularDeps, responseInit: ResponseInit | undefined) => Promise<{
|
|
3
|
-
multi: true;
|
|
4
|
-
provide: import("@angular/core").InjectionToken<readonly (() => void)[]>;
|
|
5
|
-
useValue: () => void;
|
|
6
|
-
}[]>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
export { ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER, buildAbsoluteHttpTransferCacheOptions } from './httpTransferCache';
|
|
2
|
-
export { createDeterministicRandom, DETERMINISTIC_NOW, DETERMINISTIC_RANDOM, DETERMINISTIC_SEED, provideDeterministicEnv } from './deterministicEnv';
|
|
3
|
-
export { handleAngularPageRequest } from './pageHandler';
|
|
4
|
-
export { withPendingTask } from './pendingTask';
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { EnvironmentProviders, Provider, Type } from '@angular/core';
|
|
2
|
-
import type { AngularDeps, CachedRouteData } from '../../types/angular';
|
|
3
|
-
export declare const cacheRouteData: (pagePath: string, data: CachedRouteData) => void;
|
|
4
|
-
export declare const getCachedRouteData: (pagePath: string) => CachedRouteData | undefined;
|
|
5
|
-
export declare const buildProviders: (deps: AngularDeps, sanitizer: InstanceType<AngularDeps["DomSanitizer"]>, request: Request | undefined, requestContext: unknown, responseInit: ResponseInit | undefined, userProviders?: ReadonlyArray<Provider | EnvironmentProviders>) => ({
|
|
6
|
-
provide: import("@angular/core").InjectionToken<unknown>;
|
|
7
|
-
useValue: {} | null;
|
|
8
|
-
} | Provider | EnvironmentProviders)[];
|
|
9
|
-
export declare const clearSelectorCache: () => void;
|
|
10
|
-
export declare const resolveSelector: (deps: AngularDeps, pagePath: string, PageComponent: Type<unknown>) => string;
|
|
11
|
-
export declare const injectSsrScripts: (html: string, requestId: string, indexPath: string, requestContext?: unknown) => string;
|
|
12
|
-
export declare const renderAngularApp: (deps: AngularDeps, PageComponent: Type<unknown>, providers: (Provider | EnvironmentProviders)[], document: string | Document, url?: string) => Promise<string>;
|
|
13
|
-
export declare const withSuppressedAngularDevLogs: <T>(render: () => Promise<T>) => Promise<T>;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SpaHost } from '../utils/spaRouteTypes';
|
|
2
|
-
/** Statically scan an Angular page-source directory for SPA hosts —
|
|
3
|
-
* files that both import `APP_BASE_HREF`/`provideRouter` and declare
|
|
4
|
-
* an `APP_BASE_HREF` provider plus a literal `Routes` array. Returns
|
|
5
|
-
* one entry per host with the mount path and leaf routes. Does not
|
|
6
|
-
* load or execute user code. */
|
|
7
|
-
export declare const analyzeAngularSpaRoutes: (angularDirectory: string) => Promise<SpaHost[]>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import type { BunPlugin } from 'bun';
|
|
2
|
-
export declare const ANGULAR_LINKER_CANDIDATE_RE: RegExp;
|
|
3
|
-
/**
|
|
4
|
-
* Bun bundler plugin that runs the Angular Linker on partially compiled
|
|
5
|
-
* Angular libraries at build time. Converts ɵɵngDeclare* declarations
|
|
6
|
-
* into fully linked code.
|
|
7
|
-
*
|
|
8
|
-
* The `linkerJitMode` flag controls whether NgModule definitions retain
|
|
9
|
-
* `declarations`/`exports` (JIT-mode, required when consumer code is
|
|
10
|
-
* runtime-compiled) or strip them (AOT-mode, smaller output but only
|
|
11
|
-
* correct when consumer components have ɵcmp.dependencies baked in by
|
|
12
|
-
* the Angular compiler-cli).
|
|
13
|
-
*
|
|
14
|
-
* In AbsoluteJS dev/HMR, user components are TypeScript-transpiled via
|
|
15
|
-
* `compileAngularFileJIT` and rely on @angular/compiler at runtime —
|
|
16
|
-
* that runtime JIT path reads `NgModule.ɵmod.declarations` to find
|
|
17
|
-
* directives like FormGroupDirective. Linking vendor code in AOT mode
|
|
18
|
-
* (the default) silently breaks dev because declarations get stripped
|
|
19
|
-
* and runtime JIT then can't resolve `[formGroup]`, `[ngIf]`, etc. So
|
|
20
|
-
* dev/HMR builds must use `linkerJitMode: true`. Production AOT builds
|
|
21
|
-
* use `linkerJitMode: false` (matches AOT'd user components).
|
|
22
|
-
*
|
|
23
|
-
* Cache key includes mode so dev and prod artifacts don't collide.
|
|
24
|
-
*/
|
|
25
|
-
export declare const createAngularLinkerPlugin: (linkerJitMode: boolean) => BunPlugin;
|
|
26
|
-
/** Default AOT-mode plugin instance — keep for callers that don't need
|
|
27
|
-
* to choose. Production AOT builds and any callsite that AOT-compiles
|
|
28
|
-
* user components alongside vendor should use this. */
|
|
29
|
-
export declare const angularLinkerPlugin: BunPlugin;
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
/** Build vendor bundles for every @angular/* package the project imports.
|
|
2
|
-
* `linkerJitMode` controls whether NgModule definitions retain their
|
|
3
|
-
* declarations/exports — required when consumer (user) components are
|
|
4
|
-
* runtime-compiled by `@angular/compiler` (dev/HMR via compileAngularFileJIT).
|
|
5
|
-
* Production AOT builds set this to false to match AOT'd user components.
|
|
6
|
-
*
|
|
7
|
-
* `depVendorSpecifiers` are non-framework packages that are also vendored
|
|
8
|
-
* separately (by `buildDepVendor`). They MUST be externalized here too —
|
|
9
|
-
* otherwise transitive imports like `@angular/fire/compat/auth` →
|
|
10
|
-
* `firebase/compat/auth` get bundled twice, creating duplicate
|
|
11
|
-
* @firebase/app-compat instances. The angular-vendor copy registers
|
|
12
|
-
* `firebase.auth.*` on its own firebase singleton, leaving the user's
|
|
13
|
-
* `import firebase from 'firebase/compat/app'` with `firebase.auth` undefined.
|
|
14
|
-
* Externalizing forces both pipelines to share the same /vendor chunks. */
|
|
15
|
-
export declare const buildAngularVendor: (buildDir: string, directories?: string[], linkerJitMode?: boolean, depVendorSpecifiers?: string[]) => Promise<string[]>;
|
|
16
|
-
export declare const computeAngularVendorPaths: (specifiers?: string[]) => Record<string, string>;
|
|
17
|
-
/** Async variant that scans source + transitive deps before producing the
|
|
18
|
-
* vendor path map. Use this when the page-bundle build needs the full set of
|
|
19
|
-
* angular specs in its rewrite map (otherwise transitively-discovered subpaths
|
|
20
|
-
* like `@angular/core/rxjs-interop` end up as bare specifiers in the output). */
|
|
21
|
-
export declare const computeAngularVendorPathsAsync: (directories?: string[], linkerJitMode?: boolean) => Promise<Record<string, string>>;
|
|
22
|
-
/** Server-side counterpart to `buildAngularVendor`. Outputs fully-linked
|
|
23
|
-
* Bun-target ESM bundles for every @angular/* package the project uses,
|
|
24
|
-
* *plus* `@angular/platform-server` and `@angular/ssr` (excluded from the
|
|
25
|
-
* browser vendor). The server bundle and `getAngularDeps()` import from
|
|
26
|
-
* these paths so SSR shares one Angular runtime instance with the page
|
|
27
|
-
* bundles — eliminates the dual-package hazard that produces NG0201.
|
|
28
|
-
*
|
|
29
|
-
* After this build, `@angular/compiler` is no longer required at runtime
|
|
30
|
-
* for AOT-mode builds: every partial `ɵɵngDeclare*` has been linked into
|
|
31
|
-
* final ɵdir/ɵcmp/ɵfac definitions in the vendor output. */
|
|
32
|
-
export declare const buildAngularServerVendor: (buildDir: string, directories?: string[], linkerJitMode?: boolean) => Promise<string[]>;
|
|
33
|
-
/** Absolute filesystem paths to server vendor files, for `rewriteImports`
|
|
34
|
-
* on server-side bundles and for runtime resolution in `getAngularDeps`. */
|
|
35
|
-
export declare const computeAngularServerVendorPaths: (buildDir: string, specifiers: string[]) => Record<string, string>;
|
|
36
|
-
/** Async server-vendor path map: scans source + transitive deps, then
|
|
37
|
-
* produces absolute filesystem paths for every @angular/* spec the project
|
|
38
|
-
* uses (plus the always-vendored server-only specs). Mirrors
|
|
39
|
-
* `computeAngularVendorPathsAsync` but for server-side rewriting. */
|
|
40
|
-
export declare const computeAngularServerVendorPathsAsync: (buildDir: string, directories?: string[], linkerJitMode?: boolean) => Promise<Record<string, string>>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Build vendor bundles for Ember client runtime. Output goes to
|
|
3
|
-
* `{buildDir}/ember/vendor/` with stable, hash-free filenames so the
|
|
4
|
-
* compiled-page rewriter can produce deterministic import URLs.
|
|
5
|
-
*/
|
|
6
|
-
export declare const buildEmberVendor: (buildDir: string, cwd?: string) => Promise<string[]>;
|
|
7
|
-
/**
|
|
8
|
-
* Compute the bare-specifier → URL map without running the build. The
|
|
9
|
-
* dev module server uses this to rewrite user-source imports of
|
|
10
|
-
* `@glimmer/component` / `@ember/template-compiler` / etc. to the stable
|
|
11
|
-
* `/ember/vendor/<safe>.js` paths.
|
|
12
|
-
*/
|
|
13
|
-
export declare const computeEmberVendorPaths: () => Record<string, string>;
|
|
14
|
-
/**
|
|
15
|
-
* Resolve the absolute path of a server-only Ember runtime module.
|
|
16
|
-
* Server-side imports of `@simple-dom/document` / `@simple-dom/serializer`
|
|
17
|
-
* dodge the vendor bundle entirely — Node's ESM resolver handles them
|
|
18
|
-
* directly via the project's node_modules. The Ember pageHandler uses
|
|
19
|
-
* this to dynamically import the polyfills on the SSR path.
|
|
20
|
-
*
|
|
21
|
-
* `@simple-dom/document` lives inside ember-source; `@simple-dom/serializer`
|
|
22
|
-
* is a standalone npm package.
|
|
23
|
-
*/
|
|
24
|
-
export declare const resolveEmberServerModulePath: (specifier: string, cwd?: string) => string;
|