one
Version:
One is a React framework for web, iOS, and Android apps.
134 lines (130 loc) • 6.44 kB
JavaScript
import { Platform } from "react-native";
import { Swift as Swift$1 } from "./unsupported.native.js";
import { Button, ControlGroup, DisclosureGroup, Divider, Form, GeometryReader, Glass, GlassEffectContainer, Grid, GridRow, Group, GroupBox, HStack, Host, LabeledContent, LazyHGrid, LazyHStack, LazyVGrid, LazyVStack, Link, List, Overlay, ScrollView, ScrollViewReader, Section, Slot, Spacer, SwipeActions, VStack, ViewSlot, ViewThatFits, ZStack } from "./Containers.native.js";
import { ContextMenu as ContextMenu$1, Menu as Menu$1 } from "./AndroidMenu.native.js";
import { ContextMenu as ContextMenu$2, Menu as Menu$2 } from "./Menu.native.js";
import { Page, Pager } from "./Pager.native.js";
import { Popover } from "./Popover.native.js";
import { NavigationStack, Toolbar, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from "./NavigationStack.native.js";
import { NavigationSplitView } from "./NavigationSplitView.native.js";
import { FullScreenCover, Sheet } from "./Sheet.native.js";
import { ArrangementView } from "./ArrangementView.native.js";
import { withAnimation } from "./withAnimation.native.js";
import { KeyframeAnimator, PhaseAnimator } from "./Animators.native.js";
import { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from "./keyframes.native.js";
import * as Controls from "./generated/Controls.native.js";
import { Map } from "./mapControls.native.js";
import { Tab, TabSection, TabViewBottomAccessory, TabViewSlot, Tabs } from "./Tabs.native.js";
import { Compose } from "./compose";
import * as UI from "./effects/index.native.js";
import { LiveActivities, WidgetUI, Widgets } from "./widgets/index.native.js";
import { Storage } from "./storage/index.native.js";
import { KeepAwake, useKeepAwake } from "./keep-awake/index.native.js";
import { Print } from "./print/index.native.js";
import { StoreReview } from "./store-review/index.native.js";
import { QuickActions } from "./quick-actions/index.native.js";
import { ReservedRegions, getHinge, getSizeClass, onHingeChange, useHinge, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments } from "./adaptive/index.native.js";
import { Notifications } from "./notifications/index.native.js";
import { useNativeState } from "./nativeState.native.js";
import { TextInput } from "./universal/TextInput/index";
import { Haptics } from "./haptics/index.native.js";
import { LaunchScreen } from "./launchScreen/index.native.js";
import { LocalAuthentication } from "./local-authentication/index.native.js";
import { ProtectedStore } from "./protected-store/index.native.js";
import { Location } from "./location/index.native.js";
import { FileSystem } from "./file-system/index.native.js";
import { Audio } from "./audio/index.native.js";
import { CameraView } from "./camera/index.native.js";
import { Share } from "./share/index.native.js";
import { Open } from "./open/index.native.js";
import { PhotoLibrary } from "./photo-library/index.native.js";
import { MapServices } from "./map-services/index.native.js";
import { AppTracking } from "./app-tracking/index.native.js";
import { AppIcon } from "./app-icon/index.native.js";
import { ScreenOrientation } from "./screen-orientation/index.native.js";
import { ScreenCapture, usePreventScreenCapture } from "./screen-capture/index.native.js";
import { Purchases } from "./purchases/index.native.js";
import { ImageManipulator } from "./image-manipulator/index.native.js";
import { Device } from "./device/index.native.js";
import { Motion } from "./motion/index.native.js";
import { BackgroundTasks } from "./background-tasks/index.native.js";
import { AppIntents } from "./app-intents/index.native.js";
import { DeviceAttestation } from "./device-attestation/index.native.js";
import { Contacts } from "./contacts/index.native.js";
import { Calendar } from "./calendar/index.native.js";
import { AppInfo } from "./app-info/index.native.js";
import { ImagePicker } from "./image-picker/index.native.js";
import { DocumentPicker } from "./document-picker/index.native.js";
import { Database } from "./database/index.native.js";
import { VNDocumentCameraViewController } from "./vision-kit/index.native.js";
import { MFMailComposeViewController, MFMessageComposeViewController } from "./message-ui/index.native.js";
import { DataScannerViewController } from "./data-scanner/index.native.js";
import { CNContactStore, CNContactViewController, CNMutableContact } from "./contact-ui/index.native.js";
export * from "./extras.native.js"
var Menu = Platform.OS === "android" ? Menu$1 : Menu$2;
var ContextMenu = Platform.OS === "android" ? ContextMenu$1 : ContextMenu$2;
var Swift = Platform.OS === "ios" ? {
ArrangementView,
Tabs,
Tab,
TabSection,
TabViewBottomAccessory,
TabViewSlot,
Menu,
ContextMenu,
Sheet,
FullScreenCover,
Popover,
Host,
HStack,
VStack,
ZStack,
Form,
Section,
Glass,
GlassEffectContainer,
GeometryReader,
LabeledContent,
Button,
List,
ScrollView,
ScrollViewReader,
LazyVStack,
LazyHStack,
LazyVGrid,
LazyHGrid,
Grid,
GridRow,
ControlGroup,
DisclosureGroup,
Divider,
Link,
Group,
GroupBox,
ViewThatFits,
Overlay,
ViewSlot,
SwipeActions,
Pager,
Page,
NavigationStack,
NavigationSplitView,
Toolbar,
ToolbarItem,
ToolbarItemGroup,
ToolbarSpacer,
Spacer,
Slot,
withAnimation,
PhaseAnimator,
KeyframeAnimator,
KeyframeTrack,
LinearKeyframe,
SpringKeyframe,
CubicKeyframe,
MoveKeyframe,
...Controls,
Map
} : Swift$1;
export { AppIcon, AppInfo, AppIntents, AppTracking, Audio, BackgroundTasks, CNContactStore, CNContactViewController, CNMutableContact, Calendar, CameraView, Compose, Contacts, ContextMenu, DataScannerViewController, Database, Device, DeviceAttestation, DocumentPicker, FileSystem, Haptics, ImageManipulator, ImagePicker, KeepAwake, LaunchScreen, LiveActivities, LocalAuthentication, Location, MFMailComposeViewController, MFMessageComposeViewController, MapServices, Menu, Motion, Notifications, Open, PhotoLibrary, Print, ProtectedStore, Purchases, QuickActions, ReservedRegions, ScreenCapture, ScreenOrientation, Share, Storage, StoreReview, Swift, TextInput, UI, VNDocumentCameraViewController, WidgetUI, Widgets, getHinge, getSizeClass, onHingeChange, useHinge, useKeepAwake, useNativeState, usePreventScreenCapture, useReservedRegions, useReservedRegionsReady, useSizeClass, useSpanning, useWindowSegments };
//# sourceMappingURL=index.native.js.map