chore: add mobile app

This commit is contained in:
2026-02-07 22:33:02 +01:00
parent db34640acc
commit e89384ad4e
29327 changed files with 3886944 additions and 12 deletions
+16
View File
@@ -0,0 +1,16 @@
import './Expo.fx';
export { disableErrorHandling } from './errors/ExpoErrorManager';
export { default as registerRootComponent } from './launch/registerRootComponent';
export { isRunningInExpoGo, getExpoGoProjectConfig } from './environment/ExpoGo';
export { EventEmitter, SharedObject, SharedRef, NativeModule, requireNativeModule, requireOptionalNativeModule, requireNativeViewManager as requireNativeView, registerWebModule, reloadAppAsync, } from 'expo-modules-core';
export type {
/** @deprecated Move to `SharedRef` with a type-only import instead */
SharedRef as SharedRefType,
/** @deprecated Move to `EventEmitter` with a type-only import instead */
EventEmitter as EventEmitterType,
/** @deprecated Move to `NativeModule` with a type-only import instead */
NativeModule as NativeModuleType,
/** @deprecated Move to `SharedObject` with a type-only import instead */
SharedObject as SharedObjectType, } from 'expo-modules-core/types';
export { useEvent, useEventListener } from './hooks/useEvent';
//# sourceMappingURL=Expo.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Expo.d.ts","sourceRoot":"","sources":["../src/Expo.ts"],"names":[],"mappings":"AAAA,OAAO,WAAW,CAAC;AAEnB,OAAO,EAAE,oBAAoB,EAAE,MAAM,2BAA2B,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAElF,OAAO,EAAE,iBAAiB,EAAE,sBAAsB,EAAE,MAAM,sBAAsB,CAAC;AAEjF,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,SAAS,EACT,YAAY,EAGZ,mBAAmB,EACnB,2BAA2B,EAC3B,wBAAwB,IAAI,iBAAiB,EAC7C,iBAAiB,EACjB,cAAc,GACf,MAAM,mBAAmB,CAAC;AAE3B,YAAY;AACV,sEAAsE;AACtE,SAAS,IAAI,aAAa;AAC1B,yEAAyE;AACzE,YAAY,IAAI,gBAAgB;AAChC,yEAAyE;AACzE,YAAY,IAAI,gBAAgB;AAChC,yEAAyE;AACzE,YAAY,IAAI,gBAAgB,GACjC,MAAM,yBAAyB,CAAC;AAEjC,OAAO,EAAE,QAAQ,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC"}
+5
View File
@@ -0,0 +1,5 @@
import './winter';
import './async-require';
import 'expo-asset';
import 'expo/virtual/rsc';
//# sourceMappingURL=Expo.fx.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Expo.fx.d.ts","sourceRoot":"","sources":["../src/Expo.fx.tsx"],"names":[],"mappings":"AACA,OAAO,UAAU,CAAC;AAClB,OAAO,iBAAiB,CAAC;AACzB,OAAO,YAAY,CAAC;AACpB,OAAO,kBAAkB,CAAC"}
+4
View File
@@ -0,0 +1,4 @@
import './winter';
import './async-require';
import 'expo/virtual/rsc';
//# sourceMappingURL=Expo.fx.web.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"Expo.fx.web.d.ts","sourceRoot":"","sources":["../src/Expo.fx.web.tsx"],"names":[],"mappings":"AAAA,OAAO,UAAU,CAAC;AAClB,OAAO,iBAAiB,CAAC;AACzB,OAAO,kBAAkB,CAAC"}
@@ -0,0 +1,13 @@
/**
* Copyright © 2025 650 Industries.
* Copyright (c) Meta Platforms, Inc. and affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* This is added as `asyncRequireModulePath` in `@expo/metro-config`
* Fork of https://github.com/facebook/metro/blob/b8e9e64f1de97a67234e223f5ee21524b160e8a5/packages/metro-runtime/src/modules/asyncRequire.js#L1
* - Adds worker support.
*/
export {};
//# sourceMappingURL=asyncRequireModule.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"asyncRequireModule.d.ts","sourceRoot":"","sources":["../../src/async-require/asyncRequireModule.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG"}
@@ -0,0 +1,15 @@
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Must satisfy the requirements of the Metro bundler.
* https://github.com/react-native-community/discussions-and-proposals/blob/main/proposals/0605-lazy-bundling.md#__loadbundleasync-in-metro
*/
type AsyncRequire = (path: string) => Promise<void>;
/** Create an `loadBundleAsync` function in the expected shape for Metro bundler. */
export declare function buildAsyncRequire(): AsyncRequire;
export {};
//# sourceMappingURL=buildAsyncRequire.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"buildAsyncRequire.d.ts","sourceRoot":"","sources":["../../src/async-require/buildAsyncRequire.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;GAGG;AACH,KAAK,YAAY,GAAG,CAAC,IAAI,EAAE,MAAM,KAAK,OAAO,CAAC,IAAI,CAAC,CAAC;AAEpD,oFAAoF;AACpF,wBAAgB,iBAAiB,IAAI,YAAY,CAiBhD"}
@@ -0,0 +1,14 @@
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
/**
* Given a path and some optional additional query parameters, create the dev server bundle URL.
* @param bundlePath like `/foobar`
* @param params like `{ platform: "web" }`
* @returns a URL like "/foobar.bundle?platform=android&modulesOnly=true&runModule=false&runtimeBytecodeVersion=null"
*/
export declare function buildUrlForBundle(bundlePath: string): string;
//# sourceMappingURL=buildUrlForBundle.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"buildUrlForBundle.d.ts","sourceRoot":"","sources":["../../src/async-require/buildUrlForBundle.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH;;;;;GAKG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAM5D"}
@@ -0,0 +1,8 @@
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export declare function buildUrlForBundle(bundlePath: string): string;
//# sourceMappingURL=buildUrlForBundle.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"buildUrlForBundle.native.d.ts","sourceRoot":"","sources":["../../src/async-require/buildUrlForBundle.native.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,MAAM,GAAG,MAAM,CAoB5D"}
+8
View File
@@ -0,0 +1,8 @@
export declare class MetroServerError extends Error {
code: string;
url: string;
constructor(errorObject: {
message: string;
} & Record<string, any>, url: string);
}
//# sourceMappingURL=errors.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/async-require/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,gBAAiB,SAAQ,KAAK;IACzC,IAAI,SAAwB;IAC5B,GAAG,EAAE,MAAM,CAAC;gBAEA,WAAW,EAAE;QAAE,OAAO,EAAE,MAAM,CAAA;KAAE,GAAG,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,EAAE,GAAG,EAAE,MAAM;CAQhF"}
+12
View File
@@ -0,0 +1,12 @@
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export declare function fetchAsync(url: string): Promise<{
body: string;
status: number;
headers: Headers;
}>;
//# sourceMappingURL=fetchAsync.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"fetchAsync.d.ts","sourceRoot":"","sources":["../../src/async-require/fetchAsync.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,wBAAsB,UAAU,CAC9B,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,OAAO,CAAA;CAAE,CAAC,CAa7D"}
@@ -0,0 +1,13 @@
/**
* Copyright (c) 650 Industries.
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export declare function fetchAsync(url: string): Promise<{
body: string;
status: number;
headers: Record<string, string>;
}>;
//# sourceMappingURL=fetchAsync.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"fetchAsync.native.d.ts","sourceRoot":"","sources":["../../src/async-require/fetchAsync.native.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAwBH,wBAAgB,UAAU,CACxB,GAAG,EAAE,MAAM,GACV,OAAO,CAAC;IAAE,IAAI,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAA;CAAE,CAAC,CAgF5E"}
@@ -0,0 +1,2 @@
export { fetchThenEvalAsync } from './fetchThenEvalJs';
//# sourceMappingURL=fetchThenEval.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"fetchThenEval.d.ts","sourceRoot":"","sources":["../../src/async-require/fetchThenEval.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,12 @@
/**
* Copyright © 2022 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
export declare function fetchThenEvalAsync(url: string, { scriptType, nonce, crossOrigin, }?: {
scriptType?: string;
nonce?: string;
crossOrigin?: string;
}): Promise<void>;
//# sourceMappingURL=fetchThenEval.web.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"fetchThenEval.web.d.ts","sourceRoot":"","sources":["../../src/async-require/fetchThenEval.web.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAQH,wBAAgB,kBAAkB,CAChC,GAAG,EAAE,MAAM,EACX,EACE,UAAU,EACV,KAAK,EACL,WAAW,GACZ,GAAE;IAAE,UAAU,CAAC,EAAE,MAAM,CAAC;IAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAAC,WAAW,CAAC,EAAE,MAAM,CAAA;CAAO,GACpE,OAAO,CAAC,IAAI,CAAC,CA+Df"}
@@ -0,0 +1,7 @@
/**
* Load a bundle for a URL using fetch + eval on native and script tag injection on web.
*
* @param url Given a statement like `import('./Bacon')` `bundlePath` would be `Bacon`.
*/
export declare function fetchThenEvalAsync(url: string): Promise<void>;
//# sourceMappingURL=fetchThenEvalJs.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"fetchThenEvalJs.d.ts","sourceRoot":"","sources":["../../src/async-require/fetchThenEvalJs.ts"],"names":[],"mappings":"AAQA;;;;GAIG;AACH,wBAAgB,kBAAkB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CA6B7D"}
@@ -0,0 +1,8 @@
declare const getDevServer: () => {
bundleLoadedFromServer: boolean;
/** URL but ensures that platform query param is added. */
readonly fullBundleUrl: string;
url: string;
};
export default getDevServer;
//# sourceMappingURL=getDevServer.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"getDevServer.d.ts","sourceRoot":"","sources":["../../src/async-require/getDevServer.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,YAAY;;IAcd,0DAA0D;;;CAc7D,CAAC;AAEF,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
import getDevServer from 'react-native/Libraries/Core/Devtools/getDevServer';
export default getDevServer;
//# sourceMappingURL=getDevServer.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"getDevServer.native.d.ts","sourceRoot":"","sources":["../../src/async-require/getDevServer.native.ts"],"names":[],"mappings":"AACA,OAAO,YAAY,MAAM,mDAAmD,CAAC;AAE7E,eAAe,YAAY,CAAC"}
+17
View File
@@ -0,0 +1,17 @@
type LogLevel = 'trace' | 'info' | 'warn' | 'error' | 'log' | 'group' | 'groupCollapsed' | 'groupEnd' | 'debug';
export type HMRClientNativeInterface = {
enable(): void;
disable(): void;
registerBundle(requestUrl: string): void;
log(level: LogLevel, data: any[]): void;
setup(props: {
isEnabled: boolean;
}): void;
};
/**
* HMR Client that receives from the server HMR updates and propagates them
* runtime to reflects those changes.
*/
declare const HMRClient: HMRClientNativeInterface;
export default HMRClient;
//# sourceMappingURL=hmr.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"hmr.d.ts","sourceRoot":"","sources":["../../src/async-require/hmr.ts"],"names":[],"mappings":"AA4CA,KAAK,QAAQ,GACT,OAAO,GACP,MAAM,GACN,MAAM,GACN,OAAO,GACP,KAAK,GACL,OAAO,GACP,gBAAgB,GAChB,UAAU,GACV,OAAO,CAAC;AAEZ,MAAM,MAAM,wBAAwB,GAAG;IACrC,MAAM,IAAI,IAAI,CAAC;IACf,OAAO,IAAI,IAAI,CAAC;IAChB,cAAc,CAAC,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,GAAG,CAAC,KAAK,EAAE,QAAQ,EAAE,IAAI,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;IACxC,KAAK,CAAC,KAAK,EAAE;QAAE,SAAS,EAAE,OAAO,CAAA;KAAE,GAAG,IAAI,CAAC;CAC5C,CAAC;AAMF;;;GAGG;AACH,QAAA,MAAM,SAAS,EAAE,wBAiMhB,CAAC;AA4EF,eAAe,SAAS,CAAC"}
+3
View File
@@ -0,0 +1,3 @@
declare const HMRClient: any;
export default HMRClient;
//# sourceMappingURL=hmr.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"hmr.native.d.ts","sourceRoot":"","sources":["../../src/async-require/hmr.native.ts"],"names":[],"mappings":"AAAA,QAAA,MAAM,SAAS,KAAgE,CAAC;AAEhF,eAAe,SAAS,CAAC"}
+2
View File
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=index.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/async-require/index.ts"],"names":[],"mappings":""}
+7
View File
@@ -0,0 +1,7 @@
/**
* Load a bundle for a URL using fetch + eval on native and script tag injection on web.
*
* @param bundlePath Given a statement like `import('./Bacon')` `bundlePath` would be `Bacon.bundle?params=from-metro`.
*/
export declare function loadBundleAsync(bundlePath: string): Promise<void>;
//# sourceMappingURL=loadBundle.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"loadBundle.d.ts","sourceRoot":"","sources":["../../src/async-require/loadBundle.ts"],"names":[],"mappings":"AASA;;;;GAIG;AACH,wBAAsB,eAAe,CAAC,UAAU,EAAE,MAAM,GAAG,OAAO,CAAC,IAAI,CAAC,CAWvE"}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=messageSocket.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"messageSocket.d.ts","sourceRoot":"","sources":["../../src/async-require/messageSocket.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=messageSocket.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"messageSocket.native.d.ts","sourceRoot":"","sources":["../../src/async-require/messageSocket.native.ts"],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=setup.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"setup.d.ts","sourceRoot":"","sources":["../../src/async-require/setup.ts"],"names":[],"mappings":""}
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=setupFastRefresh.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"setupFastRefresh.d.ts","sourceRoot":"","sources":["../../src/async-require/setupFastRefresh.ts"],"names":[],"mappings":""}
+2
View File
@@ -0,0 +1,2 @@
export {};
//# sourceMappingURL=setupHMR.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"setupHMR.d.ts","sourceRoot":"","sources":["../../src/async-require/setupHMR.ts"],"names":[],"mappings":""}
+5
View File
@@ -0,0 +1,5 @@
/**
* Get the base URL for the DOM Components HTML
*/
export declare function getBaseURL(): string;
//# sourceMappingURL=base.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"base.d.ts","sourceRoot":"","sources":["../../src/dom/base.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,UAAU,IAAI,MAAM,CAkCnC"}
+3
View File
@@ -0,0 +1,3 @@
import '@expo/metro-runtime';
export declare function registerDOMComponent(AppModule: any): void;
//# sourceMappingURL=dom-entry.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"dom-entry.d.ts","sourceRoot":"","sources":["../../src/dom/dom-entry.tsx"],"names":[],"mappings":"AACA,OAAO,qBAAqB,CAAC;AAiE7B,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,GAAG,QA6DlD"}
+8
View File
@@ -0,0 +1,8 @@
import { type DependencyList, type Ref } from 'react';
import type { DOMImperativeFactory } from './dom.types';
/**
* A React `useImperativeHandle` like hook for DOM components.
*
*/
export declare function useDOMImperativeHandle<T extends DOMImperativeFactory>(ref: Ref<T>, init: () => T, deps?: DependencyList): void;
//# sourceMappingURL=dom-hooks.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"dom-hooks.d.ts","sourceRoot":"","sources":["../../src/dom/dom-hooks.ts"],"names":[],"mappings":"AAAA,OAAO,EAA+C,KAAK,cAAc,EAAE,KAAK,GAAG,EAAE,MAAM,OAAO,CAAC;AAEnG,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAOxD;;;GAGG;AACH,wBAAgB,sBAAsB,CAAC,CAAC,SAAS,oBAAoB,EACnE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC,EACX,IAAI,EAAE,MAAM,CAAC,EACb,IAAI,CAAC,EAAE,cAAc,QAgCtB"}
+5
View File
@@ -0,0 +1,5 @@
export * from './dom-hooks';
export type { DOMProps, DOMImperativeFactory } from './dom.types';
/** @returns `true` when the current JS running in a DOM Component environment. */
export declare const IS_DOM = false;
//# sourceMappingURL=dom.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"dom.d.ts","sourceRoot":"","sources":["../../src/dom/dom.ts"],"names":[],"mappings":"AAEA,cAAc,aAAa,CAAC;AAC5B,YAAY,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC;AAGlE,kFAAkF;AAClF,eAAO,MAAM,MAAM,QAAQ,CAAC"}
+34
View File
@@ -0,0 +1,34 @@
import type { RNWebView, RNWebViewProps } from './webview/RNWebView';
export type JSONValue = boolean | number | string | null | JSONArray | JSONObject;
export interface JSONArray extends Array<JSONValue> {
}
export interface JSONObject {
[key: string]: JSONValue | undefined;
}
export type BridgeMessage<TData extends JSONValue> = {
type: string;
data: TData;
};
/**
* The return type of the init function for `useDOMImperativeHandle`.
*/
export interface DOMImperativeFactory {
[key: string]: (...args: JSONValue[]) => void;
}
type RNWebViewRef = RNWebView;
export type WebViewRef = RNWebViewRef;
export type WebViewProps = RNWebViewProps;
export interface DOMProps extends Omit<RNWebViewProps, 'source'> {
/**
* Whether to resize the native WebView size based on the DOM content size.
* @default false
*/
matchContents?: boolean;
/**
* Whether to use the `@expo/dom-webview` as the underlying WebView implementation.
* @default false
*/
useExpoDOMWebView?: boolean;
}
export {};
//# sourceMappingURL=dom.types.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"dom.types.d.ts","sourceRoot":"","sources":["../../src/dom/dom.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAErE,MAAM,MAAM,SAAS,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,GAAG,UAAU,CAAC;AAElF,MAAM,WAAW,SAAU,SAAQ,KAAK,CAAC,SAAS,CAAC;CAAG;AAEtD,MAAM,WAAW,UAAU;IACzB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;CACtC;AAED,MAAM,MAAM,aAAa,CAAC,KAAK,SAAS,SAAS,IAAI;IACnD,IAAI,EAAE,MAAM,CAAC;IACb,IAAI,EAAE,KAAK,CAAC;CACb,CAAC;AAEF;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,CAAC,GAAG,EAAE,MAAM,GAAG,CAAC,GAAG,IAAI,EAAE,SAAS,EAAE,KAAK,IAAI,CAAC;CAC/C;AAED,KAAK,YAAY,GAAG,SAAS,CAAC;AAC9B,MAAM,MAAM,UAAU,GAAG,YAAY,CAAC;AACtC,MAAM,MAAM,YAAY,GAAG,cAAc,CAAC;AAE1C,MAAM,WAAW,QAAS,SAAQ,IAAI,CAAC,cAAc,EAAE,QAAQ,CAAC;IAC9D;;;OAGG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IAExB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;CAC7B"}
+3
View File
@@ -0,0 +1,3 @@
export * from './dom-hooks';
export declare const IS_DOM: boolean;
//# sourceMappingURL=dom.web.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"dom.web.d.ts","sourceRoot":"","sources":["../../src/dom/dom.web.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAG5B,eAAO,MAAM,MAAM,SAE0B,CAAC"}
+4
View File
@@ -0,0 +1,4 @@
import { BridgeMessage, JSONValue } from './dom.types';
export declare function _emitGlobalEvent<TData extends JSONValue>(message: BridgeMessage<TData>): void;
export declare const addGlobalDomEventListener: <TData extends JSONValue>(onSubscribe: (message: BridgeMessage<TData>) => void) => (() => void);
//# sourceMappingURL=global-events.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"global-events.d.ts","sourceRoot":"","sources":["../../src/dom/global-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAIvD,wBAAgB,gBAAgB,CAAC,KAAK,SAAS,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,QAEtF;AAED,eAAO,MAAM,yBAAyB,GAAI,KAAK,SAAS,SAAS,EAC/D,aAAa,CAAC,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,KACnD,CAAC,MAAM,IAAI,CAKb,CAAC"}
+9
View File
@@ -0,0 +1,9 @@
import type { BridgeMessage } from './dom.types';
export declare const NATIVE_ACTION = "$$native_action";
export declare const NATIVE_ACTION_RESULT = "$$native_action_result";
export declare const DOM_EVENT = "$$dom_event";
export declare const MATCH_CONTENTS_EVENT = "$$match_contents_event";
export declare const REGISTER_DOM_IMPERATIVE_HANDLE_PROPS = "$$register_dom_imperative_handle_props";
export declare const getInjectEventScript: <T extends BridgeMessage<any>>(detail: T) => string;
export declare function getInjectBodySizeObserverScript(): string;
//# sourceMappingURL=injection.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"injection.d.ts","sourceRoot":"","sources":["../../src/dom/injection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEjD,eAAO,MAAM,aAAa,oBAAoB,CAAC;AAC/C,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,SAAS,gBAAgB,CAAC;AACvC,eAAO,MAAM,oBAAoB,2BAA2B,CAAC;AAC7D,eAAO,MAAM,oCAAoC,2CAA2C,CAAC;AAE7F,eAAO,MAAM,oBAAoB,GAAI,CAAC,SAAS,aAAa,CAAC,GAAG,CAAC,EAAE,QAAQ,CAAC,WAO3E,CAAC;AAEF,wBAAgB,+BAA+B,WAwB9C"}
+3
View File
@@ -0,0 +1,3 @@
export { default as WebView } from './webview-wrapper';
export declare const registerDOMComponent: undefined | typeof import('./dom-entry').registerDOMComponent;
//# sourceMappingURL=internal.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"internal.d.ts","sourceRoot":"","sources":["../../src/dom/internal.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAGvD,eAAO,MAAM,oBAAoB,EAAE,SAAS,GAAG,cAAc,aAAa,EAAE,oBACjE,CAAC"}
+2
View File
@@ -0,0 +1,2 @@
export { registerDOMComponent } from './dom-entry';
//# sourceMappingURL=internal.web.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"internal.web.d.ts","sourceRoot":"","sources":["../../src/dom/internal.web.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,oBAAoB,EAAE,MAAM,aAAa,CAAC"}
+4
View File
@@ -0,0 +1,4 @@
import { BridgeMessage, JSONValue } from './dom.types';
export declare const addEventListener: <TData extends JSONValue>(onSubscribe: (message: BridgeMessage<TData>) => void) => (() => void);
export declare function getActionsObject(): Record<string, (...args: any[]) => void | Promise<any>>;
//# sourceMappingURL=marshal.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"marshal.d.ts","sourceRoot":"","sources":["../../src/dom/marshal.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAiBvD,eAAO,MAAM,gBAAgB,GAAI,KAAK,SAAS,SAAS,EACtD,aAAa,CAAC,OAAO,EAAE,aAAa,CAAC,KAAK,CAAC,KAAK,IAAI,KACnD,CAAC,MAAM,IAAI,CAab,CAAC;AAsCF,wBAAgB,gBAAgB,IAAI,MAAM,CAAC,MAAM,EAAE,CAAC,GAAG,IAAI,EAAE,GAAG,EAAE,KAAK,IAAI,GAAG,OAAO,CAAC,GAAG,CAAC,CAAC,CAuC1F"}
+16
View File
@@ -0,0 +1,16 @@
import React from 'react';
import type { DOMProps } from './dom.types';
import ExpoDomWebView from './webview/ExpoDOMWebView';
import RNWebView from './webview/RNWebView';
type RawWebViewProps = React.ComponentProps<Exclude<typeof ExpoDomWebView, undefined>> & React.ComponentProps<Exclude<typeof RNWebView, undefined>>;
interface Props {
children?: any;
dom?: DOMProps;
filePath: string;
ref: React.Ref<object>;
[propName: string]: unknown;
}
declare const RawWebView: React.ForwardRefExoticComponent<Omit<Props, "ref"> & React.RefAttributes<object>>;
export declare function resolveWebView(useExpoDOMWebView: boolean): React.ForwardRefExoticComponent<RawWebViewProps>;
export default RawWebView;
//# sourceMappingURL=webview-wrapper.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"webview-wrapper.d.ts","sourceRoot":"","sources":["../../src/dom/webview-wrapper.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,MAAM,OAAO,CAAC;AAI1B,OAAO,KAAK,EAAiB,QAAQ,EAA4B,MAAM,aAAa,CAAC;AAUrF,OAAO,cAAc,MAAM,0BAA0B,CAAC;AACtD,OAAO,SAAS,MAAM,qBAAqB,CAAC;AAG5C,KAAK,eAAe,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,cAAc,EAAE,SAAS,CAAC,CAAC,GACpF,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,OAAO,SAAS,EAAE,SAAS,CAAC,CAAC,CAAC;AAE7D,UAAU,KAAK;IACb,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,GAAG,EAAE,KAAK,CAAC,GAAG,CAAC,MAAM,CAAC,CAAC;IACvB,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAAC;CAC7B;AAED,QAAA,MAAM,UAAU,mFAgMd,CAAC;AAiBH,wBAAgB,cAAc,CAC5B,iBAAiB,EAAE,OAAO,GACzB,KAAK,CAAC,yBAAyB,CAAC,eAAe,CAAC,CASlD;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,6 @@
/**
* A re-export of `@expo/dom-webview` that supports optional dependency.
*/
declare let module: undefined | typeof import('@expo/dom-webview').WebView;
export default module;
//# sourceMappingURL=ExpoDOMWebView.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ExpoDOMWebView.d.ts","sourceRoot":"","sources":["../../../src/dom/webview/ExpoDOMWebView.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,QAAA,IAAI,MAAM,EAAE,SAAS,GAAG,cAAc,mBAAmB,EAAE,OAAO,CAAC;AAKnE,eAAe,MAAM,CAAC"}
+7
View File
@@ -0,0 +1,7 @@
/**
* A re-export of `react-native-webview` that supports optional dependency.
*/
declare let module: undefined | typeof import('react-native-webview').WebView;
export default module;
export type { WebView as RNWebView, WebViewProps as RNWebViewProps } from 'react-native-webview';
//# sourceMappingURL=RNWebView.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"RNWebView.d.ts","sourceRoot":"","sources":["../../../src/dom/webview/RNWebView.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,QAAA,IAAI,MAAM,EAAE,SAAS,GAAG,cAAc,sBAAsB,EAAE,OAAO,CAAC;AAKtE,eAAe,MAAM,CAAC;AAEtB,YAAY,EAAE,OAAO,IAAI,SAAS,EAAE,YAAY,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
@@ -0,0 +1,12 @@
import { type ViewProps } from 'react-native';
import { type DOMProps, type WebViewProps } from '../dom.types';
type UseDebugZeroHeightType = (dom?: DOMProps) => {
debugZeroHeightStyle: WebViewProps['containerStyle'] | undefined;
debugOnLayout: ViewProps['onLayout'];
};
/**
* Debug only hook to help identify zero height issues in the DOM component.
*/
export declare const useDebugZeroHeight: UseDebugZeroHeightType;
export {};
//# sourceMappingURL=useDebugZeroHeight.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"useDebugZeroHeight.d.ts","sourceRoot":"","sources":["../../../src/dom/webview/useDebugZeroHeight.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,EAAE,KAAK,QAAQ,EAAE,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAEhE,KAAK,sBAAsB,GAAG,CAAC,GAAG,CAAC,EAAE,QAAQ,KAAK;IAChD,oBAAoB,EAAE,YAAY,CAAC,gBAAgB,CAAC,GAAG,SAAS,CAAC;IACjE,aAAa,EAAE,SAAS,CAAC,UAAU,CAAC,CAAC;CACtC,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,sBAgD3B,CAAC"}
@@ -0,0 +1,3 @@
import React from 'react';
export default function DevLoadingView(): React.JSX.Element | null;
//# sourceMappingURL=DevLoadingView.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DevLoadingView.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingView.tsx"],"names":[],"mappings":"AAEA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAMpE,MAAM,CAAC,OAAO,UAAU,cAAc,6BAiFrC"}
@@ -0,0 +1,3 @@
import React from 'react';
export default function DevLoadingView(): React.JSX.Element | null;
//# sourceMappingURL=DevLoadingView.web.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DevLoadingView.web.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingView.web.tsx"],"names":[],"mappings":"AAAA,OAAO,KAA+C,MAAM,OAAO,CAAC;AAWpE,MAAM,CAAC,OAAO,UAAU,cAAc,6BAkFrC"}
@@ -0,0 +1,9 @@
declare const _default: Readonly<{
name: "DevLoadingView";
startObserving(): void;
stopObserving(): void;
addListener(): void;
removeListeners(): void;
}>;
export default _default;
//# sourceMappingURL=DevLoadingViewNativeModule.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DevLoadingViewNativeModule.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingViewNativeModule.ts"],"names":[],"mappings":";;;;;;;AAAA,wBAMG"}
@@ -0,0 +1,3 @@
declare const _default: any;
export default _default;
//# sourceMappingURL=DevLoadingViewNativeModule.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"DevLoadingViewNativeModule.native.d.ts","sourceRoot":"","sources":["../../src/environment/DevLoadingViewNativeModule.native.ts"],"names":[],"mappings":";AAEA,wBAA4C"}
+31
View File
@@ -0,0 +1,31 @@
type ExpoGoProjectConfig = {
mainModuleName?: string;
debuggerHost?: string;
logUrl?: string;
developer?: {
tool?: string;
[key: string]: any;
};
packagerOpts?: ExpoGoPackagerOpts;
};
export type ExpoGoPackagerOpts = {
hostType?: string;
dev?: boolean;
strict?: boolean;
minify?: boolean;
urlType?: string;
urlRandomness?: string;
lanType?: string;
[key: string]: any;
};
/**
* Returns a boolean value whether the app is running in Expo Go.
*/
export declare function isRunningInExpoGo(): boolean;
/**
* @hidden
* Returns an Expo Go project config from the manifest or `null` if the app is not running in Expo Go.
*/
export declare function getExpoGoProjectConfig(): ExpoGoProjectConfig | null;
export {};
//# sourceMappingURL=ExpoGo.d.ts.map
+1
View File
@@ -0,0 +1 @@
{"version":3,"file":"ExpoGo.d.ts","sourceRoot":"","sources":["../../src/environment/ExpoGo.ts"],"names":[],"mappings":"AAOA,KAAK,mBAAmB,GAAG;IACzB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,SAAS,CAAC,EAAE;QACV,IAAI,CAAC,EAAE,MAAM,CAAC;QACd,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KACpB,CAAC;IACF,YAAY,CAAC,EAAE,kBAAkB,CAAC;CACnC,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,OAAO,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;CACpB,CAAC;AAYF;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,OAAO,CAE3C;AAED;;;GAGG;AACH,wBAAgB,sBAAsB,IAAI,mBAAmB,GAAG,IAAI,CAEnE"}
+3
View File
@@ -0,0 +1,3 @@
export declare function isRunningInExpoGo(): boolean;
export declare function getExpoGoProjectConfig(): null;
//# sourceMappingURL=ExpoGo.web.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ExpoGo.web.d.ts","sourceRoot":"","sources":["../../src/environment/ExpoGo.web.ts"],"names":[],"mappings":"AAAA,wBAAgB,iBAAiB,YAEhC;AAED,wBAAgB,sBAAsB,SAErC"}
@@ -0,0 +1,7 @@
export declare function getInitialSafeArea(): {
top: number;
bottom: number;
left: number;
right: number;
};
//# sourceMappingURL=getInitialSafeArea.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"getInitialSafeArea.d.ts","sourceRoot":"","sources":["../../src/environment/getInitialSafeArea.ts"],"names":[],"mappings":"AAAA,wBAAgB,kBAAkB,IAAI;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAOjG"}
@@ -0,0 +1,11 @@
/**
* Get the best estimate safe area before native modules have fully loaded.
* This is a hack to get the safe area insets without explicitly depending on react-native-safe-area-context.
*/
export declare function getInitialSafeArea(): {
top: number;
bottom: number;
left: number;
right: number;
};
//# sourceMappingURL=getInitialSafeArea.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"getInitialSafeArea.native.d.ts","sourceRoot":"","sources":["../../src/environment/getInitialSafeArea.native.ts"],"names":[],"mappings":"AAIA;;;GAGG;AACH,wBAAgB,kBAAkB,IAAI;IAAE,GAAG,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAOjG"}
+2
View File
@@ -0,0 +1,2 @@
export declare function AppEntryNotFound(): import("react").JSX.Element;
//# sourceMappingURL=AppEntryNotFound.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"AppEntryNotFound.d.ts","sourceRoot":"","sources":["../../src/errors/AppEntryNotFound.tsx"],"names":[],"mappings":"AAEA,wBAAgB,gBAAgB,gCAW/B"}
+8
View File
@@ -0,0 +1,8 @@
import type { ErrorHandlerCallback } from 'react-native';
export declare function createErrorHandler(originalHandler: ErrorHandlerCallback): ErrorHandlerCallback;
/**
* @hidden
* @deprecated Will be removed in the future.
*/
export declare function disableErrorHandling(): void;
//# sourceMappingURL=ExpoErrorManager.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ExpoErrorManager.d.ts","sourceRoot":"","sources":["../../src/errors/ExpoErrorManager.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEzD,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,oBAAoB,GAAG,oBAAoB,CAE9F;AAED;;;GAGG;AACH,wBAAgB,oBAAoB,SAAK"}
@@ -0,0 +1,4 @@
import type { ErrorHandlerCallback } from 'react-native';
export declare function createErrorHandler(originalHandler: ErrorHandlerCallback): ErrorHandlerCallback;
export declare function disableErrorHandling(): void;
//# sourceMappingURL=ExpoErrorManager.native.d.ts.map
@@ -0,0 +1 @@
{"version":3,"file":"ExpoErrorManager.native.d.ts","sourceRoot":"","sources":["../../src/errors/ExpoErrorManager.native.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAqCzD,wBAAgB,kBAAkB,CAAC,eAAe,EAAE,oBAAoB,GAAG,oBAAoB,CAS9F;AAED,wBAAgB,oBAAoB,SAEnC"}

Some files were not shown because too many files have changed in this diff Show More