first commit

This commit is contained in:
2026-03-10 16:18:05 +00:00
commit 11f9c069b5
31635 changed files with 3187747 additions and 0 deletions

10
node_modules/expo-router/build/static/html.d.ts generated vendored Normal file
View File

@@ -0,0 +1,10 @@
import React, { PropsWithChildren } from 'react';
import { ServerDataLoaderData } from '../loaders/ServerDataLoaderContext';
/**
* Root style-reset for full-screen React Native web apps with a root `<ScrollView />` should use the following styles to ensure native parity. [Learn more](https://necolas.github.io/react-native-web/docs/setup/#root-element).
*/
export declare function ScrollViewStyleReset(): React.JSX.Element;
export declare function InnerRoot({ children, loadedData, }: PropsWithChildren<{
loadedData: ServerDataLoaderData;
}>): React.JSX.Element;
//# sourceMappingURL=html.d.ts.map

1
node_modules/expo-router/build/static/html.d.ts.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"html.d.ts","sourceRoot":"","sources":["../../src/static/html.tsx"],"names":[],"mappings":"AAOA,OAAO,KAAK,EAAE,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAO,EAA2B,oBAAoB,EAAE,MAAM,oCAAoC,CAAC;AAEnG;;GAEG;AACH,wBAAgB,oBAAoB,sBASnC;AAED,wBAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,UAAU,GACX,EAAE,iBAAiB,CAAC;IAAE,UAAU,EAAE,oBAAoB,CAAA;CAAE,CAAC,qBASzD"}

32
node_modules/expo-router/build/static/html.js generated vendored Normal file
View File

@@ -0,0 +1,32 @@
"use strict";
var __importDefault = (this && this.__importDefault) || function (mod) {
return (mod && mod.__esModule) ? mod : { "default": mod };
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ScrollViewStyleReset = ScrollViewStyleReset;
exports.InnerRoot = InnerRoot;
/**
* Copyright © 2023 650 Industries.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
const native_1 = require("@react-navigation/native");
const react_1 = __importDefault(require("react"));
const ServerDataLoaderContext_1 = require("../loaders/ServerDataLoaderContext");
/**
* Root style-reset for full-screen React Native web apps with a root `<ScrollView />` should use the following styles to ensure native parity. [Learn more](https://necolas.github.io/react-native-web/docs/setup/#root-element).
*/
function ScrollViewStyleReset() {
return (<style id="expo-reset" dangerouslySetInnerHTML={{
__html: `#root,body,html{height:100%}body{overflow:hidden}#root{display:flex}`,
}}/>);
}
function InnerRoot({ children, loadedData, }) {
// NOTE(@hassankhan): This ref seems to be unnecessary, double-check SSR/SSG code paths and remove
const ref = react_1.default.createRef();
return (<ServerDataLoaderContext_1.ServerDataLoaderContext value={loadedData}>
<native_1.ServerContainer ref={ref}>{children}</native_1.ServerContainer>
</ServerDataLoaderContext_1.ServerDataLoaderContext>);
}
//# sourceMappingURL=html.js.map

1
node_modules/expo-router/build/static/html.js.map generated vendored Normal file
View File

@@ -0,0 +1 @@
{"version":3,"file":"html.js","sourceRoot":"","sources":["../../src/static/html.tsx"],"names":[],"mappings":";;;;;AAcA,oDASC;AAED,8BAYC;AArCD;;;;;GAKG;AACH,qDAA+E;AAC/E,kDAAiD;AAEjD,gFAAmG;AAEnG;;GAEG;AACH,SAAgB,oBAAoB;IAClC,OAAO,CACL,CAAC,KAAK,CACJ,EAAE,CAAC,YAAY,CACf,uBAAuB,CAAC,CAAC;YACvB,MAAM,EAAE,sEAAsE;SAC/E,CAAC,EACF,CACH,CAAC;AACJ,CAAC;AAED,SAAgB,SAAS,CAAC,EACxB,QAAQ,EACR,UAAU,GAC8C;IACxD,kGAAkG;IAClG,MAAM,GAAG,GAAG,eAAK,CAAC,SAAS,EAAsB,CAAC;IAElD,OAAO,CACL,CAAC,iDAAuB,CAAC,KAAK,CAAC,CAAC,UAAU,CAAC,CACzC;MAAA,CAAC,wBAAe,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,QAAQ,CAAC,EAAE,wBAAe,CACxD;IAAA,EAAE,iDAAuB,CAAC,CAC3B,CAAC;AACJ,CAAC","sourcesContent":["/**\n * Copyright © 2023 650 Industries.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\nimport { ServerContainer, ServerContainerRef } from '@react-navigation/native';\nimport React, { PropsWithChildren } from 'react';\n\nimport { ServerDataLoaderContext, ServerDataLoaderData } from '../loaders/ServerDataLoaderContext';\n\n/**\n * Root style-reset for full-screen React Native web apps with a root `<ScrollView />` should use the following styles to ensure native parity. [Learn more](https://necolas.github.io/react-native-web/docs/setup/#root-element).\n */\nexport function ScrollViewStyleReset() {\n return (\n <style\n id=\"expo-reset\"\n dangerouslySetInnerHTML={{\n __html: `#root,body,html{height:100%}body{overflow:hidden}#root{display:flex}`,\n }}\n />\n );\n}\n\nexport function InnerRoot({\n children,\n loadedData,\n}: PropsWithChildren<{ loadedData: ServerDataLoaderData }>) {\n // NOTE(@hassankhan): This ref seems to be unnecessary, double-check SSR/SSG code paths and remove\n const ref = React.createRef<ServerContainerRef>();\n\n return (\n <ServerDataLoaderContext value={loadedData}>\n <ServerContainer ref={ref}>{children}</ServerContainer>\n </ServerDataLoaderContext>\n );\n}\n"]}

View File

@@ -0,0 +1,11 @@
import type { ComponentType, JSX, PropsWithChildren } from 'react';
import type { ExpoRootProps } from '../ExpoRoot';
import type { RequireContext } from '../types';
type InitialProps = {
location: URL;
context: RequireContext;
wrapper: ComponentType<PropsWithChildren>;
};
export declare function registerStaticRootComponent<P extends InitialProps>(component: (props: ExpoRootProps) => JSX.Element, initialProps: P): any;
export {};
//# sourceMappingURL=registerRootComponent.d.ts.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"registerRootComponent.d.ts","sourceRoot":"","sources":["../../src/static/registerRootComponent.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,GAAG,EAAE,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAInE,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C,KAAK,YAAY,GAAG;IAClB,QAAQ,EAAE,GAAG,CAAC;IACd,OAAO,EAAE,cAAc,CAAC;IACxB,OAAO,EAAE,aAAa,CAAC,iBAAiB,CAAC,CAAC;CAC3C,CAAC;AAIF,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,YAAY,EAChE,SAAS,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,GAAG,CAAC,OAAO,EAChD,YAAY,EAAE,CAAC,OAIhB"}

View File

@@ -0,0 +1,11 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.registerStaticRootComponent = registerStaticRootComponent;
// @ts-expect-error: TODO(@kitten): Define this type (seems to differ from react-native)
const react_native_web_1 = require("react-native-web");
const APP_KEY = 'App';
function registerStaticRootComponent(component, initialProps) {
react_native_web_1.AppRegistry.registerComponent(APP_KEY, () => component);
return react_native_web_1.AppRegistry.getApplication(APP_KEY, { initialProps });
}
//# sourceMappingURL=registerRootComponent.js.map

View File

@@ -0,0 +1 @@
{"version":3,"file":"registerRootComponent.js","sourceRoot":"","sources":["../../src/static/registerRootComponent.ts"],"names":[],"mappings":";;AAeA,kEAMC;AApBD,wFAAwF;AACxF,uDAA+C;AAW/C,MAAM,OAAO,GAAG,KAAK,CAAC;AAEtB,SAAgB,2BAA2B,CACzC,SAAgD,EAChD,YAAe;IAEf,8BAAW,CAAC,iBAAiB,CAAC,OAAO,EAAE,GAAG,EAAE,CAAC,SAAS,CAAC,CAAC;IACxD,OAAO,8BAAW,CAAC,cAAc,CAAC,OAAO,EAAE,EAAE,YAAY,EAAE,CAAC,CAAC;AAC/D,CAAC","sourcesContent":["import type { ComponentType, JSX, PropsWithChildren } from 'react';\n// @ts-expect-error: TODO(@kitten): Define this type (seems to differ from react-native)\nimport { AppRegistry } from 'react-native-web';\n\nimport type { ExpoRootProps } from '../ExpoRoot';\nimport type { RequireContext } from '../types';\n\ntype InitialProps = {\n location: URL;\n context: RequireContext;\n wrapper: ComponentType<PropsWithChildren>;\n};\n\nconst APP_KEY = 'App';\n\nexport function registerStaticRootComponent<P extends InitialProps>(\n component: (props: ExpoRootProps) => JSX.Element,\n initialProps: P\n) {\n AppRegistry.registerComponent(APP_KEY, () => component);\n return AppRegistry.getApplication(APP_KEY, { initialProps });\n}\n"]}