@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;
@@ -63,10 +65,10 @@ var __require = import.meta.require;
63
65
  // src/core/devRouteRegistrationCallsite.ts
64
66
  var exports_devRouteRegistrationCallsite = {};
65
67
  __export(exports_devRouteRegistrationCallsite, {
66
- patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites,
67
- isPageHandler: () => isPageHandler,
68
+ getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite,
68
69
  getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
69
- getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite
70
+ isPageHandler: () => isPageHandler,
71
+ patchElysiaRouteRegistrationCallsites: () => patchElysiaRouteRegistrationCallsites
70
72
  });
71
73
  import { AsyncLocalStorage } from "async_hooks";
72
74
  import { Elysia } from "elysia";
@@ -1965,10 +1967,10 @@ var init_ssrRender = __esm(() => {
1965
1967
  // src/angular/islands.ts
1966
1968
  var exports_islands = {};
1967
1969
  __export(exports_islands, {
1968
- renderAngularIslandToHtml: () => renderAngularIslandToHtml,
1969
- mountAngularIsland: () => mountAngularIsland,
1970
+ getAngularIslandSelector: () => getAngularIslandSelector,
1970
1971
  isAngularComponent: () => isAngularComponent,
1971
- getAngularIslandSelector: () => getAngularIslandSelector
1972
+ mountAngularIsland: () => mountAngularIsland,
1973
+ renderAngularIslandToHtml: () => renderAngularIslandToHtml
1972
1974
  });
1973
1975
  var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_islandId) => angularIslandSelector, isAngularComponent = (value) => typeof value === "function", getSelectorFromRenderedIsland = (rootElement) => {
1974
1976
  const firstChild = rootElement.firstElementChild;
@@ -2030,8 +2032,10 @@ var angularIslandSelector = "abs-angular-island", getAngularIslandSelector = (_i
2030
2032
  const propsToken = new InjectionToken(`${wrapperKey}:props`);
2031
2033
 
2032
2034
  class AngularIslandWrapperComponent {
2033
- component = component;
2034
- props = inject(propsToken);
2035
+ constructor() {
2036
+ this.component = component;
2037
+ this.props = inject(propsToken);
2038
+ }
2035
2039
  }
2036
2040
  return {
2037
2041
  deps,
@@ -2480,13 +2484,13 @@ var init_nativeRewrite = __esm(() => {
2480
2484
  // src/build/rewriteImportsPlugin.ts
2481
2485
  var exports_rewriteImportsPlugin = {};
2482
2486
  __export(exports_rewriteImportsPlugin, {
2483
- rewriteVendorDirectories: () => rewriteVendorDirectories,
2484
- rewriteImportsInContent: () => rewriteImportsInContent,
2485
- rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
2486
- rewriteBuildOutputs: () => rewriteBuildOutputs,
2487
- jsRewriteImports: () => jsRewriteImports,
2487
+ buildWithImportRewrite: () => buildWithImportRewrite,
2488
2488
  fixMissingReExportNamespacesInContent: () => fixMissingReExportNamespacesInContent,
2489
- buildWithImportRewrite: () => buildWithImportRewrite
2489
+ jsRewriteImports: () => jsRewriteImports,
2490
+ rewriteBuildOutputs: () => rewriteBuildOutputs,
2491
+ rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
2492
+ rewriteImportsInContent: () => rewriteImportsInContent,
2493
+ rewriteVendorDirectories: () => rewriteVendorDirectories
2490
2494
  });
2491
2495
  import { readdir } from "fs/promises";
2492
2496
  import { join as join2 } from "path";
@@ -2900,22 +2904,22 @@ var init_lowerAwaitSlotSyntax = __esm(() => {
2900
2904
  // src/build/stylePreprocessor.ts
2901
2905
  var exports_stylePreprocessor = {};
2902
2906
  __export(exports_stylePreprocessor, {
2903
- stylePreprocessorPlugin: () => stylePreprocessorPlugin,
2904
- recordStyleOutput: () => recordStyleOutput,
2905
- isStylePath: () => isStylePath,
2906
- isStyleModulePath: () => isStyleModulePath,
2907
- isPreprocessableStylePath: () => isPreprocessableStylePath,
2908
- getStyleBaseName: () => getStyleBaseName,
2909
- getCssOutputExtension: () => getCssOutputExtension,
2910
- forgetStyleEntry: () => forgetStyleEntry,
2911
- findStyleEntriesImporting: () => findStyleEntriesImporting,
2912
- createSvelteStylePreprocessor: () => createSvelteStylePreprocessor,
2913
- createStyleTransformConfig: () => createStyleTransformConfig,
2914
- createStylePreprocessorPlugin: () => createStylePreprocessorPlugin,
2915
- compileStyleSource: () => compileStyleSource,
2916
- compileStyleFileIfNeededSync: () => compileStyleFileIfNeededSync,
2907
+ addStyleImporter: () => addStyleImporter,
2917
2908
  compileStyleFileIfNeeded: () => compileStyleFileIfNeeded,
2918
- addStyleImporter: () => addStyleImporter
2909
+ compileStyleFileIfNeededSync: () => compileStyleFileIfNeededSync,
2910
+ compileStyleSource: () => compileStyleSource,
2911
+ createStylePreprocessorPlugin: () => createStylePreprocessorPlugin,
2912
+ createStyleTransformConfig: () => createStyleTransformConfig,
2913
+ createSvelteStylePreprocessor: () => createSvelteStylePreprocessor,
2914
+ findStyleEntriesImporting: () => findStyleEntriesImporting,
2915
+ forgetStyleEntry: () => forgetStyleEntry,
2916
+ getCssOutputExtension: () => getCssOutputExtension,
2917
+ getStyleBaseName: () => getStyleBaseName,
2918
+ isPreprocessableStylePath: () => isPreprocessableStylePath,
2919
+ isStyleModulePath: () => isStyleModulePath,
2920
+ isStylePath: () => isStylePath,
2921
+ recordStyleOutput: () => recordStyleOutput,
2922
+ stylePreprocessorPlugin: () => stylePreprocessorPlugin
2919
2923
  });
2920
2924
  import { createHash as createHash2 } from "crypto";
2921
2925
  import { existsSync as existsSync3, readFileSync as readFileSync3 } from "fs";
@@ -4753,37 +4757,37 @@ var handleReactPageRequest = async (input) => {
4753
4757
  // src/react/Island.tsx
4754
4758
  init_islandMarkupAttributes();
4755
4759
  init_renderIslandMarkup();
4756
- import { jsxDEV } from "react/jsx-dev-runtime";
4760
+ import { jsx } from "react/jsx-runtime";
4757
4761
  var Island = async (props) => {
4758
4762
  if (typeof window !== "undefined") {
4759
- return /* @__PURE__ */ jsxDEV("div", {
4763
+ return /* @__PURE__ */ jsx("div", {
4760
4764
  ...getIslandMarkerAttributes(props),
4761
4765
  suppressHydrationWarning: true
4762
- }, undefined, false, undefined, this);
4766
+ });
4763
4767
  }
4764
4768
  const result = await renderIslandResult(requireCurrentIslandRegistry(), props);
4765
- return /* @__PURE__ */ jsxDEV("div", {
4769
+ return /* @__PURE__ */ jsx("div", {
4766
4770
  ...result.attributes,
4767
4771
  dangerouslySetInnerHTML: { __html: result.html }
4768
- }, undefined, false, undefined, this);
4772
+ });
4769
4773
  };
4770
4774
  // src/react/createIsland.tsx
4771
4775
  init_islandMarkupAttributes();
4772
4776
  init_renderIslandMarkup();
4773
- import { jsxDEV as jsxDEV2 } from "react/jsx-dev-runtime";
4777
+ import { jsx as jsx2 } from "react/jsx-runtime";
4774
4778
  var createTypedIsland = (registry) => {
4775
4779
  const Island2 = async (props) => {
4776
4780
  if (typeof window !== "undefined") {
4777
- return /* @__PURE__ */ jsxDEV2("div", {
4781
+ return /* @__PURE__ */ jsx2("div", {
4778
4782
  ...getIslandMarkerAttributes(props),
4779
4783
  suppressHydrationWarning: true
4780
- }, undefined, false, undefined, this);
4784
+ });
4781
4785
  }
4782
4786
  const result = await renderIslandResult(registry, props);
4783
- return /* @__PURE__ */ jsxDEV2("div", {
4787
+ return /* @__PURE__ */ jsx2("div", {
4784
4788
  ...result.attributes,
4785
4789
  dangerouslySetInnerHTML: { __html: result.html }
4786
- }, undefined, false, undefined, this);
4790
+ });
4787
4791
  };
4788
4792
  return Island2;
4789
4793
  };
@@ -4908,11 +4912,11 @@ var useIslandStore = (store, selector) => useSyncExternalStore((listener) => sub
4908
4912
  listener();
4909
4913
  }), () => readIslandStore(store, selector), () => getIslandStoreServerSnapshot(store, selector));
4910
4914
  export {
4911
- useIslandStore,
4912
- handleReactPageRequest,
4915
+ Island,
4913
4916
  createTypedIsland,
4914
- Island
4917
+ handleReactPageRequest,
4918
+ useIslandStore
4915
4919
  };
4916
4920
 
4917
- //# debugId=D93F1B4F7925234C64756E2164756E21
4921
+ //# debugId=67AA92D3D752EB1A64756E2164756E21
4918
4922
  //# sourceMappingURL=index.js.map