one 2.10.0 → 2.11.1
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/One.podspec +14 -0
- package/android/src/main/java/com/margelo/nitro/one/OneUpdatesLauncher.kt +28 -0
- package/android/src/main/java/dev/onejs/one/OnePackage.kt +2 -0
- package/android/src/main/java/dev/onejs/onenative/OneDOMHostManager.kt +85 -0
- package/android/src/main/java/dev/onejs/onenative/OneDOMHostView.kt +399 -0
- package/android/src/main/java/dev/onejs/onenative/OneDOMResources.kt +126 -0
- package/dist/cjs/cli/iosLinkSet.cjs +111 -0
- package/dist/cjs/cli/iosLinkSet.native.cjs +120 -0
- package/dist/cjs/cli/iosLinkSet.native.js +122 -0
- package/dist/cjs/cli/iosLinkSet.native.js.map +1 -0
- package/dist/cjs/cli/iosLinkSetAnalysis.cjs +329 -0
- package/dist/cjs/cli/iosLinkSetAnalysis.native.cjs +714 -0
- package/dist/cjs/cli/iosLinkSetAnalysis.native.js +716 -0
- package/dist/cjs/cli/iosLinkSetAnalysis.native.js.map +1 -0
- package/dist/cjs/cli/prebuild.cjs +5 -1
- package/dist/cjs/cli/prebuild.native.cjs +4 -2
- package/dist/cjs/cli/prebuild.native.js +4 -2
- package/dist/cjs/cli/prebuild.native.js.map +1 -1
- package/dist/cjs/cli/updatesPublish.cjs +16 -12
- package/dist/cjs/cli/updatesPublish.native.cjs +45 -22
- package/dist/cjs/cli/updatesPublish.native.js +45 -22
- package/dist/cjs/cli/updatesPublish.native.js.map +1 -1
- package/dist/cjs/cli.cjs +4 -2
- package/dist/cjs/cli.native.cjs +4 -2
- package/dist/cjs/cli.native.js +4 -2
- package/dist/cjs/cli.native.js.map +1 -1
- package/dist/cjs/createApp.cjs +8 -0
- package/dist/cjs/createHandleRequest.cjs +4 -17
- package/dist/cjs/createHandleRequest.native.cjs +6 -19
- package/dist/cjs/createHandleRequest.native.js +6 -19
- package/dist/cjs/createHandleRequest.native.js.map +1 -1
- package/dist/cjs/dom/browserBridge.cjs +177 -0
- package/dist/cjs/dom/browserBridge.native.cjs +290 -0
- package/dist/cjs/dom/browserBridge.native.js +292 -0
- package/dist/cjs/dom/browserBridge.native.js.map +1 -0
- package/dist/cjs/dom/client.cjs +69 -0
- package/dist/cjs/dom/client.native.cjs +81 -0
- package/dist/cjs/dom/client.native.js +83 -0
- package/dist/cjs/dom/client.native.js.map +1 -0
- package/dist/cjs/dom/context.cjs +25 -0
- package/dist/cjs/dom/context.native.cjs +27 -0
- package/dist/cjs/dom/context.native.js +29 -0
- package/dist/cjs/dom/context.native.js.map +1 -0
- package/dist/cjs/dom/host.native.cjs +152 -0
- package/dist/cjs/dom/host.native.js +154 -0
- package/dist/cjs/dom/host.native.js.map +1 -0
- package/dist/cjs/dom/index.cjs +88 -0
- package/dist/cjs/dom/index.native.cjs +136 -0
- package/dist/cjs/dom/index.native.js +138 -0
- package/dist/cjs/dom/index.native.js.map +1 -0
- package/dist/cjs/dom/measure.cjs +51 -0
- package/dist/cjs/dom/measure.native.cjs +55 -0
- package/dist/cjs/dom/measure.native.js +57 -0
- package/dist/cjs/dom/measure.native.js.map +1 -0
- package/dist/cjs/dom/nativeBridge.cjs +135 -0
- package/dist/cjs/dom/nativeBridge.native.cjs +223 -0
- package/dist/cjs/dom/nativeBridge.native.js +225 -0
- package/dist/cjs/dom/nativeBridge.native.js.map +1 -0
- package/dist/cjs/dom/peer.cjs +148 -0
- package/dist/cjs/dom/peer.native.cjs +227 -0
- package/dist/cjs/dom/peer.native.js +229 -0
- package/dist/cjs/dom/peer.native.js.map +1 -0
- package/dist/cjs/dom/protocol.cjs +185 -0
- package/dist/cjs/dom/protocol.native.cjs +209 -0
- package/dist/cjs/dom/protocol.native.js +211 -0
- package/dist/cjs/dom/protocol.native.js.map +1 -0
- package/dist/cjs/dom/serialize.cjs +140 -0
- package/dist/cjs/dom/serialize.native.cjs +284 -0
- package/dist/cjs/dom/serialize.native.js +286 -0
- package/dist/cjs/dom/serialize.native.js.map +1 -0
- package/dist/cjs/dom/types.cjs +16 -0
- package/dist/cjs/dom/types.native.cjs +18 -0
- package/dist/cjs/dom/types.native.js +20 -0
- package/dist/cjs/dom/types.native.js.map +1 -0
- package/dist/cjs/fork/getPathFromState.cjs +9 -1
- package/dist/cjs/fork/getPathFromState.native.cjs +48 -4
- package/dist/cjs/fork/getPathFromState.native.js +48 -4
- package/dist/cjs/fork/getPathFromState.native.js.map +1 -1
- package/dist/cjs/hooks.cjs +50 -1
- package/dist/cjs/hooks.native.cjs +55 -2
- package/dist/cjs/hooks.native.js +55 -2
- package/dist/cjs/hooks.native.js.map +1 -1
- package/dist/cjs/index.cjs +2 -0
- package/dist/cjs/index.native.cjs +2 -0
- package/dist/cjs/index.native.js +2 -0
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/layouts/Tabs.linux.cjs +48 -0
- package/dist/cjs/layouts/Tabs.linux.native.cjs +50 -0
- package/dist/cjs/layouts/Tabs.linux.native.js +52 -0
- package/dist/cjs/layouts/Tabs.linux.native.js.map +1 -0
- package/dist/cjs/layouts/stack-navigator-desktop.cjs +26 -0
- package/dist/cjs/layouts/stack-navigator-desktop.native.cjs +28 -0
- package/dist/cjs/layouts/stack-navigator-desktop.native.js +30 -0
- package/dist/cjs/layouts/stack-navigator-desktop.native.js.map +1 -0
- package/dist/cjs/layouts/stack-navigator.linux.cjs +39 -0
- package/dist/cjs/layouts/stack-navigator.linux.native.cjs +41 -0
- package/dist/cjs/layouts/stack-navigator.linux.native.js +43 -0
- package/dist/cjs/layouts/stack-navigator.linux.native.js.map +1 -0
- package/dist/cjs/layouts/stack-navigator.macos.cjs +29 -0
- package/dist/cjs/layouts/stack-navigator.macos.native.cjs +31 -0
- package/dist/cjs/layouts/stack-navigator.macos.native.js +33 -0
- package/dist/cjs/layouts/stack-navigator.macos.native.js.map +1 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.linux.cjs +18 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.linux.native.cjs +20 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.linux.native.js +22 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.linux.native.js.map +1 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.macos.cjs +30 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.macos.native.cjs +33 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.macos.native.js +35 -0
- package/dist/cjs/layouts/stack-utils/StackToolbarBottomHost.macos.native.js.map +1 -0
- package/dist/cjs/link/Link.cjs +4 -3
- package/dist/cjs/link/Link.native.cjs +4 -3
- package/dist/cjs/link/Link.native.js +4 -3
- package/dist/cjs/link/Link.native.js.map +1 -1
- package/dist/cjs/loaderResponseToModule.cjs +41 -0
- package/dist/cjs/loaderResponseToModule.native.cjs +44 -0
- package/dist/cjs/loaderResponseToModule.native.js +46 -0
- package/dist/cjs/loaderResponseToModule.native.js.map +1 -0
- package/dist/cjs/loaderSearchParams.cjs +99 -0
- package/dist/cjs/loaderSearchParams.native.cjs +139 -0
- package/dist/cjs/loaderSearchParams.native.js +141 -0
- package/dist/cjs/loaderSearchParams.native.js.map +1 -0
- package/dist/cjs/one-shared.cjs +129 -0
- package/dist/cjs/one-shared.native.cjs +132 -0
- package/dist/cjs/one-shared.native.js +134 -0
- package/dist/cjs/one-shared.native.js.map +1 -0
- package/dist/cjs/one.cjs +2 -113
- package/dist/cjs/one.linux.cjs +57 -0
- package/dist/cjs/one.linux.native.cjs +59 -0
- package/dist/cjs/one.linux.native.js +61 -0
- package/dist/cjs/one.linux.native.js.map +1 -0
- package/dist/cjs/one.macos.cjs +45 -0
- package/dist/cjs/one.macos.native.cjs +47 -0
- package/dist/cjs/one.macos.native.js +49 -0
- package/dist/cjs/one.macos.native.js.map +1 -0
- package/dist/cjs/one.native.cjs +2 -114
- package/dist/cjs/one.native.js +2 -114
- package/dist/cjs/one.native.js.map +1 -1
- package/dist/cjs/platform/adaptive/fixed.cjs +48 -0
- package/dist/cjs/platform/adaptive/fixed.native.cjs +50 -0
- package/dist/cjs/platform/adaptive/fixed.native.js +52 -0
- package/dist/cjs/platform/adaptive/fixed.native.js.map +1 -0
- package/dist/cjs/platform/adaptive/index.cjs +2 -24
- package/dist/cjs/platform/adaptive/index.linux.cjs +18 -0
- package/dist/cjs/platform/adaptive/index.linux.native.cjs +20 -0
- package/dist/cjs/platform/adaptive/index.linux.native.js +22 -0
- package/dist/cjs/platform/adaptive/index.linux.native.js.map +1 -0
- package/dist/cjs/platform/adaptive/index.macos.cjs +39 -0
- package/dist/cjs/platform/adaptive/index.macos.native.cjs +41 -0
- package/dist/cjs/platform/adaptive/index.macos.native.js +43 -0
- package/dist/cjs/platform/adaptive/index.macos.native.js.map +1 -0
- package/dist/cjs/platform/controlTypes.cjs +16 -0
- package/dist/cjs/platform/controlTypes.native.cjs +18 -0
- package/dist/cjs/platform/controlTypes.native.js +20 -0
- package/dist/cjs/platform/controlTypes.native.js.map +1 -0
- package/dist/cjs/platform/desktop/appCommandTypes.cjs +16 -0
- package/dist/cjs/platform/desktop/appCommandTypes.native.cjs +18 -0
- package/dist/cjs/platform/desktop/appCommandTypes.native.js +20 -0
- package/dist/cjs/platform/desktop/appCommandTypes.native.js.map +1 -0
- package/dist/cjs/platform/desktop/createAppCommands.cjs +55 -0
- package/dist/cjs/platform/desktop/createAppCommands.native.cjs +60 -0
- package/dist/cjs/platform/desktop/createAppCommands.native.js +62 -0
- package/dist/cjs/platform/desktop/createAppCommands.native.js.map +1 -0
- package/dist/cjs/platform/desktop/createControls.cjs +65 -0
- package/dist/cjs/platform/desktop/createControls.native.cjs +69 -0
- package/dist/cjs/platform/desktop/createControls.native.js +71 -0
- package/dist/cjs/platform/desktop/createControls.native.js.map +1 -0
- package/dist/cjs/platform/linux/AppCommands.linux.cjs +25 -0
- package/dist/cjs/platform/linux/AppCommands.linux.native.cjs +27 -0
- package/dist/cjs/platform/linux/AppCommands.linux.native.js +29 -0
- package/dist/cjs/platform/linux/AppCommands.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Button.linux.cjs +41 -0
- package/dist/cjs/platform/linux/Button.linux.native.cjs +49 -0
- package/dist/cjs/platform/linux/Button.linux.native.js +51 -0
- package/dist/cjs/platform/linux/Button.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/DropDown.linux.cjs +74 -0
- package/dist/cjs/platform/linux/DropDown.linux.native.cjs +91 -0
- package/dist/cjs/platform/linux/DropDown.linux.native.js +93 -0
- package/dist/cjs/platform/linux/DropDown.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/NavigationView.linux.cjs +114 -0
- package/dist/cjs/platform/linux/NavigationView.linux.native.cjs +130 -0
- package/dist/cjs/platform/linux/NavigationView.linux.native.js +132 -0
- package/dist/cjs/platform/linux/NavigationView.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/OneLinuxButtonNativeComponent.cjs +46 -0
- package/dist/cjs/platform/linux/OneLinuxButtonNativeComponent.native.cjs +46 -0
- package/dist/cjs/platform/linux/OneLinuxButtonNativeComponent.native.js +47 -0
- package/dist/cjs/platform/linux/OneLinuxButtonNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxDropDownNativeComponent.cjs +55 -0
- package/dist/cjs/platform/linux/OneLinuxDropDownNativeComponent.native.cjs +55 -0
- package/dist/cjs/platform/linux/OneLinuxDropDownNativeComponent.native.js +56 -0
- package/dist/cjs/platform/linux/OneLinuxDropDownNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxNavigationNativeComponent.cjs +55 -0
- package/dist/cjs/platform/linux/OneLinuxNavigationNativeComponent.native.cjs +55 -0
- package/dist/cjs/platform/linux/OneLinuxNavigationNativeComponent.native.js +56 -0
- package/dist/cjs/platform/linux/OneLinuxNavigationNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxProgressBarNativeComponent.cjs +33 -0
- package/dist/cjs/platform/linux/OneLinuxProgressBarNativeComponent.native.cjs +33 -0
- package/dist/cjs/platform/linux/OneLinuxProgressBarNativeComponent.native.js +34 -0
- package/dist/cjs/platform/linux/OneLinuxProgressBarNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxSecureFieldNativeComponent.cjs +52 -0
- package/dist/cjs/platform/linux/OneLinuxSecureFieldNativeComponent.native.cjs +52 -0
- package/dist/cjs/platform/linux/OneLinuxSecureFieldNativeComponent.native.js +53 -0
- package/dist/cjs/platform/linux/OneLinuxSecureFieldNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxSegmentedControlNativeComponent.cjs +47 -0
- package/dist/cjs/platform/linux/OneLinuxSegmentedControlNativeComponent.native.cjs +47 -0
- package/dist/cjs/platform/linux/OneLinuxSegmentedControlNativeComponent.native.js +48 -0
- package/dist/cjs/platform/linux/OneLinuxSegmentedControlNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxSliderNativeComponent.cjs +57 -0
- package/dist/cjs/platform/linux/OneLinuxSliderNativeComponent.native.cjs +57 -0
- package/dist/cjs/platform/linux/OneLinuxSliderNativeComponent.native.js +58 -0
- package/dist/cjs/platform/linux/OneLinuxSliderNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxStepperNativeComponent.cjs +50 -0
- package/dist/cjs/platform/linux/OneLinuxStepperNativeComponent.native.cjs +50 -0
- package/dist/cjs/platform/linux/OneLinuxStepperNativeComponent.native.js +51 -0
- package/dist/cjs/platform/linux/OneLinuxStepperNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxSwitchNativeComponent.cjs +45 -0
- package/dist/cjs/platform/linux/OneLinuxSwitchNativeComponent.native.cjs +45 -0
- package/dist/cjs/platform/linux/OneLinuxSwitchNativeComponent.native.js +46 -0
- package/dist/cjs/platform/linux/OneLinuxSwitchNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxTextFieldNativeComponent.cjs +52 -0
- package/dist/cjs/platform/linux/OneLinuxTextFieldNativeComponent.native.cjs +52 -0
- package/dist/cjs/platform/linux/OneLinuxTextFieldNativeComponent.native.js +53 -0
- package/dist/cjs/platform/linux/OneLinuxTextFieldNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/OneLinuxToggleNativeComponent.cjs +47 -0
- package/dist/cjs/platform/linux/OneLinuxToggleNativeComponent.native.cjs +47 -0
- package/dist/cjs/platform/linux/OneLinuxToggleNativeComponent.native.js +48 -0
- package/dist/cjs/platform/linux/OneLinuxToggleNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/linux/ProgressBar.linux.cjs +42 -0
- package/dist/cjs/platform/linux/ProgressBar.linux.native.cjs +45 -0
- package/dist/cjs/platform/linux/ProgressBar.linux.native.js +47 -0
- package/dist/cjs/platform/linux/ProgressBar.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/SecureField.linux.cjs +31 -0
- package/dist/cjs/platform/linux/SecureField.linux.native.cjs +33 -0
- package/dist/cjs/platform/linux/SecureField.linux.native.js +35 -0
- package/dist/cjs/platform/linux/SecureField.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/SegmentedControl.linux.cjs +39 -0
- package/dist/cjs/platform/linux/SegmentedControl.linux.native.cjs +49 -0
- package/dist/cjs/platform/linux/SegmentedControl.linux.native.js +51 -0
- package/dist/cjs/platform/linux/SegmentedControl.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Slider.linux.cjs +71 -0
- package/dist/cjs/platform/linux/Slider.linux.native.cjs +78 -0
- package/dist/cjs/platform/linux/Slider.linux.native.js +80 -0
- package/dist/cjs/platform/linux/Slider.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Stepper.linux.cjs +57 -0
- package/dist/cjs/platform/linux/Stepper.linux.native.cjs +62 -0
- package/dist/cjs/platform/linux/Stepper.linux.native.js +64 -0
- package/dist/cjs/platform/linux/Stepper.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Switch.linux.cjs +47 -0
- package/dist/cjs/platform/linux/Switch.linux.native.cjs +52 -0
- package/dist/cjs/platform/linux/Switch.linux.native.js +54 -0
- package/dist/cjs/platform/linux/Switch.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/TextField.linux.cjs +59 -0
- package/dist/cjs/platform/linux/TextField.linux.native.cjs +68 -0
- package/dist/cjs/platform/linux/TextField.linux.native.js +70 -0
- package/dist/cjs/platform/linux/TextField.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Toggle.linux.cjs +40 -0
- package/dist/cjs/platform/linux/Toggle.linux.native.cjs +50 -0
- package/dist/cjs/platform/linux/Toggle.linux.native.js +52 -0
- package/dist/cjs/platform/linux/Toggle.linux.native.js.map +1 -0
- package/dist/cjs/platform/linux/Window.linux.cjs +27 -0
- package/dist/cjs/platform/linux/Window.linux.native.cjs +29 -0
- package/dist/cjs/platform/linux/Window.linux.native.js +31 -0
- package/dist/cjs/platform/linux/Window.linux.native.js.map +1 -0
- package/dist/cjs/platform/mac/AppCommands.macos.cjs +25 -0
- package/dist/cjs/platform/mac/AppCommands.macos.native.cjs +27 -0
- package/dist/cjs/platform/mac/AppCommands.macos.native.js +29 -0
- package/dist/cjs/platform/mac/AppCommands.macos.native.js.map +1 -0
- package/dist/cjs/platform/mac/Button.macos.cjs +35 -0
- package/dist/cjs/platform/mac/Button.macos.native.cjs +40 -0
- package/dist/cjs/platform/mac/Button.macos.native.js +42 -0
- package/dist/cjs/platform/mac/Button.macos.native.js.map +1 -0
- package/dist/cjs/platform/mac/Image.macos.cjs +48 -0
- package/dist/cjs/platform/mac/Image.macos.native.cjs +51 -0
- package/dist/cjs/platform/mac/Image.macos.native.js +53 -0
- package/dist/cjs/platform/mac/Image.macos.native.js.map +1 -0
- package/dist/cjs/platform/mac/OneMacButtonNativeComponent.cjs +47 -0
- package/dist/cjs/platform/mac/OneMacButtonNativeComponent.native.cjs +47 -0
- package/dist/cjs/platform/mac/OneMacButtonNativeComponent.native.js +48 -0
- package/dist/cjs/platform/mac/OneMacButtonNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/mac/OneMacImageNativeComponent.cjs +35 -0
- package/dist/cjs/platform/mac/OneMacImageNativeComponent.native.cjs +35 -0
- package/dist/cjs/platform/mac/OneMacImageNativeComponent.native.js +36 -0
- package/dist/cjs/platform/mac/OneMacImageNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/mac/OneMacPopUpButtonNativeComponent.cjs +47 -0
- package/dist/cjs/platform/mac/OneMacPopUpButtonNativeComponent.native.cjs +47 -0
- package/dist/cjs/platform/mac/OneMacPopUpButtonNativeComponent.native.js +48 -0
- package/dist/cjs/platform/mac/OneMacPopUpButtonNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/mac/OneMacSegmentedControlNativeComponent.cjs +48 -0
- package/dist/cjs/platform/mac/OneMacSegmentedControlNativeComponent.native.cjs +48 -0
- package/dist/cjs/platform/mac/OneMacSegmentedControlNativeComponent.native.js +49 -0
- package/dist/cjs/platform/mac/OneMacSegmentedControlNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/mac/OneMacToggleNativeComponent.cjs +46 -0
- package/dist/cjs/platform/mac/OneMacToggleNativeComponent.native.cjs +46 -0
- package/dist/cjs/platform/mac/OneMacToggleNativeComponent.native.js +47 -0
- package/dist/cjs/platform/mac/OneMacToggleNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/mac/PopUpButton.macos.cjs +51 -0
- package/dist/cjs/platform/mac/PopUpButton.macos.native.cjs +56 -0
- package/dist/cjs/platform/mac/PopUpButton.macos.native.js +58 -0
- package/dist/cjs/platform/mac/PopUpButton.macos.native.js.map +1 -0
- package/dist/cjs/platform/mac/SegmentedControl.macos.cjs +38 -0
- package/dist/cjs/platform/mac/SegmentedControl.macos.native.cjs +47 -0
- package/dist/cjs/platform/mac/SegmentedControl.macos.native.js +49 -0
- package/dist/cjs/platform/mac/SegmentedControl.macos.native.js.map +1 -0
- package/dist/cjs/platform/mac/Toggle.macos.cjs +38 -0
- package/dist/cjs/platform/mac/Toggle.macos.native.cjs +47 -0
- package/dist/cjs/platform/mac/Toggle.macos.native.js +49 -0
- package/dist/cjs/platform/mac/Toggle.macos.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneDOMHostNativeComponent.cjs +71 -0
- package/dist/cjs/platform/specs/OneDOMHostNativeComponent.native.cjs +71 -0
- package/dist/cjs/platform/specs/OneDOMHostNativeComponent.native.js +72 -0
- package/dist/cjs/platform/specs/OneDOMHostNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/split-view/split-view.linux.cjs +18 -0
- package/dist/cjs/platform/split-view/split-view.linux.native.cjs +20 -0
- package/dist/cjs/platform/split-view/split-view.linux.native.js +22 -0
- package/dist/cjs/platform/split-view/split-view.linux.native.js.map +1 -0
- package/dist/cjs/platform/split-view/split-view.macos.cjs +34 -0
- package/dist/cjs/platform/split-view/split-view.macos.native.cjs +37 -0
- package/dist/cjs/platform/split-view/split-view.macos.native.js +39 -0
- package/dist/cjs/platform/split-view/split-view.macos.native.js.map +1 -0
- package/dist/cjs/platform/store-review/index.native.cjs +1 -1
- package/dist/cjs/platform/store-review/index.native.js +1 -1
- package/dist/cjs/platform/store-review/index.native.js.map +1 -1
- package/dist/cjs/platform/ui/Image.linux.cjs +18 -0
- package/dist/cjs/platform/ui/Image.linux.native.cjs +20 -0
- package/dist/cjs/platform/ui/Image.linux.native.js +22 -0
- package/dist/cjs/platform/ui/Image.linux.native.js.map +1 -0
- package/dist/cjs/platform/ui/Image.macos.cjs +33 -0
- package/dist/cjs/platform/ui/Image.macos.native.cjs +36 -0
- package/dist/cjs/platform/ui/Image.macos.native.js +38 -0
- package/dist/cjs/platform/ui/Image.macos.native.js.map +1 -0
- package/dist/cjs/router/getRoutes.cjs +2 -0
- package/dist/cjs/router/getRoutes.native.cjs +2 -0
- package/dist/cjs/router/getRoutes.native.js +2 -0
- package/dist/cjs/router/getRoutes.native.js.map +1 -1
- package/dist/cjs/router/router.cjs +57 -31
- package/dist/cjs/router/router.native.cjs +20 -4
- package/dist/cjs/router/router.native.js +20 -4
- package/dist/cjs/router/router.native.js.map +1 -1
- package/dist/cjs/searchParams.cjs +102 -0
- package/dist/cjs/searchParams.native.cjs +194 -0
- package/dist/cjs/searchParams.native.js +196 -0
- package/dist/cjs/searchParams.native.js.map +1 -0
- package/dist/cjs/server/oneServe.cjs +15 -3
- package/dist/cjs/server/oneServe.native.cjs +16 -3
- package/dist/cjs/server/oneServe.native.js +16 -3
- package/dist/cjs/server/oneServe.native.js.map +1 -1
- package/dist/cjs/server/workerHandler.cjs +16 -3
- package/dist/cjs/server/workerHandler.native.cjs +17 -3
- package/dist/cjs/server/workerHandler.native.js +17 -3
- package/dist/cjs/server/workerHandler.native.js.map +1 -1
- package/dist/cjs/standardSchema.cjs +36 -0
- package/dist/cjs/standardSchema.native.cjs +39 -0
- package/dist/cjs/standardSchema.native.js +41 -0
- package/dist/cjs/standardSchema.native.js.map +1 -0
- package/dist/cjs/typed-routes/generateRouteTypes.cjs +26 -1
- package/dist/cjs/typed-routes/generateRouteTypes.native.cjs +68 -1
- package/dist/cjs/typed-routes/generateRouteTypes.native.js +68 -1
- package/dist/cjs/typed-routes/generateRouteTypes.native.js.map +1 -1
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.cjs +27 -10
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.cjs +35 -9
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.js +35 -9
- package/dist/cjs/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
- package/dist/cjs/typed-routes/searchParamSchemas.cjs +316 -0
- package/dist/cjs/typed-routes/searchParamSchemas.native.cjs +527 -0
- package/dist/cjs/typed-routes/searchParamSchemas.native.js +529 -0
- package/dist/cjs/typed-routes/searchParamSchemas.native.js.map +1 -0
- package/dist/cjs/typed-routes/searchSchemaEntries.cjs +34 -0
- package/dist/cjs/typed-routes/searchSchemaEntries.native.cjs +38 -0
- package/dist/cjs/typed-routes/searchSchemaEntries.native.js +40 -0
- package/dist/cjs/typed-routes/searchSchemaEntries.native.js.map +1 -0
- package/dist/cjs/useLoader.cjs +40 -30
- package/dist/cjs/useLoader.native.cjs +51 -37
- package/dist/cjs/useLoader.native.js +51 -37
- package/dist/cjs/useLoader.native.js.map +1 -1
- package/dist/cjs/utils/cleanUrl.cjs +31 -3
- package/dist/cjs/utils/cleanUrl.native.cjs +31 -3
- package/dist/cjs/utils/cleanUrl.native.js +31 -3
- package/dist/cjs/utils/cleanUrl.native.js.map +1 -1
- package/dist/cjs/validateParams.cjs +3 -5
- package/dist/cjs/validateParams.native.cjs +3 -6
- package/dist/cjs/validateParams.native.js +3 -6
- package/dist/cjs/validateParams.native.js.map +1 -1
- package/dist/cjs/{validateSearch.cjs → validateSearchParams.cjs} +21 -14
- package/dist/cjs/{validateSearch.native.cjs → validateSearchParams.native.cjs} +21 -15
- package/dist/cjs/{validateSearch.native.js → validateSearchParams.native.js} +22 -16
- package/dist/cjs/validateSearchParams.native.js.map +1 -0
- package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.cjs +36 -2
- package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.native.cjs +36 -2
- package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.native.js +36 -2
- package/dist/cjs/vercel/build/generate/createSsrServerlessFunction.native.js.map +1 -1
- package/dist/cjs/vite/dom/browser.cjs +172 -0
- package/dist/cjs/vite/dom/browser.native.cjs +220 -0
- package/dist/cjs/vite/dom/browser.native.js +222 -0
- package/dist/cjs/vite/dom/browser.native.js.map +1 -0
- package/dist/cjs/vite/dom/directive.cjs +76 -0
- package/dist/cjs/vite/dom/directive.native.cjs +135 -0
- package/dist/cjs/vite/dom/directive.native.js +137 -0
- package/dist/cjs/vite/dom/directive.native.js.map +1 -0
- package/dist/cjs/vite/dom/registry.cjs +71 -0
- package/dist/cjs/vite/dom/registry.native.cjs +184 -0
- package/dist/cjs/vite/dom/registry.native.js +186 -0
- package/dist/cjs/vite/dom/registry.native.js.map +1 -0
- package/dist/cjs/vite/one.cjs +28 -3
- package/dist/cjs/vite/one.native.cjs +35 -10
- package/dist/cjs/vite/one.native.js +35 -10
- package/dist/cjs/vite/one.native.js.map +1 -1
- package/dist/cjs/vite/plugins/clientTreeShakePlugin.cjs +1 -1
- package/dist/cjs/vite/plugins/clientTreeShakePlugin.native.cjs +1 -1
- package/dist/cjs/vite/plugins/clientTreeShakePlugin.native.js +1 -1
- package/dist/cjs/vite/plugins/clientTreeShakePlugin.native.js.map +1 -1
- package/dist/cjs/vite/plugins/environmentGuardPlugin.cjs +6 -1
- package/dist/cjs/vite/plugins/environmentGuardPlugin.native.cjs +6 -1
- package/dist/cjs/vite/plugins/environmentGuardPlugin.native.js +6 -1
- package/dist/cjs/vite/plugins/environmentGuardPlugin.native.js.map +1 -1
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.cjs +14 -9
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.cjs +16 -9
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.js +16 -9
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.js.map +1 -1
- package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.cjs +8 -2
- package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.native.cjs +8 -2
- package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.native.js +8 -2
- package/dist/cjs/vite/plugins/generateFileSystemRouteTypesPlugin.native.js.map +1 -1
- package/dist/cjs/vite/plugins/iosLinkSetPlugin.cjs +63 -0
- package/dist/cjs/vite/plugins/iosLinkSetPlugin.native.cjs +69 -0
- package/dist/cjs/vite/plugins/iosLinkSetPlugin.native.js +71 -0
- package/dist/cjs/vite/plugins/iosLinkSetPlugin.native.js.map +1 -0
- package/dist/cjs/vite/plugins/loaderSearchSchemasPlugin.cjs +67 -0
- package/dist/cjs/vite/plugins/loaderSearchSchemasPlugin.native.cjs +107 -0
- package/dist/cjs/vite/plugins/loaderSearchSchemasPlugin.native.js +109 -0
- package/dist/cjs/vite/plugins/loaderSearchSchemasPlugin.native.js.map +1 -0
- package/dist/cjs/vite/plugins/useDomPlugin.cjs +128 -22
- package/dist/cjs/vite/plugins/useDomPlugin.native.cjs +160 -22
- package/dist/cjs/vite/plugins/useDomPlugin.native.js +160 -22
- package/dist/cjs/vite/plugins/useDomPlugin.native.js.map +1 -1
- package/dist/esm/cli/iosLinkSet.mjs +83 -0
- package/dist/esm/cli/iosLinkSet.mjs.map +1 -0
- package/dist/esm/cli/iosLinkSet.native.js +90 -0
- package/dist/esm/cli/iosLinkSet.native.js.map +1 -0
- package/dist/esm/cli/iosLinkSetAnalysis.mjs +303 -0
- package/dist/esm/cli/iosLinkSetAnalysis.mjs.map +1 -0
- package/dist/esm/cli/iosLinkSetAnalysis.native.js +686 -0
- package/dist/esm/cli/iosLinkSetAnalysis.native.js.map +1 -0
- package/dist/esm/cli/prebuild.mjs +5 -1
- package/dist/esm/cli/prebuild.mjs.map +1 -1
- package/dist/esm/cli/prebuild.native.js +4 -2
- package/dist/esm/cli/prebuild.native.js.map +1 -1
- package/dist/esm/cli/updatesPublish.mjs +15 -11
- package/dist/esm/cli/updatesPublish.mjs.map +1 -1
- package/dist/esm/cli/updatesPublish.native.js +44 -21
- package/dist/esm/cli/updatesPublish.native.js.map +1 -1
- package/dist/esm/cli.mjs +4 -2
- package/dist/esm/cli.mjs.map +1 -1
- package/dist/esm/cli.native.js +4 -2
- package/dist/esm/cli.native.js.map +1 -1
- package/dist/esm/createApp.mjs +8 -0
- package/dist/esm/createApp.mjs.map +1 -1
- package/dist/esm/createHandleRequest.mjs +4 -17
- package/dist/esm/createHandleRequest.mjs.map +1 -1
- package/dist/esm/createHandleRequest.native.js +6 -19
- package/dist/esm/createHandleRequest.native.js.map +1 -1
- package/dist/esm/dom/browserBridge.mjs +158 -0
- package/dist/esm/dom/browserBridge.mjs.map +1 -0
- package/dist/esm/dom/browserBridge.native.js +269 -0
- package/dist/esm/dom/browserBridge.native.js.map +1 -0
- package/dist/esm/dom/client.mjs +49 -0
- package/dist/esm/dom/client.mjs.map +1 -0
- package/dist/esm/dom/client.native.js +59 -0
- package/dist/esm/dom/client.native.js.map +1 -0
- package/dist/esm/dom/context.mjs +6 -0
- package/dist/esm/dom/context.mjs.map +1 -0
- package/dist/esm/dom/context.native.js +6 -0
- package/dist/esm/dom/context.native.js.map +1 -0
- package/dist/esm/dom/host.native.js +125 -0
- package/dist/esm/dom/host.native.js.map +1 -0
- package/dist/esm/dom/index.mjs +69 -0
- package/dist/esm/dom/index.mjs.map +1 -0
- package/dist/esm/dom/index.native.js +115 -0
- package/dist/esm/dom/index.native.js.map +1 -0
- package/dist/esm/dom/measure.mjs +31 -0
- package/dist/esm/dom/measure.mjs.map +1 -0
- package/dist/esm/dom/measure.native.js +33 -0
- package/dist/esm/dom/measure.native.js.map +1 -0
- package/dist/esm/dom/nativeBridge.mjs +116 -0
- package/dist/esm/dom/nativeBridge.mjs.map +1 -0
- package/dist/esm/dom/nativeBridge.native.js +202 -0
- package/dist/esm/dom/nativeBridge.native.js.map +1 -0
- package/dist/esm/dom/peer.mjs +129 -0
- package/dist/esm/dom/peer.mjs.map +1 -0
- package/dist/esm/dom/peer.native.js +206 -0
- package/dist/esm/dom/peer.native.js.map +1 -0
- package/dist/esm/dom/protocol.mjs +162 -0
- package/dist/esm/dom/protocol.mjs.map +1 -0
- package/dist/esm/dom/protocol.native.js +184 -0
- package/dist/esm/dom/protocol.native.js.map +1 -0
- package/dist/esm/dom/serialize.mjs +114 -0
- package/dist/esm/dom/serialize.mjs.map +1 -0
- package/dist/esm/dom/serialize.native.js +256 -0
- package/dist/esm/dom/serialize.native.js.map +1 -0
- package/dist/esm/dom/types.mjs +0 -0
- package/dist/esm/dom/types.native.js +0 -0
- package/dist/esm/fork/getPathFromState.mjs +9 -1
- package/dist/esm/fork/getPathFromState.mjs.map +1 -1
- package/dist/esm/fork/getPathFromState.native.js +48 -4
- package/dist/esm/fork/getPathFromState.native.js.map +1 -1
- package/dist/esm/hooks.mjs +51 -2
- package/dist/esm/hooks.mjs.map +1 -1
- package/dist/esm/hooks.native.js +56 -3
- package/dist/esm/hooks.native.js.map +1 -1
- package/dist/esm/index.js +2 -1
- package/dist/esm/index.mjs +2 -1
- package/dist/esm/index.native.js +2 -1
- package/dist/esm/layouts/Tabs.linux.mjs +26 -0
- package/dist/esm/layouts/Tabs.linux.mjs.map +1 -0
- package/dist/esm/layouts/Tabs.linux.native.js +26 -0
- package/dist/esm/layouts/Tabs.linux.native.js.map +1 -0
- package/dist/esm/layouts/stack-navigator-desktop.mjs +6 -0
- package/dist/esm/layouts/stack-navigator-desktop.mjs.map +1 -0
- package/dist/esm/layouts/stack-navigator-desktop.native.js +6 -0
- package/dist/esm/layouts/stack-navigator-desktop.native.js.map +1 -0
- package/dist/esm/layouts/stack-navigator.linux.mjs +17 -0
- package/dist/esm/layouts/stack-navigator.linux.mjs.map +1 -0
- package/dist/esm/layouts/stack-navigator.linux.native.js +17 -0
- package/dist/esm/layouts/stack-navigator.linux.native.js.map +1 -0
- package/dist/esm/layouts/stack-navigator.macos.mjs +7 -0
- package/dist/esm/layouts/stack-navigator.macos.mjs.map +1 -0
- package/dist/esm/layouts/stack-navigator.macos.native.js +7 -0
- package/dist/esm/layouts/stack-navigator.macos.native.js.map +1 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.linux.mjs +1 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.linux.native.js +1 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.macos.mjs +11 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.macos.mjs.map +1 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.macos.native.js +12 -0
- package/dist/esm/layouts/stack-utils/StackToolbarBottomHost.macos.native.js.map +1 -0
- package/dist/esm/link/Link.mjs +4 -3
- package/dist/esm/link/Link.mjs.map +1 -1
- package/dist/esm/link/Link.native.js +4 -3
- package/dist/esm/link/Link.native.js.map +1 -1
- package/dist/esm/loaderResponseToModule.mjs +21 -0
- package/dist/esm/loaderResponseToModule.mjs.map +1 -0
- package/dist/esm/loaderResponseToModule.native.js +22 -0
- package/dist/esm/loaderResponseToModule.native.js.map +1 -0
- package/dist/esm/loaderSearchParams.mjs +76 -0
- package/dist/esm/loaderSearchParams.mjs.map +1 -0
- package/dist/esm/loaderSearchParams.native.js +114 -0
- package/dist/esm/loaderSearchParams.native.js.map +1 -0
- package/dist/esm/one-shared.mjs +110 -0
- package/dist/esm/one-shared.mjs.map +1 -0
- package/dist/esm/one-shared.native.js +111 -0
- package/dist/esm/one-shared.native.js.map +1 -0
- package/dist/esm/one.linux.mjs +38 -0
- package/dist/esm/one.linux.mjs.map +1 -0
- package/dist/esm/one.linux.native.js +38 -0
- package/dist/esm/one.linux.native.js.map +1 -0
- package/dist/esm/one.macos.mjs +26 -0
- package/dist/esm/one.macos.mjs.map +1 -0
- package/dist/esm/one.macos.native.js +26 -0
- package/dist/esm/one.macos.native.js.map +1 -0
- package/dist/esm/one.mjs +1 -110
- package/dist/esm/one.native.js +1 -111
- package/dist/esm/platform/adaptive/fixed.mjs +22 -0
- package/dist/esm/platform/adaptive/fixed.mjs.map +1 -0
- package/dist/esm/platform/adaptive/fixed.native.js +22 -0
- package/dist/esm/platform/adaptive/fixed.native.js.map +1 -0
- package/dist/esm/platform/adaptive/index.linux.mjs +1 -0
- package/dist/esm/platform/adaptive/index.linux.native.js +1 -0
- package/dist/esm/platform/adaptive/index.macos.mjs +6 -0
- package/dist/esm/platform/adaptive/index.macos.native.js +6 -0
- package/dist/esm/platform/adaptive/index.mjs +2 -21
- package/dist/esm/platform/controlTypes.mjs +0 -0
- package/dist/esm/platform/controlTypes.native.js +0 -0
- package/dist/esm/platform/desktop/appCommandTypes.mjs +0 -0
- package/dist/esm/platform/desktop/appCommandTypes.native.js +0 -0
- package/dist/esm/platform/desktop/createAppCommands.mjs +36 -0
- package/dist/esm/platform/desktop/createAppCommands.mjs.map +1 -0
- package/dist/esm/platform/desktop/createAppCommands.native.js +39 -0
- package/dist/esm/platform/desktop/createAppCommands.native.js.map +1 -0
- package/dist/esm/platform/desktop/createControls.mjs +42 -0
- package/dist/esm/platform/desktop/createControls.mjs.map +1 -0
- package/dist/esm/platform/desktop/createControls.native.js +44 -0
- package/dist/esm/platform/desktop/createControls.native.js.map +1 -0
- package/dist/esm/platform/linux/AppCommands.linux.mjs +6 -0
- package/dist/esm/platform/linux/AppCommands.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/AppCommands.linux.native.js +6 -0
- package/dist/esm/platform/linux/AppCommands.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Button.linux.mjs +16 -0
- package/dist/esm/platform/linux/Button.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Button.linux.native.js +22 -0
- package/dist/esm/platform/linux/Button.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/DropDown.linux.mjs +49 -0
- package/dist/esm/platform/linux/DropDown.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/DropDown.linux.native.js +64 -0
- package/dist/esm/platform/linux/DropDown.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/NavigationView.linux.mjs +89 -0
- package/dist/esm/platform/linux/NavigationView.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/NavigationView.linux.native.js +103 -0
- package/dist/esm/platform/linux/NavigationView.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/OneLinuxButtonNativeComponent.mjs +28 -0
- package/dist/esm/platform/linux/OneLinuxButtonNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxButtonNativeComponent.native.js +28 -0
- package/dist/esm/platform/linux/OneLinuxButtonNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxDropDownNativeComponent.mjs +37 -0
- package/dist/esm/platform/linux/OneLinuxDropDownNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxDropDownNativeComponent.native.js +37 -0
- package/dist/esm/platform/linux/OneLinuxDropDownNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxNavigationNativeComponent.mjs +37 -0
- package/dist/esm/platform/linux/OneLinuxNavigationNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxNavigationNativeComponent.native.js +37 -0
- package/dist/esm/platform/linux/OneLinuxNavigationNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxProgressBarNativeComponent.mjs +15 -0
- package/dist/esm/platform/linux/OneLinuxProgressBarNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxProgressBarNativeComponent.native.js +15 -0
- package/dist/esm/platform/linux/OneLinuxProgressBarNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSecureFieldNativeComponent.mjs +34 -0
- package/dist/esm/platform/linux/OneLinuxSecureFieldNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSecureFieldNativeComponent.native.js +34 -0
- package/dist/esm/platform/linux/OneLinuxSecureFieldNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSegmentedControlNativeComponent.mjs +29 -0
- package/dist/esm/platform/linux/OneLinuxSegmentedControlNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSegmentedControlNativeComponent.native.js +29 -0
- package/dist/esm/platform/linux/OneLinuxSegmentedControlNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSliderNativeComponent.mjs +39 -0
- package/dist/esm/platform/linux/OneLinuxSliderNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSliderNativeComponent.native.js +39 -0
- package/dist/esm/platform/linux/OneLinuxSliderNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxStepperNativeComponent.mjs +32 -0
- package/dist/esm/platform/linux/OneLinuxStepperNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxStepperNativeComponent.native.js +32 -0
- package/dist/esm/platform/linux/OneLinuxStepperNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSwitchNativeComponent.mjs +27 -0
- package/dist/esm/platform/linux/OneLinuxSwitchNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxSwitchNativeComponent.native.js +27 -0
- package/dist/esm/platform/linux/OneLinuxSwitchNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxTextFieldNativeComponent.mjs +34 -0
- package/dist/esm/platform/linux/OneLinuxTextFieldNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxTextFieldNativeComponent.native.js +34 -0
- package/dist/esm/platform/linux/OneLinuxTextFieldNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/OneLinuxToggleNativeComponent.mjs +29 -0
- package/dist/esm/platform/linux/OneLinuxToggleNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/linux/OneLinuxToggleNativeComponent.native.js +29 -0
- package/dist/esm/platform/linux/OneLinuxToggleNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/linux/ProgressBar.linux.mjs +17 -0
- package/dist/esm/platform/linux/ProgressBar.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/ProgressBar.linux.native.js +18 -0
- package/dist/esm/platform/linux/ProgressBar.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/SecureField.linux.mjs +12 -0
- package/dist/esm/platform/linux/SecureField.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/SecureField.linux.native.js +12 -0
- package/dist/esm/platform/linux/SecureField.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/SegmentedControl.linux.mjs +14 -0
- package/dist/esm/platform/linux/SegmentedControl.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/SegmentedControl.linux.native.js +22 -0
- package/dist/esm/platform/linux/SegmentedControl.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Slider.linux.mjs +46 -0
- package/dist/esm/platform/linux/Slider.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Slider.linux.native.js +51 -0
- package/dist/esm/platform/linux/Slider.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Stepper.linux.mjs +32 -0
- package/dist/esm/platform/linux/Stepper.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Stepper.linux.native.js +35 -0
- package/dist/esm/platform/linux/Stepper.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Switch.linux.mjs +22 -0
- package/dist/esm/platform/linux/Switch.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Switch.linux.native.js +25 -0
- package/dist/esm/platform/linux/Switch.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/TextField.linux.mjs +31 -0
- package/dist/esm/platform/linux/TextField.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/TextField.linux.native.js +38 -0
- package/dist/esm/platform/linux/TextField.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Toggle.linux.mjs +15 -0
- package/dist/esm/platform/linux/Toggle.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Toggle.linux.native.js +23 -0
- package/dist/esm/platform/linux/Toggle.linux.native.js.map +1 -0
- package/dist/esm/platform/linux/Window.linux.mjs +8 -0
- package/dist/esm/platform/linux/Window.linux.mjs.map +1 -0
- package/dist/esm/platform/linux/Window.linux.native.js +8 -0
- package/dist/esm/platform/linux/Window.linux.native.js.map +1 -0
- package/dist/esm/platform/mac/AppCommands.macos.mjs +6 -0
- package/dist/esm/platform/mac/AppCommands.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/AppCommands.macos.native.js +6 -0
- package/dist/esm/platform/mac/AppCommands.macos.native.js.map +1 -0
- package/dist/esm/platform/mac/Button.macos.mjs +10 -0
- package/dist/esm/platform/mac/Button.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/Button.macos.native.js +13 -0
- package/dist/esm/platform/mac/Button.macos.native.js.map +1 -0
- package/dist/esm/platform/mac/Image.macos.mjs +23 -0
- package/dist/esm/platform/mac/Image.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/Image.macos.native.js +24 -0
- package/dist/esm/platform/mac/Image.macos.native.js.map +1 -0
- package/dist/esm/platform/mac/OneMacButtonNativeComponent.mjs +29 -0
- package/dist/esm/platform/mac/OneMacButtonNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/mac/OneMacButtonNativeComponent.native.js +29 -0
- package/dist/esm/platform/mac/OneMacButtonNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/mac/OneMacImageNativeComponent.mjs +17 -0
- package/dist/esm/platform/mac/OneMacImageNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/mac/OneMacImageNativeComponent.native.js +17 -0
- package/dist/esm/platform/mac/OneMacImageNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/mac/OneMacPopUpButtonNativeComponent.mjs +29 -0
- package/dist/esm/platform/mac/OneMacPopUpButtonNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/mac/OneMacPopUpButtonNativeComponent.native.js +29 -0
- package/dist/esm/platform/mac/OneMacPopUpButtonNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/mac/OneMacSegmentedControlNativeComponent.mjs +30 -0
- package/dist/esm/platform/mac/OneMacSegmentedControlNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/mac/OneMacSegmentedControlNativeComponent.native.js +30 -0
- package/dist/esm/platform/mac/OneMacSegmentedControlNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/mac/OneMacToggleNativeComponent.mjs +28 -0
- package/dist/esm/platform/mac/OneMacToggleNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/mac/OneMacToggleNativeComponent.native.js +28 -0
- package/dist/esm/platform/mac/OneMacToggleNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/mac/PopUpButton.macos.mjs +26 -0
- package/dist/esm/platform/mac/PopUpButton.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/PopUpButton.macos.native.js +29 -0
- package/dist/esm/platform/mac/PopUpButton.macos.native.js.map +1 -0
- package/dist/esm/platform/mac/SegmentedControl.macos.mjs +13 -0
- package/dist/esm/platform/mac/SegmentedControl.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/SegmentedControl.macos.native.js +20 -0
- package/dist/esm/platform/mac/SegmentedControl.macos.native.js.map +1 -0
- package/dist/esm/platform/mac/Toggle.macos.mjs +13 -0
- package/dist/esm/platform/mac/Toggle.macos.mjs.map +1 -0
- package/dist/esm/platform/mac/Toggle.macos.native.js +20 -0
- package/dist/esm/platform/mac/Toggle.macos.native.js.map +1 -0
- package/dist/esm/platform/specs/OneDOMHostNativeComponent.mjs +53 -0
- package/dist/esm/platform/specs/OneDOMHostNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneDOMHostNativeComponent.native.js +53 -0
- package/dist/esm/platform/specs/OneDOMHostNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/split-view/split-view.linux.mjs +1 -0
- package/dist/esm/platform/split-view/split-view.linux.native.js +1 -0
- package/dist/esm/platform/split-view/split-view.macos.mjs +15 -0
- package/dist/esm/platform/split-view/split-view.macos.mjs.map +1 -0
- package/dist/esm/platform/split-view/split-view.macos.native.js +16 -0
- package/dist/esm/platform/split-view/split-view.macos.native.js.map +1 -0
- package/dist/esm/platform/store-review/index.native.js +1 -1
- package/dist/esm/platform/ui/Image.linux.mjs +1 -0
- package/dist/esm/platform/ui/Image.linux.native.js +1 -0
- package/dist/esm/platform/ui/Image.macos.mjs +14 -0
- package/dist/esm/platform/ui/Image.macos.mjs.map +1 -0
- package/dist/esm/platform/ui/Image.macos.native.js +15 -0
- package/dist/esm/platform/ui/Image.macos.native.js.map +1 -0
- package/dist/esm/router/getRoutes.mjs +2 -0
- package/dist/esm/router/getRoutes.mjs.map +1 -1
- package/dist/esm/router/getRoutes.native.js +2 -0
- package/dist/esm/router/getRoutes.native.js.map +1 -1
- package/dist/esm/router/router.mjs +56 -33
- package/dist/esm/router/router.mjs.map +1 -1
- package/dist/esm/router/router.native.js +18 -4
- package/dist/esm/router/router.native.js.map +1 -1
- package/dist/esm/searchParams.mjs +75 -0
- package/dist/esm/searchParams.mjs.map +1 -0
- package/dist/esm/searchParams.native.js +165 -0
- package/dist/esm/searchParams.native.js.map +1 -0
- package/dist/esm/server/oneServe.mjs +15 -3
- package/dist/esm/server/oneServe.mjs.map +1 -1
- package/dist/esm/server/oneServe.native.js +16 -3
- package/dist/esm/server/oneServe.native.js.map +1 -1
- package/dist/esm/server/workerHandler.mjs +16 -3
- package/dist/esm/server/workerHandler.mjs.map +1 -1
- package/dist/esm/server/workerHandler.native.js +17 -3
- package/dist/esm/server/workerHandler.native.js.map +1 -1
- package/dist/esm/standardSchema.mjs +13 -0
- package/dist/esm/standardSchema.mjs.map +1 -0
- package/dist/esm/standardSchema.native.js +14 -0
- package/dist/esm/standardSchema.native.js.map +1 -0
- package/dist/esm/typed-routes/generateRouteTypes.mjs +27 -2
- package/dist/esm/typed-routes/generateRouteTypes.mjs.map +1 -1
- package/dist/esm/typed-routes/generateRouteTypes.native.js +69 -2
- package/dist/esm/typed-routes/generateRouteTypes.native.js.map +1 -1
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.mjs +27 -10
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.mjs.map +1 -1
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js +35 -9
- package/dist/esm/typed-routes/getTypedRoutesDeclarationFile.native.js.map +1 -1
- package/dist/esm/typed-routes/searchParamSchemas.mjs +297 -0
- package/dist/esm/typed-routes/searchParamSchemas.mjs.map +1 -0
- package/dist/esm/typed-routes/searchParamSchemas.native.js +506 -0
- package/dist/esm/typed-routes/searchParamSchemas.native.js.map +1 -0
- package/dist/esm/typed-routes/searchSchemaEntries.mjs +15 -0
- package/dist/esm/typed-routes/searchSchemaEntries.mjs.map +1 -0
- package/dist/esm/typed-routes/searchSchemaEntries.native.js +17 -0
- package/dist/esm/typed-routes/searchSchemaEntries.native.js.map +1 -0
- package/dist/esm/useLoader.mjs +44 -34
- package/dist/esm/useLoader.mjs.map +1 -1
- package/dist/esm/useLoader.native.js +49 -37
- package/dist/esm/useLoader.native.js.map +1 -1
- package/dist/esm/utils/cleanUrl.mjs +25 -3
- package/dist/esm/utils/cleanUrl.mjs.map +1 -1
- package/dist/esm/utils/cleanUrl.native.js +25 -3
- package/dist/esm/utils/cleanUrl.native.js.map +1 -1
- package/dist/esm/validateParams.mjs +3 -4
- package/dist/esm/validateParams.mjs.map +1 -1
- package/dist/esm/validateParams.native.js +3 -5
- package/dist/esm/validateParams.native.js.map +1 -1
- package/dist/esm/{validateSearch.mjs → validateSearchParams.mjs} +18 -11
- package/dist/esm/validateSearchParams.mjs.map +1 -0
- package/dist/esm/{validateSearch.native.js → validateSearchParams.native.js} +18 -12
- package/dist/esm/validateSearchParams.native.js.map +1 -0
- package/dist/esm/vercel/build/generate/createSsrServerlessFunction.mjs +36 -2
- package/dist/esm/vercel/build/generate/createSsrServerlessFunction.mjs.map +1 -1
- package/dist/esm/vercel/build/generate/createSsrServerlessFunction.native.js +36 -2
- package/dist/esm/vercel/build/generate/createSsrServerlessFunction.native.js.map +1 -1
- package/dist/esm/vite/dom/browser.mjs +147 -0
- package/dist/esm/vite/dom/browser.mjs.map +1 -0
- package/dist/esm/vite/dom/browser.native.js +193 -0
- package/dist/esm/vite/dom/browser.native.js.map +1 -0
- package/dist/esm/vite/dom/directive.mjs +51 -0
- package/dist/esm/vite/dom/directive.mjs.map +1 -0
- package/dist/esm/vite/dom/directive.native.js +108 -0
- package/dist/esm/vite/dom/directive.native.js.map +1 -0
- package/dist/esm/vite/dom/registry.mjs +52 -0
- package/dist/esm/vite/dom/registry.mjs.map +1 -0
- package/dist/esm/vite/dom/registry.native.js +163 -0
- package/dist/esm/vite/dom/registry.native.js.map +1 -0
- package/dist/esm/vite/one.mjs +28 -3
- package/dist/esm/vite/one.mjs.map +1 -1
- package/dist/esm/vite/one.native.js +35 -10
- package/dist/esm/vite/one.native.js.map +1 -1
- package/dist/esm/vite/plugins/clientTreeShakePlugin.mjs +1 -1
- package/dist/esm/vite/plugins/clientTreeShakePlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/clientTreeShakePlugin.native.js +1 -1
- package/dist/esm/vite/plugins/clientTreeShakePlugin.native.js.map +1 -1
- package/dist/esm/vite/plugins/environmentGuardPlugin.mjs +6 -1
- package/dist/esm/vite/plugins/environmentGuardPlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/environmentGuardPlugin.native.js +6 -1
- package/dist/esm/vite/plugins/environmentGuardPlugin.native.js.map +1 -1
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.mjs +14 -9
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.native.js +16 -9
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.native.js.map +1 -1
- package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.mjs +8 -2
- package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.native.js +8 -2
- package/dist/esm/vite/plugins/generateFileSystemRouteTypesPlugin.native.js.map +1 -1
- package/dist/esm/vite/plugins/iosLinkSetPlugin.mjs +44 -0
- package/dist/esm/vite/plugins/iosLinkSetPlugin.mjs.map +1 -0
- package/dist/esm/vite/plugins/iosLinkSetPlugin.native.js +48 -0
- package/dist/esm/vite/plugins/iosLinkSetPlugin.native.js.map +1 -0
- package/dist/esm/vite/plugins/loaderSearchSchemasPlugin.mjs +48 -0
- package/dist/esm/vite/plugins/loaderSearchSchemasPlugin.mjs.map +1 -0
- package/dist/esm/vite/plugins/loaderSearchSchemasPlugin.native.js +86 -0
- package/dist/esm/vite/plugins/loaderSearchSchemasPlugin.native.js.map +1 -0
- package/dist/esm/vite/plugins/useDomPlugin.mjs +128 -22
- package/dist/esm/vite/plugins/useDomPlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/useDomPlugin.native.js +160 -22
- package/dist/esm/vite/plugins/useDomPlugin.native.js.map +1 -1
- package/env.d.ts +6 -6
- package/ios/DOM/OneDOMHostView.swift +389 -0
- package/ios/DOM/OneDOMResourceHandler.swift +147 -0
- package/ios/DOM/README.md +5 -0
- package/ios/Generated/OneNativeAddPassToWalletButtonComponentView.mm +11 -0
- package/ios/Generated/OneNativeAddPassToWalletButtonView.swift +4 -0
- package/ios/Generated/OneNativeChartComponentView.mm +10 -0
- package/ios/Generated/OneNativeChartView.swift +3 -0
- package/ios/Generated/OneNativeLivePhotoViewComponentView.mm +10 -0
- package/ios/Generated/OneNativeLivePhotoViewView.swift +4 -0
- package/ios/Generated/OneNativePayWithApplePayButtonComponentView.mm +11 -0
- package/ios/Generated/OneNativePayWithApplePayButtonView.swift +4 -0
- package/ios/Generated/OneNativePhotosPickerComponentView.mm +11 -0
- package/ios/Generated/OneNativePhotosPickerView.swift +4 -0
- package/ios/Generated/OneNativeProductViewComponentView.mm +11 -0
- package/ios/Generated/OneNativeProductViewView.swift +4 -0
- package/ios/Generated/OneNativeQuickLookComponentView.mm +10 -0
- package/ios/Generated/OneNativeQuickLookView.swift +4 -0
- package/ios/Generated/OneNativeSignInWithAppleButtonComponentView.mm +11 -0
- package/ios/Generated/OneNativeSignInWithAppleButtonView.swift +4 -0
- package/ios/Generated/OneNativeStoreViewComponentView.mm +11 -0
- package/ios/Generated/OneNativeStoreViewView.swift +4 -0
- package/ios/Generated/OneNativeSubscriptionStoreViewComponentView.mm +11 -0
- package/ios/Generated/OneNativeSubscriptionStoreViewView.swift +3 -0
- package/ios/Generated/OneNativeSwiftUI.swift +10 -0
- package/ios/Generated/OneNativeViewSlots.swift +16 -0
- package/ios/Nitro/HybridOneAppleAuth.swift +2 -0
- package/ios/Nitro/HybridOneBrowser.swift +2 -0
- package/ios/Nitro/HybridOneImagePicker.swift +2 -0
- package/ios/Nitro/HybridOneMailCompose.swift +2 -0
- package/ios/Nitro/HybridOneMessageCompose.swift +2 -0
- package/ios/Nitro/HybridOnePhotoLibrary.swift +10 -0
- package/ios/Nitro/HybridOnePurchases.swift +2 -0
- package/ios/Nitro/HybridOneStoreReview.swift +37 -0
- package/ios/Nitro/OneUpdatesLauncher.swift +24 -0
- package/ios/OneDOMHostComponentView.h +5 -0
- package/ios/OneDOMHostComponentView.mm +85 -0
- package/ios/OneNativeStyle.swift +426 -1
- package/ios-link-set.json +196 -0
- package/linux/cpp/CMakeLists.txt +160 -0
- package/linux/cpp/OneLinuxControlState.h +42 -0
- package/linux/cpp/OneLinuxControls.cpp +53 -0
- package/linux/cpp/OneLinuxControls.h +70 -0
- package/linux/cpp/OneLinuxNavigationComponent.h +86 -0
- package/linux/cpp/compat/OneLinuxStdCompat.h +6 -0
- package/linux/cpp/compat/OneLinuxThreadName.h +7 -0
- package/linux/cpp/deps/CMakeLists.txt +29 -0
- package/linux/cpp/deps/cmake-utils/react-native-flags.cmake +15 -0
- package/linux/cpp/imagemanager/OneLinuxImageManager.cpp +213 -0
- package/linux/cpp/nitro/NitroLinuxPlatform.cpp +67 -0
- package/linux/cpp/textlayoutmanager/OneLinuxText.cpp +258 -0
- package/linux/cpp/textlayoutmanager/OneLinuxText.h +34 -0
- package/linux/cpp/textlayoutmanager/react/renderer/textlayoutmanager/TextLayoutManager.cpp +101 -0
- package/linux/cpp/textlayoutmanager/react/renderer/textlayoutmanager/TextLayoutManager.h +35 -0
- package/linux/host/OneLinuxAppShell.cpp +267 -0
- package/linux/host/OneLinuxAppShell.h +46 -0
- package/linux/host/OneLinuxControl.cpp +515 -0
- package/linux/host/OneLinuxControl.h +23 -0
- package/linux/host/OneLinuxControlledValue.h +51 -0
- package/linux/host/OneLinuxHost.cpp +381 -0
- package/linux/host/OneLinuxHost.h +64 -0
- package/linux/host/OneLinuxModules.cpp +63 -0
- package/linux/host/OneLinuxModules.h +20 -0
- package/linux/host/OneLinuxMountingManager.cpp +747 -0
- package/linux/host/OneLinuxMountingManager.h +86 -0
- package/linux/host/OneLinuxNavigation.cpp +202 -0
- package/linux/host/OneLinuxNavigation.h +45 -0
- package/linux/host/OneLinuxNetwork.cpp +513 -0
- package/linux/host/OneLinuxNetwork.h +31 -0
- package/linux/host/OneLinuxNitro.cpp +24 -0
- package/linux/host/OneLinuxNitro.h +15 -0
- package/linux/host/OneLinuxOpSqlite.cpp +79 -0
- package/linux/host/OneLinuxOpSqlite.h +15 -0
- package/linux/host/OneLinuxPointer.cpp +373 -0
- package/linux/host/OneLinuxPointer.h +57 -0
- package/linux/host/OneLinuxRuntime.cpp +204 -0
- package/linux/host/OneLinuxRuntime.h +80 -0
- package/linux/host/OneLinuxStartup.cpp +58 -0
- package/linux/host/OneLinuxStartup.h +9 -0
- package/linux/host/OneLinuxTextInput.cpp +585 -0
- package/linux/host/OneLinuxTextInput.h +99 -0
- package/linux/host/OneLinuxView.cpp +540 -0
- package/linux/host/OneLinuxView.h +75 -0
- package/linux/host/OneLinuxWorklets.cpp +210 -0
- package/linux/host/OneLinuxWorklets.h +20 -0
- package/linux/host/main.cpp +89 -0
- package/linux/react-native/Libraries/Utilities/Platform.js +22 -0
- package/linux/scripts/build-core.sh +48 -0
- package/linux/scripts/bundle-js.sh +27 -0
- package/linux/scripts/cache.sh +22 -0
- package/linux/scripts/lima-vm.sh +26 -0
- package/linux/scripts/package-app.sh +118 -0
- package/linux/scripts/package-core.sh +20 -0
- package/linux/scripts/prepare-core.sh +54 -0
- package/linux/scripts/prepare-deps.sh +102 -0
- package/linux/scripts/prepare-hermes.sh +64 -0
- package/linux/scripts/prepare-icu.sh +40 -0
- package/linux/scripts/screenshot.sh +67 -0
- package/linux/smoke/main.cpp +228 -0
- package/linux/smoke/smoke.js +1 -0
- package/macos/README.md +170 -0
- package/macos/cpp/.gitkeep +0 -0
- package/macos/cpp/CMakeLists.txt +157 -0
- package/macos/cpp/OneMacButton/OneMacButtonComponentDescriptor.h +11 -0
- package/macos/cpp/OneMacButton/OneMacButtonEventEmitter.cpp +7 -0
- package/macos/cpp/OneMacButton/OneMacButtonEventEmitter.h +11 -0
- package/macos/cpp/OneMacButton/OneMacButtonProps.cpp +11 -0
- package/macos/cpp/OneMacButton/OneMacButtonProps.h +17 -0
- package/macos/cpp/OneMacButton/OneMacButtonShadowNode.h +28 -0
- package/macos/cpp/OneMacButton/OneMacButtonShadowNode.mm +15 -0
- package/macos/cpp/OneMacImage/OneMacImageComponentDescriptor.h +6 -0
- package/macos/cpp/OneMacImage/OneMacImageProps.cpp +11 -0
- package/macos/cpp/OneMacImage/OneMacImageProps.h +14 -0
- package/macos/cpp/OneMacImage/OneMacImageShadowNode.cpp +9 -0
- package/macos/cpp/OneMacImage/OneMacImageShadowNode.h +18 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonComponentDescriptor.h +11 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonEventEmitter.cpp +7 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonEventEmitter.h +14 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonProps.cpp +11 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonProps.h +17 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonShadowNode.h +28 -0
- package/macos/cpp/OneMacPopUpButton/OneMacPopUpButtonShadowNode.mm +16 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlComponentDescriptor.h +11 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlEventEmitter.cpp +7 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlEventEmitter.h +14 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlProps.cpp +12 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlProps.h +18 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlShadowNode.h +28 -0
- package/macos/cpp/OneMacSegmentedControl/OneMacSegmentedControlShadowNode.mm +15 -0
- package/macos/cpp/OneMacToggle/OneMacToggleComponentDescriptor.h +11 -0
- package/macos/cpp/OneMacToggle/OneMacToggleEventEmitter.cpp +13 -0
- package/macos/cpp/OneMacToggle/OneMacToggleEventEmitter.h +20 -0
- package/macos/cpp/OneMacToggle/OneMacToggleProps.cpp +17 -0
- package/macos/cpp/OneMacToggle/OneMacToggleProps.h +23 -0
- package/macos/cpp/OneMacToggle/OneMacToggleShadowNode.h +29 -0
- package/macos/cpp/OneMacToggle/OneMacToggleShadowNode.mm +27 -0
- package/macos/cpp/graphics/react/renderer/graphics/HostPlatformColor.h +129 -0
- package/macos/cpp/graphics/react/renderer/graphics/HostPlatformColor.mm +83 -0
- package/macos/cpp/graphics/react/renderer/graphics/PlatformColorParser.h +20 -0
- package/macos/cpp/graphics/react/renderer/graphics/PlatformColorParser.mm +38 -0
- package/macos/cpp/textlayoutmanager/OneMacosText.h +22 -0
- package/macos/cpp/textlayoutmanager/OneMacosText.mm +207 -0
- package/macos/cpp/textlayoutmanager/react/renderer/textlayoutmanager/TextLayoutManager.h +35 -0
- package/macos/cpp/textlayoutmanager/react/renderer/textlayoutmanager/TextLayoutManager.mm +74 -0
- package/macos/host/.gitkeep +0 -0
- package/macos/host/OneMacosAnimated.mm +91 -0
- package/macos/host/OneMacosAppCommands.h +36 -0
- package/macos/host/OneMacosAppCommands.mm +731 -0
- package/macos/host/OneMacosBlobStore.h +9 -0
- package/macos/host/OneMacosBlobStore.mm +50 -0
- package/macos/host/OneMacosButtonComponentView.h +3 -0
- package/macos/host/OneMacosButtonComponentView.mm +55 -0
- package/macos/host/OneMacosComponentView.h +67 -0
- package/macos/host/OneMacosComponentView.mm +533 -0
- package/macos/host/OneMacosControlsHosting.h +26 -0
- package/macos/host/OneMacosDebug.h +6 -0
- package/macos/host/OneMacosDebug.mm +337 -0
- package/macos/host/OneMacosImageComponentView.h +6 -0
- package/macos/host/OneMacosImageComponentView.mm +245 -0
- package/macos/host/OneMacosImageManager.mm +91 -0
- package/macos/host/OneMacosModules.h +35 -0
- package/macos/host/OneMacosModules.mm +287 -0
- package/macos/host/OneMacosMountingManager.h +36 -0
- package/macos/host/OneMacosMountingManager.mm +285 -0
- package/macos/host/OneMacosNetworking.h +13 -0
- package/macos/host/OneMacosNetworking.mm +263 -0
- package/macos/host/OneMacosOpSqlite.h +15 -0
- package/macos/host/OneMacosOpSqlite.mm +74 -0
- package/macos/host/OneMacosParagraphComponentView.h +4 -0
- package/macos/host/OneMacosParagraphComponentView.mm +35 -0
- package/macos/host/OneMacosPointerHandler.h +27 -0
- package/macos/host/OneMacosPointerHandler.mm +405 -0
- package/macos/host/OneMacosPopUpButtonComponentView.h +3 -0
- package/macos/host/OneMacosPopUpButtonComponentView.mm +50 -0
- package/macos/host/OneMacosRootView.h +21 -0
- package/macos/host/OneMacosRootView.mm +520 -0
- package/macos/host/OneMacosRuntime.h +46 -0
- package/macos/host/OneMacosRuntime.mm +133 -0
- package/macos/host/OneMacosScrollViewComponentView.h +6 -0
- package/macos/host/OneMacosScrollViewComponentView.mm +240 -0
- package/macos/host/OneMacosSegmentedControlComponentView.h +3 -0
- package/macos/host/OneMacosSegmentedControlComponentView.mm +51 -0
- package/macos/host/OneMacosSymbolImageComponentView.h +3 -0
- package/macos/host/OneMacosSymbolImageComponentView.mm +67 -0
- package/macos/host/OneMacosTextInputComponentView.h +7 -0
- package/macos/host/OneMacosTextInputComponentView.mm +729 -0
- package/macos/host/OneMacosToggleComponentView.h +4 -0
- package/macos/host/OneMacosToggleComponentView.mm +57 -0
- package/macos/host/OneMacosToggleHosting.h +15 -0
- package/macos/host/OneMacosWebSocket.h +22 -0
- package/macos/host/OneMacosWebSocket.mm +161 -0
- package/macos/host/OneMacosWorklets.cpp +139 -0
- package/macos/host/OneMacosWorklets.h +29 -0
- package/macos/host/OneMacosWorkletsPlatform.mm +88 -0
- package/macos/host/swift/OneMacControls.swift +155 -0
- package/macos/host/swift/OneMacToggle.swift +71 -0
- package/macos/react-native/Libraries/Utilities/Platform.js +22 -0
- package/macos/template/macos/OneApp/Info.plist +31 -0
- package/macos/template/macos/OneApp/OneApp-Bridging-Header.h +3 -0
- package/macos/template/macos/OneApp/OneApp.swift +20 -0
- package/macos/template/macos/scripts/build-core.sh +29 -0
- package/macos/template/macos/scripts/bundle-js.sh +29 -0
- package/macos/template/macos/scripts/embed-deps.sh +20 -0
- package/macos/template/macos/scripts/embed-hermes.sh +10 -0
- package/macos/template/macos/scripts/prepare-deps.sh +29 -0
- package/macos/template/macos/scripts/prepare-hermes.sh +29 -0
- package/native-core/host/OneHostCommandPredicate.h +118 -0
- package/native-core/host/OneHostModule.h +125 -0
- package/native-core/host/OneHostModules.cpp +355 -0
- package/native-core/host/OneHostModules.h +20 -0
- package/native-core/host/OneHostRuntime.cpp +314 -0
- package/native-core/host/OneHostRuntime.h +153 -0
- package/native-core/rn-core.cmake +101 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.cpp +17 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.hpp +19 -2
- package/nitrogen/generated/ios/One-Swift-Cxx-Umbrella.hpp +5 -0
- package/nitrogen/generated/ios/OneAutolinking.mm +22 -0
- package/nitrogen/generated/ios/OneAutolinking.swift +42 -16
- package/nitrogen/generated/ios/c++/HybridOneStoreReviewSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridOneStoreReviewSpecSwift.hpp +82 -0
- package/nitrogen/generated/ios/swift/HybridOneStoreReviewSpec.swift +55 -0
- package/nitrogen/generated/ios/swift/HybridOneStoreReviewSpec_cxx.swift +145 -0
- package/package.json +47 -18
- package/react-native.config.cjs +1 -0
- package/src/cli/build.ts +1 -1
- package/src/cli/iosLinkSet.ts +86 -0
- package/src/cli/iosLinkSetAnalysis.ts +411 -0
- package/src/cli/prebuild.ts +8 -1
- package/src/cli/updatesPublish.ts +25 -24
- package/src/cli.ts +3 -1
- package/src/createApp.tsx +5 -0
- package/src/createHandleRequest.ts +6 -32
- package/src/dom/README.md +27 -0
- package/src/dom/browserBridge.ts +185 -0
- package/src/dom/client.tsx +75 -0
- package/src/dom/context.ts +4 -0
- package/src/dom/host.native.tsx +137 -0
- package/src/dom/index.ts +109 -0
- package/src/dom/measure.ts +32 -0
- package/src/dom/nativeBridge.ts +143 -0
- package/src/dom/peer.ts +150 -0
- package/src/dom/protocol.ts +171 -0
- package/src/dom/serialize.ts +126 -0
- package/src/dom/types.ts +38 -0
- package/src/fork/getPathFromState.test.ts +14 -0
- package/src/fork/getPathFromState.ts +10 -1
- package/src/hooks.tsx +129 -2
- package/src/index.ts +10 -0
- package/src/interfaces/router.ts +63 -1
- package/src/layouts/Tabs.linux.tsx +15 -0
- package/src/layouts/stack-navigator-desktop.tsx +8 -0
- package/src/layouts/stack-navigator.linux.tsx +12 -0
- package/src/layouts/stack-navigator.macos.tsx +9 -0
- package/src/layouts/stack-utils/StackToolbarBottomHost.linux.tsx +1 -0
- package/src/layouts/stack-utils/StackToolbarBottomHost.macos.tsx +17 -0
- package/src/link/Link.tsx +5 -3
- package/src/link/Link.web.tsx +8 -3
- package/src/loaderResponseToModule.ts +42 -0
- package/src/loaderSearchParams.ts +115 -0
- package/src/one-shared.ts +361 -0
- package/src/one.linux.ts +42 -0
- package/src/one.macos.ts +29 -0
- package/src/one.ts +2 -303
- package/src/platform/adaptive/fixed.ts +27 -0
- package/src/platform/adaptive/index.linux.ts +1 -0
- package/src/platform/adaptive/index.macos.ts +11 -0
- package/src/platform/adaptive/index.ts +1 -26
- package/src/platform/controlTypes.ts +12 -0
- package/src/platform/desktop/appCommandTypes.ts +33 -0
- package/src/platform/desktop/createAppCommands.ts +40 -0
- package/src/platform/desktop/createControls.tsx +64 -0
- package/src/platform/linux/AppCommands.linux.ts +6 -0
- package/src/platform/linux/Button.linux.tsx +15 -0
- package/src/platform/linux/DropDown.linux.tsx +50 -0
- package/src/platform/linux/NavigationView.linux.tsx +80 -0
- package/src/platform/linux/OneLinuxButtonNativeComponent.ts +23 -0
- package/src/platform/linux/OneLinuxDropDownNativeComponent.ts +35 -0
- package/src/platform/linux/OneLinuxNavigationNativeComponent.ts +21 -0
- package/src/platform/linux/OneLinuxProgressBarNativeComponent.ts +10 -0
- package/src/platform/linux/OneLinuxSecureFieldNativeComponent.ts +16 -0
- package/src/platform/linux/OneLinuxSegmentedControlNativeComponent.ts +24 -0
- package/src/platform/linux/OneLinuxSliderNativeComponent.ts +29 -0
- package/src/platform/linux/OneLinuxStepperNativeComponent.ts +27 -0
- package/src/platform/linux/OneLinuxSwitchNativeComponent.ts +20 -0
- package/src/platform/linux/OneLinuxTextFieldNativeComponent.ts +16 -0
- package/src/platform/linux/OneLinuxToggleNativeComponent.ts +14 -0
- package/src/platform/linux/ProgressBar.linux.tsx +21 -0
- package/src/platform/linux/SecureField.linux.tsx +7 -0
- package/src/platform/linux/SegmentedControl.linux.tsx +13 -0
- package/src/platform/linux/Slider.linux.tsx +67 -0
- package/src/platform/linux/Stepper.linux.tsx +52 -0
- package/src/platform/linux/Switch.linux.tsx +23 -0
- package/src/platform/linux/TextField.linux.tsx +27 -0
- package/src/platform/linux/Toggle.linux.tsx +12 -0
- package/src/platform/linux/Window.linux.ts +12 -0
- package/src/platform/mac/AppCommands.macos.ts +8 -0
- package/src/platform/mac/Button.macos.tsx +12 -0
- package/src/platform/mac/Image.macos.tsx +41 -0
- package/src/platform/mac/OneMacButtonNativeComponent.ts +14 -0
- package/src/platform/mac/OneMacImageNativeComponent.ts +12 -0
- package/src/platform/mac/OneMacPopUpButtonNativeComponent.ts +20 -0
- package/src/platform/mac/OneMacSegmentedControlNativeComponent.ts +21 -0
- package/src/platform/mac/OneMacToggleNativeComponent.ts +21 -0
- package/src/platform/mac/PopUpButton.macos.tsx +31 -0
- package/src/platform/mac/SegmentedControl.macos.tsx +11 -0
- package/src/platform/mac/Toggle.macos.tsx +12 -0
- package/src/platform/specs/OneDOMHostNativeComponent.ts +30 -0
- package/src/platform/specs/OneStoreReview.nitro.ts +1 -1
- package/src/platform/split-view/split-view.linux.tsx +1 -0
- package/src/platform/split-view/split-view.macos.tsx +26 -0
- package/src/platform/ui/Image.linux.tsx +1 -0
- package/src/platform/ui/Image.macos.tsx +9 -0
- package/src/router/getRoutes.ts +1 -1
- package/src/router/router.ts +61 -13
- package/src/searchParams.ts +163 -0
- package/src/server/oneServe.ts +33 -3
- package/src/server/workerHandler.ts +27 -3
- package/src/standardSchema.ts +82 -0
- package/src/typed-routes/generateRouteTypes.ts +49 -3
- package/src/typed-routes/getTypedRoutesDeclarationFile.ts +62 -10
- package/src/typed-routes/searchParamSchemas.ts +377 -0
- package/src/typed-routes/searchSchemaEntries.ts +22 -0
- package/src/types.ts +15 -2
- package/src/useLoader.ts +91 -43
- package/src/utils/cleanUrl.ts +43 -2
- package/src/validateParams.ts +3 -14
- package/src/{validateSearch.ts → validateSearchParams.ts} +33 -33
- package/src/vercel/build/generate/createSsrServerlessFunction.ts +36 -2
- package/src/vite/dom/README.md +91 -0
- package/src/vite/dom/browser.ts +152 -0
- package/src/vite/dom/build.test.ts +204 -0
- package/src/vite/dom/directive.ts +76 -0
- package/src/vite/dom/registry.ts +67 -0
- package/src/vite/one-defines.test.ts +59 -1
- package/src/vite/one.ts +59 -3
- package/src/vite/plugins/clientTreeShakePlugin.ts +7 -1
- package/src/vite/plugins/environmentGuardPlugin.ts +4 -4
- package/src/vite/plugins/fileSystemRouterPlugin.test.ts +51 -0
- package/src/vite/plugins/fileSystemRouterPlugin.tsx +43 -10
- package/src/vite/plugins/generateFileSystemRouteTypesPlugin.tsx +10 -2
- package/src/vite/plugins/iosLinkSetPlugin.ts +64 -0
- package/src/vite/plugins/iosSdkPlugin.ts +4 -1
- package/src/vite/plugins/kotlinSourcePlugin.ts +4 -1
- package/src/vite/plugins/loaderSearchSchemasPlugin.ts +69 -0
- package/src/vite/plugins/swiftPackagePlugin.ts +4 -1
- package/src/vite/plugins/useDomPlugin.ts +182 -35
- package/src/vite/types.ts +5 -1
- package/types/cli/build.d.ts +1 -1
- package/types/cli/build.d.ts.map +1 -1
- package/types/cli/iosLinkSet.d.ts +9 -0
- package/types/cli/iosLinkSet.d.ts.map +1 -0
- package/types/cli/iosLinkSetAnalysis.d.ts +25 -0
- package/types/cli/iosLinkSetAnalysis.d.ts.map +1 -0
- package/types/cli/prebuild.d.ts.map +1 -1
- package/types/cli/updatesPublish.d.ts.map +1 -1
- package/types/createApp.d.ts +8 -0
- package/types/createApp.d.ts.map +1 -1
- package/types/createHandleRequest.d.ts.map +1 -1
- package/types/dom/browserBridge.d.ts +34 -0
- package/types/dom/browserBridge.d.ts.map +1 -0
- package/types/dom/client.d.ts +8 -0
- package/types/dom/client.d.ts.map +1 -0
- package/types/dom/context.d.ts +3 -0
- package/types/dom/context.d.ts.map +1 -0
- package/types/dom/host.native.d.ts +6 -0
- package/types/dom/host.native.d.ts.map +1 -0
- package/types/dom/index.d.ts +8 -0
- package/types/dom/index.d.ts.map +1 -0
- package/types/dom/measure.d.ts +3 -0
- package/types/dom/measure.d.ts.map +1 -0
- package/types/dom/nativeBridge.d.ts +32 -0
- package/types/dom/nativeBridge.d.ts.map +1 -0
- package/types/dom/peer.d.ts +26 -0
- package/types/dom/peer.d.ts.map +1 -0
- package/types/dom/protocol.d.ts +54 -0
- package/types/dom/protocol.d.ts.map +1 -0
- package/types/dom/serialize.d.ts +21 -0
- package/types/dom/serialize.d.ts.map +1 -0
- package/types/dom/types.d.ts +32 -0
- package/types/dom/types.d.ts.map +1 -0
- package/types/fork/getPathFromState.d.ts.map +1 -1
- package/types/hooks.d.ts +30 -3
- package/types/hooks.d.ts.map +1 -1
- package/types/index.d.ts +3 -0
- package/types/index.d.ts.map +1 -1
- package/types/interfaces/router.d.ts +41 -1
- package/types/interfaces/router.d.ts.map +1 -1
- package/types/layouts/Tabs.linux.d.ts +212 -0
- package/types/layouts/Tabs.linux.d.ts.map +1 -0
- package/types/layouts/stack-navigator-desktop.d.ts +9 -0
- package/types/layouts/stack-navigator-desktop.d.ts.map +1 -0
- package/types/layouts/stack-navigator.linux.d.ts +3 -0
- package/types/layouts/stack-navigator.linux.d.ts.map +1 -0
- package/types/layouts/stack-navigator.macos.d.ts +7 -0
- package/types/layouts/stack-navigator.macos.d.ts.map +1 -0
- package/types/layouts/stack-utils/StackToolbarBottomHost.linux.d.ts +2 -0
- package/types/layouts/stack-utils/StackToolbarBottomHost.linux.d.ts.map +1 -0
- package/types/layouts/stack-utils/StackToolbarBottomHost.macos.d.ts +8 -0
- package/types/layouts/stack-utils/StackToolbarBottomHost.macos.d.ts.map +1 -0
- package/types/link/Link.d.ts.map +1 -1
- package/types/link/Link.web.d.ts.map +1 -1
- package/types/loaderResponseToModule.d.ts +7 -0
- package/types/loaderResponseToModule.d.ts.map +1 -0
- package/types/loaderSearchParams.d.ts +30 -0
- package/types/loaderSearchParams.d.ts.map +1 -0
- package/types/one-shared.d.ts +151 -0
- package/types/one-shared.d.ts.map +1 -0
- package/types/one.d.ts +1 -100
- package/types/one.d.ts.map +1 -1
- package/types/one.linux.d.ts +3 -0
- package/types/one.linux.d.ts.map +1 -0
- package/types/one.macos.d.ts +3 -0
- package/types/one.macos.d.ts.map +1 -0
- package/types/platform/adaptive/fixed.d.ts +7 -0
- package/types/platform/adaptive/fixed.d.ts.map +1 -0
- package/types/platform/adaptive/index.d.ts +1 -6
- package/types/platform/adaptive/index.d.ts.map +1 -1
- package/types/platform/adaptive/index.linux.d.ts +2 -0
- package/types/platform/adaptive/index.linux.d.ts.map +1 -0
- package/types/platform/adaptive/index.macos.d.ts +6 -0
- package/types/platform/adaptive/index.macos.d.ts.map +1 -0
- package/types/platform/controlTypes.d.ts +18 -0
- package/types/platform/controlTypes.d.ts.map +1 -0
- package/types/platform/desktop/appCommandTypes.d.ts +41 -0
- package/types/platform/desktop/appCommandTypes.d.ts.map +1 -0
- package/types/platform/desktop/createAppCommands.d.ts +6 -0
- package/types/platform/desktop/createAppCommands.d.ts.map +1 -0
- package/types/platform/desktop/createControls.d.ts +31 -0
- package/types/platform/desktop/createControls.d.ts.map +1 -0
- package/types/platform/linux/AppCommands.linux.d.ts +8 -0
- package/types/platform/linux/AppCommands.linux.d.ts.map +1 -0
- package/types/platform/linux/Button.linux.d.ts +4 -0
- package/types/platform/linux/Button.linux.d.ts.map +1 -0
- package/types/platform/linux/DropDown.linux.d.ts +26 -0
- package/types/platform/linux/DropDown.linux.d.ts.map +1 -0
- package/types/platform/linux/NavigationView.linux.d.ts +7 -0
- package/types/platform/linux/NavigationView.linux.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxButtonNativeComponent.d.ts +17 -0
- package/types/platform/linux/OneLinuxButtonNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxDropDownNativeComponent.d.ts +29 -0
- package/types/platform/linux/OneLinuxDropDownNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxNavigationNativeComponent.d.ts +23 -0
- package/types/platform/linux/OneLinuxNavigationNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxProgressBarNativeComponent.d.ts +9 -0
- package/types/platform/linux/OneLinuxProgressBarNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxSecureFieldNativeComponent.d.ts +22 -0
- package/types/platform/linux/OneLinuxSecureFieldNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxSegmentedControlNativeComponent.d.ts +18 -0
- package/types/platform/linux/OneLinuxSegmentedControlNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxSliderNativeComponent.d.ts +26 -0
- package/types/platform/linux/OneLinuxSliderNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxStepperNativeComponent.d.ts +21 -0
- package/types/platform/linux/OneLinuxStepperNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxSwitchNativeComponent.d.ts +16 -0
- package/types/platform/linux/OneLinuxSwitchNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxTextFieldNativeComponent.d.ts +22 -0
- package/types/platform/linux/OneLinuxTextFieldNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/OneLinuxToggleNativeComponent.d.ts +18 -0
- package/types/platform/linux/OneLinuxToggleNativeComponent.d.ts.map +1 -0
- package/types/platform/linux/ProgressBar.linux.d.ts +7 -0
- package/types/platform/linux/ProgressBar.linux.d.ts.map +1 -0
- package/types/platform/linux/SecureField.linux.d.ts +4 -0
- package/types/platform/linux/SecureField.linux.d.ts.map +1 -0
- package/types/platform/linux/SegmentedControl.linux.d.ts +5 -0
- package/types/platform/linux/SegmentedControl.linux.d.ts.map +1 -0
- package/types/platform/linux/Slider.linux.d.ts +19 -0
- package/types/platform/linux/Slider.linux.d.ts.map +1 -0
- package/types/platform/linux/Stepper.linux.d.ts +11 -0
- package/types/platform/linux/Stepper.linux.d.ts.map +1 -0
- package/types/platform/linux/Switch.linux.d.ts +9 -0
- package/types/platform/linux/Switch.linux.d.ts.map +1 -0
- package/types/platform/linux/TextField.linux.d.ts +13 -0
- package/types/platform/linux/TextField.linux.d.ts.map +1 -0
- package/types/platform/linux/Toggle.linux.d.ts +4 -0
- package/types/platform/linux/Toggle.linux.d.ts.map +1 -0
- package/types/platform/linux/Window.linux.d.ts +4 -0
- package/types/platform/linux/Window.linux.d.ts.map +1 -0
- package/types/platform/mac/AppCommands.macos.d.ts +7 -0
- package/types/platform/mac/AppCommands.macos.d.ts.map +1 -0
- package/types/platform/mac/Button.macos.d.ts +7 -0
- package/types/platform/mac/Button.macos.d.ts.map +1 -0
- package/types/platform/mac/Image.macos.d.ts +11 -0
- package/types/platform/mac/Image.macos.d.ts.map +1 -0
- package/types/platform/mac/OneMacButtonNativeComponent.d.ts +13 -0
- package/types/platform/mac/OneMacButtonNativeComponent.d.ts.map +1 -0
- package/types/platform/mac/OneMacImageNativeComponent.d.ts +11 -0
- package/types/platform/mac/OneMacImageNativeComponent.d.ts.map +1 -0
- package/types/platform/mac/OneMacPopUpButtonNativeComponent.d.ts +18 -0
- package/types/platform/mac/OneMacPopUpButtonNativeComponent.d.ts.map +1 -0
- package/types/platform/mac/OneMacSegmentedControlNativeComponent.d.ts +19 -0
- package/types/platform/mac/OneMacSegmentedControlNativeComponent.d.ts.map +1 -0
- package/types/platform/mac/OneMacToggleNativeComponent.d.ts +17 -0
- package/types/platform/mac/OneMacToggleNativeComponent.d.ts.map +1 -0
- package/types/platform/mac/PopUpButton.macos.d.ts +14 -0
- package/types/platform/mac/PopUpButton.macos.d.ts.map +1 -0
- package/types/platform/mac/SegmentedControl.macos.d.ts +4 -0
- package/types/platform/mac/SegmentedControl.macos.d.ts.map +1 -0
- package/types/platform/mac/Toggle.macos.d.ts +5 -0
- package/types/platform/mac/Toggle.macos.d.ts.map +1 -0
- package/types/platform/specs/OneDOMHostNativeComponent.d.ts +34 -0
- package/types/platform/specs/OneDOMHostNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneStoreReview.nitro.d.ts +1 -0
- package/types/platform/specs/OneStoreReview.nitro.d.ts.map +1 -1
- package/types/platform/split-view/split-view.linux.d.ts +2 -0
- package/types/platform/split-view/split-view.linux.d.ts.map +1 -0
- package/types/platform/split-view/split-view.macos.d.ts +16 -0
- package/types/platform/split-view/split-view.macos.d.ts.map +1 -0
- package/types/platform/ui/Image.linux.d.ts +2 -0
- package/types/platform/ui/Image.linux.d.ts.map +1 -0
- package/types/platform/ui/Image.macos.d.ts +3 -0
- package/types/platform/ui/Image.macos.d.ts.map +1 -0
- package/types/router/createRoute.d.ts +26 -3
- package/types/router/createRoute.d.ts.map +1 -1
- package/types/router/router.d.ts +6 -0
- package/types/router/router.d.ts.map +1 -1
- package/types/searchParams.d.ts +58 -0
- package/types/searchParams.d.ts.map +1 -0
- package/types/server/oneServe.d.ts.map +1 -1
- package/types/server/workerHandler.d.ts.map +1 -1
- package/types/standardSchema.d.ts +47 -0
- package/types/standardSchema.d.ts.map +1 -0
- package/types/typed-routes/generateRouteTypes.d.ts +5 -1
- package/types/typed-routes/generateRouteTypes.d.ts.map +1 -1
- package/types/typed-routes/getTypedRoutesDeclarationFile.d.ts +8 -1
- package/types/typed-routes/getTypedRoutesDeclarationFile.d.ts.map +1 -1
- package/types/typed-routes/searchParamSchemas.d.ts +34 -0
- package/types/typed-routes/searchParamSchemas.d.ts.map +1 -0
- package/types/typed-routes/searchSchemaEntries.d.ts +9 -0
- package/types/typed-routes/searchSchemaEntries.d.ts.map +1 -0
- package/types/types.d.ts +10 -2
- package/types/types.d.ts.map +1 -1
- package/types/useLoader.d.ts +2 -2
- package/types/useLoader.d.ts.map +1 -1
- package/types/utils/cleanUrl.d.ts +11 -1
- package/types/utils/cleanUrl.d.ts.map +1 -1
- package/types/validateParams.d.ts +1 -1
- package/types/validateParams.d.ts.map +1 -1
- package/types/{validateSearch.d.ts → validateSearchParams.d.ts} +13 -19
- package/types/validateSearchParams.d.ts.map +1 -0
- package/types/vercel/build/generate/createSsrServerlessFunction.d.ts.map +1 -1
- package/types/vite/dom/browser.d.ts +8 -0
- package/types/vite/dom/browser.d.ts.map +1 -0
- package/types/vite/dom/directive.d.ts +6 -0
- package/types/vite/dom/directive.d.ts.map +1 -0
- package/types/vite/dom/registry.d.ts +23 -0
- package/types/vite/dom/registry.d.ts.map +1 -0
- package/types/vite/one.d.ts.map +1 -1
- package/types/vite/plugins/clientTreeShakePlugin.d.ts.map +1 -1
- package/types/vite/plugins/environmentGuardPlugin.d.ts +2 -2
- package/types/vite/plugins/fileSystemRouterPlugin.d.ts.map +1 -1
- package/types/vite/plugins/generateFileSystemRouteTypesPlugin.d.ts.map +1 -1
- package/types/vite/plugins/iosLinkSetPlugin.d.ts +3 -0
- package/types/vite/plugins/iosLinkSetPlugin.d.ts.map +1 -0
- package/types/vite/plugins/iosSdkPlugin.d.ts +1 -1
- package/types/vite/plugins/iosSdkPlugin.d.ts.map +1 -1
- package/types/vite/plugins/kotlinSourcePlugin.d.ts +1 -1
- package/types/vite/plugins/kotlinSourcePlugin.d.ts.map +1 -1
- package/types/vite/plugins/loaderSearchSchemasPlugin.d.ts +14 -0
- package/types/vite/plugins/loaderSearchSchemasPlugin.d.ts.map +1 -0
- package/types/vite/plugins/swiftPackagePlugin.d.ts +1 -1
- package/types/vite/plugins/swiftPackagePlugin.d.ts.map +1 -1
- package/types/vite/plugins/useDomPlugin.d.ts +8 -1
- package/types/vite/plugins/useDomPlugin.d.ts.map +1 -1
- package/types/vite/types.d.ts +5 -1
- package/types/vite/types.d.ts.map +1 -1
- package/dist/cjs/platform/store-review/backend.ios.cjs +0 -47
- package/dist/cjs/platform/store-review/backend.ios.js +0 -49
- package/dist/cjs/platform/store-review/backend.ios.js.map +0 -1
- package/dist/cjs/validateSearch.native.js.map +0 -1
- package/dist/esm/one.mjs.map +0 -1
- package/dist/esm/one.native.js.map +0 -1
- package/dist/esm/platform/adaptive/index.mjs.map +0 -1
- package/dist/esm/platform/store-review/backend.ios.js +0 -26
- package/dist/esm/platform/store-review/backend.ios.js.map +0 -1
- package/dist/esm/validateSearch.mjs.map +0 -1
- package/dist/esm/validateSearch.native.js.map +0 -1
- package/src/platform/store-review/backend.ios.ts +0 -28
- package/types/platform/store-review/backend.ios.d.ts +0 -6
- package/types/platform/store-review/backend.ios.d.ts.map +0 -1
- package/types/validateSearch.d.ts.map +0 -1
|
@@ -0,0 +1,76 @@
|
|
|
1
|
+
import { describeIssues } from "./searchParams.mjs";
|
|
2
|
+
import { isStandardSchema, validateStandardSchemaSync } from "./standardSchema.mjs";
|
|
3
|
+
import { parseSearchString, setOwn } from "./validateSearchParams.mjs";
|
|
4
|
+
|
|
5
|
+
const resolvedSchemas = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
function getLoaderSearchSchemas(routeExported) {
|
|
7
|
+
return routeExported?.__oneSearchSchemas ?? null;
|
|
8
|
+
}
|
|
9
|
+
function resolveSchemas(thunks) {
|
|
10
|
+
let schemas = resolvedSchemas.get(thunks);
|
|
11
|
+
if (!schemas) {
|
|
12
|
+
schemas = thunks.map((read) => {
|
|
13
|
+
const schema = read();
|
|
14
|
+
if (!isStandardSchema(schema)) {
|
|
15
|
+
throw failure(500, "A schema passed to useSearchParams is not a Standard Schema, so the loader cannot receive validated search params");
|
|
16
|
+
}
|
|
17
|
+
return schema;
|
|
18
|
+
});
|
|
19
|
+
resolvedSchemas.set(thunks, schemas);
|
|
20
|
+
}
|
|
21
|
+
return schemas;
|
|
22
|
+
}
|
|
23
|
+
function failure(status, message) {
|
|
24
|
+
return new Response(message, { status });
|
|
25
|
+
}
|
|
26
|
+
function isEqual(a, b) {
|
|
27
|
+
if (Object.is(a, b)) return true;
|
|
28
|
+
if (typeof a !== "object" || typeof b !== "object" || !a || !b) return false;
|
|
29
|
+
if (a instanceof Date || b instanceof Date) {
|
|
30
|
+
return a instanceof Date && b instanceof Date && a.getTime() === b.getTime();
|
|
31
|
+
}
|
|
32
|
+
if (Array.isArray(a) !== Array.isArray(b)) return false;
|
|
33
|
+
const keys = Object.keys(a);
|
|
34
|
+
if (keys.length !== Object.keys(b).length) return false;
|
|
35
|
+
return keys.every((key) => Object.hasOwn(b, key) && isEqual(a[key], b[key]));
|
|
36
|
+
}
|
|
37
|
+
function withLoaderSearchParams(thunks, loaderProps) {
|
|
38
|
+
const searchParams = {};
|
|
39
|
+
for (const schema of resolveSchemas(thunks)) {
|
|
40
|
+
let result;
|
|
41
|
+
try {
|
|
42
|
+
result = validateStandardSchemaSync(schema, parseSearchString(loaderProps?.search ?? ""));
|
|
43
|
+
} catch (error) {
|
|
44
|
+
throw failure(500, error.message);
|
|
45
|
+
}
|
|
46
|
+
if (result.issues) {
|
|
47
|
+
throw failure(400, `Invalid search params (${describeIssues(result.issues)})`);
|
|
48
|
+
}
|
|
49
|
+
const value = result.value;
|
|
50
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
51
|
+
throw failure(500, "A search params schema must produce an object so its keys can be merged");
|
|
52
|
+
}
|
|
53
|
+
for (const key of Object.keys(value)) {
|
|
54
|
+
const next = value[key];
|
|
55
|
+
if (Object.hasOwn(searchParams, key) && !isEqual(searchParams[key], next)) {
|
|
56
|
+
throw failure(500, `Search param "${key}" is read by more than one schema and they produce different values`);
|
|
57
|
+
}
|
|
58
|
+
setOwn(searchParams, key, next);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
return {
|
|
62
|
+
...loaderProps,
|
|
63
|
+
searchParams
|
|
64
|
+
};
|
|
65
|
+
}
|
|
66
|
+
function prepareSsrLoaderProps(routeExported, loaderProps, search) {
|
|
67
|
+
const props = {
|
|
68
|
+
...loaderProps,
|
|
69
|
+
search
|
|
70
|
+
};
|
|
71
|
+
const schemas = getLoaderSearchSchemas(routeExported);
|
|
72
|
+
return schemas ? withLoaderSearchParams(schemas, props) : props;
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
export { getLoaderSearchSchemas, prepareSsrLoaderProps, withLoaderSearchParams };
|
|
76
|
+
//# sourceMappingURL=loaderSearchParams.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loaderSearchParams.js","names":[],"sources":["esm/loaderSearchParams.js"],"sourcesContent":["import { describeIssues } from \"./searchParams\";\nimport { isStandardSchema, validateStandardSchemaSync } from \"./standardSchema\";\nimport { parseSearchString, setOwn } from \"./validateSearchParams\";\nconst resolvedSchemas = /* @__PURE__ */ new WeakMap();\nfunction getLoaderSearchSchemas(routeExported) {\n return routeExported?.__oneSearchSchemas ?? null;\n}\nfunction resolveSchemas(thunks) {\n let schemas = resolvedSchemas.get(thunks);\n if (!schemas) {\n schemas = thunks.map((read) => {\n const schema = read();\n if (!isStandardSchema(schema)) {\n throw failure(\n 500,\n \"A schema passed to useSearchParams is not a Standard Schema, so the loader cannot receive validated search params\"\n );\n }\n return schema;\n });\n resolvedSchemas.set(thunks, schemas);\n }\n return schemas;\n}\nfunction failure(status, message) {\n return new Response(message, { status });\n}\nfunction isEqual(a, b) {\n if (Object.is(a, b)) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\" || !a || !b) return false;\n if (a instanceof Date || b instanceof Date) {\n return a instanceof Date && b instanceof Date && a.getTime() === b.getTime();\n }\n if (Array.isArray(a) !== Array.isArray(b)) return false;\n const keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) return false;\n return keys.every(\n (key) => Object.hasOwn(b, key) && isEqual(a[key], b[key])\n );\n}\nfunction withLoaderSearchParams(thunks, loaderProps) {\n const searchParams = {};\n for (const schema of resolveSchemas(thunks)) {\n let result;\n try {\n result = validateStandardSchemaSync(schema, parseSearchString(loaderProps?.search ?? \"\"));\n } catch (error) {\n throw failure(500, error.message);\n }\n if (result.issues) {\n throw failure(400, `Invalid search params (${describeIssues(result.issues)})`);\n }\n const value = result.value;\n if (typeof value !== \"object\" || value === null || Array.isArray(value)) {\n throw failure(\n 500,\n \"A search params schema must produce an object so its keys can be merged\"\n );\n }\n for (const key of Object.keys(value)) {\n const next = value[key];\n if (Object.hasOwn(searchParams, key) && !isEqual(searchParams[key], next)) {\n throw failure(\n 500,\n `Search param \"${key}\" is read by more than one schema and they produce different values`\n );\n }\n setOwn(searchParams, key, next);\n }\n }\n return { ...loaderProps, searchParams };\n}\nfunction prepareSsrLoaderProps(routeExported, loaderProps, search) {\n const props = { ...loaderProps, search };\n const schemas = getLoaderSearchSchemas(routeExported);\n return schemas ? withLoaderSearchParams(schemas, props) : props;\n}\nexport {\n getLoaderSearchSchemas,\n prepareSsrLoaderProps,\n withLoaderSearchParams\n};\n//# sourceMappingURL=loaderSearchParams.js.map\n"],"mappings":";;;;;AAGA,MAAM,kCAAkC,IAAI,QAAQ;AACpD,SAAS,uBAAuB,eAAe;CAC7C,OAAO,eAAe,sBAAsB;AAC9C;AACA,SAAS,eAAe,QAAQ;CAC9B,IAAI,UAAU,gBAAgB,IAAI,MAAM;CACxC,IAAI,CAAC,SAAS;EACZ,UAAU,OAAO,KAAK,SAAS;GAC7B,MAAM,SAAS,KAAK;GACpB,IAAI,CAAC,iBAAiB,MAAM,GAAG;IAC7B,MAAM,QACJ,KACA,mHACF;GACF;GACA,OAAO;EACT,CAAC;EACD,gBAAgB,IAAI,QAAQ,OAAO;CACrC;CACA,OAAO;AACT;AACA,SAAS,QAAQ,QAAQ,SAAS;CAChC,OAAO,IAAI,SAAS,SAAS,EAAE,OAAO,CAAC;AACzC;AACA,SAAS,QAAQ,GAAG,GAAG;CACrB,IAAI,OAAO,GAAG,GAAG,CAAC,GAAG,OAAO;CAC5B,IAAI,OAAO,MAAM,YAAY,OAAO,MAAM,YAAY,CAAC,KAAK,CAAC,GAAG,OAAO;CACvE,IAAI,aAAa,QAAQ,aAAa,MAAM;EAC1C,OAAO,aAAa,QAAQ,aAAa,QAAQ,EAAE,QAAQ,MAAM,EAAE,QAAQ;CAC7E;CACA,IAAI,MAAM,QAAQ,CAAC,MAAM,MAAM,QAAQ,CAAC,GAAG,OAAO;CAClD,MAAM,OAAO,OAAO,KAAK,CAAC;CAC1B,IAAI,KAAK,WAAW,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,OAAO;CAClD,OAAO,KAAK,OACT,QAAQ,OAAO,OAAO,GAAG,GAAG,KAAK,QAAQ,EAAE,MAAM,EAAE,IAAI,CAC1D;AACF;AACA,SAAS,uBAAuB,QAAQ,aAAa;CACnD,MAAM,eAAe,CAAC;CACtB,KAAK,MAAM,UAAU,eAAe,MAAM,GAAG;EAC3C,IAAI;EACJ,IAAI;GACF,SAAS,2BAA2B,QAAQ,kBAAkB,aAAa,UAAU,EAAE,CAAC;EAC1F,SAAS,OAAO;GACd,MAAM,QAAQ,KAAK,MAAM,OAAO;EAClC;EACA,IAAI,OAAO,QAAQ;GACjB,MAAM,QAAQ,KAAK,0BAA0B,eAAe,OAAO,MAAM,EAAE,EAAE;EAC/E;EACA,MAAM,QAAQ,OAAO;EACrB,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,MAAM,QAAQ,KAAK,GAAG;GACvE,MAAM,QACJ,KACA,yEACF;EACF;EACA,KAAK,MAAM,OAAO,OAAO,KAAK,KAAK,GAAG;GACpC,MAAM,OAAO,MAAM;GACnB,IAAI,OAAO,OAAO,cAAc,GAAG,KAAK,CAAC,QAAQ,aAAa,MAAM,IAAI,GAAG;IACzE,MAAM,QACJ,KACA,iBAAiB,IAAI,oEACvB;GACF;GACA,OAAO,cAAc,KAAK,IAAI;EAChC;CACF;CACA,OAAO;EAAE,GAAG;EAAa;CAAa;AACxC;AACA,SAAS,sBAAsB,eAAe,aAAa,QAAQ;CACjE,MAAM,QAAQ;EAAE,GAAG;EAAa;CAAO;CACvC,MAAM,UAAU,uBAAuB,aAAa;CACpD,OAAO,UAAU,uBAAuB,SAAS,KAAK,IAAI;AAC5D"}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
import { describeIssues } from "./searchParams.native.js";
|
|
2
|
+
import { isStandardSchema, validateStandardSchemaSync } from "./standardSchema.native.js";
|
|
3
|
+
import { parseSearchString, setOwn } from "./validateSearchParams.native.js";
|
|
4
|
+
|
|
5
|
+
var resolvedSchemas = /* @__PURE__ */ new WeakMap();
|
|
6
|
+
function getLoaderSearchSchemas(routeExported) {
|
|
7
|
+
var _ref;
|
|
8
|
+
return (_ref = routeExported === null || routeExported === void 0 ? void 0 : routeExported.__oneSearchSchemas) !== null && _ref !== void 0 ? _ref : null;
|
|
9
|
+
}
|
|
10
|
+
function resolveSchemas(thunks) {
|
|
11
|
+
var schemas = resolvedSchemas.get(thunks);
|
|
12
|
+
if (!schemas) {
|
|
13
|
+
schemas = thunks.map(function(read) {
|
|
14
|
+
var schema = read();
|
|
15
|
+
if (!isStandardSchema(schema)) {
|
|
16
|
+
throw failure(500, "A schema passed to useSearchParams is not a Standard Schema, so the loader cannot receive validated search params");
|
|
17
|
+
}
|
|
18
|
+
return schema;
|
|
19
|
+
});
|
|
20
|
+
resolvedSchemas.set(thunks, schemas);
|
|
21
|
+
}
|
|
22
|
+
return schemas;
|
|
23
|
+
}
|
|
24
|
+
function failure(status, message) {
|
|
25
|
+
return new Response(message, { status });
|
|
26
|
+
}
|
|
27
|
+
function isEqual(a, b) {
|
|
28
|
+
if (Object.is(a, b)) return true;
|
|
29
|
+
if (typeof a !== "object" || typeof b !== "object" || !a || !b) return false;
|
|
30
|
+
if (a instanceof Date || b instanceof Date) {
|
|
31
|
+
return a instanceof Date && b instanceof Date && a.getTime() === b.getTime();
|
|
32
|
+
}
|
|
33
|
+
if (Array.isArray(a) !== Array.isArray(b)) return false;
|
|
34
|
+
var keys = Object.keys(a);
|
|
35
|
+
if (keys.length !== Object.keys(b).length) return false;
|
|
36
|
+
return keys.every(function(key) {
|
|
37
|
+
return Object.hasOwn(b, key) && isEqual(a[key], b[key]);
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
function withLoaderSearchParams(thunks, loaderProps) {
|
|
41
|
+
var searchParams = {};
|
|
42
|
+
var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;
|
|
43
|
+
try {
|
|
44
|
+
for (var _iterator = resolveSchemas(thunks)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {
|
|
45
|
+
var schema = _step.value;
|
|
46
|
+
var result = void 0;
|
|
47
|
+
try {
|
|
48
|
+
var _ref;
|
|
49
|
+
result = validateStandardSchemaSync(schema, parseSearchString((_ref = loaderProps === null || loaderProps === void 0 ? void 0 : loaderProps.search) !== null && _ref !== void 0 ? _ref : ""));
|
|
50
|
+
} catch (error) {
|
|
51
|
+
throw failure(500, error.message);
|
|
52
|
+
}
|
|
53
|
+
if (result.issues) {
|
|
54
|
+
throw failure(400, `Invalid search params (${describeIssues(result.issues)})`);
|
|
55
|
+
}
|
|
56
|
+
var value = result.value;
|
|
57
|
+
if (typeof value !== "object" || value === null || Array.isArray(value)) {
|
|
58
|
+
throw failure(500, "A search params schema must produce an object so its keys can be merged");
|
|
59
|
+
}
|
|
60
|
+
var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;
|
|
61
|
+
try {
|
|
62
|
+
for (var _iterator1 = Object.keys(value)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {
|
|
63
|
+
var key = _step1.value;
|
|
64
|
+
var next = value[key];
|
|
65
|
+
if (Object.hasOwn(searchParams, key) && !isEqual(searchParams[key], next)) {
|
|
66
|
+
throw failure(500, `Search param "${key}" is read by more than one schema and they produce different values`);
|
|
67
|
+
}
|
|
68
|
+
setOwn(searchParams, key, next);
|
|
69
|
+
}
|
|
70
|
+
} catch (err) {
|
|
71
|
+
_didIteratorError1 = true;
|
|
72
|
+
_iteratorError1 = err;
|
|
73
|
+
} finally {
|
|
74
|
+
try {
|
|
75
|
+
if (!_iteratorNormalCompletion1 && _iterator1.return != null) {
|
|
76
|
+
_iterator1.return();
|
|
77
|
+
}
|
|
78
|
+
} finally {
|
|
79
|
+
if (_didIteratorError1) {
|
|
80
|
+
throw _iteratorError1;
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
} catch (err) {
|
|
86
|
+
_didIteratorError = true;
|
|
87
|
+
_iteratorError = err;
|
|
88
|
+
} finally {
|
|
89
|
+
try {
|
|
90
|
+
if (!_iteratorNormalCompletion && _iterator.return != null) {
|
|
91
|
+
_iterator.return();
|
|
92
|
+
}
|
|
93
|
+
} finally {
|
|
94
|
+
if (_didIteratorError) {
|
|
95
|
+
throw _iteratorError;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return {
|
|
100
|
+
...loaderProps,
|
|
101
|
+
searchParams
|
|
102
|
+
};
|
|
103
|
+
}
|
|
104
|
+
function prepareSsrLoaderProps(routeExported, loaderProps, search) {
|
|
105
|
+
var props = {
|
|
106
|
+
...loaderProps,
|
|
107
|
+
search
|
|
108
|
+
};
|
|
109
|
+
var schemas = getLoaderSearchSchemas(routeExported);
|
|
110
|
+
return schemas ? withLoaderSearchParams(schemas, props) : props;
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
export { getLoaderSearchSchemas, prepareSsrLoaderProps, withLoaderSearchParams };
|
|
114
|
+
//# sourceMappingURL=loaderSearchParams.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"loaderSearchParams.native.js","names":[],"sources":["esm/loaderSearchParams.native.js"],"sourcesContent":["import { describeIssues } from \"./searchParams\";\nimport { isStandardSchema, validateStandardSchemaSync } from \"./standardSchema\";\nimport { parseSearchString, setOwn } from \"./validateSearchParams\";\nvar resolvedSchemas = /* @__PURE__ */ new WeakMap();\nfunction getLoaderSearchSchemas(routeExported) {\n var _ref;\n return (_ref = routeExported === null || routeExported === void 0 ? void 0 : routeExported.__oneSearchSchemas) !== null && _ref !== void 0 ? _ref : null;\n}\nfunction resolveSchemas(thunks) {\n var schemas = resolvedSchemas.get(thunks);\n if (!schemas) {\n schemas = thunks.map(function(read) {\n var schema = read();\n if (!isStandardSchema(schema)) {\n throw failure(500, \"A schema passed to useSearchParams is not a Standard Schema, so the loader cannot receive validated search params\");\n }\n return schema;\n });\n resolvedSchemas.set(thunks, schemas);\n }\n return schemas;\n}\nfunction failure(status, message) {\n return new Response(message, {\n status\n });\n}\nfunction isEqual(a, b) {\n if (Object.is(a, b)) return true;\n if (typeof a !== \"object\" || typeof b !== \"object\" || !a || !b) return false;\n if (a instanceof Date || b instanceof Date) {\n return a instanceof Date && b instanceof Date && a.getTime() === b.getTime();\n }\n if (Array.isArray(a) !== Array.isArray(b)) return false;\n var keys = Object.keys(a);\n if (keys.length !== Object.keys(b).length) return false;\n return keys.every(function(key) {\n return Object.hasOwn(b, key) && isEqual(a[key], b[key]);\n });\n}\nfunction withLoaderSearchParams(thunks, loaderProps) {\n var searchParams = {};\n var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = void 0;\n try {\n for (var _iterator = resolveSchemas(thunks)[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true) {\n var schema = _step.value;\n var result = void 0;\n try {\n var _ref;\n result = validateStandardSchemaSync(schema, parseSearchString((_ref = loaderProps === null || loaderProps === void 0 ? void 0 : loaderProps.search) !== null && _ref !== void 0 ? _ref : \"\"));\n } catch (error) {\n throw failure(500, error.message);\n }\n if (result.issues) {\n throw failure(400, `Invalid search params (${describeIssues(result.issues)})`);\n }\n var value = result.value;\n if (typeof value !== \"object\" || value === null || Array.isArray(value)) {\n throw failure(500, \"A search params schema must produce an object so its keys can be merged\");\n }\n var _iteratorNormalCompletion1 = true, _didIteratorError1 = false, _iteratorError1 = void 0;\n try {\n for (var _iterator1 = Object.keys(value)[Symbol.iterator](), _step1; !(_iteratorNormalCompletion1 = (_step1 = _iterator1.next()).done); _iteratorNormalCompletion1 = true) {\n var key = _step1.value;\n var next = value[key];\n if (Object.hasOwn(searchParams, key) && !isEqual(searchParams[key], next)) {\n throw failure(500, `Search param \"${key}\" is read by more than one schema and they produce different values`);\n }\n setOwn(searchParams, key, next);\n }\n } catch (err) {\n _didIteratorError1 = true;\n _iteratorError1 = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion1 && _iterator1.return != null) {\n _iterator1.return();\n }\n } finally {\n if (_didIteratorError1) {\n throw _iteratorError1;\n }\n }\n }\n }\n } catch (err) {\n _didIteratorError = true;\n _iteratorError = err;\n } finally {\n try {\n if (!_iteratorNormalCompletion && _iterator.return != null) {\n _iterator.return();\n }\n } finally {\n if (_didIteratorError) {\n throw _iteratorError;\n }\n }\n }\n return {\n ...loaderProps,\n searchParams\n };\n}\nfunction prepareSsrLoaderProps(routeExported, loaderProps, search) {\n var props = {\n ...loaderProps,\n search\n };\n var schemas = getLoaderSearchSchemas(routeExported);\n return schemas ? withLoaderSearchParams(schemas, props) : props;\n}\nexport {\n getLoaderSearchSchemas,\n prepareSsrLoaderProps,\n withLoaderSearchParams\n};\n//# sourceMappingURL=loaderSearchParams.js.map\n"],"mappings":";;;;;AAGA,IAAI,kCAAkC,IAAI,QAAQ;AAClD,SAAS,uBAAuB,eAAe;CAC7C,IAAI;CACJ,QAAQ,OAAO,kBAAkB,QAAQ,kBAAkB,KAAK,IAAI,KAAK,IAAI,cAAc,wBAAwB,QAAQ,SAAS,KAAK,IAAI,OAAO;AACtJ;AACA,SAAS,eAAe,QAAQ;CAC9B,IAAI,UAAU,gBAAgB,IAAI,MAAM;CACxC,IAAI,CAAC,SAAS;EACZ,UAAU,OAAO,IAAI,SAAS,MAAM;GAClC,IAAI,SAAS,KAAK;GAClB,IAAI,CAAC,iBAAiB,MAAM,GAAG;IAC7B,MAAM,QAAQ,KAAK,mHAAmH;GACxI;GACA,OAAO;EACT,CAAC;EACD,gBAAgB,IAAI,QAAQ,OAAO;CACrC;CACA,OAAO;AACT;AACA,SAAS,QAAQ,QAAQ,SAAS;CAChC,OAAO,IAAI,SAAS,SAAS,EAC3B,OACF,CAAC;AACH;AACA,SAAS,QAAQ,GAAG,GAAG;CACrB,IAAI,OAAO,GAAG,GAAG,CAAC,GAAG,OAAO;CAC5B,IAAI,OAAO,MAAM,YAAY,OAAO,MAAM,YAAY,CAAC,KAAK,CAAC,GAAG,OAAO;CACvE,IAAI,aAAa,QAAQ,aAAa,MAAM;EAC1C,OAAO,aAAa,QAAQ,aAAa,QAAQ,EAAE,QAAQ,MAAM,EAAE,QAAQ;CAC7E;CACA,IAAI,MAAM,QAAQ,CAAC,MAAM,MAAM,QAAQ,CAAC,GAAG,OAAO;CAClD,IAAI,OAAO,OAAO,KAAK,CAAC;CACxB,IAAI,KAAK,WAAW,OAAO,KAAK,CAAC,CAAC,CAAC,QAAQ,OAAO;CAClD,OAAO,KAAK,MAAM,SAAS,KAAK;EAC9B,OAAO,OAAO,OAAO,GAAG,GAAG,KAAK,QAAQ,EAAE,MAAM,EAAE,IAAI;CACxD,CAAC;AACH;AACA,SAAS,uBAAuB,QAAQ,aAAa;CACnD,IAAI,eAAe,CAAC;CACpB,IAAI,4BAA4B,MAAM,oBAAoB,OAAO,iBAAiB,KAAK;CACvF,IAAI;EACF,KAAK,IAAI,YAAY,eAAe,MAAM,CAAC,CAAC,OAAO,SAAS,CAAC,GAAG,OAAO,EAAE,6BAA6B,QAAQ,UAAU,KAAK,EAAC,CAAE,OAAO,4BAA4B,MAAM;GACvK,IAAI,SAAS,MAAM;GACnB,IAAI,SAAS,KAAK;GAClB,IAAI;IACF,IAAI;IACJ,SAAS,2BAA2B,QAAQ,mBAAmB,OAAO,gBAAgB,QAAQ,gBAAgB,KAAK,IAAI,KAAK,IAAI,YAAY,YAAY,QAAQ,SAAS,KAAK,IAAI,OAAO,EAAE,CAAC;GAC9L,SAAS,OAAO;IACd,MAAM,QAAQ,KAAK,MAAM,OAAO;GAClC;GACA,IAAI,OAAO,QAAQ;IACjB,MAAM,QAAQ,KAAK,0BAA0B,eAAe,OAAO,MAAM,EAAE,EAAE;GAC/E;GACA,IAAI,QAAQ,OAAO;GACnB,IAAI,OAAO,UAAU,YAAY,UAAU,QAAQ,MAAM,QAAQ,KAAK,GAAG;IACvE,MAAM,QAAQ,KAAK,yEAAyE;GAC9F;GACA,IAAI,6BAA6B,MAAM,qBAAqB,OAAO,kBAAkB,KAAK;GAC1F,IAAI;IACF,KAAK,IAAI,aAAa,OAAO,KAAK,KAAK,CAAC,CAAC,OAAO,SAAS,CAAC,GAAG,QAAQ,EAAE,8BAA8B,SAAS,WAAW,KAAK,EAAC,CAAE,OAAO,6BAA6B,MAAM;KACzK,IAAI,MAAM,OAAO;KACjB,IAAI,OAAO,MAAM;KACjB,IAAI,OAAO,OAAO,cAAc,GAAG,KAAK,CAAC,QAAQ,aAAa,MAAM,IAAI,GAAG;MACzE,MAAM,QAAQ,KAAK,iBAAiB,IAAI,oEAAoE;KAC9G;KACA,OAAO,cAAc,KAAK,IAAI;IAChC;GACF,SAAS,KAAK;IACZ,qBAAqB;IACrB,kBAAkB;GACpB,UAAU;IACR,IAAI;KACF,IAAI,CAAC,8BAA8B,WAAW,UAAU,MAAM;MAC5D,WAAW,OAAO;KACpB;IACF,UAAU;KACR,IAAI,oBAAoB;MACtB,MAAM;KACR;IACF;GACF;EACF;CACF,SAAS,KAAK;EACZ,oBAAoB;EACpB,iBAAiB;CACnB,UAAU;EACR,IAAI;GACF,IAAI,CAAC,6BAA6B,UAAU,UAAU,MAAM;IAC1D,UAAU,OAAO;GACnB;EACF,UAAU;GACR,IAAI,mBAAmB;IACrB,MAAM;GACR;EACF;CACF;CACA,OAAO;EACL,GAAG;EACH;CACF;AACF;AACA,SAAS,sBAAsB,eAAe,aAAa,QAAQ;CACjE,IAAI,QAAQ;EACV,GAAG;EACH;CACF;CACA,IAAI,UAAU,uBAAuB,aAAa;CAClD,OAAO,UAAU,uBAAuB,SAAS,KAAK,IAAI;AAC5D"}
|
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
import { AppIcon, AppInfo, AppIntents, AppTracking, Audio, Auth, BackgroundTasks, Barometer, Battery, Brightness, Browser, CNContactStore, CNContactViewController, CNMutableContact, Calendar, CameraView, Clipboard, Color, Compose, Contacts, ContextMenu, Crypto, DataScannerViewController, Database, Device, DeviceAttestation, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, KeepAwake, LaunchScreen, LightSensor, LiveActivities, LocalAuthentication, Localization, Location, MFMailComposeViewController, MFMessageComposeViewController, MapServices, Menu, MenuAction, Motion, Network, Notifications, Open, Pedometer, PhotoLibrary, Print, ProtectedStore, Purchases, QuickActions, ReservedRegions, ScreenCapture, ScreenOrientation, SecureStore, Share, Speech, SpeechSynthesis, SplitView, Storage, StoreReview, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, VNDocumentCameraViewController, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.mjs";
|
|
2
|
+
import { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from "./safe-area-context/index.mjs";
|
|
3
|
+
|
|
4
|
+
function currentPlatform() {
|
|
5
|
+
const defined = Reflect.get(globalThis, "__ONE_PLATFORM__") ?? (typeof process !== "undefined" ? process.env.ONE_PLATFORM : void 0);
|
|
6
|
+
return defined === "ios" || defined === "android" ? defined : "web";
|
|
7
|
+
}
|
|
8
|
+
const iOS = Object.freeze({
|
|
9
|
+
...Swift,
|
|
10
|
+
VNDocumentCameraViewController,
|
|
11
|
+
DataScannerViewController,
|
|
12
|
+
CNContactViewController,
|
|
13
|
+
CNMutableContact,
|
|
14
|
+
CNContactStore,
|
|
15
|
+
MFMailComposeViewController,
|
|
16
|
+
MFMessageComposeViewController,
|
|
17
|
+
WidgetUI,
|
|
18
|
+
CameraView,
|
|
19
|
+
Color: Color.ios,
|
|
20
|
+
MenuAction,
|
|
21
|
+
SplitView,
|
|
22
|
+
ToolbarHost,
|
|
23
|
+
BarButtonItem: ToolbarItem,
|
|
24
|
+
ZoomTransitionAlignmentRectDetector,
|
|
25
|
+
ZoomTransitionEnabler,
|
|
26
|
+
ZoomTransitionSource
|
|
27
|
+
});
|
|
28
|
+
const Android = Object.freeze({
|
|
29
|
+
...Compose,
|
|
30
|
+
Color: Color.android,
|
|
31
|
+
Menu,
|
|
32
|
+
ContextMenu,
|
|
33
|
+
CameraView
|
|
34
|
+
});
|
|
35
|
+
const SafeArea = Object.freeze({
|
|
36
|
+
Provider: SafeAreaProvider,
|
|
37
|
+
View: SafeAreaView,
|
|
38
|
+
initialMetrics: initialWindowMetrics
|
|
39
|
+
});
|
|
40
|
+
const UI$1 = Object.freeze({
|
|
41
|
+
...UI,
|
|
42
|
+
Fonts,
|
|
43
|
+
SafeArea,
|
|
44
|
+
TextInput,
|
|
45
|
+
ReservedRegions
|
|
46
|
+
});
|
|
47
|
+
const One = Object.freeze({
|
|
48
|
+
get platform() {
|
|
49
|
+
return currentPlatform();
|
|
50
|
+
},
|
|
51
|
+
openURL: Open.openURL,
|
|
52
|
+
openShare: Open.openShare,
|
|
53
|
+
openSettings: Open.openSettings,
|
|
54
|
+
AppInfo,
|
|
55
|
+
Database,
|
|
56
|
+
Widgets,
|
|
57
|
+
LiveActivities,
|
|
58
|
+
LocalAuthentication,
|
|
59
|
+
ProtectedStore,
|
|
60
|
+
KeepAwake,
|
|
61
|
+
Print,
|
|
62
|
+
StoreReview,
|
|
63
|
+
QuickActions,
|
|
64
|
+
Location,
|
|
65
|
+
FileSystem,
|
|
66
|
+
Audio,
|
|
67
|
+
Share,
|
|
68
|
+
PhotoLibrary,
|
|
69
|
+
MapServices,
|
|
70
|
+
AppTracking,
|
|
71
|
+
AppIcon,
|
|
72
|
+
ScreenOrientation,
|
|
73
|
+
ScreenCapture,
|
|
74
|
+
Purchases,
|
|
75
|
+
ImageManipulator,
|
|
76
|
+
Device,
|
|
77
|
+
Crypto,
|
|
78
|
+
Localization,
|
|
79
|
+
Motion,
|
|
80
|
+
BackgroundTasks,
|
|
81
|
+
AppIntents,
|
|
82
|
+
DeviceAttestation,
|
|
83
|
+
Contacts,
|
|
84
|
+
Calendar,
|
|
85
|
+
iOS,
|
|
86
|
+
Android,
|
|
87
|
+
UI: UI$1,
|
|
88
|
+
Notifications,
|
|
89
|
+
Clipboard,
|
|
90
|
+
Barometer,
|
|
91
|
+
LightSensor,
|
|
92
|
+
Pedometer,
|
|
93
|
+
Battery,
|
|
94
|
+
Brightness,
|
|
95
|
+
SpeechSynthesis,
|
|
96
|
+
Haptics,
|
|
97
|
+
LaunchScreen,
|
|
98
|
+
Network,
|
|
99
|
+
Auth,
|
|
100
|
+
Browser,
|
|
101
|
+
ImagePicker,
|
|
102
|
+
DocumentPicker,
|
|
103
|
+
SecureStore,
|
|
104
|
+
Storage,
|
|
105
|
+
Speech,
|
|
106
|
+
Updates
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
export { One };
|
|
110
|
+
//# sourceMappingURL=one-shared.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one-shared.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeCrypto","NativeClipboard","NativeBarometer","NativeLightSensor","NativePedometer","NativeBattery","NativeBrightness","NativeSpeechSynthesis","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one-shared.js"],"sourcesContent":["import {\n Auth,\n Browser as NativeBrowser,\n Widgets,\n LiveActivities,\n LocalAuthentication,\n ProtectedStore,\n KeepAwake,\n Print,\n StoreReview,\n QuickActions,\n Location,\n FileSystem,\n Audio,\n CameraView,\n Share,\n Open,\n PhotoLibrary,\n MapServices,\n AppTracking,\n AppIcon,\n ScreenOrientation,\n ScreenCapture,\n Purchases,\n ImageManipulator,\n Device,\n Crypto as NativeCrypto,\n Localization,\n Motion,\n BackgroundTasks,\n AppIntents,\n DeviceAttestation,\n Contacts,\n Calendar,\n WidgetUI,\n VNDocumentCameraViewController,\n DataScannerViewController,\n CNContactViewController,\n CNMutableContact,\n CNContactStore,\n MFMailComposeViewController,\n MFMessageComposeViewController,\n Clipboard as NativeClipboard,\n Barometer as NativeBarometer,\n LightSensor as NativeLightSensor,\n Pedometer as NativePedometer,\n Battery as NativeBattery,\n Brightness as NativeBrightness,\n SpeechSynthesis as NativeSpeechSynthesis,\n AppInfo,\n Color,\n Database,\n Compose,\n Fonts,\n DocumentPicker,\n Haptics,\n ImagePicker,\n LaunchScreen,\n MenuAction,\n Menu as NativeMenu,\n ContextMenu as NativeContextMenu,\n Notifications,\n Network as NativeNetwork,\n SecureStore as NativeSecureStore,\n Storage,\n Speech as NativeSpeech,\n Updates as NativeUpdates,\n SplitView,\n Swift,\n TextInput,\n ToolbarHost,\n ToolbarItem,\n UI as NativeUI,\n ReservedRegions,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n} from \"./platform\";\nimport { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from \"./safe-area-context\";\nfunction currentPlatform() {\n const defined = Reflect.get(globalThis, \"__ONE_PLATFORM__\") ?? (typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0);\n return defined === \"ios\" || defined === \"android\" ? defined : \"web\";\n}\nconst iOS = Object.freeze({\n ...Swift,\n VNDocumentCameraViewController,\n DataScannerViewController,\n CNContactViewController,\n CNMutableContact,\n CNContactStore,\n MFMailComposeViewController,\n MFMessageComposeViewController,\n WidgetUI,\n CameraView,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nconst Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu,\n CameraView\n});\nconst SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nconst UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nconst One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n Widgets,\n LiveActivities,\n LocalAuthentication,\n ProtectedStore,\n KeepAwake,\n Print,\n StoreReview,\n QuickActions,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n MapServices,\n AppTracking,\n AppIcon,\n ScreenOrientation,\n ScreenCapture,\n Purchases,\n ImageManipulator,\n Device,\n Crypto: NativeCrypto,\n Localization,\n Motion,\n BackgroundTasks,\n AppIntents,\n DeviceAttestation,\n Contacts,\n Calendar,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Barometer: NativeBarometer,\n LightSensor: NativeLightSensor,\n Pedometer: NativePedometer,\n Battery: NativeBattery,\n Brightness: NativeBrightness,\n SpeechSynthesis: NativeSpeechSynthesis,\n Haptics,\n LaunchScreen,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Storage,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one-shared.js.map\n"],"mappings":";;;;AA+EA,SAAS,kBAAkB;CACzB,MAAM,UAAU,QAAQ,IAAI,YAAY,kBAAkB,MAAM,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjI,OAAO,YAAY,SAAS,YAAY,YAAY,UAAU;AAChE;AACA,MAAM,MAAM,OAAO,OAAO;CACxB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,MAAM,UAAU,OAAO,OAAO;CAC5B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;CACb;AACF,CAAC;AACD,MAAM,WAAW,OAAO,OAAO;CAC7B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,MAAMC,OAAK,OAAO,OAAO;CACvB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,MAAM,MAAM,OAAO,OAAO;CACxB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACQC;CACR;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACWC;CACAC;CACEC;CACFC;CACFC;CACGC;CACKC;CACjB;CACA;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACb;CACQC;CACCC;AACX,CAAC"}
|
|
@@ -0,0 +1,111 @@
|
|
|
1
|
+
import { AppIcon, AppInfo, AppIntents, AppTracking, Audio, Auth, BackgroundTasks, Barometer, Battery, Brightness, Browser, CNContactStore, CNContactViewController, CNMutableContact, Calendar, CameraView, Clipboard, Color, Compose, Contacts, ContextMenu, Crypto, DataScannerViewController, Database, Device, DeviceAttestation, DocumentPicker, FileSystem, Fonts, Haptics, ImageManipulator, ImagePicker, KeepAwake, LaunchScreen, LightSensor, LiveActivities, LocalAuthentication, Localization, Location, MFMailComposeViewController, MFMessageComposeViewController, MapServices, Menu, MenuAction, Motion, Network, Notifications, Open, Pedometer, PhotoLibrary, Print, ProtectedStore, Purchases, QuickActions, ReservedRegions, ScreenCapture, ScreenOrientation, SecureStore, Share, Speech, SpeechSynthesis, SplitView, Storage, StoreReview, Swift, TextInput, ToolbarHost, ToolbarItem, UI, Updates, VNDocumentCameraViewController, WidgetUI, Widgets, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from "./platform/index.native.js";
|
|
2
|
+
import { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from "./safe-area-context/index.native.js";
|
|
3
|
+
|
|
4
|
+
function currentPlatform() {
|
|
5
|
+
var _Reflect_get;
|
|
6
|
+
var defined = (_Reflect_get = Reflect.get(globalThis, "__ONE_PLATFORM__")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== "undefined" ? process.env.ONE_PLATFORM : void 0;
|
|
7
|
+
return defined === "ios" || defined === "android" ? defined : "web";
|
|
8
|
+
}
|
|
9
|
+
var iOS = Object.freeze({
|
|
10
|
+
...Swift,
|
|
11
|
+
VNDocumentCameraViewController,
|
|
12
|
+
DataScannerViewController,
|
|
13
|
+
CNContactViewController,
|
|
14
|
+
CNMutableContact,
|
|
15
|
+
CNContactStore,
|
|
16
|
+
MFMailComposeViewController,
|
|
17
|
+
MFMessageComposeViewController,
|
|
18
|
+
WidgetUI,
|
|
19
|
+
CameraView,
|
|
20
|
+
Color: Color.ios,
|
|
21
|
+
MenuAction,
|
|
22
|
+
SplitView,
|
|
23
|
+
ToolbarHost,
|
|
24
|
+
BarButtonItem: ToolbarItem,
|
|
25
|
+
ZoomTransitionAlignmentRectDetector,
|
|
26
|
+
ZoomTransitionEnabler,
|
|
27
|
+
ZoomTransitionSource
|
|
28
|
+
});
|
|
29
|
+
var Android = Object.freeze({
|
|
30
|
+
...Compose,
|
|
31
|
+
Color: Color.android,
|
|
32
|
+
Menu,
|
|
33
|
+
ContextMenu,
|
|
34
|
+
CameraView
|
|
35
|
+
});
|
|
36
|
+
var SafeArea = Object.freeze({
|
|
37
|
+
Provider: SafeAreaProvider,
|
|
38
|
+
View: SafeAreaView,
|
|
39
|
+
initialMetrics: initialWindowMetrics
|
|
40
|
+
});
|
|
41
|
+
var UI$1 = Object.freeze({
|
|
42
|
+
...UI,
|
|
43
|
+
Fonts,
|
|
44
|
+
SafeArea,
|
|
45
|
+
TextInput,
|
|
46
|
+
ReservedRegions
|
|
47
|
+
});
|
|
48
|
+
var One = Object.freeze({
|
|
49
|
+
get platform() {
|
|
50
|
+
return currentPlatform();
|
|
51
|
+
},
|
|
52
|
+
openURL: Open.openURL,
|
|
53
|
+
openShare: Open.openShare,
|
|
54
|
+
openSettings: Open.openSettings,
|
|
55
|
+
AppInfo,
|
|
56
|
+
Database,
|
|
57
|
+
Widgets,
|
|
58
|
+
LiveActivities,
|
|
59
|
+
LocalAuthentication,
|
|
60
|
+
ProtectedStore,
|
|
61
|
+
KeepAwake,
|
|
62
|
+
Print,
|
|
63
|
+
StoreReview,
|
|
64
|
+
QuickActions,
|
|
65
|
+
Location,
|
|
66
|
+
FileSystem,
|
|
67
|
+
Audio,
|
|
68
|
+
Share,
|
|
69
|
+
PhotoLibrary,
|
|
70
|
+
MapServices,
|
|
71
|
+
AppTracking,
|
|
72
|
+
AppIcon,
|
|
73
|
+
ScreenOrientation,
|
|
74
|
+
ScreenCapture,
|
|
75
|
+
Purchases,
|
|
76
|
+
ImageManipulator,
|
|
77
|
+
Device,
|
|
78
|
+
Crypto,
|
|
79
|
+
Localization,
|
|
80
|
+
Motion,
|
|
81
|
+
BackgroundTasks,
|
|
82
|
+
AppIntents,
|
|
83
|
+
DeviceAttestation,
|
|
84
|
+
Contacts,
|
|
85
|
+
Calendar,
|
|
86
|
+
iOS,
|
|
87
|
+
Android,
|
|
88
|
+
UI: UI$1,
|
|
89
|
+
Notifications,
|
|
90
|
+
Clipboard,
|
|
91
|
+
Barometer,
|
|
92
|
+
LightSensor,
|
|
93
|
+
Pedometer,
|
|
94
|
+
Battery,
|
|
95
|
+
Brightness,
|
|
96
|
+
SpeechSynthesis,
|
|
97
|
+
Haptics,
|
|
98
|
+
LaunchScreen,
|
|
99
|
+
Network,
|
|
100
|
+
Auth,
|
|
101
|
+
Browser,
|
|
102
|
+
ImagePicker,
|
|
103
|
+
DocumentPicker,
|
|
104
|
+
SecureStore,
|
|
105
|
+
Storage,
|
|
106
|
+
Speech,
|
|
107
|
+
Updates
|
|
108
|
+
});
|
|
109
|
+
|
|
110
|
+
export { One };
|
|
111
|
+
//# sourceMappingURL=one-shared.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one-shared.native.js","names":["NativeMenu","NativeContextMenu","UI","NativeUI","NativeCrypto","NativeClipboard","NativeBarometer","NativeLightSensor","NativePedometer","NativeBattery","NativeBrightness","NativeSpeechSynthesis","NativeNetwork","NativeBrowser","NativeSecureStore","NativeSpeech","NativeUpdates"],"sources":["esm/one-shared.native.js"],"sourcesContent":["import { Auth, Browser as NativeBrowser, Widgets, LiveActivities, LocalAuthentication, ProtectedStore, KeepAwake, Print, StoreReview, QuickActions, Location, FileSystem, Audio, CameraView, Share, Open, PhotoLibrary, MapServices, AppTracking, AppIcon, ScreenOrientation, ScreenCapture, Purchases, ImageManipulator, Device, Crypto as NativeCrypto, Localization, Motion, BackgroundTasks, AppIntents, DeviceAttestation, Contacts, Calendar, WidgetUI, VNDocumentCameraViewController, DataScannerViewController, CNContactViewController, CNMutableContact, CNContactStore, MFMailComposeViewController, MFMessageComposeViewController, Clipboard as NativeClipboard, Barometer as NativeBarometer, LightSensor as NativeLightSensor, Pedometer as NativePedometer, Battery as NativeBattery, Brightness as NativeBrightness, SpeechSynthesis as NativeSpeechSynthesis, AppInfo, Color, Database, Compose, Fonts, DocumentPicker, Haptics, ImagePicker, LaunchScreen, MenuAction, Menu as NativeMenu, ContextMenu as NativeContextMenu, Notifications, Network as NativeNetwork, SecureStore as NativeSecureStore, Storage, Speech as NativeSpeech, Updates as NativeUpdates, SplitView, Swift, TextInput, ToolbarHost, ToolbarItem, UI as NativeUI, ReservedRegions, ZoomTransitionAlignmentRectDetector, ZoomTransitionEnabler, ZoomTransitionSource } from \"./platform\";\nimport { SafeAreaProvider, SafeAreaView, initialWindowMetrics } from \"./safe-area-context\";\nfunction currentPlatform() {\n var _Reflect_get;\n var defined = (_Reflect_get = Reflect.get(globalThis, \"__ONE_PLATFORM__\")) !== null && _Reflect_get !== void 0 ? _Reflect_get : typeof process !== \"undefined\" ? process.env.ONE_PLATFORM : void 0;\n return defined === \"ios\" || defined === \"android\" ? defined : \"web\";\n}\nvar iOS = Object.freeze({\n ...Swift,\n VNDocumentCameraViewController,\n DataScannerViewController,\n CNContactViewController,\n CNMutableContact,\n CNContactStore,\n MFMailComposeViewController,\n MFMessageComposeViewController,\n WidgetUI,\n CameraView,\n Color: Color.ios,\n MenuAction,\n SplitView,\n ToolbarHost,\n BarButtonItem: ToolbarItem,\n ZoomTransitionAlignmentRectDetector,\n ZoomTransitionEnabler,\n ZoomTransitionSource\n});\nvar Android = Object.freeze({\n ...Compose,\n Color: Color.android,\n Menu: NativeMenu,\n ContextMenu: NativeContextMenu,\n CameraView\n});\nvar SafeArea = Object.freeze({\n Provider: SafeAreaProvider,\n View: SafeAreaView,\n initialMetrics: initialWindowMetrics\n});\nvar UI = Object.freeze({\n ...NativeUI,\n Fonts,\n SafeArea,\n TextInput,\n ReservedRegions\n});\nvar One = Object.freeze({\n get platform() {\n return currentPlatform();\n },\n openURL: Open.openURL,\n openShare: Open.openShare,\n openSettings: Open.openSettings,\n AppInfo,\n Database,\n Widgets,\n LiveActivities,\n LocalAuthentication,\n ProtectedStore,\n KeepAwake,\n Print,\n StoreReview,\n QuickActions,\n Location,\n FileSystem,\n Audio,\n Share,\n PhotoLibrary,\n MapServices,\n AppTracking,\n AppIcon,\n ScreenOrientation,\n ScreenCapture,\n Purchases,\n ImageManipulator,\n Device,\n Crypto: NativeCrypto,\n Localization,\n Motion,\n BackgroundTasks,\n AppIntents,\n DeviceAttestation,\n Contacts,\n Calendar,\n iOS,\n Android,\n UI,\n Notifications,\n Clipboard: NativeClipboard,\n Barometer: NativeBarometer,\n LightSensor: NativeLightSensor,\n Pedometer: NativePedometer,\n Battery: NativeBattery,\n Brightness: NativeBrightness,\n SpeechSynthesis: NativeSpeechSynthesis,\n Haptics,\n LaunchScreen,\n Network: NativeNetwork,\n Auth,\n Browser: NativeBrowser,\n ImagePicker,\n DocumentPicker,\n SecureStore: NativeSecureStore,\n Storage,\n Speech: NativeSpeech,\n Updates: NativeUpdates\n});\nexport {\n One\n};\n//# sourceMappingURL=one-shared.js.map\n"],"mappings":";;;;AAEA,SAAS,kBAAkB;CACzB,IAAI;CACJ,IAAI,WAAW,eAAe,QAAQ,IAAI,YAAY,kBAAkB,OAAO,QAAQ,iBAAiB,KAAK,IAAI,eAAe,OAAO,YAAY,cAAc,QAAQ,IAAI,eAAe,KAAK;CACjM,OAAO,YAAY,SAAS,YAAY,YAAY,UAAU;AAChE;AACA,IAAI,MAAM,OAAO,OAAO;CACtB,GAAG;CACH;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA,OAAO,MAAM;CACb;CACA;CACA;CACA,eAAe;CACf;CACA;CACA;AACF,CAAC;AACD,IAAI,UAAU,OAAO,OAAO;CAC1B,GAAG;CACH,OAAO,MAAM;CACPA;CACOC;CACb;AACF,CAAC;AACD,IAAI,WAAW,OAAO,OAAO;CAC3B,UAAU;CACV,MAAM;CACN,gBAAgB;AAClB,CAAC;AACD,IAAIC,OAAK,OAAO,OAAO;CACrB,GAAGC;CACH;CACA;CACA;CACA;AACF,CAAC;AACD,IAAI,MAAM,OAAO,OAAO;CACtB,IAAI,WAAW;EACb,OAAO,gBAAgB;CACzB;CACA,SAAS,KAAK;CACd,WAAW,KAAK;CAChB,cAAc,KAAK;CACnB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACQC;CACR;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACWC;CACAC;CACEC;CACFC;CACFC;CACGC;CACKC;CACjB;CACA;CACSC;CACT;CACSC;CACT;CACA;CACaC;CACb;CACQC;CACCC;AACX,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { One as One$1 } from "./one-shared.mjs";
|
|
2
|
+
import { AppCommands } from "./platform/linux/AppCommands.linux.mjs";
|
|
3
|
+
import { Window } from "./platform/linux/Window.linux.mjs";
|
|
4
|
+
import { Switch } from "./platform/linux/Switch.linux.mjs";
|
|
5
|
+
import { Button } from "./platform/linux/Button.linux.mjs";
|
|
6
|
+
import { SegmentedControl } from "./platform/linux/SegmentedControl.linux.mjs";
|
|
7
|
+
import { Slider } from "./platform/linux/Slider.linux.mjs";
|
|
8
|
+
import { DropDown } from "./platform/linux/DropDown.linux.mjs";
|
|
9
|
+
import { ProgressBar } from "./platform/linux/ProgressBar.linux.mjs";
|
|
10
|
+
import { Toggle } from "./platform/linux/Toggle.linux.mjs";
|
|
11
|
+
import { Stepper } from "./platform/linux/Stepper.linux.mjs";
|
|
12
|
+
import { TextField } from "./platform/linux/TextField.linux.mjs";
|
|
13
|
+
import { SecureField } from "./platform/linux/SecureField.linux.mjs";
|
|
14
|
+
|
|
15
|
+
const linux = Object.freeze({
|
|
16
|
+
AppCommands,
|
|
17
|
+
Window,
|
|
18
|
+
Switch,
|
|
19
|
+
Button,
|
|
20
|
+
SegmentedControl,
|
|
21
|
+
Slider,
|
|
22
|
+
DropDown,
|
|
23
|
+
ProgressBar,
|
|
24
|
+
Toggle,
|
|
25
|
+
Stepper,
|
|
26
|
+
TextField,
|
|
27
|
+
SecureField
|
|
28
|
+
});
|
|
29
|
+
function inherit(base, own) {
|
|
30
|
+
return Object.freeze(Object.setPrototypeOf(own, base));
|
|
31
|
+
}
|
|
32
|
+
const One = inherit(One$1, {
|
|
33
|
+
platform: "linux",
|
|
34
|
+
linux
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { One };
|
|
38
|
+
//# sourceMappingURL=one.linux.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.linux.js","names":["NativeOne"],"sources":["esm/one.linux.js"],"sourcesContent":["import { One as NativeOne } from \"./one-shared\";\nimport { AppCommands } from \"./platform/linux/AppCommands.linux\";\nimport { Window } from \"./platform/linux/Window.linux\";\nimport { Switch } from \"./platform/linux/Switch.linux\";\nimport { Button } from \"./platform/linux/Button.linux\";\nimport { SegmentedControl } from \"./platform/linux/SegmentedControl.linux\";\nimport { Slider } from \"./platform/linux/Slider.linux\";\nimport { DropDown } from \"./platform/linux/DropDown.linux\";\nimport { ProgressBar } from \"./platform/linux/ProgressBar.linux\";\nimport { Toggle } from \"./platform/linux/Toggle.linux\";\nimport { Stepper } from \"./platform/linux/Stepper.linux\";\nimport { TextField } from \"./platform/linux/TextField.linux\";\nimport { SecureField } from \"./platform/linux/SecureField.linux\";\nconst linux = Object.freeze({\n AppCommands,\n Window,\n Switch,\n Button,\n SegmentedControl,\n Slider,\n DropDown,\n ProgressBar,\n Toggle,\n Stepper,\n TextField,\n SecureField\n});\nfunction inherit(base, own) {\n return Object.freeze(Object.setPrototypeOf(own, base));\n}\nconst One = inherit(NativeOne, { platform: \"linux\", linux });\nexport {\n One\n};\n//# sourceMappingURL=one.linux.js.map\n"],"mappings":";;;;;;;;;;;;;;;AAaA,MAAM,QAAQ,OAAO,OAAO;CAC1B;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,SAAS,QAAQ,MAAM,KAAK;CAC1B,OAAO,OAAO,OAAO,OAAO,eAAe,KAAK,IAAI,CAAC;AACvD;AACA,MAAM,MAAM,QAAQA,OAAW;CAAE,UAAU;CAAS;AAAM,CAAC"}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { One as One$1 } from "./one-shared.native.js";
|
|
2
|
+
import { AppCommands } from "./platform/linux/AppCommands.linux.native.js";
|
|
3
|
+
import { Window } from "./platform/linux/Window.linux.native.js";
|
|
4
|
+
import { Switch } from "./platform/linux/Switch.linux.native.js";
|
|
5
|
+
import { Button } from "./platform/linux/Button.linux.native.js";
|
|
6
|
+
import { SegmentedControl } from "./platform/linux/SegmentedControl.linux.native.js";
|
|
7
|
+
import { Slider } from "./platform/linux/Slider.linux.native.js";
|
|
8
|
+
import { DropDown } from "./platform/linux/DropDown.linux.native.js";
|
|
9
|
+
import { ProgressBar } from "./platform/linux/ProgressBar.linux.native.js";
|
|
10
|
+
import { Toggle } from "./platform/linux/Toggle.linux.native.js";
|
|
11
|
+
import { Stepper } from "./platform/linux/Stepper.linux.native.js";
|
|
12
|
+
import { TextField } from "./platform/linux/TextField.linux.native.js";
|
|
13
|
+
import { SecureField } from "./platform/linux/SecureField.linux.native.js";
|
|
14
|
+
|
|
15
|
+
var linux = Object.freeze({
|
|
16
|
+
AppCommands,
|
|
17
|
+
Window,
|
|
18
|
+
Switch,
|
|
19
|
+
Button,
|
|
20
|
+
SegmentedControl,
|
|
21
|
+
Slider,
|
|
22
|
+
DropDown,
|
|
23
|
+
ProgressBar,
|
|
24
|
+
Toggle,
|
|
25
|
+
Stepper,
|
|
26
|
+
TextField,
|
|
27
|
+
SecureField
|
|
28
|
+
});
|
|
29
|
+
function inherit(base, own) {
|
|
30
|
+
return Object.freeze(Object.setPrototypeOf(own, base));
|
|
31
|
+
}
|
|
32
|
+
var One = inherit(One$1, {
|
|
33
|
+
platform: "linux",
|
|
34
|
+
linux
|
|
35
|
+
});
|
|
36
|
+
|
|
37
|
+
export { One };
|
|
38
|
+
//# sourceMappingURL=one.linux.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.linux.native.js","names":["NativeOne"],"sources":["esm/one.linux.native.js"],"sourcesContent":["import { One as NativeOne } from \"./one-shared\";\nimport { AppCommands } from \"./platform/linux/AppCommands.linux\";\nimport { Window } from \"./platform/linux/Window.linux\";\nimport { Switch } from \"./platform/linux/Switch.linux\";\nimport { Button } from \"./platform/linux/Button.linux\";\nimport { SegmentedControl } from \"./platform/linux/SegmentedControl.linux\";\nimport { Slider } from \"./platform/linux/Slider.linux\";\nimport { DropDown } from \"./platform/linux/DropDown.linux\";\nimport { ProgressBar } from \"./platform/linux/ProgressBar.linux\";\nimport { Toggle } from \"./platform/linux/Toggle.linux\";\nimport { Stepper } from \"./platform/linux/Stepper.linux\";\nimport { TextField } from \"./platform/linux/TextField.linux\";\nimport { SecureField } from \"./platform/linux/SecureField.linux\";\nvar linux = Object.freeze({\n AppCommands,\n Window,\n Switch,\n Button,\n SegmentedControl,\n Slider,\n DropDown,\n ProgressBar,\n Toggle,\n Stepper,\n TextField,\n SecureField\n});\nfunction inherit(base, own) {\n return Object.freeze(Object.setPrototypeOf(own, base));\n}\nvar One = inherit(NativeOne, {\n platform: \"linux\",\n linux\n});\nexport {\n One\n};\n//# sourceMappingURL=one.linux.js.map\n"],"mappings":";;;;;;;;;;;;;;;AAaA,IAAI,QAAQ,OAAO,OAAO;CACxB;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,SAAS,QAAQ,MAAM,KAAK;CAC1B,OAAO,OAAO,OAAO,OAAO,eAAe,KAAK,IAAI,CAAC;AACvD;AACA,IAAI,MAAM,QAAQA,OAAW;CAC3B,UAAU;CACV;AACF,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { One as One$1 } from "./one-shared.mjs";
|
|
2
|
+
import { AppCommands } from "./platform/mac/AppCommands.macos.mjs";
|
|
3
|
+
import { Image } from "./platform/mac/Image.macos.mjs";
|
|
4
|
+
import { Button } from "./platform/mac/Button.macos.mjs";
|
|
5
|
+
import { SegmentedControl } from "./platform/mac/SegmentedControl.macos.mjs";
|
|
6
|
+
import { PopUpButton } from "./platform/mac/PopUpButton.macos.mjs";
|
|
7
|
+
import { Toggle } from "./platform/mac/Toggle.macos.mjs";
|
|
8
|
+
|
|
9
|
+
const macOS = Object.freeze({
|
|
10
|
+
Toggle,
|
|
11
|
+
Button,
|
|
12
|
+
Image,
|
|
13
|
+
SegmentedControl,
|
|
14
|
+
PopUpButton,
|
|
15
|
+
AppCommands
|
|
16
|
+
});
|
|
17
|
+
function inherit(base, own) {
|
|
18
|
+
return Object.freeze(Object.setPrototypeOf(own, base));
|
|
19
|
+
}
|
|
20
|
+
const One = inherit(One$1, {
|
|
21
|
+
platform: "macos",
|
|
22
|
+
macOS
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export { One };
|
|
26
|
+
//# sourceMappingURL=one.macos.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.macos.js","names":["NativeOne"],"sources":["esm/one.macos.js"],"sourcesContent":["import { One as NativeOne } from \"./one-shared\";\nimport { AppCommands } from \"./platform/mac/AppCommands.macos\";\nimport { Image } from \"./platform/mac/Image.macos\";\nimport { Button } from \"./platform/mac/Button.macos\";\nimport { SegmentedControl } from \"./platform/mac/SegmentedControl.macos\";\nimport { PopUpButton } from \"./platform/mac/PopUpButton.macos\";\nimport { Toggle } from \"./platform/mac/Toggle.macos\";\nconst macOS = Object.freeze({\n Toggle,\n Button,\n Image,\n SegmentedControl,\n PopUpButton,\n AppCommands\n});\nfunction inherit(base, own) {\n return Object.freeze(Object.setPrototypeOf(own, base));\n}\nconst One = inherit(NativeOne, { platform: \"macos\", macOS });\nexport {\n One\n};\n//# sourceMappingURL=one.macos.js.map\n"],"mappings":";;;;;;;;;AAOA,MAAM,QAAQ,OAAO,OAAO;CAC1B;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,SAAS,QAAQ,MAAM,KAAK;CAC1B,OAAO,OAAO,OAAO,OAAO,eAAe,KAAK,IAAI,CAAC;AACvD;AACA,MAAM,MAAM,QAAQA,OAAW;CAAE,UAAU;CAAS;AAAM,CAAC"}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { One as One$1 } from "./one-shared.native.js";
|
|
2
|
+
import { AppCommands } from "./platform/mac/AppCommands.macos.native.js";
|
|
3
|
+
import { Image } from "./platform/mac/Image.macos.native.js";
|
|
4
|
+
import { Button } from "./platform/mac/Button.macos.native.js";
|
|
5
|
+
import { SegmentedControl } from "./platform/mac/SegmentedControl.macos.native.js";
|
|
6
|
+
import { PopUpButton } from "./platform/mac/PopUpButton.macos.native.js";
|
|
7
|
+
import { Toggle } from "./platform/mac/Toggle.macos.native.js";
|
|
8
|
+
|
|
9
|
+
var macOS = Object.freeze({
|
|
10
|
+
Toggle,
|
|
11
|
+
Button,
|
|
12
|
+
Image,
|
|
13
|
+
SegmentedControl,
|
|
14
|
+
PopUpButton,
|
|
15
|
+
AppCommands
|
|
16
|
+
});
|
|
17
|
+
function inherit(base, own) {
|
|
18
|
+
return Object.freeze(Object.setPrototypeOf(own, base));
|
|
19
|
+
}
|
|
20
|
+
var One = inherit(One$1, {
|
|
21
|
+
platform: "macos",
|
|
22
|
+
macOS
|
|
23
|
+
});
|
|
24
|
+
|
|
25
|
+
export { One };
|
|
26
|
+
//# sourceMappingURL=one.macos.native.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"one.macos.native.js","names":["NativeOne"],"sources":["esm/one.macos.native.js"],"sourcesContent":["import { One as NativeOne } from \"./one-shared\";\nimport { AppCommands } from \"./platform/mac/AppCommands.macos\";\nimport { Image } from \"./platform/mac/Image.macos\";\nimport { Button } from \"./platform/mac/Button.macos\";\nimport { SegmentedControl } from \"./platform/mac/SegmentedControl.macos\";\nimport { PopUpButton } from \"./platform/mac/PopUpButton.macos\";\nimport { Toggle } from \"./platform/mac/Toggle.macos\";\nvar macOS = Object.freeze({\n Toggle,\n Button,\n Image,\n SegmentedControl,\n PopUpButton,\n AppCommands\n});\nfunction inherit(base, own) {\n return Object.freeze(Object.setPrototypeOf(own, base));\n}\nvar One = inherit(NativeOne, {\n platform: \"macos\",\n macOS\n});\nexport {\n One\n};\n//# sourceMappingURL=one.macos.js.map\n"],"mappings":";;;;;;;;;AAOA,IAAI,QAAQ,OAAO,OAAO;CACxB;CACA;CACA;CACA;CACA;CACA;AACF,CAAC;AACD,SAAS,QAAQ,MAAM,KAAK;CAC1B,OAAO,OAAO,OAAO,OAAO,eAAe,KAAK,IAAI,CAAC;AACvD;AACA,IAAI,MAAM,QAAQA,OAAW;CAC3B,UAAU;CACV;AACF,CAAC"}
|