@absolutejs/absolute 0.20.0-beta.43 → 0.20.0-beta.45

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 (77) hide show
  1. package/dist/angular/browser.js +378 -361
  2. package/dist/angular/browser.js.map +2 -2
  3. package/dist/angular/components/core/streamingSlotRegistrar.js +7 -7
  4. package/dist/angular/components/core/streamingSlotRegistry.js +4 -4
  5. package/dist/angular/index.js +300 -294
  6. package/dist/angular/index.js.map +2 -2
  7. package/dist/angular/server.js +54 -50
  8. package/dist/angular/server.js.map +2 -2
  9. package/dist/build.js +201 -204
  10. package/dist/build.js.map +3 -3
  11. package/dist/cli/config/client.js +12 -12
  12. package/dist/cli/config/server.js +1096 -1090
  13. package/dist/cli/index.js +1573 -1297
  14. package/dist/client/index.js +29 -25
  15. package/dist/client/index.js.map +2 -2
  16. package/dist/core/streamingSlotRegistrar.js +15 -13
  17. package/dist/core/streamingSlotRegistrar.js.map +2 -2
  18. package/dist/core/streamingSlotRegistry.js +11 -9
  19. package/dist/core/streamingSlotRegistry.js.map +2 -2
  20. package/dist/image-client/imageClient.js +7 -7
  21. package/dist/index.js +810 -733
  22. package/dist/index.js.map +7 -6
  23. package/dist/islands/browser.js +11 -9
  24. package/dist/islands/browser.js.map +2 -2
  25. package/dist/islands/index.js +39 -35
  26. package/dist/islands/index.js.map +2 -2
  27. package/dist/mobile/browser.js +23 -22
  28. package/dist/mobile/browser.js.map +3 -3
  29. package/dist/mobile/index.js +739 -426
  30. package/dist/mobile/index.js.map +11 -11
  31. package/dist/mobile/remoteMacAgentEntry.js +227 -37
  32. package/dist/mobile/shellBootstrap.js +0 -1
  33. package/dist/mobile/shellExpoAuth.js +184 -0
  34. package/dist/mobile/shellExpoDevices.js +4 -5
  35. package/dist/mobile/shellExpoSync.js +104 -0
  36. package/dist/mobile/shellSync.js +4 -4
  37. package/dist/react/browser.js +17 -15
  38. package/dist/react/browser.js.map +2 -2
  39. package/dist/react/components/browser/index.js +107 -107
  40. package/dist/react/components/index.js +118 -116
  41. package/dist/react/components/index.js.map +2 -2
  42. package/dist/react/hooks/index.js +11 -9
  43. package/dist/react/hooks/index.js.map +2 -2
  44. package/dist/react/index.js +53 -49
  45. package/dist/react/index.js.map +2 -2
  46. package/dist/react/jsxDevRuntimeCompat.js +11 -9
  47. package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
  48. package/dist/react/jsxRuntimeCompat.js +11 -9
  49. package/dist/react/jsxRuntimeCompat.js.map +2 -2
  50. package/dist/react/router/browser.js +9 -7
  51. package/dist/react/router/browser.js.map +2 -2
  52. package/dist/react/router/index.js +9 -7
  53. package/dist/react/router/index.js.map +2 -2
  54. package/dist/react/server.js +12 -10
  55. package/dist/react/server.js.map +2 -2
  56. package/dist/src/mobile/devDeviceAdapter.d.ts +1 -1
  57. package/dist/src/mobile/expoBridge.d.ts +12 -12
  58. package/dist/src/mobile/nativeAuth.d.ts +6 -0
  59. package/dist/src/mobile/shellExpoAuth.d.ts +12 -0
  60. package/dist/src/mobile/shellExpoSync.d.ts +18 -0
  61. package/dist/svelte/browser.js +12 -10
  62. package/dist/svelte/browser.js.map +2 -2
  63. package/dist/svelte/index.js +47 -43
  64. package/dist/svelte/index.js.map +2 -2
  65. package/dist/svelte/server.js +29 -27
  66. package/dist/svelte/server.js.map +2 -2
  67. package/dist/vue/browser.js +14 -12
  68. package/dist/vue/browser.js.map +2 -2
  69. package/dist/vue/components/Image.js +9 -7
  70. package/dist/vue/components/Image.js.map +2 -2
  71. package/dist/vue/components/index.js +11 -9
  72. package/dist/vue/components/index.js.map +2 -2
  73. package/dist/vue/index.js +52 -48
  74. package/dist/vue/index.js.map +2 -2
  75. package/dist/vue/server.js +14 -12
  76. package/dist/vue/server.js.map +2 -2
  77. package/package.json +3 -2
@@ -19,12 +19,14 @@ var __toESM = (mod, isNodeMode, target) => {
19
19
  }
20
20
  target = mod != null ? __create(__getProtoOf(mod)) : {};
21
21
  const to = isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target;
22
- for (let key of __getOwnPropNames(mod))
23
- if (!__hasOwnProp.call(to, key))
24
- __defProp(to, key, {
25
- get: __accessProp.bind(mod, key),
26
- enumerable: true
27
- });
22
+ if (mod && typeof mod === "object" || typeof mod === "function") {
23
+ for (let key of __getOwnPropNames(mod))
24
+ if (!__hasOwnProp.call(to, key))
25
+ __defProp(to, key, {
26
+ get: __accessProp.bind(mod, key),
27
+ enumerable: true
28
+ });
29
+ }
28
30
  if (canCache)
29
31
  cache.set(mod, to);
30
32
  return to;
@@ -945,10 +947,10 @@ var init_ssrRender = __esm(() => {
945
947
  // src/angular/islands.ts
946
948
  var exports_islands = {};
947
949
  __export(exports_islands, {
948
- renderAngularIslandToHtml: () => renderAngularIslandToHtml,
949
- mountAngularIsland: () => mountAngularIsland,
950
+ getAngularIslandSelector: () => getAngularIslandSelector,
950
951
  isAngularComponent: () => isAngularComponent,
951
- getAngularIslandSelector: () => getAngularIslandSelector
952
+ mountAngularIsland: () => mountAngularIsland,
953
+ renderAngularIslandToHtml: () => renderAngularIslandToHtml
952
954
  });
953
955
  var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_islandId) => angularIslandSelector, isAngularComponent = (value) => typeof value === "function", getSelectorFromRenderedIsland = (rootElement) => {
954
956
  const firstChild = rootElement.firstElementChild;
@@ -1010,8 +1012,10 @@ var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_i
1010
1012
  const propsToken = new InjectionToken2(`${wrapperKey}:props`);
1011
1013
 
1012
1014
  class AngularIslandWrapperComponent {
1013
- component = component;
1014
- props = inject(propsToken);
1015
+ constructor() {
1016
+ this.component = component;
1017
+ this.props = inject(propsToken);
1018
+ }
1015
1019
  }
1016
1020
  return {
1017
1021
  deps,
@@ -1460,13 +1464,13 @@ var init_nativeRewrite = __esm(() => {
1460
1464
  // src/build/rewriteImportsPlugin.ts
1461
1465
  var exports_rewriteImportsPlugin = {};
1462
1466
  __export(exports_rewriteImportsPlugin, {
1463
- rewriteVendorDirectories: () => rewriteVendorDirectories,
1464
- rewriteImportsInContent: () => rewriteImportsInContent,
1465
- rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
1466
- rewriteBuildOutputs: () => rewriteBuildOutputs,
1467
- jsRewriteImports: () => jsRewriteImports,
1467
+ buildWithImportRewrite: () => buildWithImportRewrite,
1468
1468
  fixMissingReExportNamespacesInContent: () => fixMissingReExportNamespacesInContent,
1469
- buildWithImportRewrite: () => buildWithImportRewrite
1469
+ jsRewriteImports: () => jsRewriteImports,
1470
+ rewriteBuildOutputs: () => rewriteBuildOutputs,
1471
+ rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
1472
+ rewriteImportsInContent: () => rewriteImportsInContent,
1473
+ rewriteVendorDirectories: () => rewriteVendorDirectories
1470
1474
  });
1471
1475
  import { readdir } from "fs/promises";
1472
1476
  import { join as join2 } from "path";
@@ -1880,22 +1884,22 @@ var init_lowerAwaitSlotSyntax = __esm(() => {
1880
1884
  // src/build/stylePreprocessor.ts
1881
1885
  var exports_stylePreprocessor = {};
1882
1886
  __export(exports_stylePreprocessor, {
1883
- stylePreprocessorPlugin: () => stylePreprocessorPlugin,
1884
- recordStyleOutput: () => recordStyleOutput,
1885
- isStylePath: () => isStylePath,
1886
- isStyleModulePath: () => isStyleModulePath,
1887
- isPreprocessableStylePath: () => isPreprocessableStylePath,
1888
- getStyleBaseName: () => getStyleBaseName,
1889
- getCssOutputExtension: () => getCssOutputExtension,
1890
- forgetStyleEntry: () => forgetStyleEntry,
1891
- findStyleEntriesImporting: () => findStyleEntriesImporting,
1892
- createSvelteStylePreprocessor: () => createSvelteStylePreprocessor,
1893
- createStyleTransformConfig: () => createStyleTransformConfig,
1894
- createStylePreprocessorPlugin: () => createStylePreprocessorPlugin,
1895
- compileStyleSource: () => compileStyleSource,
1896
- compileStyleFileIfNeededSync: () => compileStyleFileIfNeededSync,
1887
+ addStyleImporter: () => addStyleImporter,
1897
1888
  compileStyleFileIfNeeded: () => compileStyleFileIfNeeded,
1898
- addStyleImporter: () => addStyleImporter
1889
+ compileStyleFileIfNeededSync: () => compileStyleFileIfNeededSync,
1890
+ compileStyleSource: () => compileStyleSource,
1891
+ createStylePreprocessorPlugin: () => createStylePreprocessorPlugin,
1892
+ createStyleTransformConfig: () => createStyleTransformConfig,
1893
+ createSvelteStylePreprocessor: () => createSvelteStylePreprocessor,
1894
+ findStyleEntriesImporting: () => findStyleEntriesImporting,
1895
+ forgetStyleEntry: () => forgetStyleEntry,
1896
+ getCssOutputExtension: () => getCssOutputExtension,
1897
+ getStyleBaseName: () => getStyleBaseName,
1898
+ isPreprocessableStylePath: () => isPreprocessableStylePath,
1899
+ isStyleModulePath: () => isStyleModulePath,
1900
+ isStylePath: () => isStylePath,
1901
+ recordStyleOutput: () => recordStyleOutput,
1902
+ stylePreprocessorPlugin: () => stylePreprocessorPlugin
1899
1903
  });
1900
1904
  import { createHash } from "crypto";
1901
1905
  import { existsSync as existsSync3, readFileSync as readFileSync3 } from "fs";
@@ -2996,10 +3000,10 @@ var init_renderIslandMarkup = __esm(() => {
2996
3000
  // src/core/devRouteRegistrationCallsite.ts
2997
3001
  var exports_devRouteRegistrationCallsite = {};
2998
3002
  __export(exports_devRouteRegistrationCallsite, {
2999
- patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites,
3000
- isPageHandler: () => isPageHandler,
3003
+ getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite,
3001
3004
  getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
3002
- getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite
3005
+ isPageHandler: () => isPageHandler,
3006
+ patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites
3003
3007
  });
3004
3008
  import { AsyncLocalStorage } from "async_hooks";
3005
3009
  import { Elysia } from "elysia";
@@ -4521,8 +4525,8 @@ var init_lowerDeferSyntax = __esm(() => {
4521
4525
  // src/utils/generatedDir.ts
4522
4526
  var exports_generatedDir = {};
4523
4527
  __export(exports_generatedDir, {
4524
- getGeneratedRoot: () => getGeneratedRoot,
4525
- getFrameworkGeneratedDir: () => getFrameworkGeneratedDir
4528
+ getFrameworkGeneratedDir: () => getFrameworkGeneratedDir,
4529
+ getGeneratedRoot: () => getGeneratedRoot
4526
4530
  });
4527
4531
  import { join as join8 } from "path";
4528
4532
  var GENERATED_DIR_NAME = "generated", ABSOLUTE_CACHE_DIR_NAME = ".absolutejs", getFrameworkGeneratedDir = (framework, projectRoot = process.cwd()) => join8(getGeneratedRoot(projectRoot), framework), getGeneratedRoot = (projectRoot = process.cwd()) => join8(projectRoot, ABSOLUTE_CACHE_DIR_NAME, GENERATED_DIR_NAME);
@@ -4531,11 +4535,11 @@ var init_generatedDir = () => {};
4531
4535
  // src/build/compileAngular.ts
4532
4536
  var exports_compileAngular = {};
4533
4537
  __export(exports_compileAngular, {
4534
- invalidateAngularJitCache: () => invalidateAngularJitCache,
4535
- compileAngularFiles: () => compileAngularFiles,
4536
- compileAngularFileJIT: () => compileAngularFileJIT,
4538
+ compileAngular: () => compileAngular,
4537
4539
  compileAngularFile: () => compileAngularFile,
4538
- compileAngular: () => compileAngular
4540
+ compileAngularFileJIT: () => compileAngularFileJIT,
4541
+ compileAngularFiles: () => compileAngularFiles,
4542
+ invalidateAngularJitCache: () => invalidateAngularJitCache
4539
4543
  });
4540
4544
  import { existsSync as existsSync5, readFileSync as readFileSync5, promises as fs } from "fs";
4541
4545
  import { join as join9, basename as basename4, sep, dirname as dirname5, resolve as resolve7, relative as relative5 } from "path";
@@ -7132,16 +7136,16 @@ var withPendingTask = async (work) => {
7132
7136
  }
7133
7137
  };
7134
7138
  export {
7135
- withPendingTask,
7136
- provideDeterministicEnv,
7137
- handleAngularPageRequest,
7138
- createDeterministicRandom,
7139
- buildAbsoluteHttpTransferCacheOptions,
7140
- DETERMINISTIC_SEED,
7141
- DETERMINISTIC_RANDOM,
7139
+ ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER,
7142
7140
  DETERMINISTIC_NOW,
7143
- ABSOLUTE_HTTP_TRANSFER_CACHE_SKIP_HEADER
7141
+ DETERMINISTIC_RANDOM,
7142
+ DETERMINISTIC_SEED,
7143
+ buildAbsoluteHttpTransferCacheOptions,
7144
+ createDeterministicRandom,
7145
+ handleAngularPageRequest,
7146
+ provideDeterministicEnv,
7147
+ withPendingTask
7144
7148
  };
7145
7149
 
7146
- //# debugId=E479518984C3318364756E2164756E21
7150
+ //# debugId=56AAAB9147386E1364756E2164756E21
7147
7151
  //# sourceMappingURL=server.js.map