@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/angular/server.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;
|
|
@@ -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
|
-
|
|
949
|
-
mountAngularIsland: () => mountAngularIsland,
|
|
950
|
+
getAngularIslandSelector: () => getAngularIslandSelector,
|
|
950
951
|
isAngularComponent: () => isAngularComponent,
|
|
951
|
-
|
|
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
|
-
|
|
1014
|
-
|
|
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
|
-
|
|
1464
|
-
rewriteImportsInContent: () => rewriteImportsInContent,
|
|
1465
|
-
rewriteBuildOutputsWith: () => rewriteBuildOutputsWith,
|
|
1466
|
-
rewriteBuildOutputs: () => rewriteBuildOutputs,
|
|
1467
|
-
jsRewriteImports: () => jsRewriteImports,
|
|
1467
|
+
buildWithImportRewrite: () => buildWithImportRewrite,
|
|
1468
1468
|
fixMissingReExportNamespacesInContent: () => fixMissingReExportNamespacesInContent,
|
|
1469
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
3000
|
-
isPageHandler: () => isPageHandler,
|
|
3003
|
+
getCurrentRouteRegistrationCallsite: () => getCurrentRouteRegistrationCallsite,
|
|
3001
3004
|
getOriginalPageHandlerSource: () => getOriginalPageHandlerSource,
|
|
3002
|
-
|
|
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
|
-
|
|
4525
|
-
|
|
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
|
-
|
|
4535
|
-
compileAngularFiles: () => compileAngularFiles,
|
|
4536
|
-
compileAngularFileJIT: () => compileAngularFileJIT,
|
|
4538
|
+
compileAngular: () => compileAngular,
|
|
4537
4539
|
compileAngularFile: () => compileAngularFile,
|
|
4538
|
-
|
|
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
|
-
|
|
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
|
-
|
|
7141
|
+
DETERMINISTIC_RANDOM,
|
|
7142
|
+
DETERMINISTIC_SEED,
|
|
7143
|
+
buildAbsoluteHttpTransferCacheOptions,
|
|
7144
|
+
createDeterministicRandom,
|
|
7145
|
+
handleAngularPageRequest,
|
|
7146
|
+
provideDeterministicEnv,
|
|
7147
|
+
withPendingTask
|
|
7144
7148
|
};
|
|
7145
7149
|
|
|
7146
|
-
//# debugId=
|
|
7150
|
+
//# debugId=56AAAB9147386E1364756E2164756E21
|
|
7147
7151
|
//# sourceMappingURL=server.js.map
|