@absolutejs/absolute 0.20.0-beta.43 → 0.20.0-beta.44
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/dist/angular/browser.js +378 -361
- package/dist/angular/browser.js.map +2 -2
- package/dist/angular/components/core/streamingSlotRegistrar.js +7 -7
- package/dist/angular/components/core/streamingSlotRegistry.js +4 -4
- package/dist/angular/index.js +300 -294
- package/dist/angular/index.js.map +2 -2
- package/dist/angular/server.js +54 -50
- package/dist/angular/server.js.map +2 -2
- package/dist/build.js +199 -203
- package/dist/build.js.map +2 -2
- package/dist/cli/config/client.js +12 -12
- package/dist/cli/config/server.js +1096 -1090
- package/dist/cli/index.js +275 -161
- package/dist/client/index.js +29 -25
- package/dist/client/index.js.map +2 -2
- package/dist/core/streamingSlotRegistrar.js +15 -13
- package/dist/core/streamingSlotRegistrar.js.map +2 -2
- package/dist/core/streamingSlotRegistry.js +11 -9
- package/dist/core/streamingSlotRegistry.js.map +2 -2
- package/dist/image-client/imageClient.js +7 -7
- package/dist/index.js +782 -732
- package/dist/index.js.map +6 -5
- package/dist/islands/browser.js +11 -9
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js +39 -35
- package/dist/islands/index.js.map +2 -2
- package/dist/mobile/browser.js +23 -22
- package/dist/mobile/browser.js.map +2 -2
- package/dist/mobile/index.js +552 -423
- package/dist/mobile/index.js.map +9 -9
- package/dist/mobile/remoteMacAgentEntry.js +115 -37
- package/dist/mobile/shellBootstrap.js +0 -1
- package/dist/mobile/shellExpoAuth.js +184 -0
- package/dist/mobile/shellExpoDevices.js +4 -5
- package/dist/mobile/shellSync.js +4 -4
- package/dist/react/browser.js +17 -15
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/browser/index.js +107 -107
- package/dist/react/components/index.js +118 -116
- package/dist/react/components/index.js.map +2 -2
- package/dist/react/hooks/index.js +11 -9
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +53 -49
- package/dist/react/index.js.map +2 -2
- package/dist/react/jsxDevRuntimeCompat.js +11 -9
- package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
- package/dist/react/jsxRuntimeCompat.js +11 -9
- package/dist/react/jsxRuntimeCompat.js.map +2 -2
- package/dist/react/router/browser.js +9 -7
- package/dist/react/router/browser.js.map +2 -2
- package/dist/react/router/index.js +9 -7
- package/dist/react/router/index.js.map +2 -2
- package/dist/react/server.js +12 -10
- package/dist/react/server.js.map +2 -2
- package/dist/src/mobile/devDeviceAdapter.d.ts +1 -1
- package/dist/src/mobile/expoBridge.d.ts +12 -12
- package/dist/src/mobile/nativeAuth.d.ts +3 -0
- package/dist/src/mobile/shellExpoAuth.d.ts +12 -0
- package/dist/svelte/browser.js +12 -10
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js +47 -43
- package/dist/svelte/index.js.map +2 -2
- package/dist/svelte/server.js +29 -27
- package/dist/svelte/server.js.map +2 -2
- package/dist/vue/browser.js +14 -12
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/components/Image.js +9 -7
- package/dist/vue/components/Image.js.map +2 -2
- package/dist/vue/components/index.js +11 -9
- package/dist/vue/components/index.js.map +2 -2
- package/dist/vue/index.js +52 -48
- package/dist/vue/index.js.map +2 -2
- package/dist/vue/server.js +14 -12
- package/dist/vue/server.js.map +2 -2
- package/package.json +1 -1
package/dist/react/index.js
CHANGED
|
@@ -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
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
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
|
-
|
|
67
|
-
isPageHandler: () => isPageHandler,
|
|
68
|
+
getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite,
|
|
68
69
|
getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
|
|
69
|
-
|
|
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
|
-
|
|
1969
|
-
mountAngularIsland: () => mountAngularIsland,
|
|
1970
|
+
getAngularIslandSelector: () => getAngularIslandSelector,
|
|
1970
1971
|
isAngularComponent: () => isAngularComponent,
|
|
1971
|
-
|
|
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
|
-
|
|
2034
|
-
|
|
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
|
-
|
|
2484
|
-
rewriteImportsInContent: () => rewriteImportsInContent,
|
|
2485
|
-
rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
|
|
2486
|
-
rewriteBuildOutputs: () => rewriteBuildOutputs,
|
|
2487
|
-
jsRewriteImports: () => jsRewriteImports,
|
|
2487
|
+
buildWithImportRewrite: () => buildWithImportRewrite,
|
|
2488
2488
|
fixMissingReExportNamespacesInContent: () => fixMissingReExportNamespacesInContent,
|
|
2489
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
4760
|
+
import { jsx } from "react/jsx-runtime";
|
|
4757
4761
|
var Island = async (props) => {
|
|
4758
4762
|
if (typeof window !== "undefined") {
|
|
4759
|
-
return /* @__PURE__ */
|
|
4763
|
+
return /* @__PURE__ */ jsx("div", {
|
|
4760
4764
|
...getIslandMarkerAttributes(props),
|
|
4761
4765
|
suppressHydrationWarning: true
|
|
4762
|
-
}
|
|
4766
|
+
});
|
|
4763
4767
|
}
|
|
4764
4768
|
const result = await renderIslandResult(requireCurrentIslandRegistry(), props);
|
|
4765
|
-
return /* @__PURE__ */
|
|
4769
|
+
return /* @__PURE__ */ jsx("div", {
|
|
4766
4770
|
...result.attributes,
|
|
4767
4771
|
dangerouslySetInnerHTML: { __html: result.html }
|
|
4768
|
-
}
|
|
4772
|
+
});
|
|
4769
4773
|
};
|
|
4770
4774
|
// src/react/createIsland.tsx
|
|
4771
4775
|
init_islandMarkupAttributes();
|
|
4772
4776
|
init_renderIslandMarkup();
|
|
4773
|
-
import {
|
|
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__ */
|
|
4781
|
+
return /* @__PURE__ */ jsx2("div", {
|
|
4778
4782
|
...getIslandMarkerAttributes(props),
|
|
4779
4783
|
suppressHydrationWarning: true
|
|
4780
|
-
}
|
|
4784
|
+
});
|
|
4781
4785
|
}
|
|
4782
4786
|
const result = await renderIslandResult(registry, props);
|
|
4783
|
-
return /* @__PURE__ */
|
|
4787
|
+
return /* @__PURE__ */ jsx2("div", {
|
|
4784
4788
|
...result.attributes,
|
|
4785
4789
|
dangerouslySetInnerHTML: { __html: result.html }
|
|
4786
|
-
}
|
|
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
|
-
|
|
4912
|
-
handleReactPageRequest,
|
|
4915
|
+
Island,
|
|
4913
4916
|
createTypedIsland,
|
|
4914
|
-
|
|
4917
|
+
handleReactPageRequest,
|
|
4918
|
+
useIslandStore
|
|
4915
4919
|
};
|
|
4916
4920
|
|
|
4917
|
-
//# debugId=
|
|
4921
|
+
//# debugId=67AA92D3D752EB1A64756E2164756E21
|
|
4918
4922
|
//# sourceMappingURL=index.js.map
|