@absolutejs/absolute 0.19.0-beta.1042 → 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 -179599
- 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/islands.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,36 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility for registering client-side scripts that need to run after Angular SSR hydration.
|
|
3
|
-
*
|
|
4
|
-
* This is necessary because Angular's lifecycle hooks don't always run reliably on the client
|
|
5
|
-
* after SSR hydration, especially for event listeners attached to DOM elements.
|
|
6
|
-
*
|
|
7
|
-
* Usage in Angular components:
|
|
8
|
-
* ```typescript
|
|
9
|
-
* import { registerClientScript } from '@absolutejs/absolute';
|
|
10
|
-
*
|
|
11
|
-
* // Register an event listener script
|
|
12
|
-
* registerClientScript(() => {
|
|
13
|
-
* const element = document.querySelector('.my-element');
|
|
14
|
-
* if (element) {
|
|
15
|
-
* element.addEventListener('click', () => {
|
|
16
|
-
* console.log('Clicked!');
|
|
17
|
-
* });
|
|
18
|
-
* }
|
|
19
|
-
* });
|
|
20
|
-
* ```
|
|
21
|
-
*
|
|
22
|
-
* The script will be automatically injected into the HTML response and executed on the client.
|
|
23
|
-
*/
|
|
24
|
-
export declare const getSsrContextId: () => any;
|
|
25
|
-
export declare const registerClientScript: (script: () => void, requestId?: string) => any;
|
|
26
|
-
export declare const setSsrContextGetter: (getter: () => string | undefined) => void;
|
|
27
|
-
/**
|
|
28
|
-
* Get all registered scripts for a request and clear them.
|
|
29
|
-
* This is called by the page handler after rendering.
|
|
30
|
-
*
|
|
31
|
-
* @param requestId - The request ID to get scripts for
|
|
32
|
-
* @returns Array of script functions, or empty array if none registered
|
|
33
|
-
*/
|
|
34
|
-
export declare const clearAllClientScripts: () => void;
|
|
35
|
-
export declare const generateClientScriptCode: (scripts: (() => void)[]) => string;
|
|
36
|
-
export declare const getAndClearClientScripts: (requestId?: string) => (() => void)[];
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import type { ConventionsMap } from '../../types/conventions';
|
|
2
|
-
export declare const derivePageName: (pagePath: string) => string;
|
|
3
|
-
export declare const getConventions: () => ConventionsMap;
|
|
4
|
-
export declare const hasErrorConvention: (framework: keyof ConventionsMap) => boolean;
|
|
5
|
-
export declare const resolveErrorConventionPath: (framework: keyof ConventionsMap, pageName: string) => string | undefined;
|
|
6
|
-
export declare const resolveNotFoundConventionPath: (framework: keyof ConventionsMap) => string | undefined;
|
|
7
|
-
export declare const setConventions: (map: ConventionsMap) => void;
|
|
8
|
-
export declare const renderConventionError: (framework: keyof ConventionsMap, pageName: string, error: unknown) => Promise<Response | null>;
|
|
9
|
-
export declare const renderConventionNotFound: (framework: keyof ConventionsMap) => Promise<Response | null>;
|
|
10
|
-
export declare const renderFirstNotFound: () => Promise<Response | null>;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/** Vite-style dev-server port resolution.
|
|
2
|
-
*
|
|
3
|
-
* Probes the requested port. If busy, falls through to the next port up
|
|
4
|
-
* to `portRange-1` neighbors. With `strictPort: true`, fails on the very
|
|
5
|
-
* first conflict so users who pin a port know immediately.
|
|
6
|
-
*
|
|
7
|
-
* Bun's `Bun.serve` rejects EADDRINUSE asynchronously and only after
|
|
8
|
-
* partially binding, which is awkward to clean up — `node:net.createServer`
|
|
9
|
-
* is simpler and battle-tested for this exact "is anyone listening here"
|
|
10
|
-
* probe. */
|
|
11
|
-
export type ResolveDevPortOptions = {
|
|
12
|
-
strictPort?: boolean;
|
|
13
|
-
portRange?: number;
|
|
14
|
-
host?: string;
|
|
15
|
-
};
|
|
16
|
-
export declare const isPortFree: (port: number, host?: string) => Promise<boolean>;
|
|
17
|
-
export type ResolveDevPortResult = {
|
|
18
|
-
port: number;
|
|
19
|
-
fellBack: boolean;
|
|
20
|
-
};
|
|
21
|
-
export declare const resolveDevPort: (requestedPort: number, options?: ResolveDevPortOptions) => Promise<{
|
|
22
|
-
fellBack: boolean;
|
|
23
|
-
port: number;
|
|
24
|
-
}>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
/** Resolve the matched SPA child route's compiled CSS for a request.
|
|
2
|
-
* Returns the CSS text (possibly empty) so the page handler can
|
|
3
|
-
* inline it alongside the parent page's own sibling CSS. */
|
|
4
|
-
export declare const resolveSpaChildCss: (siblingJsPath: string | undefined, requestUrl: string | undefined) => Promise<string>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export type SpaRoute = {
|
|
2
|
-
/** Full joined path within the SPA (no mount-path prefix). */
|
|
3
|
-
path: string;
|
|
4
|
-
/** `true` when any segment is `:param`, `*`, or `**`. */
|
|
5
|
-
dynamic: boolean;
|
|
6
|
-
/** `true` when this route is purely a `redirectTo` — sitemap skips. */
|
|
7
|
-
redirected: boolean;
|
|
8
|
-
/** `true` when an explicit opt-out marker was found
|
|
9
|
-
* (`Route.data.sitemap === 'exclude'` in Angular, etc.). */
|
|
10
|
-
sitemapExcluded: boolean;
|
|
11
|
-
};
|
|
12
|
-
export type SpaHost = {
|
|
13
|
-
/** Absolute path of the source file the routes were read from. */
|
|
14
|
-
sourceFile: string;
|
|
15
|
-
/** Mount path the page expects to be served at — e.g. `'/portal/'`,
|
|
16
|
-
* `'/admin/'`. Frameworks express this differently:
|
|
17
|
-
* - Angular: `{ provide: APP_BASE_HREF, useValue: '...' }`
|
|
18
|
-
* - React: `<BrowserRouter basename="...">` or
|
|
19
|
-
* `createBrowserRouter(routes, { basename: '...' })`
|
|
20
|
-
* - Vue: `createRouter({ history: createWebHistory('...') })`
|
|
21
|
-
* - Svelte: `<Router basepath="...">` */
|
|
22
|
-
baseHref: string;
|
|
23
|
-
/** Leaf routes extracted from the page's router config. */
|
|
24
|
-
routes: SpaRoute[];
|
|
25
|
-
};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const ssrErrorPage: (framework: string, error: unknown) => string;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
export declare const formatTimestamp: () => string;
|
|
2
|
-
export declare const startupBanner: (options: {
|
|
3
|
-
version: string;
|
|
4
|
-
readyDuration: number;
|
|
5
|
-
buildDuration?: number;
|
|
6
|
-
port: string | number;
|
|
7
|
-
host: string;
|
|
8
|
-
networkUrl?: string;
|
|
9
|
-
protocol?: string;
|
|
10
|
-
}) => void;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export type StartupTimingStep = {
|
|
2
|
-
label: string;
|
|
3
|
-
durationMs: number;
|
|
4
|
-
};
|
|
5
|
-
export declare const startupTimingsEnabled: boolean;
|
|
6
|
-
export declare const formatStartupTimingBlock: (title: string, steps: StartupTimingStep[]) => string;
|
|
7
|
-
export declare const logStartupTimingBlock: (title: string, steps: StartupTimingStep[]) => void;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import type { StreamingSlotMetric, StreamingSlotMetricType } from './streamingSlots';
|
|
2
|
-
export type StreamingSlotMetricMetadataValue = string | number | boolean | null;
|
|
3
|
-
export type StreamingSlotMetricMetadata = Record<string, StreamingSlotMetricMetadataValue>;
|
|
4
|
-
export type StreamingSlotMetricSinkEvent = StreamingSlotMetric & {
|
|
5
|
-
at: number;
|
|
6
|
-
route?: string;
|
|
7
|
-
metadata?: StreamingSlotMetricMetadata;
|
|
8
|
-
};
|
|
9
|
-
export type StreamingSlotMetricSinkOptions = {
|
|
10
|
-
onReport?: (metric: StreamingSlotMetricSinkEvent) => void | Promise<void>;
|
|
11
|
-
onError?: (error: unknown, metric: StreamingSlotMetricSinkEvent) => void;
|
|
12
|
-
route?: string;
|
|
13
|
-
metadata?: StreamingSlotMetricMetadata;
|
|
14
|
-
includeTypes?: StreamingSlotMetricType[];
|
|
15
|
-
excludeTypes?: StreamingSlotMetricType[];
|
|
16
|
-
sampleRate?: number;
|
|
17
|
-
};
|
|
18
|
-
export declare const createStreamingSlotMetricSink: ({ excludeTypes, includeTypes, metadata, onReport, onError, route, sampleRate }?: StreamingSlotMetricSinkOptions) => (metric: StreamingSlotMetric) => void;
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
type SlotResolver = () => Promise<unknown> | unknown;
|
|
2
|
-
type SlotErrorHandler = (error: unknown, slot: StreamingSlot) => void;
|
|
3
|
-
export type StreamingSlotMetricType = 'prepared' | 'dropped' | 'resolved' | 'patched' | 'timeout' | 'size_exceeded' | 'error';
|
|
4
|
-
export type StreamingSlotMetric = {
|
|
5
|
-
type: StreamingSlotMetricType;
|
|
6
|
-
slotId: string;
|
|
7
|
-
durationMs?: number;
|
|
8
|
-
bytes?: number;
|
|
9
|
-
reason?: string;
|
|
10
|
-
error?: unknown;
|
|
11
|
-
};
|
|
12
|
-
export type StreamingSlotMetricHandler = (metric: StreamingSlotMetric) => void;
|
|
13
|
-
export type StreamingSlotPolicy = {
|
|
14
|
-
timeoutMs?: number;
|
|
15
|
-
fallbackHtml?: unknown;
|
|
16
|
-
errorHtml?: unknown;
|
|
17
|
-
maxSlotsPerResponse?: number;
|
|
18
|
-
maxSlotHtmlSizeBytes?: number;
|
|
19
|
-
onError?: SlotErrorHandler;
|
|
20
|
-
onSlotMetric?: StreamingSlotMetricHandler;
|
|
21
|
-
};
|
|
22
|
-
type StreamingSlotPolicyValue = {
|
|
23
|
-
timeoutMs: number;
|
|
24
|
-
fallbackHtml: string;
|
|
25
|
-
errorHtml?: string;
|
|
26
|
-
maxSlotsPerResponse: number;
|
|
27
|
-
maxSlotHtmlSizeBytes: number;
|
|
28
|
-
onError?: SlotErrorHandler;
|
|
29
|
-
onSlotMetric?: StreamingSlotMetricHandler;
|
|
30
|
-
};
|
|
31
|
-
export type StreamingSlot = {
|
|
32
|
-
errorHtml?: unknown;
|
|
33
|
-
fallbackHtml?: unknown;
|
|
34
|
-
id: string;
|
|
35
|
-
timeoutMs?: number;
|
|
36
|
-
resolve: SlotResolver;
|
|
37
|
-
};
|
|
38
|
-
export type StreamingSlotPatchPayload = string | {
|
|
39
|
-
[key: string]: unknown;
|
|
40
|
-
html: string;
|
|
41
|
-
};
|
|
42
|
-
type DeferredStreamingSlot = Omit<StreamingSlot, 'id'> & {
|
|
43
|
-
id?: string;
|
|
44
|
-
};
|
|
45
|
-
export type AppendStreamingSlotsOptions = {
|
|
46
|
-
injectRuntime?: boolean;
|
|
47
|
-
nonce?: string;
|
|
48
|
-
runtimePreludeScript?: string;
|
|
49
|
-
policy?: StreamingSlotPolicy;
|
|
50
|
-
onSlotMetric?: StreamingSlotMetricHandler;
|
|
51
|
-
onError?: (error: unknown, slot: StreamingSlot) => void;
|
|
52
|
-
runtimePlacement?: 'body' | 'head';
|
|
53
|
-
};
|
|
54
|
-
export type StreamOutOfOrderSlotsOptions = {
|
|
55
|
-
footerHtml?: string;
|
|
56
|
-
headerHtml?: string;
|
|
57
|
-
nonce?: string;
|
|
58
|
-
policy?: StreamingSlotPolicy;
|
|
59
|
-
onSlotMetric?: StreamingSlotMetricHandler;
|
|
60
|
-
onError?: (error: unknown, slot: StreamingSlot) => void;
|
|
61
|
-
slots: DeferredStreamingSlot[];
|
|
62
|
-
};
|
|
63
|
-
export declare const createStreamingSlotId: () => string;
|
|
64
|
-
export declare const getStreamingSlotsRuntimeScript: () => string;
|
|
65
|
-
export declare const injectHtmlIntoBody: (html: string, injection: string) => string;
|
|
66
|
-
export declare const injectHtmlIntoHead: (html: string, injection: string) => string;
|
|
67
|
-
export declare const renderStreamingSlotPatchTag: (id: string, payload: StreamingSlotPatchPayload, nonce?: string) => string;
|
|
68
|
-
export declare const renderStreamingSlotPlaceholder: (id: string, fallbackHtml?: string) => string;
|
|
69
|
-
export declare const renderStreamingSlotsRuntimeTag: (nonce?: string, runtimePreludeScript?: string) => string;
|
|
70
|
-
export declare const getStreamingSlotPolicy: () => StreamingSlotPolicyValue;
|
|
71
|
-
export declare const setStreamingSlotPolicy: (policy?: StreamingSlotPolicy) => void;
|
|
72
|
-
export declare const withStreamingSlotPolicy: <T>(policy: StreamingSlotPolicy, callback: () => Promise<T> | T) => Promise<T>;
|
|
73
|
-
export declare const appendStreamingSlotPatchesToStream: (stream: ReadableStream<string | Uint8Array>, slots?: DeferredStreamingSlot[], { injectRuntime, nonce, onError, onSlotMetric, policy, runtimePreludeScript, runtimePlacement }?: AppendStreamingSlotsOptions) => ReadableStream<string | Uint8Array<ArrayBufferLike>>;
|
|
74
|
-
export declare const injectStreamingRuntimeIntoStream: (stream: ReadableStream<string | Uint8Array>, nonce?: string, runtimePlacement?: "body" | "head", runtimePreludeScript?: string) => ReadableStream<Uint8Array<ArrayBufferLike>>;
|
|
75
|
-
export declare const streamOutOfOrderSlots: ({ footerHtml, headerHtml, nonce, policy, onSlotMetric, onError, slots }: StreamOutOfOrderSlotsOptions) => ReadableStream<Uint8Array<ArrayBufferLike>>;
|
|
76
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const getUserAgentType: (userAgent: string) => "other" | "bot" | "phone" | "tablet" | "tv" | "console" | "car" | "iot" | "desktop";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const validateSafePath: (targetPath: string, baseDirectory: string) => string;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
export declare const Island: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
2
|
-
component: {
|
|
3
|
-
required: true;
|
|
4
|
-
type: StringConstructor;
|
|
5
|
-
};
|
|
6
|
-
framework: {
|
|
7
|
-
required: true;
|
|
8
|
-
type: StringConstructor;
|
|
9
|
-
};
|
|
10
|
-
hydrate: {
|
|
11
|
-
required: false;
|
|
12
|
-
type: StringConstructor;
|
|
13
|
-
};
|
|
14
|
-
props: {
|
|
15
|
-
required: false;
|
|
16
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
17
|
-
};
|
|
18
|
-
}>, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
19
|
-
[key: string]: any;
|
|
20
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
21
|
-
component: {
|
|
22
|
-
required: true;
|
|
23
|
-
type: StringConstructor;
|
|
24
|
-
};
|
|
25
|
-
framework: {
|
|
26
|
-
required: true;
|
|
27
|
-
type: StringConstructor;
|
|
28
|
-
};
|
|
29
|
-
hydrate: {
|
|
30
|
-
required: false;
|
|
31
|
-
type: StringConstructor;
|
|
32
|
-
};
|
|
33
|
-
props: {
|
|
34
|
-
required: false;
|
|
35
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
36
|
-
};
|
|
37
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
package/dist/src/vue/Island.d.ts
DELETED
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { h } from 'vue';
|
|
2
|
-
export declare const Island: import("vue").DefineComponent<import("vue").ExtractPropTypes<{
|
|
3
|
-
component: {
|
|
4
|
-
required: true;
|
|
5
|
-
type: StringConstructor;
|
|
6
|
-
};
|
|
7
|
-
framework: {
|
|
8
|
-
required: true;
|
|
9
|
-
type: StringConstructor;
|
|
10
|
-
};
|
|
11
|
-
hydrate: {
|
|
12
|
-
required: false;
|
|
13
|
-
type: StringConstructor;
|
|
14
|
-
};
|
|
15
|
-
props: {
|
|
16
|
-
required: false;
|
|
17
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
18
|
-
};
|
|
19
|
-
}>, () => ReturnType<typeof h>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<import("vue").ExtractPropTypes<{
|
|
20
|
-
component: {
|
|
21
|
-
required: true;
|
|
22
|
-
type: StringConstructor;
|
|
23
|
-
};
|
|
24
|
-
framework: {
|
|
25
|
-
required: true;
|
|
26
|
-
type: StringConstructor;
|
|
27
|
-
};
|
|
28
|
-
hydrate: {
|
|
29
|
-
required: false;
|
|
30
|
-
type: StringConstructor;
|
|
31
|
-
};
|
|
32
|
-
props: {
|
|
33
|
-
required: false;
|
|
34
|
-
type: (ObjectConstructor | StringConstructor)[];
|
|
35
|
-
};
|
|
36
|
-
}>> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
export { Island } from './Island.browser';
|
|
2
|
-
export { createTypedIsland } from './createIsland.browser';
|
|
3
|
-
export { useIslandStore } from './useIslandStore';
|
|
4
|
-
export { defineRoutes, defineVueSetupApp } from './defineVuePage';
|
|
5
|
-
export { applyVueRouterRedirect } from './routerRedirectProviders';
|
|
6
|
-
export type { VueAutoRouter, VueRouteRecord, VueRoutes, VueSetupApp, VueSetupAppContext } from '../../types/vue';
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
type ImageLoader = (params: {
|
|
2
|
-
src: string;
|
|
3
|
-
width: number;
|
|
4
|
-
quality: number;
|
|
5
|
-
}) => string;
|
|
6
|
-
type ImageStyle = Record<string, string | number>;
|
|
7
|
-
export declare const Image: import("vue").DefineComponent<{
|
|
8
|
-
src: string;
|
|
9
|
-
alt: string;
|
|
10
|
-
width?: number | undefined;
|
|
11
|
-
height?: number | undefined;
|
|
12
|
-
fill?: boolean | undefined;
|
|
13
|
-
quality?: number | undefined;
|
|
14
|
-
sizes?: string | undefined;
|
|
15
|
-
loader?: ImageLoader | undefined;
|
|
16
|
-
unoptimized?: boolean | undefined;
|
|
17
|
-
loading?: "lazy" | "eager" | undefined;
|
|
18
|
-
priority?: boolean | undefined;
|
|
19
|
-
placeholder?: string | undefined;
|
|
20
|
-
blurDataURL?: string | undefined;
|
|
21
|
-
className?: string | undefined;
|
|
22
|
-
style?: ImageStyle | undefined;
|
|
23
|
-
onLoad?: ((event: Event) => void) | undefined;
|
|
24
|
-
onError?: ((event: Event) => void) | undefined;
|
|
25
|
-
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
26
|
-
referrerPolicy?: "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
27
|
-
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
28
|
-
overrideSrc?: string | undefined;
|
|
29
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
30
|
-
[key: string]: any;
|
|
31
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
32
|
-
src: string;
|
|
33
|
-
alt: string;
|
|
34
|
-
width?: number | undefined;
|
|
35
|
-
height?: number | undefined;
|
|
36
|
-
fill?: boolean | undefined;
|
|
37
|
-
quality?: number | undefined;
|
|
38
|
-
sizes?: string | undefined;
|
|
39
|
-
loader?: ImageLoader | undefined;
|
|
40
|
-
unoptimized?: boolean | undefined;
|
|
41
|
-
loading?: "lazy" | "eager" | undefined;
|
|
42
|
-
priority?: boolean | undefined;
|
|
43
|
-
placeholder?: string | undefined;
|
|
44
|
-
blurDataURL?: string | undefined;
|
|
45
|
-
className?: string | undefined;
|
|
46
|
-
style?: ImageStyle | undefined;
|
|
47
|
-
onLoad?: ((event: Event) => void) | undefined;
|
|
48
|
-
onError?: ((event: Event) => void) | undefined;
|
|
49
|
-
crossOrigin?: "anonymous" | "use-credentials" | "" | undefined;
|
|
50
|
-
referrerPolicy?: "" | "no-referrer" | "no-referrer-when-downgrade" | "origin" | "origin-when-cross-origin" | "same-origin" | "strict-origin" | "strict-origin-when-cross-origin" | "unsafe-url" | undefined;
|
|
51
|
-
fetchPriority?: "high" | "low" | "auto" | undefined;
|
|
52
|
-
overrideSrc?: string | undefined;
|
|
53
|
-
}> & Readonly<{}>, {
|
|
54
|
-
style: Record<string, any>;
|
|
55
|
-
fill: boolean;
|
|
56
|
-
loader: Function;
|
|
57
|
-
loading: string;
|
|
58
|
-
onError: Function;
|
|
59
|
-
height: number;
|
|
60
|
-
width: number;
|
|
61
|
-
onLoad: Function;
|
|
62
|
-
className: string;
|
|
63
|
-
quality: number;
|
|
64
|
-
sizes: string;
|
|
65
|
-
priority: boolean;
|
|
66
|
-
unoptimized: boolean;
|
|
67
|
-
placeholder: string;
|
|
68
|
-
crossOrigin: string;
|
|
69
|
-
overrideSrc: string;
|
|
70
|
-
blurDataURL: string;
|
|
71
|
-
fetchPriority: string;
|
|
72
|
-
referrerPolicy: string;
|
|
73
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
74
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export declare const StreamSlot: import("vue").DefineComponent<{
|
|
2
|
-
className?: string | undefined;
|
|
3
|
-
errorHtml?: string | undefined;
|
|
4
|
-
fallbackHtml: string;
|
|
5
|
-
id: string;
|
|
6
|
-
resolve: () => Promise<string> | string;
|
|
7
|
-
timeoutMs?: number | undefined;
|
|
8
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
9
|
-
[key: string]: any;
|
|
10
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
11
|
-
className?: string | undefined;
|
|
12
|
-
errorHtml?: string | undefined;
|
|
13
|
-
fallbackHtml: string;
|
|
14
|
-
id: string;
|
|
15
|
-
resolve: () => Promise<string> | string;
|
|
16
|
-
timeoutMs?: number | undefined;
|
|
17
|
-
}> & Readonly<{}>, {
|
|
18
|
-
errorHtml: string;
|
|
19
|
-
fallbackHtml: string;
|
|
20
|
-
timeoutMs: number;
|
|
21
|
-
className: string;
|
|
22
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
export declare const SuspenseSlot: import("vue").DefineComponent<{
|
|
2
|
-
className?: string | undefined;
|
|
3
|
-
errorHtml?: string | undefined;
|
|
4
|
-
fallbackHtml: string;
|
|
5
|
-
id: string;
|
|
6
|
-
promise?: Promise<unknown> | undefined;
|
|
7
|
-
resolve?: (() => Promise<unknown> | unknown) | undefined;
|
|
8
|
-
timeoutMs?: number | undefined;
|
|
9
|
-
}, () => import("vue").VNode<import("vue").RendererNode, import("vue").RendererElement, {
|
|
10
|
-
[key: string]: any;
|
|
11
|
-
}>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
12
|
-
className?: string | undefined;
|
|
13
|
-
errorHtml?: string | undefined;
|
|
14
|
-
fallbackHtml: string;
|
|
15
|
-
id: string;
|
|
16
|
-
promise?: Promise<unknown> | undefined;
|
|
17
|
-
resolve?: (() => Promise<unknown> | unknown) | undefined;
|
|
18
|
-
timeoutMs?: number | undefined;
|
|
19
|
-
}> & Readonly<{}>, {
|
|
20
|
-
errorHtml: string;
|
|
21
|
-
fallbackHtml: string;
|
|
22
|
-
timeoutMs: number;
|
|
23
|
-
resolve: Function;
|
|
24
|
-
promise: Record<string, any>;
|
|
25
|
-
className: string;
|
|
26
|
-
}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { h } from 'vue';
|
|
2
|
-
import type { IslandRegistry, IslandRegistryInput } from '../../types/island';
|
|
3
|
-
export declare const createTypedIsland: <T extends IslandRegistryInput>(_registry: IslandRegistry<T>) => import("vue").DefineComponent<{
|
|
4
|
-
component: string;
|
|
5
|
-
framework: import("..").IslandFramework;
|
|
6
|
-
hydrate?: import("..").IslandHydrate | undefined;
|
|
7
|
-
props: Record<string, unknown>;
|
|
8
|
-
}, () => ReturnType<typeof h>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
|
-
component: string;
|
|
10
|
-
framework: import("..").IslandFramework;
|
|
11
|
-
hydrate?: import("..").IslandHydrate | undefined;
|
|
12
|
-
props: Record<string, unknown>;
|
|
13
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { h } from 'vue';
|
|
2
|
-
import type { IslandRegistry, IslandRegistryInput } from '../../types/island';
|
|
3
|
-
export declare const createTypedIsland: <T extends IslandRegistryInput>(registry: IslandRegistry<T>) => import("vue").DefineComponent<{
|
|
4
|
-
component: string;
|
|
5
|
-
framework: import("..").IslandFramework;
|
|
6
|
-
hydrate?: import("..").IslandHydrate | undefined;
|
|
7
|
-
props: Record<string, unknown>;
|
|
8
|
-
}, () => ReturnType<typeof h>, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{
|
|
9
|
-
component: string;
|
|
10
|
-
framework: import("..").IslandFramework;
|
|
11
|
-
hydrate?: import("..").IslandHydrate | undefined;
|
|
12
|
-
props: Record<string, unknown>;
|
|
13
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import type { VueRoutes, VueSetupApp } from '../../types/vue';
|
|
2
|
-
/** Identity helper that types a Vue page's `setupApp` export without
|
|
3
|
-
* forcing the user to `import type { VueSetupApp }` every time. Use as
|
|
4
|
-
* `export const setupApp = defineVueSetupApp(async (app, ctx) => { ... });` */
|
|
5
|
-
export declare const defineRoutes: <T extends VueRoutes>(routes: T) => T;
|
|
6
|
-
export declare const defineVueSetupApp: (hook: VueSetupApp) => VueSetupApp;
|
package/dist/src/vue/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export { handleVuePageRequest } from './pageHandler';
|
|
2
|
-
export { applyVueRouterRedirect } from './routerRedirectProviders';
|
|
3
|
-
export { defineRoutes, defineVueSetupApp } from './defineVuePage';
|
|
4
|
-
export type { VueAutoRouter, VueRouteRecord, VueRoutes, VueSetupApp, VueSetupAppContext } from '../../types/vue';
|
|
5
|
-
export { Island } from './Island';
|
|
6
|
-
export { createTypedIsland } from './createIsland';
|
|
7
|
-
export { useIslandStore } from './useIslandStore';
|
|
8
|
-
export { Image } from './components/Image';
|
|
9
|
-
export { StreamSlot, SuspenseSlot } from './components';
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import type { Component as VueComponent } from 'vue';
|
|
2
|
-
import type { VuePropsOf } from '../../types/vue';
|
|
3
|
-
import { type StreamingSlotEnhancerOptions } from '../core/responseEnhancers';
|
|
4
|
-
type VuePageRenderOptions = StreamingSlotEnhancerOptions & {
|
|
5
|
-
collectStreamingSlots?: boolean;
|
|
6
|
-
};
|
|
7
|
-
/** Hydration mode for the page bundle.
|
|
8
|
-
* - `'auto'` (default): emit `<script>window.__INITIAL_PROPS__=…</script>`
|
|
9
|
-
* plus the page's `<script type="module">` index, mounting Vue on the
|
|
10
|
-
* client.
|
|
11
|
-
* - `'none'`: SSR-only. Skip both scripts entirely so the page ships
|
|
12
|
-
* pure HTML — useful for marketing / docs pages that use Vue
|
|
13
|
-
* templating + Tailwind without paying the runtime cost. The build
|
|
14
|
-
* pipeline also skips emitting the per-page client bundle (and its
|
|
15
|
-
* manifest entry) when this option is set at registration time —
|
|
16
|
-
* `scanVueSsrOnlyPages` reads the literal `client: 'none'` token
|
|
17
|
-
* from the handler source and excludes the matching .vue entry
|
|
18
|
-
* from the client bundler pass. */
|
|
19
|
-
type VuePageClientMode = {
|
|
20
|
-
client: 'none';
|
|
21
|
-
indexPath?: string;
|
|
22
|
-
} | {
|
|
23
|
-
client?: 'auto';
|
|
24
|
-
indexPath: string;
|
|
25
|
-
};
|
|
26
|
-
export type VuePageRequestInput<Component extends VueComponent> = VuePageRenderOptions & VuePageClientMode & {
|
|
27
|
-
headTag?: `<head>${string}</head>`;
|
|
28
|
-
pagePath: string;
|
|
29
|
-
Page?: Component;
|
|
30
|
-
/** The incoming Elysia request. Forwarded into the page
|
|
31
|
-
* module's exported `setupApp(app, { url, isServer })` hook
|
|
32
|
-
* (see compileVue's index generation) so plugins like
|
|
33
|
-
* vue-router can navigate to the correct route before SSR. */
|
|
34
|
-
request?: Request;
|
|
35
|
-
/** Sitemap metadata for this route. Statically read from the
|
|
36
|
-
* handler source at registration time, so only literal-object
|
|
37
|
-
* values are honoured. */
|
|
38
|
-
sitemap?: import('../../types/sitemap').PageHandlerSitemapMetadata;
|
|
39
|
-
} & (keyof VuePropsOf<Component> extends never ? {
|
|
40
|
-
props?: NoInfer<VuePropsOf<Component>>;
|
|
41
|
-
} : {
|
|
42
|
-
props: NoInfer<VuePropsOf<Component>>;
|
|
43
|
-
});
|
|
44
|
-
export declare const handleVuePageRequest: <Component extends VueComponent>(input: VuePageRequestInput<Component>) => Promise<Response>;
|
|
45
|
-
export {};
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* vue-router redirect bridge for SSR.
|
|
3
|
-
*
|
|
4
|
-
* vue-router doesn't expose Angular-style providers, but it doesn't need
|
|
5
|
-
* them — after `await router.push(url); await router.isReady()`, the
|
|
6
|
-
* router's `currentRoute.value.fullPath` reflects the final destination
|
|
7
|
-
* after every guard, redirect rule, and `next('/foo')` call has run.
|
|
8
|
-
*
|
|
9
|
-
* If that final path differs from the URL the server received, a redirect
|
|
10
|
-
* happened. The Vue page handler exposes a `setRedirect` callback in the
|
|
11
|
-
* `setupApp` context so the user's setup hook can short-circuit the
|
|
12
|
-
* render and emit a 302 instead of producing HTML for a route the user
|
|
13
|
-
* never asked for.
|
|
14
|
-
*
|
|
15
|
-
* Usage:
|
|
16
|
-
*
|
|
17
|
-
* import { applyVueRouterRedirect } from '@absolutejs/absolute/vue';
|
|
18
|
-
*
|
|
19
|
-
* export const setupApp = async (app, { url, isServer, setRedirect }) => {
|
|
20
|
-
* const router = createRouter({ ... });
|
|
21
|
-
* app.use(router);
|
|
22
|
-
* if (isServer) await router.push(url);
|
|
23
|
-
* await router.isReady();
|
|
24
|
-
* if (isServer) applyVueRouterRedirect(router, url, setRedirect);
|
|
25
|
-
* };
|
|
26
|
-
*/
|
|
27
|
-
type VueRouterLike = {
|
|
28
|
-
currentRoute: {
|
|
29
|
-
value: {
|
|
30
|
-
fullPath: string;
|
|
31
|
-
};
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
/**
|
|
35
|
-
* Compare the requested URL against vue-router's current resolved path
|
|
36
|
-
* after `router.push(url); await router.isReady()`. If different — a
|
|
37
|
-
* guard redirected, a redirect rule fired, or the user manually
|
|
38
|
-
* navigated inside `setupApp` — invoke `setRedirect` so the Vue page
|
|
39
|
-
* handler emits an HTTP redirect instead of rendering.
|
|
40
|
-
*
|
|
41
|
-
* Status defaults to `302`. Pass a different status (e.g. `301` or `308`)
|
|
42
|
-
* for permanent redirects.
|
|
43
|
-
*/
|
|
44
|
-
export declare const applyVueRouterRedirect: (router: VueRouterLike, requestedUrl: string, setRedirect: (location: string, status?: number) => void, status?: number) => void;
|
|
45
|
-
export {};
|
package/dist/src/vue/server.d.ts
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { SpaHost } from '../utils/spaRouteTypes';
|
|
2
|
-
/** Statically scan a Vue page-source directory for SPA hosts — files
|
|
3
|
-
* that call `createRouter({ history: createWebHistory('/...'), routes })`
|
|
4
|
-
* from `vue-router`. The `createWebHistory` argument supplies the mount
|
|
5
|
-
* path; the `routes` option supplies the route table (inline array or
|
|
6
|
-
* identifier reference). Scans `.vue` SFC script blocks too. */
|
|
7
|
-
export declare const analyzeVueSpaRoutes: (vueDirectory: string) => Promise<SpaHost[]>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import type { StoreApi } from 'zustand/vanilla';
|
|
2
|
-
import { type IslandStoreState } from '../client/islandStore';
|
|
3
|
-
export declare const useIslandStore: <TState extends IslandStoreState, TSelected>(store: StoreApi<TState>, selector: (state: TState) => TSelected) => import("vue").Ref<TSelected, TSelected>;
|