@absolutejs/absolute 0.20.0-beta.130 → 0.20.0-beta.132
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/CHANGELOG.md +28 -0
- package/changelog.json +52 -0
- package/dist/angular/browser.js +406 -396
- package/dist/angular/browser.js.map +4 -4
- package/dist/angular/components/core/streamingSlotRegistrar.js +1 -3
- package/dist/angular/components/core/streamingSlotRegistry.js +2 -4
- package/dist/angular/index.js +560 -701
- package/dist/angular/index.js.map +5 -5
- package/dist/angular/server.js +197 -338
- package/dist/angular/server.js.map +5 -5
- package/dist/build/buildWorker.js +27 -35
- package/dist/build.js +3833 -5876
- package/dist/build.js.map +4 -4
- package/dist/cli/{add-9sa7e3vd.js → add-hvqeg5sz.js} +23 -25
- package/dist/cli/{analyze-c1sep5y9.js → analyze-c2x2aym5.js} +6 -7
- package/dist/cli/androidEmulatorController-j73a1br6.js +22 -0
- package/dist/cli/{androidNativeWatcher-dnp95nk2.js → androidNativeWatcher-ctbnsr1v.js} +11 -14
- package/dist/cli/{api-2hd8cahp.js → api-rk13rfd9.js} +11 -13
- package/dist/cli/{build-857rc1ds.js → build-20y4b6rj.js} +8 -9
- package/dist/cli/{buildDepVendor-8akhr8n8.js → buildDepVendor-axqvbbm6.js} +5 -170
- package/dist/cli/{compile-9by2vxy5.js → compile-nf4qsqyd.js} +45 -48
- package/dist/cli/config/client.js +8 -8
- package/dist/cli/config/server.js +5615 -5595
- package/dist/cli/config-3te1fbry.js +7 -0
- package/dist/cli/{db-8wweexdp.js → db-p8pc325y.js} +5 -13
- package/dist/cli/{dev-qg7fr16s.js → dev-6f0gry3y.js} +75 -77
- package/dist/cli/{devCert-avr89zf3.js → devCert-n33ep8pg.js} +0 -3
- package/dist/cli/{doctor-mbh9bk05.js → doctor-8rm8p4dm.js} +13 -14
- package/dist/cli/emulatorDoctor-cwa70kgt.js +17 -0
- package/dist/cli/emulatorInstaller-dx3fmm2m.js +14 -0
- package/dist/cli/env-2107nff1.js +11 -0
- package/dist/cli/eslint-zz0t0kfp.js +17 -0
- package/dist/cli/eslintChunked-wg10jj9m.js +12 -0
- package/dist/cli/expoDevController-s70fj7vf.js +16 -0
- package/dist/cli/{expoNativeWatcher-rmc95bak.js → expoNativeWatcher-aakp7xvj.js} +1 -5
- package/dist/cli/expoProject-zy02tbfg.js +10 -0
- package/dist/cli/{generate-069p0dk3.js → generate-nz4w03yz.js} +19 -21
- package/dist/cli/{heapDiff-87v24x7p.js → heapDiff-2etr2r26.js} +5 -6
- package/dist/cli/{htmx-5wh1jh75.js → htmx-0xcaqrny.js} +12 -14
- package/dist/cli/{index-sjvydg2r.js → index-1ff9q1vx.js} +7 -7
- package/dist/cli/{index-rqbk0b30.js → index-1qewxkgy.js} +26 -26
- package/dist/cli/{index-prwyfnn3.js → index-1x1vah31.js} +2 -2
- package/dist/cli/{index-ddakkws4.js → index-31j3beht.js} +13 -13
- package/dist/cli/{index-j2nw3edf.js → index-3gtnqd57.js} +5 -5
- package/dist/cli/{index-54q7pxcx.js → index-434b7j4a.js} +2 -32
- package/dist/cli/{index-w5vswatm.js → index-43a1vvb7.js} +6 -10
- package/dist/cli/{index-nxcwg9ma.js → index-5sjk7daj.js} +31 -31
- package/dist/cli/{index-6j1xaheg.js → index-73sk1ney.js} +5 -5
- package/dist/cli/{index-3x5wpx5d.js → index-8kdmmgvc.js} +2 -2
- package/dist/cli/{index-1ys3dnrs.js → index-8w2wazrk.js} +34 -34
- package/dist/cli/{index-wtfnv3n2.js → index-92hmw204.js} +3 -3
- package/dist/cli/{index-vdbn8brx.js → index-c3tqbpkq.js} +40 -41
- package/dist/cli/{index-mywsk201.js → index-fde3c297.js} +1 -1
- package/dist/cli/{index-wctgx65x.js → index-hfvxsgf4.js} +48 -31
- package/dist/cli/{index-255xs63d.js → index-j57pgg5m.js} +10 -10
- package/dist/cli/{index-5cgsrv62.js → index-jcjwsdqt.js} +13 -182
- package/dist/cli/{index-00wfffav.js → index-k4t9k1xk.js} +5 -5
- package/dist/cli/{index-yxgaf8j0.js → index-m1vntzf1.js} +7 -5
- package/dist/cli/{index-9r7n9dqp.js → index-ma1dw7x2.js} +1 -1
- package/dist/cli/index-pch0v1z6.js +60 -0
- package/dist/cli/{index-8nym68py.js → index-ppxed116.js} +1 -1
- package/dist/cli/{index-9kwmb3c0.js → index-qyxd5n9a.js} +3 -3
- package/dist/cli/{index-tn4crd40.js → index-r62705dc.js} +12 -12
- package/dist/cli/{index-hty8111z.js → index-r915cvqp.js} +17 -17
- package/dist/cli/{index-exdd5k1g.js → index-rrxeqrbn.js} +2 -2
- package/dist/cli/{index-keg69zm1.js → index-snbzdwb9.js} +5 -5
- package/dist/cli/{index-v26ze17p.js → index-thqwfzy8.js} +3 -3
- package/dist/cli/{index-0hr7c4qe.js → index-vdnmqkt8.js} +14 -18
- package/dist/cli/{index-vkkqe08e.js → index-vj2v38sq.js} +29 -29
- package/dist/cli/{index-erngp7a9.js → index-wy0yh4jj.js} +16 -16
- package/dist/cli/{index-1cypb2zn.js → index-xcr3r6a1.js} +8 -8
- package/dist/cli/index.js +44 -48
- package/dist/cli/{info-d74dr585.js → info-kx5510rq.js} +7 -7
- package/dist/cli/{inspect-23chj4nc.js → inspect-5dj06x0m.js} +18 -20
- package/dist/cli/{iosNativeWatcher-kggp7j9a.js → iosNativeWatcher-zx49pzej.js} +12 -16
- package/dist/cli/iosSimulatorController-haa1cc3p.js +23 -0
- package/dist/cli/{islands-wpqgmwh0.js → islands-z4adh55n.js} +8 -9
- package/dist/cli/{lintProof-wx3b6dzy.js → lintProof-qcwdvzcz.js} +12 -17
- package/dist/cli/{logs-bx2n5ey6.js → logs-3p2vrq5h.js} +8 -10
- package/dist/cli/{ls-kvmcmd2j.js → ls-nkspq73y.js} +13 -14
- package/dist/cli/{mem-apbk7bx4.js → mem-h3f497cr.js} +10 -14
- package/dist/cli/{migrate-p4rp5r6b.js → migrate-52bqqp08.js} +7 -8
- package/dist/cli/{mobile-43q3zmjf.js → mobile-m0cdh8cf.js} +572 -575
- package/dist/cli/nativeAuth-ysv0x5dy.js +27 -0
- package/dist/cli/patchedBun-m7vj5sks.js +9 -0
- package/dist/cli/prerender-mfnwsvyt.js +7 -0
- package/dist/cli/{prettier-vtk5yaw4.js → prettier-c1624g36.js} +2 -6
- package/dist/cli/{ps-8y28kzmb.js → ps-0jedm91n.js} +12 -16
- package/dist/cli/{psTui-8e96mwgz.js → psTui-tpr5nbmc.js} +28 -30
- package/dist/cli/remoteMacProtocol-v3ax0y0f.js +41 -0
- package/dist/cli/{remove-3fd1z2hx.js → remove-z0brj5nd.js} +16 -18
- package/dist/cli/{rewriteImports-d1gmaa68.js → rewriteImports-k6rjjmg1.js} +2 -100
- package/dist/cli/{routes-0xpanj8z.js → routes-ey0sw1eq.js} +7 -9
- package/dist/cli/start-3z3gtgm0.js +20 -0
- package/dist/cli/telemetry-3wnc06wa.js +9 -0
- package/dist/cli/{tunnelRelay-5at2v8w6.js → tunnelRelay-19ay0fxn.js} +3 -4
- package/dist/cli/{typecheck-yj9s13eb.js → typecheck-nmf6e7k7.js} +147 -149
- package/dist/cli/{workspace-m56sgfkc.js → workspace-yetzedke.js} +32 -36
- package/dist/client/chunks/{index-dk743xs6.js → index-8m2qq61n.js} +12 -8
- package/dist/client/chunks/{index-dk743xs6.js.map → index-8m2qq61n.js.map} +4 -3
- package/dist/client/chunks/{index-m35nbkdp.js → islands-rc28k5sx.js} +104 -42
- package/dist/client/chunks/islands-rc28k5sx.js.map +15 -0
- package/dist/client/chunks/{react-yq4ss9y4.js → react-dcvkaba2.js} +5 -7
- package/dist/client/chunks/{react-yq4ss9y4.js.map → react-dcvkaba2.js.map} +2 -2
- package/dist/client/chunks/{svelte-s0c964kb.js → svelte-4yfa5bxa.js} +2 -4
- package/dist/client/chunks/{svelte-s0c964kb.js.map → svelte-4yfa5bxa.js.map} +2 -2
- package/dist/client/chunks/{vue-rdskrnyg.js → vue-a84fzp3v.js} +2 -4
- package/dist/client/chunks/{vue-rdskrnyg.js.map → vue-a84fzp3v.js.map} +2 -2
- package/dist/client/index.js +42 -15
- package/dist/client/index.js.map +2 -2
- package/dist/client/prefetch.js +1 -3
- package/dist/client/prefetch.js.map +2 -2
- package/dist/core/streamingSlotRegistrar.js +1 -64
- package/dist/core/streamingSlotRegistrar.js.map +2 -2
- package/dist/core/streamingSlotRegistry.js +1 -64
- package/dist/core/streamingSlotRegistry.js.map +2 -2
- package/dist/dev/serverBootstrap.js +1802 -2018
- package/dist/index.js +5247 -8794
- package/dist/index.js.map +9 -20
- package/dist/islands/browser.js +13 -3
- package/dist/islands/browser.js.map +2 -2
- package/dist/islands/index.js +26 -142
- package/dist/islands/index.js.map +2 -2
- package/dist/mobile/browser.js +13 -3
- package/dist/mobile/browser.js.map +2 -2
- package/dist/mobile/index.js +1067 -2182
- package/dist/mobile/index.js.map +2 -2
- package/dist/mobile/remoteMacAgentEntry.js +156 -156
- package/dist/mobile/shellAuth.js +0 -16
- package/dist/mobile/shellBootstrap.js +734 -724
- package/dist/mobile/shellExpoAuth.js +4 -18
- package/dist/mobile/shellExpoDevices.js +0 -16
- package/dist/mobile/shellExpoSync.js +0 -16
- package/dist/mobile/shellSync.js +3 -19
- package/dist/mobile/shellUpdate.js +5 -21
- package/dist/mobile/uiPrimitives.js +0 -16
- package/dist/react/browser.js +15 -5
- package/dist/react/browser.js.map +2 -2
- package/dist/react/components/index.js +68 -58
- package/dist/react/components/index.js.map +4 -4
- package/dist/react/hooks/index.js +1 -63
- package/dist/react/hooks/index.js.map +2 -2
- package/dist/react/index.js +56 -195
- package/dist/react/index.js.map +5 -5
- package/dist/react/jsxDevRuntimeCompat.js +1 -64
- package/dist/react/jsxDevRuntimeCompat.js.map +2 -2
- package/dist/react/jsxRuntimeCompat.js +1 -64
- package/dist/react/jsxRuntimeCompat.js.map +2 -2
- package/dist/react/router/browser.js +1 -64
- package/dist/react/router/browser.js.map +2 -2
- package/dist/react/router/index.js +1 -64
- package/dist/react/router/index.js.map +2 -2
- package/dist/react/server.js +38 -51
- package/dist/react/server.js.map +5 -5
- package/dist/src/cli/config/server.d.ts +7 -129
- package/dist/src/cli/patchedBun.d.ts +14 -14
- package/dist/src/cli/serverBundleExternals.d.ts +17 -2
- package/dist/src/core/prepare.d.ts +149 -1805
- package/dist/src/core/requestContext.d.ts +1 -1
- package/dist/src/dev/requestInspector.d.ts +1 -1
- package/dist/src/mobile/associationFiles.d.ts +2 -2
- package/dist/src/mobile/compatibilityDispatcher.d.ts +1 -1
- package/dist/src/mobile/mobilePreview.d.ts +8 -130
- package/dist/src/mobile/updateServer.d.ts +2 -2
- package/dist/src/plugins/devtoolsJson.d.ts +2 -2
- package/dist/src/plugins/hmr.d.ts +2 -2
- package/dist/src/plugins/imageOptimizer.d.ts +2 -151
- package/dist/src/plugins/telemetryPlugin.d.ts +1 -19
- package/dist/svelte/browser.js +13 -3
- package/dist/svelte/browser.js.map +2 -2
- package/dist/svelte/index.js +66 -210
- package/dist/svelte/index.js.map +5 -5
- package/dist/svelte/server.js +51 -99
- package/dist/svelte/server.js.map +5 -5
- package/dist/types/globals.d.ts +0 -6
- package/dist/vue/browser.js +13 -3
- package/dist/vue/browser.js.map +2 -2
- package/dist/vue/components/Image.js +13 -3
- package/dist/vue/components/Image.js.map +2 -2
- package/dist/vue/components/index.js +62 -50
- package/dist/vue/components/index.js.map +4 -4
- package/dist/vue/index.js +1115 -1258
- package/dist/vue/index.js.map +10 -10
- package/dist/vue/server.js +42 -59
- package/dist/vue/server.js.map +5 -5
- package/package.json +9 -9
- package/dist/cli/androidEmulatorController-sj141e1c.js +0 -30
- package/dist/cli/config-rjeexvza.js +0 -8
- package/dist/cli/emulatorDoctor-gzarrsex.js +0 -18
- package/dist/cli/emulatorInstaller-pjw4ex6q.js +0 -15
- package/dist/cli/env-4f6f6z69.js +0 -14
- package/dist/cli/eslint-qfkxe89p.js +0 -20
- package/dist/cli/eslintChunked-7ef700pn.js +0 -21
- package/dist/cli/expoDevController-weywa74d.js +0 -26
- package/dist/cli/expoProject-w2pzjwnx.js +0 -11
- package/dist/cli/index-1rabqyq0.js +0 -7
- package/dist/cli/index-ar4gz15x.js +0 -60
- package/dist/cli/iosSimulatorController-xcxxfkzx.js +0 -34
- package/dist/cli/nativeAuth-zx4tsb1f.js +0 -38
- package/dist/cli/patchedBun-zjtrn2s4.js +0 -38
- package/dist/cli/prerender-yex2zwj3.js +0 -18
- package/dist/cli/remoteMacProtocol-r38jhg44.js +0 -69
- package/dist/cli/start-gzhrkhxe.js +0 -23
- package/dist/cli/telemetry-94rka1w2.js +0 -14
- package/dist/client/chunks/angularPatch-arh4sr68.js +0 -157
- package/dist/client/chunks/angularPatch-arh4sr68.js.map +0 -10
- package/dist/client/chunks/index-jrcwp722.js +0 -12
- package/dist/client/chunks/index-jrcwp722.js.map +0 -10
- package/dist/client/chunks/index-m35nbkdp.js.map +0 -12
- package/dist/client/chunks/index-qxjc7kc5.js +0 -12
- package/dist/client/chunks/index-qxjc7kc5.js.map +0 -9
- package/dist/client/chunks/islands-50dg63j9.js +0 -284
- package/dist/client/chunks/islands-50dg63j9.js.map +0 -14
- /package/dist/cli/{index-me8nczrw.js → index-039rh39e.js} +0 -0
- /package/dist/cli/{index-bw4ktfnz.js → index-1y5mmnwg.js} +0 -0
- /package/dist/cli/{index-5xfxd7xa.js → index-3wm8p7rg.js} +0 -0
- /package/dist/cli/{index-4rme31py.js → index-420h9hq7.js} +0 -0
- /package/dist/cli/{index-4rhxthsy.js → index-65kqn88a.js} +0 -0
- /package/dist/cli/{index-r8x3839e.js → index-71gchbzt.js} +0 -0
- /package/dist/cli/{index-s2tazax7.js → index-92g14j47.js} +0 -0
- /package/dist/cli/{index-j66p8hn5.js → index-bwsa6ax4.js} +0 -0
- /package/dist/cli/{index-bzs19w3r.js → index-e6ysp900.js} +0 -0
- /package/dist/cli/{index-06cmrcdq.js → index-h7qhz02e.js} +0 -0
- /package/dist/cli/{index-6h54jqdq.js → index-hg54jyts.js} +0 -0
- /package/dist/cli/{index-czwrxgdj.js → index-hxqprc80.js} +0 -0
- /package/dist/cli/{index-zh6hhrwy.js → index-jjfbjv1z.js} +0 -0
- /package/dist/cli/{index-fc9vxw56.js → index-prs14ys9.js} +0 -0
- /package/dist/cli/{index-v1k46q3x.js → index-tx0kx9zx.js} +0 -0
- /package/dist/cli/{index-fhaf3tdk.js → index-x8x0f3ha.js} +0 -0
- /package/dist/cli/{index-18q9qc7f.js → index-ypcqx24p.js} +0 -0
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
buildAbsoluteAndroidGradleArtifact,
|
|
4
|
-
fingerprintAbsoluteAndroidNativeProject,
|
|
5
|
-
isIgnorableAbsoluteAndroidLog,
|
|
6
|
-
parseAbsoluteAndroidLogLine,
|
|
7
|
-
parseAdbDevices,
|
|
8
|
-
prepareAbsoluteAndroidDevProject,
|
|
9
|
-
redactAbsoluteAndroidLog,
|
|
10
|
-
repairAbsoluteAndroidDevSession,
|
|
11
|
-
startAbsoluteAndroidDevSession
|
|
12
|
-
} from "./index-1ys3dnrs.js";
|
|
13
|
-
import"./index-18q9qc7f.js";
|
|
14
|
-
import"./index-255xs63d.js";
|
|
15
|
-
import"./index-00wfffav.js";
|
|
16
|
-
import"./index-wtfnv3n2.js";
|
|
17
|
-
import"./index-prwyfnn3.js";
|
|
18
|
-
import"./index-czwrxgdj.js";
|
|
19
|
-
import"./index-mywsk201.js";
|
|
20
|
-
export {
|
|
21
|
-
buildAbsoluteAndroidGradleArtifact,
|
|
22
|
-
fingerprintAbsoluteAndroidNativeProject,
|
|
23
|
-
isIgnorableAbsoluteAndroidLog,
|
|
24
|
-
parseAbsoluteAndroidLogLine,
|
|
25
|
-
parseAdbDevices,
|
|
26
|
-
prepareAbsoluteAndroidDevProject,
|
|
27
|
-
redactAbsoluteAndroidLog,
|
|
28
|
-
repairAbsoluteAndroidDevSession,
|
|
29
|
-
startAbsoluteAndroidDevSession
|
|
30
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ABSOLUTE_ANDROID_AVD_NAME,
|
|
4
|
-
absoluteManagedAndroidSdkRoot,
|
|
5
|
-
detectAbsoluteMobileHost,
|
|
6
|
-
inspectAbsoluteMobileToolchain
|
|
7
|
-
} from "./index-255xs63d.js";
|
|
8
|
-
import"./index-00wfffav.js";
|
|
9
|
-
import"./index-wtfnv3n2.js";
|
|
10
|
-
import"./index-prwyfnn3.js";
|
|
11
|
-
import"./index-czwrxgdj.js";
|
|
12
|
-
import"./index-mywsk201.js";
|
|
13
|
-
export {
|
|
14
|
-
ABSOLUTE_ANDROID_AVD_NAME,
|
|
15
|
-
absoluteManagedAndroidSdkRoot,
|
|
16
|
-
detectAbsoluteMobileHost,
|
|
17
|
-
inspectAbsoluteMobileToolchain
|
|
18
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
fixAbsoluteMobileEmulatorToolchain,
|
|
4
|
-
planAbsoluteMobileEmulatorInstall
|
|
5
|
-
} from "./index-erngp7a9.js";
|
|
6
|
-
import"./index-255xs63d.js";
|
|
7
|
-
import"./index-00wfffav.js";
|
|
8
|
-
import"./index-wtfnv3n2.js";
|
|
9
|
-
import"./index-prwyfnn3.js";
|
|
10
|
-
import"./index-czwrxgdj.js";
|
|
11
|
-
import"./index-mywsk201.js";
|
|
12
|
-
export {
|
|
13
|
-
fixAbsoluteMobileEmulatorToolchain,
|
|
14
|
-
planAbsoluteMobileEmulatorInstall
|
|
15
|
-
};
|
package/dist/cli/env-4f6f6z69.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
buildEslintCommand,
|
|
4
|
-
createEslintCacheFingerprint,
|
|
5
|
-
createEslintConfigDigest,
|
|
6
|
-
eslint,
|
|
7
|
-
findEslintConfigPath,
|
|
8
|
-
getCacheLocation,
|
|
9
|
-
prepareEslintCache
|
|
10
|
-
} from "./index-0hr7c4qe.js";
|
|
11
|
-
import"./index-mywsk201.js";
|
|
12
|
-
export {
|
|
13
|
-
buildEslintCommand,
|
|
14
|
-
createEslintCacheFingerprint,
|
|
15
|
-
createEslintConfigDigest,
|
|
16
|
-
eslint,
|
|
17
|
-
findEslintConfigPath,
|
|
18
|
-
getCacheLocation,
|
|
19
|
-
prepareEslintCache
|
|
20
|
-
};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
eslintChunked,
|
|
4
|
-
gitChangedFiles,
|
|
5
|
-
gitVisibleFiles,
|
|
6
|
-
parseChunkedArgs,
|
|
7
|
-
resolveLintTargets,
|
|
8
|
-
ruleSummary,
|
|
9
|
-
upstreamRef
|
|
10
|
-
} from "./index-tn4crd40.js";
|
|
11
|
-
import"./index-0hr7c4qe.js";
|
|
12
|
-
import"./index-mywsk201.js";
|
|
13
|
-
export {
|
|
14
|
-
eslintChunked,
|
|
15
|
-
gitChangedFiles,
|
|
16
|
-
gitVisibleFiles,
|
|
17
|
-
parseChunkedArgs,
|
|
18
|
-
resolveLintTargets,
|
|
19
|
-
ruleSummary,
|
|
20
|
-
upstreamRef
|
|
21
|
-
};
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
absoluteExpoExecutable,
|
|
4
|
-
buildAbsoluteExpoAndroidWslBundle,
|
|
5
|
-
installAbsoluteExpoAndroidRelease,
|
|
6
|
-
installAbsoluteExpoIosRelease,
|
|
7
|
-
parseBootedAbsoluteExpoIosSimulators,
|
|
8
|
-
planAbsoluteExpoDevSession,
|
|
9
|
-
startAbsoluteExpoDevSession
|
|
10
|
-
} from "./index-5cgsrv62.js";
|
|
11
|
-
import"./index-j66p8hn5.js";
|
|
12
|
-
import"./index-255xs63d.js";
|
|
13
|
-
import"./index-00wfffav.js";
|
|
14
|
-
import"./index-wtfnv3n2.js";
|
|
15
|
-
import"./index-prwyfnn3.js";
|
|
16
|
-
import"./index-czwrxgdj.js";
|
|
17
|
-
import"./index-mywsk201.js";
|
|
18
|
-
export {
|
|
19
|
-
absoluteExpoExecutable,
|
|
20
|
-
buildAbsoluteExpoAndroidWslBundle,
|
|
21
|
-
installAbsoluteExpoAndroidRelease,
|
|
22
|
-
installAbsoluteExpoIosRelease,
|
|
23
|
-
parseBootedAbsoluteExpoIosSimulators,
|
|
24
|
-
planAbsoluteExpoDevSession,
|
|
25
|
-
startAbsoluteExpoDevSession
|
|
26
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// src/utils/startupTimings.ts
|
|
3
|
-
var isTruthyFlag = (value) => value === "1" || value === "true";
|
|
4
|
-
var devProfileEnabled = isTruthyFlag(process.env.ABSOLUTE_DEV_PROFILE);
|
|
5
|
-
var startupTimingsEnabled = devProfileEnabled || isTruthyFlag(process.env.ABSOLUTE_STARTUP_TIMINGS);
|
|
6
|
-
|
|
7
|
-
export { devProfileEnabled };
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
// src/mobile/nativeAuth.ts
|
|
3
|
-
import { readFileSync } from "fs";
|
|
4
|
-
import { join } from "path";
|
|
5
|
-
var ABSOLUTE_AUTH_PACKAGE = "@absolutejs/auth";
|
|
6
|
-
var ABSOLUTE_EXPO_AUTH_CORE_VERSION = "0.76.3";
|
|
7
|
-
var ABSOLUTE_EXPO_AUTH_PACKAGE = "@absolutejs/auth-expo";
|
|
8
|
-
var ABSOLUTE_EXPO_AUTH_VERSION = "0.0.6";
|
|
9
|
-
var ABSOLUTE_EXPO_SYNC_CORE_VERSION = "2.31.0";
|
|
10
|
-
var ABSOLUTE_EXPO_SYNC_PACKAGE = "@absolutejs/sync-expo";
|
|
11
|
-
var ABSOLUTE_EXPO_SYNC_VERSION = "0.0.4";
|
|
12
|
-
var ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV = "ABSOLUTE_AUTH_NATIVE_CLIENTS";
|
|
13
|
-
var ABSOLUTE_NATIVE_AUTH_SCOPES = ["openid", "profile"];
|
|
14
|
-
var ABSOLUTE_SYNC_PACKAGE = "@absolutejs/sync";
|
|
15
|
-
var readPackageManifest = (projectRoot) => {
|
|
16
|
-
try {
|
|
17
|
-
return JSON.parse(readFileSync(join(projectRoot, "package.json"), "utf8"));
|
|
18
|
-
} catch {
|
|
19
|
-
return;
|
|
20
|
-
}
|
|
21
|
-
};
|
|
22
|
-
var packageManifestHas = (manifest, packageName) => {
|
|
23
|
-
if (typeof manifest !== "object" || manifest === null)
|
|
24
|
-
return false;
|
|
25
|
-
return [
|
|
26
|
-
Reflect.get(manifest, "dependencies"),
|
|
27
|
-
Reflect.get(manifest, "devDependencies"),
|
|
28
|
-
Reflect.get(manifest, "optionalDependencies"),
|
|
29
|
-
Reflect.get(manifest, "peerDependencies")
|
|
30
|
-
].some((dependencies) => typeof dependencies === "object" && dependencies !== null && Object.hasOwn(dependencies, packageName));
|
|
31
|
-
};
|
|
32
|
-
var createAbsoluteMobileAuthManifest = (config) => {
|
|
33
|
-
const scheme = config.deepLinkScheme ?? config.appId.toLowerCase();
|
|
34
|
-
return {
|
|
35
|
-
clientId: `absolutejs-native:${config.appId}`,
|
|
36
|
-
issuer: config.productionOrigin,
|
|
37
|
-
redirectUri: `${scheme}://auth/callback`,
|
|
38
|
-
scopes: [...ABSOLUTE_NATIVE_AUTH_SCOPES]
|
|
39
|
-
};
|
|
40
|
-
};
|
|
41
|
-
var installAbsoluteMobileAuthEnvironment = (projectRoot, config) => {
|
|
42
|
-
const auth = resolveAbsoluteMobileAuthManifest(projectRoot, config);
|
|
43
|
-
const serialized = serializeAbsoluteMobileAuthEnvironment(config, auth);
|
|
44
|
-
if (serialized === undefined)
|
|
45
|
-
delete process.env[ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV];
|
|
46
|
-
else
|
|
47
|
-
process.env[ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV] = serialized;
|
|
48
|
-
return auth;
|
|
49
|
-
};
|
|
50
|
-
var projectUsesAbsoluteAuth = (projectRoot) => packageManifestHas(readPackageManifest(projectRoot), ABSOLUTE_AUTH_PACKAGE);
|
|
51
|
-
var projectUsesAbsoluteSync = (projectRoot) => packageManifestHas(readPackageManifest(projectRoot), ABSOLUTE_SYNC_PACKAGE);
|
|
52
|
-
var resolveAbsoluteMobileAuthManifest = (projectRoot, config) => projectUsesAbsoluteAuth(projectRoot) ? createAbsoluteMobileAuthManifest(config) : undefined;
|
|
53
|
-
var serializeAbsoluteMobileAuthEnvironment = (config, auth) => auth === undefined ? undefined : JSON.stringify([
|
|
54
|
-
{
|
|
55
|
-
...auth,
|
|
56
|
-
name: `${config.appName} native app`
|
|
57
|
-
}
|
|
58
|
-
]);
|
|
59
|
-
|
|
60
|
-
export { ABSOLUTE_AUTH_PACKAGE, ABSOLUTE_EXPO_AUTH_CORE_VERSION, ABSOLUTE_EXPO_AUTH_PACKAGE, ABSOLUTE_EXPO_AUTH_VERSION, ABSOLUTE_EXPO_SYNC_CORE_VERSION, ABSOLUTE_EXPO_SYNC_PACKAGE, ABSOLUTE_EXPO_SYNC_VERSION, ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV, ABSOLUTE_NATIVE_AUTH_SCOPES, ABSOLUTE_SYNC_PACKAGE, createAbsoluteMobileAuthManifest, installAbsoluteMobileAuthEnvironment, projectUsesAbsoluteAuth, projectUsesAbsoluteSync, resolveAbsoluteMobileAuthManifest, serializeAbsoluteMobileAuthEnvironment };
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ABSOLUTE_IOS_SIMULATOR_NAME,
|
|
4
|
-
fingerprintAbsoluteIosDevProject,
|
|
5
|
-
parseAbsoluteIosLogLine,
|
|
6
|
-
parseIosDeviceTypes,
|
|
7
|
-
parseIosRuntimes,
|
|
8
|
-
parseIosSimulators,
|
|
9
|
-
prepareAbsoluteIosDevProject,
|
|
10
|
-
redactAbsoluteIosLog,
|
|
11
|
-
repairAbsoluteIosDevSession,
|
|
12
|
-
startAbsoluteIosDevSession
|
|
13
|
-
} from "./index-vkkqe08e.js";
|
|
14
|
-
import"./index-v26ze17p.js";
|
|
15
|
-
import"./index-j66p8hn5.js";
|
|
16
|
-
import"./index-18q9qc7f.js";
|
|
17
|
-
import"./index-255xs63d.js";
|
|
18
|
-
import"./index-00wfffav.js";
|
|
19
|
-
import"./index-wtfnv3n2.js";
|
|
20
|
-
import"./index-prwyfnn3.js";
|
|
21
|
-
import"./index-czwrxgdj.js";
|
|
22
|
-
import"./index-mywsk201.js";
|
|
23
|
-
export {
|
|
24
|
-
ABSOLUTE_IOS_SIMULATOR_NAME,
|
|
25
|
-
fingerprintAbsoluteIosDevProject,
|
|
26
|
-
parseAbsoluteIosLogLine,
|
|
27
|
-
parseIosDeviceTypes,
|
|
28
|
-
parseIosRuntimes,
|
|
29
|
-
parseIosSimulators,
|
|
30
|
-
prepareAbsoluteIosDevProject,
|
|
31
|
-
redactAbsoluteIosLog,
|
|
32
|
-
repairAbsoluteIosDevSession,
|
|
33
|
-
startAbsoluteIosDevSession
|
|
34
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ABSOLUTE_AUTH_PACKAGE,
|
|
4
|
-
ABSOLUTE_EXPO_AUTH_CORE_VERSION,
|
|
5
|
-
ABSOLUTE_EXPO_AUTH_PACKAGE,
|
|
6
|
-
ABSOLUTE_EXPO_AUTH_VERSION,
|
|
7
|
-
ABSOLUTE_EXPO_SYNC_CORE_VERSION,
|
|
8
|
-
ABSOLUTE_EXPO_SYNC_PACKAGE,
|
|
9
|
-
ABSOLUTE_EXPO_SYNC_VERSION,
|
|
10
|
-
ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV,
|
|
11
|
-
ABSOLUTE_NATIVE_AUTH_SCOPES,
|
|
12
|
-
ABSOLUTE_SYNC_PACKAGE,
|
|
13
|
-
createAbsoluteMobileAuthManifest,
|
|
14
|
-
installAbsoluteMobileAuthEnvironment,
|
|
15
|
-
projectUsesAbsoluteAuth,
|
|
16
|
-
projectUsesAbsoluteSync,
|
|
17
|
-
resolveAbsoluteMobileAuthManifest,
|
|
18
|
-
serializeAbsoluteMobileAuthEnvironment
|
|
19
|
-
} from "./index-ar4gz15x.js";
|
|
20
|
-
import"./index-mywsk201.js";
|
|
21
|
-
export {
|
|
22
|
-
ABSOLUTE_AUTH_PACKAGE,
|
|
23
|
-
ABSOLUTE_EXPO_AUTH_CORE_VERSION,
|
|
24
|
-
ABSOLUTE_EXPO_AUTH_PACKAGE,
|
|
25
|
-
ABSOLUTE_EXPO_AUTH_VERSION,
|
|
26
|
-
ABSOLUTE_EXPO_SYNC_CORE_VERSION,
|
|
27
|
-
ABSOLUTE_EXPO_SYNC_PACKAGE,
|
|
28
|
-
ABSOLUTE_EXPO_SYNC_VERSION,
|
|
29
|
-
ABSOLUTE_NATIVE_AUTH_CLIENTS_ENV,
|
|
30
|
-
ABSOLUTE_NATIVE_AUTH_SCOPES,
|
|
31
|
-
ABSOLUTE_SYNC_PACKAGE,
|
|
32
|
-
createAbsoluteMobileAuthManifest,
|
|
33
|
-
installAbsoluteMobileAuthEnvironment,
|
|
34
|
-
projectUsesAbsoluteAuth,
|
|
35
|
-
projectUsesAbsoluteSync,
|
|
36
|
-
resolveAbsoluteMobileAuthManifest,
|
|
37
|
-
serializeAbsoluteMobileAuthEnvironment
|
|
38
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
PATCHED_BUN_EXPLANATION,
|
|
4
|
-
PATCHED_BUN_RELEASE,
|
|
5
|
-
bunPatch,
|
|
6
|
-
installPatchedBun,
|
|
7
|
-
installedPatchedBun,
|
|
8
|
-
parsePatchedBunChoice,
|
|
9
|
-
patchedBunAsset,
|
|
10
|
-
patchedBunDownloadUrl,
|
|
11
|
-
patchedBunOfferState,
|
|
12
|
-
patchedBunPath,
|
|
13
|
-
readPatchedBunPreference,
|
|
14
|
-
readZipEntry,
|
|
15
|
-
resolveDevBunExecutable,
|
|
16
|
-
runtimeSupportsReactFastRefresh,
|
|
17
|
-
verifyPatchedBun,
|
|
18
|
-
writePatchedBunPreference
|
|
19
|
-
} from "./index-hty8111z.js";
|
|
20
|
-
import"./index-mywsk201.js";
|
|
21
|
-
export {
|
|
22
|
-
PATCHED_BUN_EXPLANATION,
|
|
23
|
-
PATCHED_BUN_RELEASE,
|
|
24
|
-
bunPatch,
|
|
25
|
-
installPatchedBun,
|
|
26
|
-
installedPatchedBun,
|
|
27
|
-
parsePatchedBunChoice,
|
|
28
|
-
patchedBunAsset,
|
|
29
|
-
patchedBunDownloadUrl,
|
|
30
|
-
patchedBunOfferState,
|
|
31
|
-
patchedBunPath,
|
|
32
|
-
readPatchedBunPreference,
|
|
33
|
-
readZipEntry,
|
|
34
|
-
resolveDevBunExecutable,
|
|
35
|
-
runtimeSupportsReactFastRefresh,
|
|
36
|
-
verifyPatchedBun,
|
|
37
|
-
writePatchedBunPreference
|
|
38
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
PRERENDER_BYPASS_HEADER,
|
|
4
|
-
prerender,
|
|
5
|
-
prerenderWithServer,
|
|
6
|
-
readTimestamp,
|
|
7
|
-
rerenderRoute,
|
|
8
|
-
routeToFilename
|
|
9
|
-
} from "./index-54q7pxcx.js";
|
|
10
|
-
import"./index-mywsk201.js";
|
|
11
|
-
export {
|
|
12
|
-
PRERENDER_BYPASS_HEADER,
|
|
13
|
-
prerender,
|
|
14
|
-
prerenderWithServer,
|
|
15
|
-
readTimestamp,
|
|
16
|
-
rerenderRoute,
|
|
17
|
-
routeToFilename
|
|
18
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
ABSOLUTE_REMOTE_MAC_EVENT_PREFIX,
|
|
4
|
-
ABSOLUTE_REMOTE_MAC_PROTOCOL_VERSION,
|
|
5
|
-
absoluteRemoteMacSshBase,
|
|
6
|
-
absoluteRemoteProjectSyncCommands,
|
|
7
|
-
absoluteRemoteReleaseInputSyncCommands,
|
|
8
|
-
acquireAbsoluteRemoteMacReleaseLease,
|
|
9
|
-
buildAbsoluteRemoteIosRelease,
|
|
10
|
-
captureAbsoluteRemoteMacCommand,
|
|
11
|
-
cleanAbsoluteRemoteMacWorkspace,
|
|
12
|
-
createAbsoluteRemoteExpoIosDevProject,
|
|
13
|
-
createAbsoluteRemoteIosDevProject,
|
|
14
|
-
getAbsoluteRemoteMacProfile,
|
|
15
|
-
inspectAbsoluteRemoteMac,
|
|
16
|
-
inspectAbsoluteRemoteMacLanHost,
|
|
17
|
-
inspectAbsoluteRemoteMacWorkspace,
|
|
18
|
-
installAbsoluteRemoteMacAgent,
|
|
19
|
-
listAbsoluteRemoteMacProfiles,
|
|
20
|
-
materializeAbsoluteRemoteMacAgent,
|
|
21
|
-
pairAbsoluteRemoteMac,
|
|
22
|
-
removeAbsoluteRemoteMacProfile,
|
|
23
|
-
runAbsoluteRemoteIosReleaseAcceptance,
|
|
24
|
-
startAbsoluteRemoteExpoIosDevSession,
|
|
25
|
-
startAbsoluteRemoteIosDevSession,
|
|
26
|
-
syncAbsoluteRemoteMacAcceptanceRelease,
|
|
27
|
-
syncAbsoluteRemoteMacProject,
|
|
28
|
-
syncAbsoluteRemoteMacReleaseInputs,
|
|
29
|
-
validateAbsoluteRemoteMacProfileName,
|
|
30
|
-
validateAbsoluteSshDestination
|
|
31
|
-
} from "./index-rqbk0b30.js";
|
|
32
|
-
import"./index-v26ze17p.js";
|
|
33
|
-
import"./index-bw4ktfnz.js";
|
|
34
|
-
import"./index-255xs63d.js";
|
|
35
|
-
import"./index-00wfffav.js";
|
|
36
|
-
import"./index-wtfnv3n2.js";
|
|
37
|
-
import"./index-prwyfnn3.js";
|
|
38
|
-
import"./index-czwrxgdj.js";
|
|
39
|
-
import"./index-mywsk201.js";
|
|
40
|
-
export {
|
|
41
|
-
ABSOLUTE_REMOTE_MAC_EVENT_PREFIX,
|
|
42
|
-
ABSOLUTE_REMOTE_MAC_PROTOCOL_VERSION,
|
|
43
|
-
absoluteRemoteMacSshBase,
|
|
44
|
-
absoluteRemoteProjectSyncCommands,
|
|
45
|
-
absoluteRemoteReleaseInputSyncCommands,
|
|
46
|
-
acquireAbsoluteRemoteMacReleaseLease,
|
|
47
|
-
buildAbsoluteRemoteIosRelease,
|
|
48
|
-
captureAbsoluteRemoteMacCommand,
|
|
49
|
-
cleanAbsoluteRemoteMacWorkspace,
|
|
50
|
-
createAbsoluteRemoteExpoIosDevProject,
|
|
51
|
-
createAbsoluteRemoteIosDevProject,
|
|
52
|
-
getAbsoluteRemoteMacProfile,
|
|
53
|
-
inspectAbsoluteRemoteMac,
|
|
54
|
-
inspectAbsoluteRemoteMacLanHost,
|
|
55
|
-
inspectAbsoluteRemoteMacWorkspace,
|
|
56
|
-
installAbsoluteRemoteMacAgent,
|
|
57
|
-
listAbsoluteRemoteMacProfiles,
|
|
58
|
-
materializeAbsoluteRemoteMacAgent,
|
|
59
|
-
pairAbsoluteRemoteMac,
|
|
60
|
-
removeAbsoluteRemoteMacProfile,
|
|
61
|
-
runAbsoluteRemoteIosReleaseAcceptance,
|
|
62
|
-
startAbsoluteRemoteExpoIosDevSession,
|
|
63
|
-
startAbsoluteRemoteIosDevSession,
|
|
64
|
-
syncAbsoluteRemoteMacAcceptanceRelease,
|
|
65
|
-
syncAbsoluteRemoteMacProject,
|
|
66
|
-
syncAbsoluteRemoteMacReleaseInputs,
|
|
67
|
-
validateAbsoluteRemoteMacProfileName,
|
|
68
|
-
validateAbsoluteSshDestination
|
|
69
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
start
|
|
4
|
-
} from "./index-vdbn8brx.js";
|
|
5
|
-
import"./index-wctgx65x.js";
|
|
6
|
-
import"./index-bzs19w3r.js";
|
|
7
|
-
import"./index-s2tazax7.js";
|
|
8
|
-
import"./index-fc9vxw56.js";
|
|
9
|
-
import"./index-r8x3839e.js";
|
|
10
|
-
import"./index-06cmrcdq.js";
|
|
11
|
-
import"./index-9kwmb3c0.js";
|
|
12
|
-
import"./index-w5vswatm.js";
|
|
13
|
-
import"./index-exdd5k1g.js";
|
|
14
|
-
import"./index-nxcwg9ma.js";
|
|
15
|
-
import"./index-ar4gz15x.js";
|
|
16
|
-
import"./index-00wfffav.js";
|
|
17
|
-
import"./index-wtfnv3n2.js";
|
|
18
|
-
import"./index-prwyfnn3.js";
|
|
19
|
-
import"./index-czwrxgdj.js";
|
|
20
|
-
import"./index-mywsk201.js";
|
|
21
|
-
export {
|
|
22
|
-
start
|
|
23
|
-
};
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
// @bun
|
|
2
|
-
import {
|
|
3
|
-
getTelemetryConfig,
|
|
4
|
-
isTelemetryEnabled,
|
|
5
|
-
saveTelemetryConfig,
|
|
6
|
-
telemetry
|
|
7
|
-
} from "./index-w5vswatm.js";
|
|
8
|
-
import"./index-mywsk201.js";
|
|
9
|
-
export {
|
|
10
|
-
getTelemetryConfig,
|
|
11
|
-
isTelemetryEnabled,
|
|
12
|
-
saveTelemetryConfig,
|
|
13
|
-
telemetry
|
|
14
|
-
};
|
|
@@ -1,157 +0,0 @@
|
|
|
1
|
-
import {
|
|
2
|
-
isProductionRuntime,
|
|
3
|
-
resolveAngularRuntimePath
|
|
4
|
-
} from "./index-m35nbkdp.js";
|
|
5
|
-
import"./index-qxjc7kc5.js";
|
|
6
|
-
|
|
7
|
-
// src/angular/angularPatch.ts
|
|
8
|
-
var ensureHead = (doc) => {
|
|
9
|
-
if (!doc || doc.head || !doc.documentElement) {
|
|
10
|
-
return;
|
|
11
|
-
}
|
|
12
|
-
const head = doc.createElement("head");
|
|
13
|
-
doc.documentElement.insertBefore(head, doc.documentElement.firstChild);
|
|
14
|
-
};
|
|
15
|
-
var SSR_LAYOUT_RECT = Object.freeze({
|
|
16
|
-
bottom: 0,
|
|
17
|
-
height: 0,
|
|
18
|
-
left: 0,
|
|
19
|
-
right: 0,
|
|
20
|
-
top: 0,
|
|
21
|
-
width: 0,
|
|
22
|
-
x: 0,
|
|
23
|
-
y: 0,
|
|
24
|
-
toJSON() {
|
|
25
|
-
return this;
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
var layoutPatchApplied = false;
|
|
29
|
-
var collectPrototypeChain = (instance) => {
|
|
30
|
-
const protos = [];
|
|
31
|
-
let current = instance ? Object.getPrototypeOf(instance) : null;
|
|
32
|
-
while (current && current !== Object.prototype) {
|
|
33
|
-
protos.push(current);
|
|
34
|
-
current = Object.getPrototypeOf(current);
|
|
35
|
-
}
|
|
36
|
-
return protos;
|
|
37
|
-
};
|
|
38
|
-
var patchElementLayout = (doc) => {
|
|
39
|
-
if (layoutPatchApplied || !doc) {
|
|
40
|
-
return;
|
|
41
|
-
}
|
|
42
|
-
let element;
|
|
43
|
-
try {
|
|
44
|
-
element = doc.createElement("div");
|
|
45
|
-
} catch {
|
|
46
|
-
return;
|
|
47
|
-
}
|
|
48
|
-
const protos = collectPrototypeChain(element);
|
|
49
|
-
if (protos.length === 0)
|
|
50
|
-
return;
|
|
51
|
-
const copyLayoutRect = (rect) => ({ ...rect });
|
|
52
|
-
const createLayoutRect = () => copyLayoutRect(SSR_LAYOUT_RECT);
|
|
53
|
-
const getClientRects = () => [];
|
|
54
|
-
const noop = () => {
|
|
55
|
-
return;
|
|
56
|
-
};
|
|
57
|
-
const numericProps = [
|
|
58
|
-
"clientWidth",
|
|
59
|
-
"clientHeight",
|
|
60
|
-
"clientLeft",
|
|
61
|
-
"clientTop",
|
|
62
|
-
"offsetWidth",
|
|
63
|
-
"offsetHeight",
|
|
64
|
-
"offsetLeft",
|
|
65
|
-
"offsetTop",
|
|
66
|
-
"scrollWidth",
|
|
67
|
-
"scrollHeight",
|
|
68
|
-
"scrollLeft",
|
|
69
|
-
"scrollTop"
|
|
70
|
-
];
|
|
71
|
-
for (const proto of protos) {
|
|
72
|
-
const define = (name, value) => {
|
|
73
|
-
const descriptor = Object.getOwnPropertyDescriptor(proto, name);
|
|
74
|
-
if (typeof descriptor?.value === "function")
|
|
75
|
-
return;
|
|
76
|
-
Object.defineProperty(proto, name, {
|
|
77
|
-
configurable: true,
|
|
78
|
-
value,
|
|
79
|
-
writable: true
|
|
80
|
-
});
|
|
81
|
-
};
|
|
82
|
-
define("getBoundingClientRect", createLayoutRect);
|
|
83
|
-
define("getClientRects", getClientRects);
|
|
84
|
-
define("scrollTo", noop);
|
|
85
|
-
define("scrollBy", noop);
|
|
86
|
-
define("scrollIntoView", noop);
|
|
87
|
-
define("focus", noop);
|
|
88
|
-
define("blur", noop);
|
|
89
|
-
for (const prop of numericProps) {
|
|
90
|
-
const desc = Object.getOwnPropertyDescriptor(proto, prop);
|
|
91
|
-
if (desc)
|
|
92
|
-
continue;
|
|
93
|
-
Object.defineProperty(proto, prop, {
|
|
94
|
-
configurable: true,
|
|
95
|
-
get: () => 0
|
|
96
|
-
});
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
layoutPatchApplied = true;
|
|
100
|
-
};
|
|
101
|
-
var applyPatches = async () => {
|
|
102
|
-
const spec = isProductionRuntime() ? resolveAngularRuntimePath("@angular/platform-server") : "@angular/platform-server";
|
|
103
|
-
const { ɵDominoAdapter } = await import(spec);
|
|
104
|
-
if (!ɵDominoAdapter?.prototype) {
|
|
105
|
-
console.warn("[Angular Patch] ɵDominoAdapter not found, skipping patches");
|
|
106
|
-
return false;
|
|
107
|
-
}
|
|
108
|
-
try {
|
|
109
|
-
const adapter = new ɵDominoAdapter;
|
|
110
|
-
const resolveSeedDoc = () => {
|
|
111
|
-
if (typeof adapter.createHtmlDocument === "function")
|
|
112
|
-
return adapter.createHtmlDocument();
|
|
113
|
-
if (typeof adapter.getDefaultDocument === "function")
|
|
114
|
-
return adapter.getDefaultDocument();
|
|
115
|
-
return null;
|
|
116
|
-
};
|
|
117
|
-
const seedDoc = resolveSeedDoc();
|
|
118
|
-
if (seedDoc) {
|
|
119
|
-
patchElementLayout(seedDoc);
|
|
120
|
-
const probe = seedDoc.createElement("div");
|
|
121
|
-
if (typeof probe.getBoundingClientRect !== "function") {
|
|
122
|
-
console.warn("[Angular Patch] Layout shim did not stick on probe element prototype chain");
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
} catch (error) {
|
|
126
|
-
console.warn("[Angular Patch] Could not eagerly patch Element prototypes:", error);
|
|
127
|
-
}
|
|
128
|
-
const proto = ɵDominoAdapter.prototype;
|
|
129
|
-
const origGetBaseHref = proto.getBaseHref;
|
|
130
|
-
proto.getBaseHref = function(doc) {
|
|
131
|
-
if (!doc || !doc.head || typeof doc.head.children === "undefined") {
|
|
132
|
-
return "";
|
|
133
|
-
}
|
|
134
|
-
return origGetBaseHref.call(this, doc);
|
|
135
|
-
};
|
|
136
|
-
const origCreateHtmlDocument = proto.createHtmlDocument;
|
|
137
|
-
proto.createHtmlDocument = function() {
|
|
138
|
-
const doc = origCreateHtmlDocument.call(this);
|
|
139
|
-
ensureHead(doc);
|
|
140
|
-
patchElementLayout(doc);
|
|
141
|
-
return doc;
|
|
142
|
-
};
|
|
143
|
-
const origGetDefaultDocument = proto.getDefaultDocument;
|
|
144
|
-
proto.getDefaultDocument = function() {
|
|
145
|
-
const doc = origGetDefaultDocument.call(this);
|
|
146
|
-
ensureHead(doc);
|
|
147
|
-
patchElementLayout(doc);
|
|
148
|
-
return doc;
|
|
149
|
-
};
|
|
150
|
-
return true;
|
|
151
|
-
};
|
|
152
|
-
export {
|
|
153
|
-
applyPatches
|
|
154
|
-
};
|
|
155
|
-
|
|
156
|
-
//# debugId=CE12054E3565B4C864756E2164756E21
|
|
157
|
-
//# sourceMappingURL=angularPatch-arh4sr68.js.map
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/angular/angularPatch.ts"],
|
|
4
|
-
"sourcesContent": [
|
|
5
|
-
"import { resolveAngularRuntimePath } from './resolveAngularPackage';\nimport { isProductionRuntime } from '../utils/runtimeMode';\n\n// Patches Angular SSR's DominoAdapter to guard against null doc.head\n\nconst ensureHead = (doc: Document) => {\n\tif (!doc || doc.head || !doc.documentElement) {\n\t\treturn;\n\t}\n\n\tconst head = doc.createElement('head');\n\tdoc.documentElement.insertBefore(head, doc.documentElement.firstChild);\n};\n\n// Domino's Element does not implement layout APIs that browser components\n// (e.g. ngx-datatable, swiper, drag-drop) call eagerly during change detection.\n// Returning a zeroed DOMRect lets those components render in SSR without\n// crashing — the real values get computed once the page hydrates client-side.\nconst SSR_LAYOUT_RECT = Object.freeze({\n\tbottom: 0,\n\theight: 0,\n\tleft: 0,\n\tright: 0,\n\ttop: 0,\n\twidth: 0,\n\tx: 0,\n\ty: 0,\n\ttoJSON() {\n\t\treturn this;\n\t}\n});\nlet layoutPatchApplied = false;\nconst collectPrototypeChain = (instance: object | null) => {\n\tconst protos: object[] = [];\n\tlet current: object | null = instance\n\t\t? Object.getPrototypeOf(instance)\n\t\t: null;\n\twhile (current && current !== Object.prototype) {\n\t\tprotos.push(current);\n\t\tcurrent = Object.getPrototypeOf(current);\n\t}\n\n\treturn protos;\n};\n\nconst patchElementLayout = (doc: Document) => {\n\tif (layoutPatchApplied || !doc) {\n\t\treturn;\n\t}\n\tlet element: Element;\n\ttry {\n\t\telement = doc.createElement('div');\n\t} catch {\n\t\treturn;\n\t}\n\t// Walk the entire prototype chain so HTMLElement → Element → Node all get\n\t// the layout shims. Domino's base Element.prototype is several hops above\n\t// HTMLDivElement.prototype, and 3rd-party libs call methods anywhere along\n\t// the chain.\n\tconst protos = collectPrototypeChain(element);\n\tif (protos.length === 0) return;\n\n\tconst copyLayoutRect = (rect: typeof SSR_LAYOUT_RECT) => ({ ...rect });\n\tconst createLayoutRect = () => copyLayoutRect(SSR_LAYOUT_RECT);\n\tconst getClientRects = () => [];\n\tconst noop = () => undefined;\n\tconst numericProps = [\n\t\t'clientWidth',\n\t\t'clientHeight',\n\t\t'clientLeft',\n\t\t'clientTop',\n\t\t'offsetWidth',\n\t\t'offsetHeight',\n\t\t'offsetLeft',\n\t\t'offsetTop',\n\t\t'scrollWidth',\n\t\t'scrollHeight',\n\t\t'scrollLeft',\n\t\t'scrollTop'\n\t];\n\n\tfor (const proto of protos) {\n\t\tconst define = (name: string, value: unknown) => {\n\t\t\tconst descriptor = Object.getOwnPropertyDescriptor(proto, name);\n\t\t\tif (typeof descriptor?.value === 'function') return;\n\n\t\t\tObject.defineProperty(proto, name, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tvalue,\n\t\t\t\twritable: true\n\t\t\t});\n\t\t};\n\n\t\tdefine('getBoundingClientRect', createLayoutRect);\n\t\tdefine('getClientRects', getClientRects);\n\t\tdefine('scrollTo', noop);\n\t\tdefine('scrollBy', noop);\n\t\tdefine('scrollIntoView', noop);\n\t\tdefine('focus', noop);\n\t\tdefine('blur', noop);\n\n\t\tfor (const prop of numericProps) {\n\t\t\tconst desc = Object.getOwnPropertyDescriptor(proto, prop);\n\t\t\tif (desc) continue;\n\t\t\tObject.defineProperty(proto, prop, {\n\t\t\t\tconfigurable: true,\n\t\t\t\tget: () => 0\n\t\t\t});\n\t\t}\n\t}\n\n\tlayoutPatchApplied = true;\n};\n\nexport const applyPatches = async () => {\n\t// §1.1 — bare specifier in dev shares Bun's module cache with bundled\n\t// server pages. Production stays on the resolved vendor path. Use\n\t// `isProductionRuntime()` instead of a direct `process.env.NODE_ENV`\n\t// read so Bun's bundler doesn't constant-fold this branch out of\n\t// dist/ at absolutejs build time.\n\tconst spec = isProductionRuntime()\n\t\t? resolveAngularRuntimePath('@angular/platform-server')\n\t\t: '@angular/platform-server';\n\tconst { ɵDominoAdapter } = await import(spec);\n\tif (!ɵDominoAdapter?.prototype) {\n\t\tconsole.warn(\n\t\t\t'[Angular Patch] ɵDominoAdapter not found, skipping patches'\n\t\t);\n\n\t\treturn false;\n\t}\n\n\t// Patch the layout shims onto Domino's Element prototypes immediately\n\t// (don't wait for the first createHtmlDocument call). Components that\n\t// hold an ElementRef from the very first change-detection pass call\n\t// these methods before the lazy patch path would have run.\n\ttry {\n\t\tconst adapter = new ɵDominoAdapter();\n\t\tconst resolveSeedDoc = () => {\n\t\t\tif (typeof adapter.createHtmlDocument === 'function')\n\t\t\t\treturn adapter.createHtmlDocument();\n\t\t\tif (typeof adapter.getDefaultDocument === 'function')\n\t\t\t\treturn adapter.getDefaultDocument();\n\n\t\t\treturn null;\n\t\t};\n\t\tconst seedDoc = resolveSeedDoc();\n\t\tif (seedDoc) {\n\t\t\tpatchElementLayout(seedDoc);\n\t\t\tconst probe = seedDoc.createElement('div');\n\t\t\tif (typeof probe.getBoundingClientRect !== 'function') {\n\t\t\t\tconsole.warn(\n\t\t\t\t\t'[Angular Patch] Layout shim did not stick on probe element prototype chain'\n\t\t\t\t);\n\t\t\t}\n\t\t}\n\t} catch (error) {\n\t\tconsole.warn(\n\t\t\t'[Angular Patch] Could not eagerly patch Element prototypes:',\n\t\t\terror\n\t\t);\n\t}\n\n\tconst proto = ɵDominoAdapter.prototype;\n\n\tconst origGetBaseHref = proto.getBaseHref;\n\tproto.getBaseHref = function (doc: Document) {\n\t\tif (!doc || !doc.head || typeof doc.head.children === 'undefined') {\n\t\t\treturn '';\n\t\t}\n\n\t\treturn origGetBaseHref.call(this, doc);\n\t};\n\n\tconst origCreateHtmlDocument = proto.createHtmlDocument;\n\tproto.createHtmlDocument = function () {\n\t\tconst doc = origCreateHtmlDocument.call(this);\n\t\tensureHead(doc);\n\t\tpatchElementLayout(doc);\n\n\t\treturn doc;\n\t};\n\n\tconst origGetDefaultDocument = proto.getDefaultDocument;\n\tproto.getDefaultDocument = function () {\n\t\tconst doc = origGetDefaultDocument.call(this);\n\t\tensureHead(doc);\n\t\tpatch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