@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.
Files changed (520) hide show
  1. package/package.json +1 -1
  2. package/dist/angular/browser.js +0 -10358
  3. package/dist/angular/browser.js.map +0 -260
  4. package/dist/angular/components/constants.js +0 -101
  5. package/dist/angular/components/core/streamingSlotRegistrar.js +0 -58
  6. package/dist/angular/components/core/streamingSlotRegistry.js +0 -114
  7. package/dist/angular/components/defer-slot-payload.js +0 -6
  8. package/dist/angular/components/defer-slot-templates.directive.js +0 -44
  9. package/dist/angular/components/defer-slot.component.js +0 -152
  10. package/dist/angular/components/image.component.js +0 -202
  11. package/dist/angular/components/index.js +0 -4
  12. package/dist/angular/components/stream-slot.component.js +0 -102
  13. package/dist/angular/hmrPreserveCore.ts +0 -188
  14. package/dist/angular/index.js +0 -15793
  15. package/dist/angular/index.js.map +0 -299
  16. package/dist/angular/server.js +0 -6357
  17. package/dist/angular/server.js.map +0 -61
  18. package/dist/build.js +0 -27484
  19. package/dist/build.js.map +0 -146
  20. package/dist/cli/config/client.js +0 -527
  21. package/dist/cli/config/server.js +0 -37130
  22. package/dist/cli/htmx/htmx.min.js +0 -1
  23. package/dist/cli/index.js +0 -179599
  24. package/dist/client/index.js +0 -1267
  25. package/dist/client/index.js.map +0 -31
  26. package/dist/core/streamingSlotRegistrar.js +0 -138
  27. package/dist/core/streamingSlotRegistrar.js.map +0 -10
  28. package/dist/core/streamingSlotRegistry.js +0 -194
  29. package/dist/core/streamingSlotRegistry.js.map +0 -11
  30. package/dist/dev/client/constants.ts +0 -26
  31. package/dist/dev/client/cssUtils.ts +0 -311
  32. package/dist/dev/client/domDiff.ts +0 -226
  33. package/dist/dev/client/domState.ts +0 -423
  34. package/dist/dev/client/domTracker.ts +0 -61
  35. package/dist/dev/client/errorOverlay.ts +0 -445
  36. package/dist/dev/client/frameworkDetect.ts +0 -63
  37. package/dist/dev/client/handlers/angularHmrShim.ts +0 -88
  38. package/dist/dev/client/handlers/angularRemount.ts +0 -362
  39. package/dist/dev/client/handlers/angularRemountWiring.ts +0 -52
  40. package/dist/dev/client/handlers/html.ts +0 -364
  41. package/dist/dev/client/handlers/htmx.ts +0 -278
  42. package/dist/dev/client/handlers/react.ts +0 -108
  43. package/dist/dev/client/handlers/rebuild.ts +0 -153
  44. package/dist/dev/client/handlers/svelte.ts +0 -334
  45. package/dist/dev/client/handlers/vue.ts +0 -292
  46. package/dist/dev/client/headPatch.ts +0 -233
  47. package/dist/dev/client/hmrClient.ts +0 -352
  48. package/dist/dev/client/hmrState.ts +0 -14
  49. package/dist/dev/client/hmrToast.ts +0 -150
  50. package/dist/dev/client/moduleVersions.ts +0 -62
  51. package/dist/dev/client/reactRefreshSetup.ts +0 -31
  52. package/dist/dev/client/vendor/lview/lViewOps.ts +0 -196
  53. package/dist/dev/client/vendor/lview/slotConstants.ts +0 -44
  54. package/dist/dev/client/vendor/reactRefreshRuntime.d.ts +0 -12
  55. package/dist/dev/client/vendor/reactRefreshRuntime.js +0 -313
  56. package/dist/image-client/imageClient.js +0 -69
  57. package/dist/index.js +0 -36361
  58. package/dist/index.js.map +0 -320
  59. package/dist/islands/browser.js +0 -259
  60. package/dist/islands/browser.js.map +0 -15
  61. package/dist/islands/index.js +0 -2415
  62. package/dist/islands/index.js.map +0 -37
  63. package/dist/react/browser.js +0 -374
  64. package/dist/react/browser.js.map +0 -19
  65. package/dist/react/components/browser/index.js +0 -467
  66. package/dist/react/components/index.js +0 -684
  67. package/dist/react/components/index.js.map +0 -18
  68. package/dist/react/hooks/index.js +0 -285
  69. package/dist/react/hooks/index.js.map +0 -14
  70. package/dist/react/index.js +0 -4258
  71. package/dist/react/index.js.map +0 -56
  72. package/dist/react/jsxDevRuntimeCompat.js +0 -90
  73. package/dist/react/jsxDevRuntimeCompat.js.map +0 -10
  74. package/dist/react/router/browser.js +0 -95
  75. package/dist/react/router/browser.js.map +0 -10
  76. package/dist/react/router/index.js +0 -95
  77. package/dist/react/router/index.js.map +0 -10
  78. package/dist/react/server.js +0 -1895
  79. package/dist/react/server.js.map +0 -26
  80. package/dist/src/angular/Island.browser.d.ts +0 -34
  81. package/dist/src/angular/Island.d.ts +0 -29
  82. package/dist/src/angular/angularDeps.d.ts +0 -2
  83. package/dist/src/angular/angularPatch.d.ts +0 -1
  84. package/dist/src/angular/animationProviders.d.ts +0 -2
  85. package/dist/src/angular/browser.d.ts +0 -14
  86. package/dist/src/angular/components/constants.d.ts +0 -96
  87. package/dist/src/angular/components/defer-slot-payload.d.ts +0 -7
  88. package/dist/src/angular/components/defer-slot-templates.directive.d.ts +0 -21
  89. package/dist/src/angular/components/defer-slot.component.d.ts +0 -29
  90. package/dist/src/angular/components/image.component.d.ts +0 -42
  91. package/dist/src/angular/components/index.d.ts +0 -4
  92. package/dist/src/angular/components/stream-slot.component.d.ts +0 -20
  93. package/dist/src/angular/composables/index.d.ts +0 -6
  94. package/dist/src/angular/composables/usePageContext.d.ts +0 -16
  95. package/dist/src/angular/composables/useResource.d.ts +0 -57
  96. package/dist/src/angular/composables/useSubscription.d.ts +0 -33
  97. package/dist/src/angular/composables/useTimers.d.ts +0 -18
  98. package/dist/src/angular/createIsland.browser.d.ts +0 -2
  99. package/dist/src/angular/createIsland.d.ts +0 -2
  100. package/dist/src/angular/deterministicEnv.d.ts +0 -26
  101. package/dist/src/angular/hmrPreserveCore.d.ts +0 -21
  102. package/dist/src/angular/httpTransferCache.d.ts +0 -12
  103. package/dist/src/angular/index.d.ts +0 -14
  104. package/dist/src/angular/injectorPatch.d.ts +0 -1
  105. package/dist/src/angular/islandStore.d.ts +0 -9
  106. package/dist/src/angular/islands.d.ts +0 -4
  107. package/dist/src/angular/lowerDeferSyntax.d.ts +0 -18
  108. package/dist/src/angular/lowerServerIslands.d.ts +0 -1
  109. package/dist/src/angular/pageHandler.d.ts +0 -48
  110. package/dist/src/angular/pendingTask.d.ts +0 -1
  111. package/dist/src/angular/preserveAcrossHmr.d.ts +0 -12
  112. package/dist/src/angular/renderIsland.d.ts +0 -2
  113. package/dist/src/angular/requestProviders.d.ts +0 -5
  114. package/dist/src/angular/resolveAngularPackage.d.ts +0 -19
  115. package/dist/src/angular/routerRedirectProviders.d.ts +0 -6
  116. package/dist/src/angular/server.d.ts +0 -4
  117. package/dist/src/angular/ssrRender.d.ts +0 -13
  118. package/dist/src/angular/ssrSanitizer.d.ts +0 -3
  119. package/dist/src/angular/staticAnalyzeSpaRoutes.d.ts +0 -7
  120. package/dist/src/build/angularLinkerPlugin.d.ts +0 -29
  121. package/dist/src/build/buildAngularVendor.d.ts +0 -40
  122. package/dist/src/build/buildDepVendor.d.ts +0 -2
  123. package/dist/src/build/buildEmberVendor.d.ts +0 -24
  124. package/dist/src/build/buildReactVendor.d.ts +0 -8
  125. package/dist/src/build/buildSvelteVendor.d.ts +0 -6
  126. package/dist/src/build/buildVueVendor.d.ts +0 -6
  127. package/dist/src/build/chainInlineSourcemaps.d.ts +0 -13
  128. package/dist/src/build/compileAngular.d.ts +0 -40
  129. package/dist/src/build/compileEmber.d.ts +0 -43
  130. package/dist/src/build/compileSvelte.d.ts +0 -14
  131. package/dist/src/build/compileTailwind.d.ts +0 -5
  132. package/dist/src/build/compileVue.d.ts +0 -22
  133. package/dist/src/build/externalAssetPlugin.d.ts +0 -2
  134. package/dist/src/build/generateManifest.d.ts +0 -2
  135. package/dist/src/build/generateReactIndexes.d.ts +0 -2
  136. package/dist/src/build/htmlScriptHMRPlugin.d.ts +0 -13
  137. package/dist/src/build/index.d.ts +0 -2
  138. package/dist/src/build/islandEntries.d.ts +0 -32
  139. package/dist/src/build/islandRegistryTransform.d.ts +0 -17
  140. package/dist/src/build/nativeRewrite.d.ts +0 -5
  141. package/dist/src/build/optimizeHtmlImages.d.ts +0 -2
  142. package/dist/src/build/outputLogs.d.ts +0 -1
  143. package/dist/src/build/parseAngularConfigImports.d.ts +0 -9
  144. package/dist/src/build/parseVueSpaRoutes.d.ts +0 -20
  145. package/dist/src/build/resolvePackageImport.d.ts +0 -9
  146. package/dist/src/build/rewriteImports.d.ts +0 -8
  147. package/dist/src/build/rewriteImportsPlugin.d.ts +0 -48
  148. package/dist/src/build/rewriteReactImports.d.ts +0 -7
  149. package/dist/src/build/runAngularHandlerScan.d.ts +0 -7
  150. package/dist/src/build/scanAngularHandlerCalls.d.ts +0 -13
  151. package/dist/src/build/scanAngularPageRoutes.d.ts +0 -10
  152. package/dist/src/build/scanConventions.d.ts +0 -5
  153. package/dist/src/build/scanCssEntryPoints.d.ts +0 -1
  154. package/dist/src/build/scanEntryPoints.d.ts +0 -1
  155. package/dist/src/build/scanRouteRegistrations.d.ts +0 -23
  156. package/dist/src/build/scanVueSsrOnlyPages.d.ts +0 -6
  157. package/dist/src/build/staticIslandPages.d.ts +0 -9
  158. package/dist/src/build/stylePreprocessor.d.ts +0 -26
  159. package/dist/src/build/tailwindCompiler.d.ts +0 -8
  160. package/dist/src/build/updateAssetPaths.d.ts +0 -1
  161. package/dist/src/build/vendorEntrySource.d.ts +0 -1
  162. package/dist/src/build/verifyAngularCoreUniqueness.d.ts +0 -2
  163. package/dist/src/build/vueAutoRouterTransform.d.ts +0 -1
  164. package/dist/src/build/wrapHTMLScript.d.ts +0 -17
  165. package/dist/src/build.d.ts +0 -2
  166. package/dist/src/cli/add/dependencies.d.ts +0 -12
  167. package/dist/src/cli/cache.d.ts +0 -15
  168. package/dist/src/cli/config/absolute/AbsoluteConfigPanel.d.ts +0 -6
  169. package/dist/src/cli/config/absolute/editAbsoluteConfig.d.ts +0 -5
  170. package/dist/src/cli/config/absolute/resolveAbsoluteConfig.d.ts +0 -14
  171. package/dist/src/cli/config/client.d.ts +0 -1
  172. package/dist/src/cli/config/configCert.d.ts +0 -12
  173. package/dist/src/cli/config/eslint/EslintPanel.d.ts +0 -6
  174. package/dist/src/cli/config/eslint/configAst.d.ts +0 -18
  175. package/dist/src/cli/config/eslint/editConfigRule.d.ts +0 -6
  176. package/dist/src/cli/config/eslint/eslintStyles.d.ts +0 -1
  177. package/dist/src/cli/config/eslint/resolveConfig.d.ts +0 -3
  178. package/dist/src/cli/config/eslint/serializeValue.d.ts +0 -9
  179. package/dist/src/cli/config/guards.d.ts +0 -4
  180. package/dist/src/cli/config/packageJson/PackageJsonPanel.d.ts +0 -6
  181. package/dist/src/cli/config/packageJson/editPackageJson.d.ts +0 -9
  182. package/dist/src/cli/config/packageJson/resolvePackageJson.d.ts +0 -9
  183. package/dist/src/cli/config/page/ConfigShell.d.ts +0 -6
  184. package/dist/src/cli/config/page/FieldEditor.d.ts +0 -9
  185. package/dist/src/cli/config/page/PanelHost.d.ts +0 -6
  186. package/dist/src/cli/config/page/configStyles.d.ts +0 -1
  187. package/dist/src/cli/config/panels.d.ts +0 -7
  188. package/dist/src/cli/config/prettier/PrettierPanel.d.ts +0 -6
  189. package/dist/src/cli/config/prettier/editPrettier.d.ts +0 -5
  190. package/dist/src/cli/config/prettier/resolvePrettier.d.ts +0 -11
  191. package/dist/src/cli/config/schema/fromJsonSchema.d.ts +0 -3
  192. package/dist/src/cli/config/schema/fromType.d.ts +0 -2
  193. package/dist/src/cli/config/schema/serialize.d.ts +0 -1
  194. package/dist/src/cli/config/server.d.ts +0 -298
  195. package/dist/src/cli/config/tsconfig/TsconfigPanel.d.ts +0 -6
  196. package/dist/src/cli/config/tsconfig/editTsconfig.d.ts +0 -5
  197. package/dist/src/cli/config/tsconfig/resolveTsconfig.d.ts +0 -8
  198. package/dist/src/cli/config/tsconfig/tsconfigStyles.d.ts +0 -1
  199. package/dist/src/cli/discoverInstances.d.ts +0 -5
  200. package/dist/src/cli/generate/componentTemplates.d.ts +0 -7
  201. package/dist/src/cli/generate/context.d.ts +0 -30
  202. package/dist/src/cli/generate/cssStrategy.d.ts +0 -20
  203. package/dist/src/cli/generate/frameworkKey.d.ts +0 -3
  204. package/dist/src/cli/generate/frameworks.d.ts +0 -40
  205. package/dist/src/cli/generate/generateApi.d.ts +0 -3
  206. package/dist/src/cli/generate/generateComponent.d.ts +0 -4
  207. package/dist/src/cli/generate/generatePage.d.ts +0 -4
  208. package/dist/src/cli/generate/naming.d.ts +0 -5
  209. package/dist/src/cli/generate/navData.d.ts +0 -10
  210. package/dist/src/cli/generate/outcome.d.ts +0 -17
  211. package/dist/src/cli/generate/pageTemplates.d.ts +0 -11
  212. package/dist/src/cli/generate/routeWiring.d.ts +0 -40
  213. package/dist/src/cli/generate/staticNav.d.ts +0 -5
  214. package/dist/src/cli/htmx/install.d.ts +0 -6
  215. package/dist/src/cli/index.d.ts +0 -2
  216. package/dist/src/cli/inspectData.d.ts +0 -11
  217. package/dist/src/cli/inspectTui.d.ts +0 -1
  218. package/dist/src/cli/instanceStatus.d.ts +0 -22
  219. package/dist/src/cli/interactive.d.ts +0 -2
  220. package/dist/src/cli/psTui.d.ts +0 -1
  221. package/dist/src/cli/scripts/add.d.ts +0 -1
  222. package/dist/src/cli/scripts/build.d.ts +0 -1
  223. package/dist/src/cli/scripts/compile.d.ts +0 -2
  224. package/dist/src/cli/scripts/dev.d.ts +0 -1
  225. package/dist/src/cli/scripts/doctor.d.ts +0 -1
  226. package/dist/src/cli/scripts/env.d.ts +0 -7
  227. package/dist/src/cli/scripts/eslint.d.ts +0 -16
  228. package/dist/src/cli/scripts/generate.d.ts +0 -1
  229. package/dist/src/cli/scripts/htmx.d.ts +0 -1
  230. package/dist/src/cli/scripts/info.d.ts +0 -1
  231. package/dist/src/cli/scripts/inspect.d.ts +0 -1
  232. package/dist/src/cli/scripts/islands.d.ts +0 -1
  233. package/dist/src/cli/scripts/logs.d.ts +0 -1
  234. package/dist/src/cli/scripts/ls.d.ts +0 -1
  235. package/dist/src/cli/scripts/mem.d.ts +0 -1
  236. package/dist/src/cli/scripts/prettier.d.ts +0 -3
  237. package/dist/src/cli/scripts/ps.d.ts +0 -1
  238. package/dist/src/cli/scripts/remove.d.ts +0 -1
  239. package/dist/src/cli/scripts/routes.d.ts +0 -1
  240. package/dist/src/cli/scripts/start.d.ts +0 -1
  241. package/dist/src/cli/scripts/telemetry.d.ts +0 -5
  242. package/dist/src/cli/scripts/tunnelRelay.d.ts +0 -9
  243. package/dist/src/cli/scripts/typecheck.d.ts +0 -1
  244. package/dist/src/cli/scripts/workspace.d.ts +0 -11
  245. package/dist/src/cli/telemetryEvent.d.ts +0 -1
  246. package/dist/src/cli/tuiPrimitives.d.ts +0 -14
  247. package/dist/src/cli/utils.d.ts +0 -15
  248. package/dist/src/cli/workspaceTui.d.ts +0 -44
  249. package/dist/src/client/hydrators/react.d.ts +0 -3
  250. package/dist/src/client/hydrators/svelte.d.ts +0 -2
  251. package/dist/src/client/hydrators/vue.d.ts +0 -2
  252. package/dist/src/client/index.d.ts +0 -4
  253. package/dist/src/client/islandResolver.d.ts +0 -2
  254. package/dist/src/client/islandRuntime.d.ts +0 -9
  255. package/dist/src/client/islandStore.d.ts +0 -22
  256. package/dist/src/client/preserveIslandMarkup.d.ts +0 -16
  257. package/dist/src/client/streamSwap.d.ts +0 -1
  258. package/dist/src/constants.d.ts +0 -96
  259. package/dist/src/core/angularServerModule.d.ts +0 -1
  260. package/dist/src/core/build.d.ts +0 -14
  261. package/dist/src/core/currentIslandRegistry.d.ts +0 -7
  262. package/dist/src/core/devBuild.d.ts +0 -23
  263. package/dist/src/core/devRouteRegistrationCallsite.d.ts +0 -4
  264. package/dist/src/core/devVendorPaths.d.ts +0 -17
  265. package/dist/src/core/index.d.ts +0 -7
  266. package/dist/src/core/islandManifest.d.ts +0 -3
  267. package/dist/src/core/islandMarkupAttributes.d.ts +0 -12
  268. package/dist/src/core/islandPageContext.d.ts +0 -12
  269. package/dist/src/core/islandSsr.d.ts +0 -6
  270. package/dist/src/core/islands.d.ts +0 -16
  271. package/dist/src/core/loadIslandRegistry.d.ts +0 -1
  272. package/dist/src/core/lookup.d.ts +0 -1
  273. package/dist/src/core/normalizeIslandProps.d.ts +0 -15
  274. package/dist/src/core/pageHandlers.d.ts +0 -5
  275. package/dist/src/core/prepare.d.ts +0 -417
  276. package/dist/src/core/prerender.d.ts +0 -31
  277. package/dist/src/core/renderIslandMarkup.d.ts +0 -13
  278. package/dist/src/core/responseEnhancers.d.ts +0 -10
  279. package/dist/src/core/staticStreaming.d.ts +0 -25
  280. package/dist/src/core/streamingSlotRegistrar.d.ts +0 -16
  281. package/dist/src/core/streamingSlotRegistry.d.ts +0 -2
  282. package/dist/src/core/streamingSlotWarningScope.d.ts +0 -4
  283. package/dist/src/core/svelteServerModule.d.ts +0 -1
  284. package/dist/src/core/vueServerModule.d.ts +0 -1
  285. package/dist/src/core/wrapPageHandlerWithStreamingSlots.d.ts +0 -2
  286. package/dist/src/dev/angular/fastHmrCompiler.d.ts +0 -58
  287. package/dist/src/dev/angular/hmrCompiler.d.ts +0 -2
  288. package/dist/src/dev/angular/hmrImportGenerator.d.ts +0 -3
  289. package/dist/src/dev/angular/hmrInjectionPlugin.d.ts +0 -8
  290. package/dist/src/dev/angular/resolveOwningComponents.d.ts +0 -16
  291. package/dist/src/dev/angular/vendor/translator/api/ast_factory.d.ts +0 -363
  292. package/dist/src/dev/angular/vendor/translator/api/import_generator.d.ts +0 -49
  293. package/dist/src/dev/angular/vendor/translator/context.d.ts +0 -18
  294. package/dist/src/dev/angular/vendor/translator/translator.d.ts +0 -75
  295. package/dist/src/dev/angular/vendor/translator/ts_util.d.ts +0 -12
  296. package/dist/src/dev/angular/vendor/translator/typescript_ast_factory.d.ts +0 -66
  297. package/dist/src/dev/angular/vendor/translator/typescript_translator.d.ts +0 -13
  298. package/dist/src/dev/assetStore.d.ts +0 -8
  299. package/dist/src/dev/buildHMRClient.d.ts +0 -1
  300. package/dist/src/dev/clientManager.d.ts +0 -33
  301. package/dist/src/dev/configResolver.d.ts +0 -16
  302. package/dist/src/dev/dependencyGraph.d.ts +0 -10
  303. package/dist/src/dev/devCert.d.ts +0 -11
  304. package/dist/src/dev/fileHashTracker.d.ts +0 -2
  305. package/dist/src/dev/fileWatcher.d.ts +0 -4
  306. package/dist/src/dev/moduleMapper.d.ts +0 -27
  307. package/dist/src/dev/moduleServer.d.ts +0 -24
  308. package/dist/src/dev/moduleVersionTracker.d.ts +0 -7
  309. package/dist/src/dev/pathUtils.d.ts +0 -8
  310. package/dist/src/dev/reactComponentClassifier.d.ts +0 -2
  311. package/dist/src/dev/rebuildTrigger.d.ts +0 -11
  312. package/dist/src/dev/requestInspector.d.ts +0 -43
  313. package/dist/src/dev/serverEntryWatcher.d.ts +0 -5
  314. package/dist/src/dev/simpleHTMLHMR.d.ts +0 -4
  315. package/dist/src/dev/simpleHTMXHMR.d.ts +0 -4
  316. package/dist/src/dev/transformCache.d.ts +0 -22
  317. package/dist/src/dev/tunnel/client.d.ts +0 -20
  318. package/dist/src/dev/tunnel/protocol.d.ts +0 -85
  319. package/dist/src/dev/tunnel/relay.d.ts +0 -28
  320. package/dist/src/dev/webSocket.d.ts +0 -9
  321. package/dist/src/ember/browser.d.ts +0 -24
  322. package/dist/src/ember/index.d.ts +0 -2
  323. package/dist/src/ember/pageHandler.d.ts +0 -35
  324. package/dist/src/ember/server.d.ts +0 -2
  325. package/dist/src/index.d.ts +0 -7
  326. package/dist/src/islands/browser.d.ts +0 -3
  327. package/dist/src/islands/index.d.ts +0 -3
  328. package/dist/src/islands/pageMetadata.d.ts +0 -13
  329. package/dist/src/islands/sourceMetadata.d.ts +0 -10
  330. package/dist/src/plugins/devtoolsJson.d.ts +0 -58
  331. package/dist/src/plugins/hmr.d.ts +0 -163
  332. package/dist/src/plugins/imageOptimizer.d.ts +0 -67
  333. package/dist/src/plugins/index.d.ts +0 -3
  334. package/dist/src/plugins/networking.d.ts +0 -2
  335. package/dist/src/plugins/pageRouter.d.ts +0 -1
  336. package/dist/src/react/Island.browser.d.ts +0 -2
  337. package/dist/src/react/Island.d.ts +0 -2
  338. package/dist/src/react/bridgeInternals.d.ts +0 -1
  339. package/dist/src/react/browser.d.ts +0 -3
  340. package/dist/src/react/components/Head.d.ts +0 -2
  341. package/dist/src/react/components/Image.d.ts +0 -2
  342. package/dist/src/react/components/JsonLd.d.ts +0 -4
  343. package/dist/src/react/components/StreamSlot.browser.d.ts +0 -10
  344. package/dist/src/react/components/StreamSlot.d.ts +0 -10
  345. package/dist/src/react/components/SuspenseSlot.browser.d.ts +0 -22
  346. package/dist/src/react/components/SuspenseSlot.d.ts +0 -37
  347. package/dist/src/react/components/browser/index.d.ts +0 -5
  348. package/dist/src/react/components/index.d.ts +0 -5
  349. package/dist/src/react/createIsland.browser.d.ts +0 -2
  350. package/dist/src/react/createIsland.d.ts +0 -2
  351. package/dist/src/react/hooks/index.d.ts +0 -3
  352. package/dist/src/react/hooks/useIslandStore.d.ts +0 -3
  353. package/dist/src/react/hooks/useMediaQuery.d.ts +0 -7
  354. package/dist/src/react/index.d.ts +0 -4
  355. package/dist/src/react/jsxDevRuntimeCompat.d.ts +0 -8
  356. package/dist/src/react/pageHandler.d.ts +0 -25
  357. package/dist/src/react/router/UniversalRouter.d.ts +0 -43
  358. package/dist/src/react/router/browser.d.ts +0 -2
  359. package/dist/src/react/router/index.d.ts +0 -2
  360. package/dist/src/react/server.d.ts +0 -1
  361. package/dist/src/react/staticAnalyzeSpaRoutes.d.ts +0 -7
  362. package/dist/src/svelte/browser.d.ts +0 -4
  363. package/dist/src/svelte/createIsland.browser.d.ts +0 -2
  364. package/dist/src/svelte/createIsland.d.ts +0 -2
  365. package/dist/src/svelte/index.d.ts +0 -6
  366. package/dist/src/svelte/islandStore.d.ts +0 -5
  367. package/dist/src/svelte/lowerAwaitSlotSyntax.d.ts +0 -4
  368. package/dist/src/svelte/lowerIslandSyntax.d.ts +0 -4
  369. package/dist/src/svelte/pageHandler.d.ts +0 -28
  370. package/dist/src/svelte/renderIsland.d.ts +0 -2
  371. package/dist/src/svelte/renderToPipeableStream.d.ts +0 -12
  372. package/dist/src/svelte/renderToReadableStream.d.ts +0 -14
  373. package/dist/src/svelte/renderToString.d.ts +0 -9
  374. package/dist/src/svelte/resolveIslandHtml.browser.d.ts +0 -2
  375. package/dist/src/svelte/resolveIslandHtml.d.ts +0 -2
  376. package/dist/src/svelte/router/browser.d.ts +0 -4
  377. package/dist/src/svelte/router/goto.d.ts +0 -15
  378. package/dist/src/svelte/router/hashMode.d.ts +0 -16
  379. package/dist/src/svelte/router/index.d.ts +0 -4
  380. package/dist/src/svelte/router/matchPath.d.ts +0 -30
  381. package/dist/src/svelte/router/page.svelte.d.ts +0 -15
  382. package/dist/src/svelte/router/prefetchCache.d.ts +0 -17
  383. package/dist/src/svelte/router/pushState.d.ts +0 -13
  384. package/dist/src/svelte/router/viewTransitions.d.ts +0 -6
  385. package/dist/src/svelte/server.d.ts +0 -1
  386. package/dist/src/svelte/staticAnalyzeSpaRoutes.d.ts +0 -7
  387. package/dist/src/utils/buildDirectoryLock.d.ts +0 -28
  388. package/dist/src/utils/cleanStaleOutputs.d.ts +0 -1
  389. package/dist/src/utils/cleanup.d.ts +0 -9
  390. package/dist/src/utils/commonAncestor.d.ts +0 -1
  391. package/dist/src/utils/defineConfig.d.ts +0 -39
  392. package/dist/src/utils/defineConvention.d.ts +0 -3
  393. package/dist/src/utils/defineEnv.d.ts +0 -10
  394. package/dist/src/utils/escapeScriptContent.d.ts +0 -1
  395. package/dist/src/utils/formatBytes.d.ts +0 -2
  396. package/dist/src/utils/generateHeadElement.d.ts +0 -4
  397. package/dist/src/utils/generateSitemap.d.ts +0 -21
  398. package/dist/src/utils/generatedDir.d.ts +0 -3
  399. package/dist/src/utils/getDurationString.d.ts +0 -1
  400. package/dist/src/utils/getEnv.d.ts +0 -1
  401. package/dist/src/utils/imageClient.d.ts +0 -13
  402. package/dist/src/utils/imageProcessing.d.ts +0 -33
  403. package/dist/src/utils/index.d.ts +0 -11
  404. package/dist/src/utils/inlinePageCss.d.ts +0 -2
  405. package/dist/src/utils/instanceRegistry.d.ts +0 -13
  406. package/dist/src/utils/jsonLd.d.ts +0 -3
  407. package/dist/src/utils/loadConfig.d.ts +0 -55
  408. package/dist/src/utils/logger.d.ts +0 -56
  409. package/dist/src/utils/networking.d.ts +0 -2
  410. package/dist/src/utils/normalizePath.d.ts +0 -9
  411. package/dist/src/utils/portScan.d.ts +0 -22
  412. package/dist/src/utils/projectRoot.d.ts +0 -17
  413. package/dist/src/utils/registerClientScript.d.ts +0 -36
  414. package/dist/src/utils/resolveConvention.d.ts +0 -10
  415. package/dist/src/utils/resolveDevPort.d.ts +0 -24
  416. package/dist/src/utils/runtimeMode.d.ts +0 -3
  417. package/dist/src/utils/spaRouteCss.d.ts +0 -4
  418. package/dist/src/utils/spaRouteTypes.d.ts +0 -25
  419. package/dist/src/utils/ssrErrorPage.d.ts +0 -1
  420. package/dist/src/utils/startupBanner.d.ts +0 -10
  421. package/dist/src/utils/startupTimings.d.ts +0 -7
  422. package/dist/src/utils/streamingSlotMetricSink.d.ts +0 -18
  423. package/dist/src/utils/streamingSlots.d.ts +0 -76
  424. package/dist/src/utils/stringModifiers.d.ts +0 -3
  425. package/dist/src/utils/userAgentFunctions.d.ts +0 -1
  426. package/dist/src/utils/validateSafePath.d.ts +0 -1
  427. package/dist/src/vue/Island.browser.d.ts +0 -37
  428. package/dist/src/vue/Island.d.ts +0 -36
  429. package/dist/src/vue/browser.d.ts +0 -6
  430. package/dist/src/vue/components/Image.d.ts +0 -74
  431. package/dist/src/vue/components/StreamSlot.d.ts +0 -22
  432. package/dist/src/vue/components/SuspenseSlot.d.ts +0 -26
  433. package/dist/src/vue/components/index.d.ts +0 -3
  434. package/dist/src/vue/createIsland.browser.d.ts +0 -13
  435. package/dist/src/vue/createIsland.d.ts +0 -13
  436. package/dist/src/vue/defineVuePage.d.ts +0 -6
  437. package/dist/src/vue/index.d.ts +0 -9
  438. package/dist/src/vue/pageHandler.d.ts +0 -45
  439. package/dist/src/vue/routerRedirectProviders.d.ts +0 -45
  440. package/dist/src/vue/server.d.ts +0 -2
  441. package/dist/src/vue/staticAnalyzeSpaRoutes.d.ts +0 -7
  442. package/dist/src/vue/useIslandStore.d.ts +0 -3
  443. package/dist/svelte/browser.js +0 -309
  444. package/dist/svelte/browser.js.map +0 -19
  445. package/dist/svelte/components/AwaitSlot.svelte +0 -39
  446. package/dist/svelte/components/AwaitSlot.svelte.d.ts +0 -2
  447. package/dist/svelte/components/Head.svelte +0 -144
  448. package/dist/svelte/components/Head.svelte.d.ts +0 -2
  449. package/dist/svelte/components/Image.svelte +0 -164
  450. package/dist/svelte/components/Image.svelte.d.ts +0 -5
  451. package/dist/svelte/components/Island.svelte +0 -71
  452. package/dist/svelte/components/Island.svelte.d.ts +0 -5
  453. package/dist/svelte/components/JsonLd.svelte +0 -21
  454. package/dist/svelte/components/JsonLd.svelte.d.ts +0 -2
  455. package/dist/svelte/components/StreamSlot.svelte +0 -41
  456. package/dist/svelte/components/StreamSlot.svelte.d.ts +0 -2
  457. package/dist/svelte/index.js +0 -4371
  458. package/dist/svelte/index.js.map +0 -60
  459. package/dist/svelte/router/Link.svelte +0 -124
  460. package/dist/svelte/router/Link.svelte.d.ts +0 -21
  461. package/dist/svelte/router/Route.svelte +0 -54
  462. package/dist/svelte/router/Route.svelte.d.ts +0 -13
  463. package/dist/svelte/router/Router.svelte +0 -189
  464. package/dist/svelte/router/Router.svelte.d.ts +0 -16
  465. package/dist/svelte/router/browser.ts +0 -14
  466. package/dist/svelte/router/goto.ts +0 -89
  467. package/dist/svelte/router/hashMode.ts +0 -31
  468. package/dist/svelte/router/index.ts +0 -23
  469. package/dist/svelte/router/matchPath.ts +0 -136
  470. package/dist/svelte/router/page.d.ts +0 -15
  471. package/dist/svelte/router/page.js +0 -27
  472. package/dist/svelte/router/prefetchCache.ts +0 -85
  473. package/dist/svelte/router/pushState.ts +0 -35
  474. package/dist/svelte/router/viewTransitions.ts +0 -35
  475. package/dist/svelte/server.js +0 -2996
  476. package/dist/svelte/server.js.map +0 -33
  477. package/dist/types/absoluteConfig.d.ts +0 -22
  478. package/dist/types/angular.d.ts +0 -43
  479. package/dist/types/build.d.ts +0 -245
  480. package/dist/types/cli.d.ts +0 -71
  481. package/dist/types/client.d.ts +0 -70
  482. package/dist/types/config.d.ts +0 -50
  483. package/dist/types/conventions.d.ts +0 -26
  484. package/dist/types/ember.d.ts +0 -39
  485. package/dist/types/env.d.ts +0 -2
  486. package/dist/types/eslintConfig.d.ts +0 -68
  487. package/dist/types/globals.d.ts +0 -163
  488. package/dist/types/image.d.ts +0 -77
  489. package/dist/types/index.d.ts +0 -17
  490. package/dist/types/island.d.ts +0 -52
  491. package/dist/types/jsonLd.d.ts +0 -300
  492. package/dist/types/mediaQuery.d.ts +0 -9
  493. package/dist/types/messages.d.ts +0 -152
  494. package/dist/types/metadata.d.ts +0 -51
  495. package/dist/types/packageJson.d.ts +0 -74
  496. package/dist/types/packageJsonPanel.d.ts +0 -29
  497. package/dist/types/prettier.d.ts +0 -26
  498. package/dist/types/react.d.ts +0 -2
  499. package/dist/types/sitemap.d.ts +0 -24
  500. package/dist/types/style-module-shim.d.ts +0 -29
  501. package/dist/types/svelte.d.ts +0 -2
  502. package/dist/types/svelteRouter.d.ts +0 -65
  503. package/dist/types/svelteRouter.ts +0 -91
  504. package/dist/types/telemetry.d.ts +0 -15
  505. package/dist/types/tool.d.ts +0 -11
  506. package/dist/types/tsconfig.d.ts +0 -31
  507. package/dist/types/typeGuards.d.ts +0 -2
  508. package/dist/types/userAgentTypes.d.ts +0 -2
  509. package/dist/types/vue.d.ts +0 -56
  510. package/dist/types/websocket.d.ts +0 -6
  511. package/dist/vue/browser.js +0 -512
  512. package/dist/vue/browser.js.map +0 -22
  513. package/dist/vue/components/Image.js +0 -264
  514. package/dist/vue/components/Image.js.map +0 -12
  515. package/dist/vue/components/index.js +0 -571
  516. package/dist/vue/components/index.js.map +0 -15
  517. package/dist/vue/index.js +0 -5238
  518. package/dist/vue/index.js.map +0 -69
  519. package/dist/vue/server.js +0 -2251
  520. package/dist/vue/server.js.map +0 -32
@@ -1,101 +0,0 @@
1
- export const ANGULAR_INIT_TIMEOUT_MS = 500;
2
- export const ANSI_ESCAPE_CODE = 27;
3
- export const ANSI_ESCAPE_LENGTH = 3;
4
- export const ASCII_SPACE = 32;
5
- export const BASE_36_RADIX = 36;
6
- export const BUN_BUILD_WARNING_SUPPRESSION = 'wildcard sideEffects are not supported yet';
7
- export const BODY_SLICE_LENGTH = 2000;
8
- export const BYTES_PER_KILOBYTE = 1024;
9
- export const CLI_ARGS_OFFSET = 3;
10
- export const CSS_ERROR_RESOLVE_DELAY_MS = 50;
11
- export const CSS_MAX_CHECK_ATTEMPTS = 10;
12
- export const CSS_MAX_PARSE_TIMEOUT_MS = 500;
13
- export const CSS_SHEET_READY_TIMEOUT_MS = 100;
14
- export const DEFAULT_CHUNK_SIZE = 16_384;
15
- export const DEFAULT_DEBOUNCE_MS = 15;
16
- export const DEFAULT_PORT = 3000;
17
- export const DEV_SERVER_RESTART_DEBOUNCE_MS = 100;
18
- export const DOM_UPDATE_DELAY_MS = 50;
19
- export const FILE_PROTOCOL_PREFIX_LENGTH = 7;
20
- export const FOCUS_ID_PREFIX_LENGTH = 3;
21
- export const FOCUS_IDX_PREFIX_LENGTH = 4;
22
- export const FOCUS_NAME_PREFIX_LENGTH = 5;
23
- export const ESLINT_STUDIO_DEFAULT_HOST = 'eslint.absolute.localhost';
24
- export const ESLINT_STUDIO_DEFAULT_PORT = 4099;
25
- export const CONFIG_DEFAULT_HOST = 'config.absolute.localhost';
26
- export const CONFIG_DEFAULT_PORT = 4099;
27
- export const HMR_UPDATE_TIMEOUT_MS = 2000;
28
- export const HOOK_SIGNATURE_LENGTH = 12;
29
- export const EXCLUDE_LAST_OFFSET = -1;
30
- export const HTTP_STATUS_OK = 200;
31
- export const HTTP_STATUS_BAD_REQUEST = 400;
32
- export const HTTP_STATUS_NOT_FOUND = 404;
33
- export const HOURS_IN_DAY = 24;
34
- export const HOURS_IN_HALF_DAY = 12;
35
- export const IMAGE_DEFAULT_DEVICE_SIZES = [
36
- 640, 750, 828, 1080, 1200, 1920, 2048, 3840
37
- ];
38
- export const IMAGE_DEFAULT_IMAGE_SIZES = [16, 32, 48, 64, 96, 128, 256, 384];
39
- export const IMAGE_DEFAULT_QUALITY = 75;
40
- export const IMAGE_GLOB_SUFFIX_LENGTH = 2;
41
- export const INSTANCE_PROBE_TIMEOUT_MS = 250;
42
- export const MAX_ERROR_LENGTH = 200;
43
- export const MAX_RECONNECT_ATTEMPTS = 60;
44
- export const MILLISECONDS_IN_A_SECOND = 1000;
45
- export const MINUTES_IN_AN_HOUR = 60;
46
- export const SECONDS_IN_A_MINUTE = 60;
47
- export const MILLISECONDS_IN_A_MINUTE = MILLISECONDS_IN_A_SECOND * SECONDS_IN_A_MINUTE;
48
- export const MILLISECONDS_IN_A_DAY = MILLISECONDS_IN_A_SECOND *
49
- SECONDS_IN_A_MINUTE *
50
- MINUTES_IN_AN_HOUR *
51
- HOURS_IN_DAY;
52
- export const OVERLAY_FADE_DURATION_MS = 150;
53
- export const PING_INTERVAL_MS = 30_000;
54
- export const LIST_LOG_TAIL_MAX_BYTES = 65_536;
55
- export const LIST_TUI_COLUMN_GAP = 2;
56
- export const LIST_TUI_DEFAULT_HEIGHT = 28;
57
- export const LIST_TUI_DEFAULT_WIDTH = 100;
58
- export const LIST_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;
59
- export const LIST_TUI_FOOTER_LINE_COUNT = 2;
60
- export const LIST_TUI_MARKER_WIDTH = 2;
61
- export const LIST_TUI_MIN_LOG_HEIGHT = 3;
62
- export const LIST_TUI_MIN_URL_WIDTH = 16;
63
- export const LIST_TUI_RENDER_DEBOUNCE_MS = 16;
64
- export const LIST_TUI_STATUS_MESSAGE_TIMEOUT_MS = 4000;
65
- export const LIST_WATCH_REFRESH_MS = 1000;
66
- export const RAF_BATCH_COUNT = 3;
67
- export const RANDOM_ID_END_INDEX = 11;
68
- export const REBUILD_BATCH_DELAY_MS = 10;
69
- export const REBUILD_RELOAD_DELAY_MS = 200;
70
- export const RECONNECT_INITIAL_DELAY_MS = 500;
71
- export const RECONNECT_POLL_INTERVAL_MS = 300;
72
- export const REACT_STREAM_SLOT_FAST_DELAY_MS = 5;
73
- export const REACT_STREAM_SLOT_SLOW_DELAY_MS = 20;
74
- export const SIGINT_EXIT_CODE = 130;
75
- export const SIGTERM_EXIT_CODE = 143;
76
- export const SVELTE_CSS_LOAD_TIMEOUT_MS = 500;
77
- export const TIME_PRECISION = 2;
78
- export const TWO_THIRDS = 2 / 3;
79
- export const UNFOUND_INDEX = -1;
80
- export const WEBSOCKET_NORMAL_CLOSURE = 1000;
81
- export const WORKSPACE_COMMAND_ARGS_OFFSET = 3;
82
- export const WORKSPACE_FAILURE_LOG_PRINT_LIMIT = 30;
83
- export const WORKSPACE_FAILURE_RECENT_LOG_LIMIT = 60;
84
- export const WORKSPACE_READY_ATTEMPT_TIMEOUT_MS = 5_000;
85
- export const WORKSPACE_READY_PROBE_INTERVAL_MS = 250;
86
- export const WORKSPACE_READY_TIMEOUT_MS = 30_000;
87
- export const WORKSPACE_SHUTDOWN_TIMEOUT_MS = 10_000;
88
- export const WORKSPACE_TUI_DEFAULT_HEIGHT = 28;
89
- export const WORKSPACE_TUI_DEFAULT_WIDTH = 100;
90
- export const WORKSPACE_TUI_ESCAPE_SEQUENCE_TIMEOUT_MS = 30;
91
- export const WORKSPACE_TUI_FOOTER_LINE_COUNT = 3;
92
- export const WORKSPACE_TUI_MIN_LOG_HEIGHT = 3;
93
- export const WORKSPACE_TUI_MIN_SERVICE_NAME_WIDTH = 7;
94
- export const WORKSPACE_TUI_MIN_TARGET_WIDTH = 8;
95
- export const WORKSPACE_TUI_MIN_WRAP_WIDTH = 12;
96
- export const WORKSPACE_TUI_PROMPT_CURSOR_OFFSET = 3;
97
- export const WORKSPACE_TUI_RECENT_LOG_LIMIT = 40;
98
- export const WORKSPACE_TUI_RENDER_DEBOUNCE_MS = 16;
99
- export const WORKSPACE_TUI_STATUS_WIDTH = 10;
100
- export const WORKSPACE_TUI_TARGET_PADDING_WIDTH = 6;
101
- export const WORKSPACE_TUI_VISIBILITY_WIDTH = 8;
@@ -1,58 +0,0 @@
1
- // @bun
2
- var __require = import.meta.require;
3
-
4
- // .angular-partial-tmp-5y3q6r/src/core/streamingSlotRegistrar.ts
5
- var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
- var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
- var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
8
- var getRegisteredStreamingSlotRegistrar = () => {
9
- const value = Reflect.get(globalThis, STREAMING_SLOT_REGISTRAR_KEY);
10
- if (typeof value === "function" || value === null) {
11
- return value;
12
- }
13
- return;
14
- };
15
- var isObjectRecord = (value) => Boolean(value) && typeof value === "object";
16
- var isStreamingSlotWarningController = (value) => isObjectRecord(value) && ("maybeWarn" in value) && typeof value.maybeWarn === "function";
17
- var isStreamingSlotCollectionController = (value) => isObjectRecord(value) && ("isCollecting" in value) && typeof value.isCollecting === "function";
18
- var getWarningController = () => {
19
- const value = Reflect.get(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY);
20
- if (value === null || typeof value === "undefined")
21
- return;
22
- return isStreamingSlotWarningController(value) ? value : undefined;
23
- };
24
- var getCollectionController = () => {
25
- const value = Reflect.get(globalThis, STREAMING_SLOT_COLLECTION_STORAGE_KEY);
26
- if (value === null || typeof value === "undefined")
27
- return;
28
- return isStreamingSlotCollectionController(value) ? value : undefined;
29
- };
30
- var hasRegisteredStreamingSlotRegistrar = () => typeof getRegisteredStreamingSlotRegistrar() === "function";
31
- var isStreamingSlotCollectionActive = () => getCollectionController()?.isCollecting() === true;
32
- var registerStreamingSlot = (slot) => {
33
- getRegisteredStreamingSlotRegistrar()?.(slot);
34
- };
35
- var setStreamingSlotCollectionController = (controller) => {
36
- Reflect.set(globalThis, STREAMING_SLOT_COLLECTION_STORAGE_KEY, controller);
37
- };
38
- var setStreamingSlotRegistrar = (nextRegistrar) => {
39
- Reflect.set(globalThis, STREAMING_SLOT_REGISTRAR_KEY, nextRegistrar);
40
- };
41
- var setStreamingSlotWarningController = (controller) => {
42
- Reflect.set(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY, controller);
43
- };
44
- var warnMissingStreamingSlotCollector = (primitiveName) => {
45
- if (isStreamingSlotCollectionActive()) {
46
- return;
47
- }
48
- getWarningController()?.maybeWarn(primitiveName);
49
- };
50
- export {
51
- warnMissingStreamingSlotCollector,
52
- setStreamingSlotWarningController,
53
- setStreamingSlotRegistrar,
54
- setStreamingSlotCollectionController,
55
- registerStreamingSlot,
56
- isStreamingSlotCollectionActive,
57
- hasRegisteredStreamingSlotRegistrar
58
- };
@@ -1,114 +0,0 @@
1
- // @bun
2
- var __require = import.meta.require;
3
-
4
- // .angular-partial-tmp-5y3q6r/src/core/streamingSlotRegistrar.ts
5
- var STREAMING_SLOT_REGISTRAR_KEY = Symbol.for("absolutejs.streamingSlotRegistrar");
6
- var STREAMING_SLOT_WARNING_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotWarningController");
7
- var STREAMING_SLOT_COLLECTION_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotCollectionController");
8
- var getRegisteredStreamingSlotRegistrar = () => {
9
- const value = Reflect.get(globalThis, STREAMING_SLOT_REGISTRAR_KEY);
10
- if (typeof value === "function" || value === null) {
11
- return value;
12
- }
13
- return;
14
- };
15
- var isObjectRecord = (value) => Boolean(value) && typeof value === "object";
16
- var isStreamingSlotWarningController = (value) => isObjectRecord(value) && ("maybeWarn" in value) && typeof value.maybeWarn === "function";
17
- var isStreamingSlotCollectionController = (value) => isObjectRecord(value) && ("isCollecting" in value) && typeof value.isCollecting === "function";
18
- var getWarningController = () => {
19
- const value = Reflect.get(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY);
20
- if (value === null || typeof value === "undefined")
21
- return;
22
- return isStreamingSlotWarningController(value) ? value : undefined;
23
- };
24
- var getCollectionController = () => {
25
- const value = Reflect.get(globalThis, STREAMING_SLOT_COLLECTION_STORAGE_KEY);
26
- if (value === null || typeof value === "undefined")
27
- return;
28
- return isStreamingSlotCollectionController(value) ? value : undefined;
29
- };
30
- var hasRegisteredStreamingSlotRegistrar = () => typeof getRegisteredStreamingSlotRegistrar() === "function";
31
- var isStreamingSlotCollectionActive = () => getCollectionController()?.isCollecting() === true;
32
- var registerStreamingSlot = (slot) => {
33
- getRegisteredStreamingSlotRegistrar()?.(slot);
34
- };
35
- var setStreamingSlotCollectionController = (controller) => {
36
- Reflect.set(globalThis, STREAMING_SLOT_COLLECTION_STORAGE_KEY, controller);
37
- };
38
- var setStreamingSlotRegistrar = (nextRegistrar) => {
39
- Reflect.set(globalThis, STREAMING_SLOT_REGISTRAR_KEY, nextRegistrar);
40
- };
41
- var setStreamingSlotWarningController = (controller) => {
42
- Reflect.set(globalThis, STREAMING_SLOT_WARNING_STORAGE_KEY, controller);
43
- };
44
- var warnMissingStreamingSlotCollector = (primitiveName) => {
45
- if (isStreamingSlotCollectionActive()) {
46
- return;
47
- }
48
- getWarningController()?.maybeWarn(primitiveName);
49
- };
50
-
51
- // .angular-partial-tmp-5y3q6r/src/core/streamingSlotRegistry.ts
52
- var STREAMING_SLOT_STORAGE_KEY = Symbol.for("absolutejs.streamingSlotAsyncLocalStorage");
53
- var isObjectRecord2 = (value) => Boolean(value) && typeof value === "object";
54
- var isAsyncLocalStorage = (value) => isObjectRecord2(value) && ("getStore" in value) && typeof value.getStore === "function" && ("run" in value) && typeof value.run === "function";
55
- var getStorageGlobal = () => {
56
- const value = Reflect.get(globalThis, STREAMING_SLOT_STORAGE_KEY);
57
- if (value === null || typeof value === "undefined") {
58
- return value;
59
- }
60
- return isAsyncLocalStorage(value) ? value : undefined;
61
- };
62
- var isServerRuntime = () => typeof process !== "undefined" && typeof process.versions?.node === "string";
63
- var ensureAsyncLocalStorage = async () => {
64
- const storage = getStorageGlobal();
65
- if (typeof storage !== "undefined") {
66
- return storage;
67
- }
68
- if (!isServerRuntime()) {
69
- Reflect.set(globalThis, STREAMING_SLOT_STORAGE_KEY, null);
70
- return getStorageGlobal();
71
- }
72
- const mod = await import("async_hooks");
73
- Reflect.set(globalThis, STREAMING_SLOT_STORAGE_KEY, new mod.AsyncLocalStorage);
74
- return getStorageGlobal();
75
- };
76
- var getActiveSlotStore = () => {
77
- const storage = getStorageGlobal();
78
- if (!storage)
79
- return;
80
- return storage.getStore();
81
- };
82
- var registerStreamingSlot2 = (slot) => {
83
- const store = getActiveSlotStore();
84
- if (!store)
85
- return;
86
- store.set(slot.id, slot);
87
- };
88
- setStreamingSlotRegistrar(registerStreamingSlot2);
89
- setStreamingSlotCollectionController({
90
- isCollecting: () => getActiveSlotStore() !== undefined
91
- });
92
- var hasActiveStreamingSlotRegistry = () => getActiveSlotStore() !== undefined;
93
- var runWithStreamingSlotRegistry = async (task) => {
94
- const storage = await ensureAsyncLocalStorage();
95
- if (!storage) {
96
- const slots = [];
97
- return {
98
- result: await task(),
99
- slots
100
- };
101
- }
102
- return storage.run(new Map, async () => {
103
- const result = await task();
104
- const store = storage.getStore();
105
- return {
106
- result,
107
- slots: store ? [...store.values()] : []
108
- };
109
- });
110
- };
111
- export {
112
- runWithStreamingSlotRegistry,
113
- hasActiveStreamingSlotRegistry
114
- };
@@ -1,6 +0,0 @@
1
- const isObjectRecord = (value) => Boolean(value) && typeof value === 'object';
2
- export const isAngularDeferSlotPayload = (value) => {
3
- if (!isObjectRecord(value))
4
- return false;
5
- return value.kind === 'angular-defer' && typeof value.html === 'string';
6
- };
@@ -1,44 +0,0 @@
1
- import { Directive, TemplateRef, inject } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- export class DeferErrorTemplateDirective {
4
- constructor() {
5
- this.templateRef = inject(TemplateRef);
6
- }
7
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferErrorTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
8
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: DeferErrorTemplateDirective, isStandalone: true, selector: "ng-template[absDeferError]", ngImport: i0 }); }
9
- }
10
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferErrorTemplateDirective, decorators: [{
11
- type: Directive,
12
- args: [{
13
- selector: 'ng-template[absDeferError]',
14
- standalone: true
15
- }]
16
- }] });
17
- export class DeferFallbackTemplateDirective {
18
- constructor() {
19
- this.templateRef = inject(TemplateRef);
20
- }
21
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferFallbackTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
22
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: DeferFallbackTemplateDirective, isStandalone: true, selector: "ng-template[absDeferFallback]", ngImport: i0 }); }
23
- }
24
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferFallbackTemplateDirective, decorators: [{
25
- type: Directive,
26
- args: [{
27
- selector: 'ng-template[absDeferFallback]',
28
- standalone: true
29
- }]
30
- }] });
31
- export class DeferResolvedTemplateDirective {
32
- constructor() {
33
- this.templateRef = inject(TemplateRef);
34
- }
35
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferResolvedTemplateDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
36
- static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.6", type: DeferResolvedTemplateDirective, isStandalone: true, selector: "ng-template[absDeferResolved]", ngImport: i0 }); }
37
- }
38
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferResolvedTemplateDirective, decorators: [{
39
- type: Directive,
40
- args: [{
41
- selector: 'ng-template[absDeferResolved]',
42
- standalone: true
43
- }]
44
- }] });
@@ -1,152 +0,0 @@
1
- import { ChangeDetectionStrategy, ChangeDetectorRef, Component, ContentChild, Input, inject, signal } from '@angular/core';
2
- import { NgTemplateOutlet } from '@angular/common';
3
- import { isStreamingSlotCollectionActive, registerStreamingSlot, warnMissingStreamingSlotCollector } from './core/streamingSlotRegistrar.js';
4
- import { isAngularDeferSlotPayload } from './defer-slot-payload.js';
5
- import { DeferErrorTemplateDirective, DeferFallbackTemplateDirective, DeferResolvedTemplateDirective } from './defer-slot-templates.directive.js';
6
- import * as i0 from "@angular/core";
7
- export class DeferSlotComponent {
8
- constructor() {
9
- this.cdr = inject(ChangeDetectorRef);
10
- this.runtimeReady = signal(false, ...(ngDevMode ? [{ debugName: "runtimeReady" }] : /* istanbul ignore next */ []));
11
- this.serverSlotRegistered = false;
12
- this.id = '';
13
- this.slotData = signal({}, ...(ngDevMode ? [{ debugName: "slotData" }] : /* istanbul ignore next */ []));
14
- this.state = signal('fallback', ...(ngDevMode ? [{ debugName: "state" }] : /* istanbul ignore next */ []));
15
- this.activeTemplate = () => {
16
- if (this.state() === 'resolved') {
17
- return this.resolvedTemplate?.templateRef ?? null;
18
- }
19
- if (this.state() === 'error') {
20
- return (this.errorTemplate?.templateRef ??
21
- this.fallbackTemplate?.templateRef ??
22
- null);
23
- }
24
- return (this.fallbackTemplate?.templateRef ??
25
- this.resolvedTemplate?.templateRef ??
26
- null);
27
- };
28
- this.templateContext = () => {
29
- const slotData = this.slotData();
30
- return {
31
- $implicit: slotData,
32
- slotData
33
- };
34
- };
35
- }
36
- ngOnInit() {
37
- const { id } = this;
38
- if (!id)
39
- return;
40
- if (this.registerServerSlot()) {
41
- return;
42
- }
43
- const absoluteWindow = window;
44
- const consumers = (absoluteWindow.__ABS_SLOT_CONSUMERS__ =
45
- absoluteWindow.__ABS_SLOT_CONSUMERS__ ?? {});
46
- consumers[id] = (payload) => {
47
- if (!this.runtimeReady())
48
- return false;
49
- this.applyPatchPayload(payload);
50
- return true;
51
- };
52
- }
53
- ngAfterViewInit() {
54
- if (this.registerServerSlot())
55
- return;
56
- if (typeof window === 'undefined')
57
- return;
58
- requestAnimationFrame(() => {
59
- this.runtimeReady.set(true);
60
- this.cdr.markForCheck();
61
- const absoluteWindow = window;
62
- absoluteWindow.__ABS_SLOT_FLUSH__?.();
63
- });
64
- }
65
- ngOnDestroy() {
66
- if (typeof window === 'undefined')
67
- return;
68
- const { id } = this;
69
- if (!id)
70
- return;
71
- const absoluteWindow = window;
72
- delete absoluteWindow.__ABS_SLOT_CONSUMERS__?.[id];
73
- }
74
- registerServerSlot() {
75
- const { id, resolve } = this;
76
- if (this.serverSlotRegistered || !id || !resolve) {
77
- return false;
78
- }
79
- if (!isStreamingSlotCollectionActive()) {
80
- warnMissingStreamingSlotCollector('DeferSlot');
81
- return false;
82
- }
83
- registerStreamingSlot({
84
- id,
85
- resolve
86
- });
87
- this.serverSlotRegistered = true;
88
- return true;
89
- }
90
- applyPatchPayload(payload) {
91
- if (payload === null || typeof payload === 'undefined')
92
- return;
93
- if (isAngularDeferSlotPayload(payload)) {
94
- const data = payload.data && typeof payload.data === 'object'
95
- ? payload.data
96
- : {};
97
- this.slotData.set(data);
98
- this.state.set(payload.state === 'error' ? 'error' : 'resolved');
99
- this.cdr.markForCheck();
100
- return;
101
- }
102
- this.slotData.set({});
103
- this.state.set(payload === '' ? 'fallback' : 'resolved');
104
- this.cdr.markForCheck();
105
- }
106
- static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferSlotComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
107
- static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.6", type: DeferSlotComponent, isStandalone: true, selector: "abs-defer-slot", inputs: { className: "className", id: "id", resolve: "resolve" }, queries: [{ propertyName: "resolvedTemplate", first: true, predicate: DeferResolvedTemplateDirective, descendants: true }, { propertyName: "fallbackTemplate", first: true, predicate: DeferFallbackTemplateDirective, descendants: true }, { propertyName: "errorTemplate", first: true, predicate: DeferErrorTemplateDirective, descendants: true }], ngImport: i0, template: `
108
- <div [attr.id]="id" [attr.class]="className" data-absolute-slot="true">
109
- <ng-container
110
- [ngTemplateOutlet]="activeTemplate()"
111
- [ngTemplateOutletContext]="templateContext()"
112
- ></ng-container>
113
- </div>
114
- `, isInline: true, dependencies: [{ kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
115
- }
116
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.6", ngImport: i0, type: DeferSlotComponent, decorators: [{
117
- type: Component,
118
- args: [{
119
- changeDetection: ChangeDetectionStrategy.OnPush,
120
- imports: [
121
- NgTemplateOutlet,
122
- DeferResolvedTemplateDirective,
123
- DeferFallbackTemplateDirective,
124
- DeferErrorTemplateDirective
125
- ],
126
- selector: 'abs-defer-slot',
127
- standalone: true,
128
- template: `
129
- <div [attr.id]="id" [attr.class]="className" data-absolute-slot="true">
130
- <ng-container
131
- [ngTemplateOutlet]="activeTemplate()"
132
- [ngTemplateOutletContext]="templateContext()"
133
- ></ng-container>
134
- </div>
135
- `
136
- }]
137
- }], propDecorators: { className: [{
138
- type: Input
139
- }], id: [{
140
- type: Input
141
- }], resolve: [{
142
- type: Input
143
- }], resolvedTemplate: [{
144
- type: ContentChild,
145
- args: [DeferResolvedTemplateDirective]
146
- }], fallbackTemplate: [{
147
- type: ContentChild,
148
- args: [DeferFallbackTemplateDirective]
149
- }], errorTemplate: [{
150
- type: ContentChild,
151
- args: [DeferErrorTemplateDirective]
152
- }] } });