one 2.10.0 → 2.11.0
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 +11 -7
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.cjs +13 -7
- package/dist/cjs/vite/plugins/fileSystemRouterPlugin.native.js +13 -7
- 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 +11 -7
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.mjs.map +1 -1
- package/dist/esm/vite/plugins/fileSystemRouterPlugin.native.js +13 -7
- 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.tsx +33 -7
- 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
package/ios/OneNativeStyle.swift
CHANGED
|
@@ -6,28 +6,44 @@ import Combine
|
|
|
6
6
|
import Observation
|
|
7
7
|
import AppIntents
|
|
8
8
|
import Accessibility
|
|
9
|
+
#if ONE_GROUP_WALLET
|
|
9
10
|
import PassKit
|
|
11
|
+
#endif
|
|
12
|
+
#if ONE_GROUP_STORE
|
|
10
13
|
import StoreKit
|
|
14
|
+
#endif
|
|
11
15
|
import DataDetection
|
|
16
|
+
#if ONE_GROUP_PREVIEW3D
|
|
12
17
|
import RealityKit
|
|
18
|
+
#endif
|
|
13
19
|
import UniformTypeIdentifiers
|
|
14
20
|
import GameController
|
|
15
21
|
import MapKit
|
|
16
22
|
import CoreLocation
|
|
17
23
|
import SwiftData
|
|
24
|
+
#if ONE_GROUP_PREVIEW3D
|
|
18
25
|
import MusicKit
|
|
26
|
+
#endif
|
|
19
27
|
import AVKit
|
|
28
|
+
#if ONE_GROUP_PHOTOS
|
|
20
29
|
import PhotosUI
|
|
30
|
+
#endif
|
|
21
31
|
import Photos
|
|
22
32
|
import WidgetKit
|
|
33
|
+
#if ONE_GROUP_PREVIEW3D
|
|
23
34
|
import QuickLook
|
|
35
|
+
#endif
|
|
36
|
+
#if ONE_GROUP_ACCOUNT
|
|
24
37
|
import AuthenticationServices
|
|
38
|
+
#endif
|
|
25
39
|
import Symbols
|
|
26
40
|
import SecureElementCredential
|
|
27
41
|
import Translation
|
|
28
42
|
import WebKit
|
|
29
43
|
import WorkoutKit
|
|
44
|
+
#if ONE_GROUP_WALLET
|
|
30
45
|
@_weakLinked import _PassKit_SwiftUI
|
|
46
|
+
#endif
|
|
31
47
|
|
|
32
48
|
@MainActor public enum OneNativeRegisteredValue {
|
|
33
49
|
private static var values: [String: Any] = [:]
|
|
@@ -38,7 +54,22 @@ import WorkoutKit
|
|
|
38
54
|
}
|
|
39
55
|
|
|
40
56
|
@MainActor public struct OneNativeRegisteredModifier {
|
|
41
|
-
enum Kind {
|
|
57
|
+
enum Kind {
|
|
58
|
+
case layoutValue, containerValue, accessibilityAction, onAppIntentExecution, reorderContainer, mapFeatureSelectionContent, transactionTask
|
|
59
|
+
case appEntityUIElements
|
|
60
|
+
#if ONE_GROUP_WALLET
|
|
61
|
+
case onApplePayCouponCodeChange
|
|
62
|
+
#endif
|
|
63
|
+
#if ONE_GROUP_WALLET
|
|
64
|
+
case onApplePayPaymentMethodChange
|
|
65
|
+
#endif
|
|
66
|
+
#if ONE_GROUP_WALLET
|
|
67
|
+
case onApplePayShippingContactChange
|
|
68
|
+
#endif
|
|
69
|
+
#if ONE_GROUP_WALLET
|
|
70
|
+
case onApplePayShippingMethodChange
|
|
71
|
+
#endif
|
|
72
|
+
}
|
|
42
73
|
let kind: Kind
|
|
43
74
|
let apply: (AnyView) -> AnyView
|
|
44
75
|
|
|
@@ -91,26 +122,34 @@ import WorkoutKit
|
|
|
91
122
|
public static func appEntityUIElements(_ action: @escaping @MainActor (AppIntents.AppEntityUIElementsContext) -> [AppIntents.AppEntityUIElement]) -> Self {
|
|
92
123
|
Self(kind: .appEntityUIElements) { AnyView($0.appEntityUIElements(action)) }
|
|
93
124
|
}
|
|
125
|
+
#if ONE_GROUP_WALLET
|
|
94
126
|
|
|
95
127
|
@available(iOS 15.5, *)
|
|
96
128
|
public static func onApplePayCouponCodeChange(_ action: @escaping (Swift.String) async -> PassKit.PKPaymentRequestCouponCodeUpdate) -> Self {
|
|
97
129
|
Self(kind: .onApplePayCouponCodeChange) { AnyView($0.onApplePayCouponCodeChange(perform: action)) }
|
|
98
130
|
}
|
|
131
|
+
#endif
|
|
132
|
+
#if ONE_GROUP_WALLET
|
|
99
133
|
|
|
100
134
|
@available(iOS 15.5, *)
|
|
101
135
|
public static func onApplePayPaymentMethodChange(_ action: @escaping (PassKit.PKPaymentMethod) async -> PassKit.PKPaymentRequestPaymentMethodUpdate) -> Self {
|
|
102
136
|
Self(kind: .onApplePayPaymentMethodChange) { AnyView($0.onApplePayPaymentMethodChange(perform: action)) }
|
|
103
137
|
}
|
|
138
|
+
#endif
|
|
139
|
+
#if ONE_GROUP_WALLET
|
|
104
140
|
|
|
105
141
|
@available(iOS 15.5, *)
|
|
106
142
|
public static func onApplePayShippingContactChange(_ action: @escaping (PassKit.PKContact) async -> PassKit.PKPaymentRequestShippingContactUpdate) -> Self {
|
|
107
143
|
Self(kind: .onApplePayShippingContactChange) { AnyView($0.onApplePayShippingContactChange(perform: action)) }
|
|
108
144
|
}
|
|
145
|
+
#endif
|
|
146
|
+
#if ONE_GROUP_WALLET
|
|
109
147
|
|
|
110
148
|
@available(iOS 15.5, *)
|
|
111
149
|
public static func onApplePayShippingMethodChange(_ action: @escaping (PassKit.PKShippingMethod) async -> PassKit.PKPaymentRequestShippingMethodUpdate) -> Self {
|
|
112
150
|
Self(kind: .onApplePayShippingMethodChange) { AnyView($0.onApplePayShippingMethodChange(perform: action)) }
|
|
113
151
|
}
|
|
152
|
+
#endif
|
|
114
153
|
}
|
|
115
154
|
|
|
116
155
|
private enum OneNativeNamespace { static let id = Namespace().wrappedValue }
|
|
@@ -219,6 +258,7 @@ private struct OneNativeSDKChartDescriptor: Codable, AXChartDescriptorRepresenta
|
|
|
219
258
|
}
|
|
220
259
|
}
|
|
221
260
|
|
|
261
|
+
#if ONE_GROUP_PREVIEW3D
|
|
222
262
|
|
|
223
263
|
#if ONE_IOS_27_SDK
|
|
224
264
|
@available(iOS 27, *)
|
|
@@ -242,6 +282,8 @@ private struct OneNativeSDKMusicPickerWithMusicVideoPicker: ViewModifier {
|
|
|
242
282
|
}
|
|
243
283
|
#endif
|
|
244
284
|
|
|
285
|
+
#endif
|
|
286
|
+
#if ONE_GROUP_PREVIEW3D
|
|
245
287
|
|
|
246
288
|
#if ONE_IOS_27_SDK
|
|
247
289
|
@available(iOS 27, *)
|
|
@@ -265,6 +307,8 @@ private struct OneNativeSDKMusicPickerWithSongPicker: ViewModifier {
|
|
|
265
307
|
}
|
|
266
308
|
#endif
|
|
267
309
|
|
|
310
|
+
#endif
|
|
311
|
+
#if ONE_GROUP_PREVIEW3D
|
|
268
312
|
|
|
269
313
|
#if ONE_IOS_27_SDK
|
|
270
314
|
@available(iOS 27, *)
|
|
@@ -288,6 +332,8 @@ private struct OneNativeSDKMusicPickerWithTrackPicker: ViewModifier {
|
|
|
288
332
|
}
|
|
289
333
|
#endif
|
|
290
334
|
|
|
335
|
+
#endif
|
|
336
|
+
#if ONE_GROUP_PHOTOS
|
|
291
337
|
@available(iOS 16, *)
|
|
292
338
|
private struct OneNativeSDKPhotosPickerTransfer: ViewModifier {
|
|
293
339
|
let presented: Bool
|
|
@@ -319,6 +365,7 @@ private struct OneNativeSDKPhotosPickerTransfer: ViewModifier {
|
|
|
319
365
|
}
|
|
320
366
|
}
|
|
321
367
|
}
|
|
368
|
+
#endif
|
|
322
369
|
@available(iOS 17, *)
|
|
323
370
|
@MainActor private struct OneNativeSDKLookAroundViewerRequest: ViewModifier {
|
|
324
371
|
let latitude: Double
|
|
@@ -610,7 +657,11 @@ extension View {
|
|
|
610
657
|
case "accessibilityWithValue": view = AnyView(view.oneNativeSDKAccessibilityWithValue(value, emit: emit))
|
|
611
658
|
case "accessibilityZoomAction": view = AnyView(view.oneNativeSDKAccessibilityZoomAction(value, emit: emit))
|
|
612
659
|
case "actionSheet": view = AnyView(view.oneNativeSDKActionSheet(value, emit: emit))
|
|
660
|
+
#if ONE_GROUP_WALLET
|
|
613
661
|
case "addPassToWalletButtonStyle": view = AnyView(view.oneNativeSDKAddPassToWalletButtonStyle(value, emit: emit))
|
|
662
|
+
#else
|
|
663
|
+
case "addPassToWalletButtonStyle": preconditionFailure("modifier addPassToWalletButtonStyle needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
664
|
+
#endif
|
|
614
665
|
case "alert": view = AnyView(view.oneNativeSDKAlert(value, emit: emit))
|
|
615
666
|
case "alignmentGuideWithHorizontalAlignment": view = AnyView(view.oneNativeSDKAlignmentGuideWithHorizontalAlignment(value, emit: emit))
|
|
616
667
|
case "alignmentGuideWithVerticalAlignment": view = AnyView(view.oneNativeSDKAlignmentGuideWithVerticalAlignment(value, emit: emit))
|
|
@@ -623,9 +674,21 @@ extension View {
|
|
|
623
674
|
case "animation": view = AnyView(view.oneNativeSDKAnimation(value, emit: emit))
|
|
624
675
|
case "appEntityIdentifier": view = AnyView(view.oneNativeSDKAppEntityIdentifier(value, emit: emit))
|
|
625
676
|
case "appEntityUIElements": view = AnyView(view.oneNativeSDKAppEntityUIElements(value, emit: emit))
|
|
677
|
+
#if ONE_GROUP_STORE
|
|
626
678
|
case "appStoreMerchandising": view = AnyView(view.oneNativeSDKAppStoreMerchandising(value, emit: emit))
|
|
679
|
+
#else
|
|
680
|
+
case "appStoreMerchandising": preconditionFailure("modifier appStoreMerchandising needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
681
|
+
#endif
|
|
682
|
+
#if ONE_GROUP_STORE
|
|
627
683
|
case "appStoreOverlayWithAppClipConfiguration": view = AnyView(view.oneNativeSDKAppStoreOverlayWithAppClipConfiguration(value, emit: emit))
|
|
684
|
+
#else
|
|
685
|
+
case "appStoreOverlayWithAppClipConfiguration": preconditionFailure("modifier appStoreOverlayWithAppClipConfiguration needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
686
|
+
#endif
|
|
687
|
+
#if ONE_GROUP_STORE
|
|
628
688
|
case "appStoreOverlayWithAppConfiguration": view = AnyView(view.oneNativeSDKAppStoreOverlayWithAppConfiguration(value, emit: emit))
|
|
689
|
+
#else
|
|
690
|
+
case "appStoreOverlayWithAppConfiguration": preconditionFailure("modifier appStoreOverlayWithAppConfiguration needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
691
|
+
#endif
|
|
629
692
|
case "aspectRatio": view = AnyView(view.oneNativeSDKAspectRatio(value, emit: emit))
|
|
630
693
|
case "assistiveAccessNavigationIconWithImage": view = AnyView(view.oneNativeSDKAssistiveAccessNavigationIconWithImage(value, emit: emit))
|
|
631
694
|
case "assistiveAccessNavigationIconWithSystemImage": view = AnyView(view.oneNativeSDKAssistiveAccessNavigationIconWithSystemImage(value, emit: emit))
|
|
@@ -670,7 +733,11 @@ extension View {
|
|
|
670
733
|
case "coordinateSpace": view = AnyView(view.oneNativeSDKCoordinateSpace(value, emit: emit))
|
|
671
734
|
case "copyable": view = AnyView(view.oneNativeSDKCopyable(value, emit: emit))
|
|
672
735
|
case "cornerRadiusWithRadiusAndAntialiased": view = AnyView(view.oneNativeSDKCornerRadiusWithRadiusAndAntialiased(value, emit: emit))
|
|
736
|
+
#if ONE_GROUP_STORE
|
|
673
737
|
case "currentEntitlementTask": view = AnyView(view.oneNativeSDKCurrentEntitlementTask(value, emit: emit))
|
|
738
|
+
#else
|
|
739
|
+
case "currentEntitlementTask": preconditionFailure("modifier currentEntitlementTask needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
740
|
+
#endif
|
|
674
741
|
case "cuttable": view = AnyView(view.oneNativeSDKCuttable(value, emit: emit))
|
|
675
742
|
case "dataDetection": view = AnyView(view.oneNativeSDKDataDetection(value, emit: emit))
|
|
676
743
|
case "datePickerStyle": view = AnyView(view.oneNativeSDKDatePickerStyle(value, emit: emit))
|
|
@@ -747,7 +814,11 @@ extension View {
|
|
|
747
814
|
case "environmentMinimumScaleFactor": view = AnyView(view.oneNativeSDKEnvironmentMinimumScaleFactor(value, emit: emit))
|
|
748
815
|
case "environmentMultilineTextAlignment": view = AnyView(view.oneNativeSDKEnvironmentMultilineTextAlignment(value, emit: emit))
|
|
749
816
|
case "environmentObject": view = AnyView(view.oneNativeSDKEnvironmentObject(value, emit: emit))
|
|
817
|
+
#if ONE_GROUP_PREVIEW3D
|
|
750
818
|
case "environmentRealityViewCameraControls": view = AnyView(view.oneNativeSDKEnvironmentRealityViewCameraControls(value, emit: emit))
|
|
819
|
+
#else
|
|
820
|
+
case "environmentRealityViewCameraControls": preconditionFailure("modifier environmentRealityViewCameraControls needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
821
|
+
#endif
|
|
751
822
|
case "environmentRedactionReasons": view = AnyView(view.oneNativeSDKEnvironmentRedactionReasons(value, emit: emit))
|
|
752
823
|
case "environmentScenePhase": view = AnyView(view.oneNativeSDKEnvironmentScenePhase(value, emit: emit))
|
|
753
824
|
case "environmentScrollDismissesKeyboardMode": view = AnyView(view.oneNativeSDKEnvironmentScrollDismissesKeyboardMode(value, emit: emit))
|
|
@@ -829,7 +900,11 @@ extension View {
|
|
|
829
900
|
case "ignoresSafeAreaWithRegionsAndEdgesAndAlignment": view = AnyView(view.oneNativeSDKIgnoresSafeAreaWithRegionsAndEdgesAndAlignment(value, emit: emit))
|
|
830
901
|
case "ignoresSafeAreaWithSafeAreaRegions": view = AnyView(view.oneNativeSDKIgnoresSafeAreaWithSafeAreaRegions(value, emit: emit))
|
|
831
902
|
case "imageScale": view = AnyView(view.oneNativeSDKImageScale(value, emit: emit))
|
|
903
|
+
#if ONE_GROUP_STORE
|
|
832
904
|
case "inAppPurchaseOptions": view = AnyView(view.oneNativeSDKInAppPurchaseOptions(value, emit: emit))
|
|
905
|
+
#else
|
|
906
|
+
case "inAppPurchaseOptions": preconditionFailure("modifier inAppPurchaseOptions needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
907
|
+
#endif
|
|
833
908
|
case "indexViewStyle": view = AnyView(view.oneNativeSDKIndexViewStyle(value, emit: emit))
|
|
834
909
|
case "inspectorColumnWidthWithCGFloat": view = AnyView(view.oneNativeSDKInspectorColumnWidthWithCGFloat(value, emit: emit))
|
|
835
910
|
case "inspectorColumnWidthWithMinAndIdealAndMax": view = AnyView(view.oneNativeSDKInspectorColumnWidthWithMinAndIdealAndMax(value, emit: emit))
|
|
@@ -877,8 +952,16 @@ extension View {
|
|
|
877
952
|
case "listStyle": view = AnyView(view.oneNativeSDKListStyle(value, emit: emit))
|
|
878
953
|
case "lookAroundViewer": view = AnyView(view.oneNativeSDKLookAroundViewer(value, emit: emit))
|
|
879
954
|
case "luminanceToAlpha": view = AnyView(view.oneNativeSDKLuminanceToAlpha(value, emit: emit))
|
|
955
|
+
#if ONE_GROUP_STORE
|
|
880
956
|
case "manageSubscriptionsSheet": view = AnyView(view.oneNativeSDKManageSubscriptionsSheet(value, emit: emit))
|
|
957
|
+
#else
|
|
958
|
+
case "manageSubscriptionsSheet": preconditionFailure("modifier manageSubscriptionsSheet needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
959
|
+
#endif
|
|
960
|
+
#if ONE_GROUP_STORE
|
|
881
961
|
case "manageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID": view = AnyView(view.oneNativeSDKManageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID(value, emit: emit))
|
|
962
|
+
#else
|
|
963
|
+
case "manageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID": preconditionFailure("modifier manageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
964
|
+
#endif
|
|
882
965
|
case "mapCameraKeyframeAnimator": view = AnyView(view.oneNativeSDKMapCameraKeyframeAnimator(value, emit: emit))
|
|
883
966
|
case "mapControlVisibility": view = AnyView(view.oneNativeSDKMapControlVisibility(value, emit: emit))
|
|
884
967
|
case "mapFeatureSelectionAccessory": view = AnyView(view.oneNativeSDKMapFeatureSelectionAccessory(value, emit: emit))
|
|
@@ -905,10 +988,26 @@ extension View {
|
|
|
905
988
|
case "moveDisabled": view = AnyView(view.oneNativeSDKMoveDisabled(value, emit: emit))
|
|
906
989
|
case "multilineTextAlignmentWithStrategy": view = AnyView(view.oneNativeSDKMultilineTextAlignmentWithStrategy(value, emit: emit))
|
|
907
990
|
case "multilineTextAlignmentWithTextAlignment": view = AnyView(view.oneNativeSDKMultilineTextAlignmentWithTextAlignment(value, emit: emit))
|
|
991
|
+
#if ONE_GROUP_PREVIEW3D
|
|
908
992
|
case "musicPickerWithMusicVideo": view = AnyView(view.oneNativeSDKMusicPickerWithMusicVideo(value, emit: emit))
|
|
993
|
+
#else
|
|
994
|
+
case "musicPickerWithMusicVideo": preconditionFailure("modifier musicPickerWithMusicVideo needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
995
|
+
#endif
|
|
996
|
+
#if ONE_GROUP_PREVIEW3D
|
|
909
997
|
case "musicPickerWithSong": view = AnyView(view.oneNativeSDKMusicPickerWithSong(value, emit: emit))
|
|
998
|
+
#else
|
|
999
|
+
case "musicPickerWithSong": preconditionFailure("modifier musicPickerWithSong needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1000
|
+
#endif
|
|
1001
|
+
#if ONE_GROUP_PREVIEW3D
|
|
910
1002
|
case "musicPickerWithTrack": view = AnyView(view.oneNativeSDKMusicPickerWithTrack(value, emit: emit))
|
|
1003
|
+
#else
|
|
1004
|
+
case "musicPickerWithTrack": preconditionFailure("modifier musicPickerWithTrack needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1005
|
+
#endif
|
|
1006
|
+
#if ONE_GROUP_PREVIEW3D
|
|
911
1007
|
case "musicSubscriptionOffer": view = AnyView(view.oneNativeSDKMusicSubscriptionOffer(value, emit: emit))
|
|
1008
|
+
#else
|
|
1009
|
+
case "musicSubscriptionOffer": preconditionFailure("modifier musicSubscriptionOffer needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1010
|
+
#endif
|
|
912
1011
|
case "navigationBarBackButtonHidden": view = AnyView(view.oneNativeSDKNavigationBarBackButtonHidden(value, emit: emit))
|
|
913
1012
|
case "navigationBarHidden": view = AnyView(view.oneNativeSDKNavigationBarHidden(value, emit: emit))
|
|
914
1013
|
case "navigationBarTitleDisplayMode": view = AnyView(view.oneNativeSDKNavigationBarTitleDisplayMode(value, emit: emit))
|
|
@@ -924,14 +1023,34 @@ extension View {
|
|
|
924
1023
|
case "navigationTitleWithText": view = AnyView(view.oneNativeSDKNavigationTitleWithText(value, emit: emit))
|
|
925
1024
|
case "navigationTransition": view = AnyView(view.oneNativeSDKNavigationTransition(value, emit: emit))
|
|
926
1025
|
case "navigationViewStyle": view = AnyView(view.oneNativeSDKNavigationViewStyle(value, emit: emit))
|
|
1026
|
+
#if ONE_GROUP_STORE
|
|
927
1027
|
case "offerCodeRedemption": view = AnyView(view.oneNativeSDKOfferCodeRedemption(value, emit: emit))
|
|
1028
|
+
#else
|
|
1029
|
+
case "offerCodeRedemption": preconditionFailure("modifier offerCodeRedemption needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1030
|
+
#endif
|
|
928
1031
|
case "offset": view = AnyView(view.oneNativeSDKOffset(value, emit: emit))
|
|
929
1032
|
case "onAppear": view = AnyView(view.oneNativeSDKOnAppear(value, emit: emit))
|
|
930
1033
|
case "onAppIntentExecution": view = AnyView(view.oneNativeSDKOnAppIntentExecution(value, emit: emit))
|
|
1034
|
+
#if ONE_GROUP_WALLET
|
|
931
1035
|
case "onApplePayCouponCodeChange": view = AnyView(view.oneNativeSDKOnApplePayCouponCodeChange(value, emit: emit))
|
|
1036
|
+
#else
|
|
1037
|
+
case "onApplePayCouponCodeChange": preconditionFailure("modifier onApplePayCouponCodeChange needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1038
|
+
#endif
|
|
1039
|
+
#if ONE_GROUP_WALLET
|
|
932
1040
|
case "onApplePayPaymentMethodChange": view = AnyView(view.oneNativeSDKOnApplePayPaymentMethodChange(value, emit: emit))
|
|
1041
|
+
#else
|
|
1042
|
+
case "onApplePayPaymentMethodChange": preconditionFailure("modifier onApplePayPaymentMethodChange needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1043
|
+
#endif
|
|
1044
|
+
#if ONE_GROUP_WALLET
|
|
933
1045
|
case "onApplePayShippingContactChange": view = AnyView(view.oneNativeSDKOnApplePayShippingContactChange(value, emit: emit))
|
|
1046
|
+
#else
|
|
1047
|
+
case "onApplePayShippingContactChange": preconditionFailure("modifier onApplePayShippingContactChange needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1048
|
+
#endif
|
|
1049
|
+
#if ONE_GROUP_WALLET
|
|
934
1050
|
case "onApplePayShippingMethodChange": view = AnyView(view.oneNativeSDKOnApplePayShippingMethodChange(value, emit: emit))
|
|
1051
|
+
#else
|
|
1052
|
+
case "onApplePayShippingMethodChange": preconditionFailure("modifier onApplePayShippingMethodChange needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1053
|
+
#endif
|
|
935
1054
|
case "onCameraCaptureEvent": view = AnyView(view.oneNativeSDKOnCameraCaptureEvent(value, emit: emit))
|
|
936
1055
|
case "onCameraCaptureEventWithIsEnabledAndDefaultSoundDisabledAndPrimaryActionAndSecondaryAction": view = AnyView(view.oneNativeSDKOnCameraCaptureEventWithIsEnabledAndDefaultSoundDisabledAndPrimaryActionAndSecondaryAction(value, emit: emit))
|
|
937
1056
|
case "onCameraCaptureEventWithIsEnabledAndPrimaryActionAndSecondaryAction": view = AnyView(view.oneNativeSDKOnCameraCaptureEventWithIsEnabledAndPrimaryActionAndSecondaryAction(value, emit: emit))
|
|
@@ -945,8 +1064,16 @@ extension View {
|
|
|
945
1064
|
case "onDropSessionUpdated": view = AnyView(view.oneNativeSDKOnDropSessionUpdated(value, emit: emit))
|
|
946
1065
|
case "onGeometryChangeWithSize": view = AnyView(view.oneNativeSDKOnGeometryChangeWithSize(value, emit: emit))
|
|
947
1066
|
case "onHover": view = AnyView(view.oneNativeSDKOnHover(value, emit: emit))
|
|
1067
|
+
#if ONE_GROUP_STORE
|
|
948
1068
|
case "onInAppPurchaseCompletion": view = AnyView(view.oneNativeSDKOnInAppPurchaseCompletion(value, emit: emit))
|
|
1069
|
+
#else
|
|
1070
|
+
case "onInAppPurchaseCompletion": preconditionFailure("modifier onInAppPurchaseCompletion needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1071
|
+
#endif
|
|
1072
|
+
#if ONE_GROUP_STORE
|
|
949
1073
|
case "onInAppPurchaseStart": view = AnyView(view.oneNativeSDKOnInAppPurchaseStart(value, emit: emit))
|
|
1074
|
+
#else
|
|
1075
|
+
case "onInAppPurchaseStart": preconditionFailure("modifier onInAppPurchaseStart needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1076
|
+
#endif
|
|
950
1077
|
case "onInteractiveResizeChange": view = AnyView(view.oneNativeSDKOnInteractiveResizeChange(value, emit: emit))
|
|
951
1078
|
case "onKeyPress": view = AnyView(view.oneNativeSDKOnKeyPress(value, emit: emit))
|
|
952
1079
|
case "onLongPressGesture": view = AnyView(view.oneNativeSDKOnLongPressGesture(value, emit: emit))
|
|
@@ -970,33 +1097,101 @@ extension View {
|
|
|
970
1097
|
case "paddingWithSet": view = AnyView(view.oneNativeSDKPaddingWithSet(value, emit: emit))
|
|
971
1098
|
case "paletteSelectionEffect": view = AnyView(view.oneNativeSDKPaletteSelectionEffect(value, emit: emit))
|
|
972
1099
|
case "pasteDestination": view = AnyView(view.oneNativeSDKPasteDestination(value, emit: emit))
|
|
1100
|
+
#if ONE_GROUP_WALLET
|
|
973
1101
|
case "payLaterViewAction":
|
|
974
1102
|
precondition(!ProcessInfo.processInfo.isiOSAppOnMac, "payLaterViewAction is unavailable on macOS")
|
|
975
1103
|
view = AnyView(view.oneNativeSDKPayLaterViewAction(value, emit: emit))
|
|
1104
|
+
#else
|
|
1105
|
+
case "payLaterViewAction": preconditionFailure("modifier payLaterViewAction needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1106
|
+
#endif
|
|
1107
|
+
#if ONE_GROUP_WALLET
|
|
976
1108
|
case "payLaterViewDisplayStyle":
|
|
977
1109
|
precondition(!ProcessInfo.processInfo.isiOSAppOnMac, "payLaterViewDisplayStyle is unavailable on macOS")
|
|
978
1110
|
view = AnyView(view.oneNativeSDKPayLaterViewDisplayStyle(value, emit: emit))
|
|
1111
|
+
#else
|
|
1112
|
+
case "payLaterViewDisplayStyle": preconditionFailure("modifier payLaterViewDisplayStyle needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1113
|
+
#endif
|
|
1114
|
+
#if ONE_GROUP_WALLET
|
|
979
1115
|
case "payWithApplePayButtonDisableCardArt": view = AnyView(view.oneNativeSDKPayWithApplePayButtonDisableCardArt(value, emit: emit))
|
|
1116
|
+
#else
|
|
1117
|
+
case "payWithApplePayButtonDisableCardArt": preconditionFailure("modifier payWithApplePayButtonDisableCardArt needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1118
|
+
#endif
|
|
1119
|
+
#if ONE_GROUP_WALLET
|
|
980
1120
|
case "payWithApplePayButtonStyle": view = AnyView(view.oneNativeSDKPayWithApplePayButtonStyle(value, emit: emit))
|
|
1121
|
+
#else
|
|
1122
|
+
case "payWithApplePayButtonStyle": preconditionFailure("modifier payWithApplePayButtonStyle needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1123
|
+
#endif
|
|
981
1124
|
case "persistentSystemOverlays": view = AnyView(view.oneNativeSDKPersistentSystemOverlays(value, emit: emit))
|
|
982
1125
|
case "phaseAnimator": view = AnyView(view.oneNativeSDKPhaseAnimator(value, emit: emit))
|
|
1126
|
+
#if ONE_GROUP_PHOTOS
|
|
983
1127
|
case "photosPicker": view = AnyView(view.oneNativeSDKPhotosPicker(value, emit: emit))
|
|
1128
|
+
#else
|
|
1129
|
+
case "photosPicker": preconditionFailure("modifier photosPicker needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1130
|
+
#endif
|
|
1131
|
+
#if ONE_GROUP_PHOTOS
|
|
984
1132
|
case "photosPickerAccessoryVisibility": view = AnyView(view.oneNativeSDKPhotosPickerAccessoryVisibility(value, emit: emit))
|
|
1133
|
+
#else
|
|
1134
|
+
case "photosPickerAccessoryVisibility": preconditionFailure("modifier photosPickerAccessoryVisibility needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1135
|
+
#endif
|
|
1136
|
+
#if ONE_GROUP_PHOTOS
|
|
985
1137
|
case "photosPickerDisabledCapabilities": view = AnyView(view.oneNativeSDKPhotosPickerDisabledCapabilities(value, emit: emit))
|
|
1138
|
+
#else
|
|
1139
|
+
case "photosPickerDisabledCapabilities": preconditionFailure("modifier photosPickerDisabledCapabilities needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1140
|
+
#endif
|
|
1141
|
+
#if ONE_GROUP_PHOTOS
|
|
986
1142
|
case "photosPickerMetadataOptions": view = AnyView(view.oneNativeSDKPhotosPickerMetadataOptions(value, emit: emit))
|
|
1143
|
+
#else
|
|
1144
|
+
case "photosPickerMetadataOptions": preconditionFailure("modifier photosPickerMetadataOptions needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1145
|
+
#endif
|
|
1146
|
+
#if ONE_GROUP_PHOTOS
|
|
987
1147
|
case "photosPickerSearchText": view = AnyView(view.oneNativeSDKPhotosPickerSearchText(value, emit: emit))
|
|
1148
|
+
#else
|
|
1149
|
+
case "photosPickerSearchText": preconditionFailure("modifier photosPickerSearchText needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1150
|
+
#endif
|
|
1151
|
+
#if ONE_GROUP_PHOTOS
|
|
988
1152
|
case "photosPickerStyle": view = AnyView(view.oneNativeSDKPhotosPickerStyle(value, emit: emit))
|
|
1153
|
+
#else
|
|
1154
|
+
case "photosPickerStyle": preconditionFailure("modifier photosPickerStyle needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1155
|
+
#endif
|
|
1156
|
+
#if ONE_GROUP_PHOTOS
|
|
989
1157
|
case "photosReferenceImageViewer": view = AnyView(view.oneNativeSDKPhotosReferenceImageViewer(value, emit: emit))
|
|
1158
|
+
#else
|
|
1159
|
+
case "photosReferenceImageViewer": preconditionFailure("modifier photosReferenceImageViewer needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1160
|
+
#endif
|
|
1161
|
+
#if ONE_GROUP_PHOTOS
|
|
990
1162
|
case "photosSharedAlbumCreationSheet": view = AnyView(view.oneNativeSDKPhotosSharedAlbumCreationSheet(value, emit: emit))
|
|
1163
|
+
#else
|
|
1164
|
+
case "photosSharedAlbumCreationSheet": preconditionFailure("modifier photosSharedAlbumCreationSheet needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1165
|
+
#endif
|
|
1166
|
+
#if ONE_GROUP_PHOTOS
|
|
991
1167
|
case "photosSharedAlbumCustomizationSheet": view = AnyView(view.oneNativeSDKPhotosSharedAlbumCustomizationSheet(value, emit: emit))
|
|
1168
|
+
#else
|
|
1169
|
+
case "photosSharedAlbumCustomizationSheet": preconditionFailure("modifier photosSharedAlbumCustomizationSheet needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1170
|
+
#endif
|
|
1171
|
+
#if ONE_GROUP_PHOTOS
|
|
992
1172
|
case "photosSharedAlbumPostingSheet": view = AnyView(view.oneNativeSDKPhotosSharedAlbumPostingSheet(value, emit: emit))
|
|
1173
|
+
#else
|
|
1174
|
+
case "photosSharedAlbumPostingSheet": preconditionFailure("modifier photosSharedAlbumPostingSheet needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1175
|
+
#endif
|
|
993
1176
|
case "pickerStyle": view = AnyView(view.oneNativeSDKPickerStyle(value, emit: emit))
|
|
994
1177
|
case "position": view = AnyView(view.oneNativeSDKPosition(value, emit: emit))
|
|
1178
|
+
#if ONE_GROUP_PHOTOS
|
|
995
1179
|
case "postToPhotosSharedAlbumSheet": view = AnyView(view.oneNativeSDKPostToPhotosSharedAlbumSheet(value, emit: emit))
|
|
1180
|
+
#else
|
|
1181
|
+
case "postToPhotosSharedAlbumSheet": preconditionFailure("modifier postToPhotosSharedAlbumSheet needs the photos feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1182
|
+
#endif
|
|
996
1183
|
case "preferencePreferredColorScheme": view = AnyView(view.oneNativeSDKPreferencePreferredColorScheme(value, emit: emit))
|
|
997
1184
|
case "preferredColorScheme": view = AnyView(view.oneNativeSDKPreferredColorScheme(value, emit: emit))
|
|
1185
|
+
#if ONE_GROUP_STORE
|
|
998
1186
|
case "preferredSubscriptionOffer": view = AnyView(view.oneNativeSDKPreferredSubscriptionOffer(value, emit: emit))
|
|
1187
|
+
#else
|
|
1188
|
+
case "preferredSubscriptionOffer": preconditionFailure("modifier preferredSubscriptionOffer needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1189
|
+
#endif
|
|
1190
|
+
#if ONE_GROUP_STORE
|
|
999
1191
|
case "preferredSubscriptionPricingTerms": view = AnyView(view.oneNativeSDKPreferredSubscriptionPricingTerms(value, emit: emit))
|
|
1192
|
+
#else
|
|
1193
|
+
case "preferredSubscriptionPricingTerms": preconditionFailure("modifier preferredSubscriptionPricingTerms needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1194
|
+
#endif
|
|
1000
1195
|
case "presentationBackground": view = AnyView(view.oneNativeSDKPresentationBackground(value, emit: emit))
|
|
1001
1196
|
case "presentationBackgroundInteraction": view = AnyView(view.oneNativeSDKPresentationBackgroundInteraction(value, emit: emit))
|
|
1002
1197
|
case "presentationCompactAdaptationWithHorizontalAdaptationAndVerticalAdaptation": view = AnyView(view.oneNativeSDKPresentationCompactAdaptationWithHorizontalAdaptationAndVerticalAdaptation(value, emit: emit))
|
|
@@ -1013,17 +1208,45 @@ extension View {
|
|
|
1013
1208
|
case "previewInterfaceOrientation": view = AnyView(view.oneNativeSDKPreviewInterfaceOrientation(value, emit: emit))
|
|
1014
1209
|
case "previewLayout": view = AnyView(view.oneNativeSDKPreviewLayout(value, emit: emit))
|
|
1015
1210
|
case "privacySensitive": view = AnyView(view.oneNativeSDKPrivacySensitive(value, emit: emit))
|
|
1211
|
+
#if ONE_GROUP_STORE
|
|
1016
1212
|
case "productDescription": view = AnyView(view.oneNativeSDKProductDescription(value, emit: emit))
|
|
1213
|
+
#else
|
|
1214
|
+
case "productDescription": preconditionFailure("modifier productDescription needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1215
|
+
#endif
|
|
1216
|
+
#if ONE_GROUP_STORE
|
|
1017
1217
|
case "productIconBorder": view = AnyView(view.oneNativeSDKProductIconBorder(value, emit: emit))
|
|
1218
|
+
#else
|
|
1219
|
+
case "productIconBorder": preconditionFailure("modifier productIconBorder needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1220
|
+
#endif
|
|
1221
|
+
#if ONE_GROUP_STORE
|
|
1018
1222
|
case "productViewStyle": view = AnyView(view.oneNativeSDKProductViewStyle(value, emit: emit))
|
|
1223
|
+
#else
|
|
1224
|
+
case "productViewStyle": preconditionFailure("modifier productViewStyle needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1225
|
+
#endif
|
|
1019
1226
|
case "progressViewStyle": view = AnyView(view.oneNativeSDKProgressViewStyle(value, emit: emit))
|
|
1020
1227
|
case "projectionEffect": view = AnyView(view.oneNativeSDKProjectionEffect(value, emit: emit))
|
|
1228
|
+
#if ONE_GROUP_PREVIEW3D
|
|
1021
1229
|
case "quickLookPreview": view = AnyView(view.oneNativeSDKQuickLookPreview(value, emit: emit))
|
|
1230
|
+
#else
|
|
1231
|
+
case "quickLookPreview": preconditionFailure("modifier quickLookPreview needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1232
|
+
#endif
|
|
1233
|
+
#if ONE_GROUP_PREVIEW3D
|
|
1022
1234
|
case "realityViewCameraControls": view = AnyView(view.oneNativeSDKRealityViewCameraControls(value, emit: emit))
|
|
1235
|
+
#else
|
|
1236
|
+
case "realityViewCameraControls": preconditionFailure("modifier realityViewCameraControls needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1237
|
+
#endif
|
|
1238
|
+
#if ONE_GROUP_PREVIEW3D
|
|
1023
1239
|
case "realityViewLayoutBehavior": view = AnyView(view.oneNativeSDKRealityViewLayoutBehavior(value, emit: emit))
|
|
1240
|
+
#else
|
|
1241
|
+
case "realityViewLayoutBehavior": preconditionFailure("modifier realityViewLayoutBehavior needs the preview3d feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1242
|
+
#endif
|
|
1024
1243
|
case "redacted": view = AnyView(view.oneNativeSDKRedacted(value, emit: emit))
|
|
1025
1244
|
case "refreshable": view = AnyView(view.oneNativeSDKRefreshable(value, emit: emit))
|
|
1245
|
+
#if ONE_GROUP_STORE
|
|
1026
1246
|
case "refundRequestSheet": view = AnyView(view.oneNativeSDKRefundRequestSheet(value, emit: emit))
|
|
1247
|
+
#else
|
|
1248
|
+
case "refundRequestSheet": preconditionFailure("modifier refundRequestSheet needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1249
|
+
#endif
|
|
1027
1250
|
case "renameAction": view = AnyView(view.oneNativeSDKRenameAction(value, emit: emit))
|
|
1028
1251
|
case "reorderContainer": view = AnyView(view.oneNativeSDKReorderContainer(value, emit: emit))
|
|
1029
1252
|
case "replaceDisabled": view = AnyView(view.oneNativeSDKReplaceDisabled(value, emit: emit))
|
|
@@ -1065,7 +1288,11 @@ extension View {
|
|
|
1065
1288
|
case "sensoryFeedback": view = AnyView(view.oneNativeSDKSensoryFeedback(value, emit: emit))
|
|
1066
1289
|
case "shadow": view = AnyView(view.oneNativeSDKShadow(value, emit: emit))
|
|
1067
1290
|
case "shortcutsLinkStyle": view = AnyView(view.oneNativeSDKShortcutsLinkStyle(value, emit: emit))
|
|
1291
|
+
#if ONE_GROUP_ACCOUNT
|
|
1068
1292
|
case "signInWithAppleButtonStyle": view = AnyView(view.oneNativeSDKSignInWithAppleButtonStyle(value, emit: emit))
|
|
1293
|
+
#else
|
|
1294
|
+
case "signInWithAppleButtonStyle": preconditionFailure("modifier signInWithAppleButtonStyle needs the account feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1295
|
+
#endif
|
|
1069
1296
|
case "simultaneousGesture": view = AnyView(view.oneNativeSDKSimultaneousGesture(value, emit: emit))
|
|
1070
1297
|
case "siriTipViewStyle": view = AnyView(view.oneNativeSDKSiriTipViewStyle(value, emit: emit))
|
|
1071
1298
|
case "sliderThumbVisibility": view = AnyView(view.oneNativeSDKSliderThumbVisibility(value, emit: emit))
|
|
@@ -1076,26 +1303,94 @@ extension View {
|
|
|
1076
1303
|
case "springLoadingBehavior": view = AnyView(view.oneNativeSDKSpringLoadingBehavior(value, emit: emit))
|
|
1077
1304
|
case "statusBar": view = AnyView(view.oneNativeSDKStatusBar(value, emit: emit))
|
|
1078
1305
|
case "statusBarHidden": view = AnyView(view.oneNativeSDKStatusBarHidden(value, emit: emit))
|
|
1306
|
+
#if ONE_GROUP_STORE
|
|
1079
1307
|
case "storeButton": view = AnyView(view.oneNativeSDKStoreButton(value, emit: emit))
|
|
1308
|
+
#else
|
|
1309
|
+
case "storeButton": preconditionFailure("modifier storeButton needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1310
|
+
#endif
|
|
1311
|
+
#if ONE_GROUP_STORE
|
|
1080
1312
|
case "storeProductsTask": view = AnyView(view.oneNativeSDKStoreProductsTask(value, emit: emit))
|
|
1313
|
+
#else
|
|
1314
|
+
case "storeProductsTask": preconditionFailure("modifier storeProductsTask needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1315
|
+
#endif
|
|
1316
|
+
#if ONE_GROUP_STORE
|
|
1081
1317
|
case "storeProductTask": view = AnyView(view.oneNativeSDKStoreProductTask(value, emit: emit))
|
|
1318
|
+
#else
|
|
1319
|
+
case "storeProductTask": preconditionFailure("modifier storeProductTask needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1320
|
+
#endif
|
|
1082
1321
|
case "strikethrough": view = AnyView(view.oneNativeSDKStrikethrough(value, emit: emit))
|
|
1083
1322
|
case "submitLabel": view = AnyView(view.oneNativeSDKSubmitLabel(value, emit: emit))
|
|
1084
1323
|
case "submitScope": view = AnyView(view.oneNativeSDKSubmitScope(value, emit: emit))
|
|
1324
|
+
#if ONE_GROUP_STORE
|
|
1085
1325
|
case "subscriptionIntroductoryOffer": view = AnyView(view.oneNativeSDKSubscriptionIntroductoryOffer(value, emit: emit))
|
|
1326
|
+
#else
|
|
1327
|
+
case "subscriptionIntroductoryOffer": preconditionFailure("modifier subscriptionIntroductoryOffer needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1328
|
+
#endif
|
|
1329
|
+
#if ONE_GROUP_STORE
|
|
1086
1330
|
case "subscriptionOfferViewButtonVisibility": view = AnyView(view.oneNativeSDKSubscriptionOfferViewButtonVisibility(value, emit: emit))
|
|
1331
|
+
#else
|
|
1332
|
+
case "subscriptionOfferViewButtonVisibility": preconditionFailure("modifier subscriptionOfferViewButtonVisibility needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1333
|
+
#endif
|
|
1334
|
+
#if ONE_GROUP_STORE
|
|
1087
1335
|
case "subscriptionOfferViewDetailAction": view = AnyView(view.oneNativeSDKSubscriptionOfferViewDetailAction(value, emit: emit))
|
|
1336
|
+
#else
|
|
1337
|
+
case "subscriptionOfferViewDetailAction": preconditionFailure("modifier subscriptionOfferViewDetailAction needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1338
|
+
#endif
|
|
1339
|
+
#if ONE_GROUP_STORE
|
|
1088
1340
|
case "subscriptionOfferViewStyle": view = AnyView(view.oneNativeSDKSubscriptionOfferViewStyle(value, emit: emit))
|
|
1341
|
+
#else
|
|
1342
|
+
case "subscriptionOfferViewStyle": preconditionFailure("modifier subscriptionOfferViewStyle needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1343
|
+
#endif
|
|
1344
|
+
#if ONE_GROUP_STORE
|
|
1089
1345
|
case "subscriptionPromotionalOffer": view = AnyView(view.oneNativeSDKSubscriptionPromotionalOffer(value, emit: emit))
|
|
1346
|
+
#else
|
|
1347
|
+
case "subscriptionPromotionalOffer": preconditionFailure("modifier subscriptionPromotionalOffer needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1348
|
+
#endif
|
|
1349
|
+
#if ONE_GROUP_STORE
|
|
1090
1350
|
case "subscriptionStatusTask": view = AnyView(view.oneNativeSDKSubscriptionStatusTask(value, emit: emit))
|
|
1351
|
+
#else
|
|
1352
|
+
case "subscriptionStatusTask": preconditionFailure("modifier subscriptionStatusTask needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1353
|
+
#endif
|
|
1354
|
+
#if ONE_GROUP_STORE
|
|
1091
1355
|
case "subscriptionStoreButtonLabel": view = AnyView(view.oneNativeSDKSubscriptionStoreButtonLabel(value, emit: emit))
|
|
1356
|
+
#else
|
|
1357
|
+
case "subscriptionStoreButtonLabel": preconditionFailure("modifier subscriptionStoreButtonLabel needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1358
|
+
#endif
|
|
1359
|
+
#if ONE_GROUP_STORE
|
|
1092
1360
|
case "subscriptionStoreControlBackground": view = AnyView(view.oneNativeSDKSubscriptionStoreControlBackground(value, emit: emit))
|
|
1361
|
+
#else
|
|
1362
|
+
case "subscriptionStoreControlBackground": preconditionFailure("modifier subscriptionStoreControlBackground needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1363
|
+
#endif
|
|
1364
|
+
#if ONE_GROUP_STORE
|
|
1093
1365
|
case "subscriptionStoreControlStyle": view = AnyView(view.oneNativeSDKSubscriptionStoreControlStyle(value, emit: emit))
|
|
1366
|
+
#else
|
|
1367
|
+
case "subscriptionStoreControlStyle": preconditionFailure("modifier subscriptionStoreControlStyle needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1368
|
+
#endif
|
|
1369
|
+
#if ONE_GROUP_STORE
|
|
1094
1370
|
case "subscriptionStoreOptionGroupStyle": view = AnyView(view.oneNativeSDKSubscriptionStoreOptionGroupStyle(value, emit: emit))
|
|
1371
|
+
#else
|
|
1372
|
+
case "subscriptionStoreOptionGroupStyle": preconditionFailure("modifier subscriptionStoreOptionGroupStyle needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1373
|
+
#endif
|
|
1374
|
+
#if ONE_GROUP_STORE
|
|
1095
1375
|
case "subscriptionStorePickerItemBackground": view = AnyView(view.oneNativeSDKSubscriptionStorePickerItemBackground(value, emit: emit))
|
|
1376
|
+
#else
|
|
1377
|
+
case "subscriptionStorePickerItemBackground": preconditionFailure("modifier subscriptionStorePickerItemBackground needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1378
|
+
#endif
|
|
1379
|
+
#if ONE_GROUP_STORE
|
|
1096
1380
|
case "subscriptionStorePolicyDestination": view = AnyView(view.oneNativeSDKSubscriptionStorePolicyDestination(value, emit: emit))
|
|
1381
|
+
#else
|
|
1382
|
+
case "subscriptionStorePolicyDestination": preconditionFailure("modifier subscriptionStorePolicyDestination needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1383
|
+
#endif
|
|
1384
|
+
#if ONE_GROUP_STORE
|
|
1097
1385
|
case "subscriptionStorePolicyForegroundStyle": view = AnyView(view.oneNativeSDKSubscriptionStorePolicyForegroundStyle(value, emit: emit))
|
|
1386
|
+
#else
|
|
1387
|
+
case "subscriptionStorePolicyForegroundStyle": preconditionFailure("modifier subscriptionStorePolicyForegroundStyle needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1388
|
+
#endif
|
|
1389
|
+
#if ONE_GROUP_STORE
|
|
1098
1390
|
case "subscriptionStoreSignInAction": view = AnyView(view.oneNativeSDKSubscriptionStoreSignInAction(value, emit: emit))
|
|
1391
|
+
#else
|
|
1392
|
+
case "subscriptionStoreSignInAction": preconditionFailure("modifier subscriptionStoreSignInAction needs the store feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1393
|
+
#endif
|
|
1099
1394
|
case "swipeActionsContainer": view = AnyView(view.oneNativeSDKSwipeActionsContainer(value, emit: emit))
|
|
1100
1395
|
case "symbolColorRenderingMode": view = AnyView(view.oneNativeSDKSymbolColorRenderingMode(value, emit: emit))
|
|
1101
1396
|
case "symbolEffect": view = AnyView(view.oneNativeSDKSymbolEffect(value, emit: emit))
|
|
@@ -1167,7 +1462,11 @@ extension View {
|
|
|
1167
1462
|
case "underline": view = AnyView(view.oneNativeSDKUnderline(value, emit: emit))
|
|
1168
1463
|
case "unredacted": view = AnyView(view.oneNativeSDKUnredacted(value, emit: emit))
|
|
1169
1464
|
case "userActivity": view = AnyView(view.oneNativeSDKUserActivity(value, emit: emit))
|
|
1465
|
+
#if ONE_GROUP_WALLET
|
|
1170
1466
|
case "verifyIdentityWithWalletButtonStyle": view = AnyView(view.oneNativeSDKVerifyIdentityWithWalletButtonStyle(value, emit: emit))
|
|
1467
|
+
#else
|
|
1468
|
+
case "verifyIdentityWithWalletButtonStyle": preconditionFailure("modifier verifyIdentityWithWalletButtonStyle needs the wallet feature group, which this build compiled out; run one prebuild --platform ios and rebuild")
|
|
1469
|
+
#endif
|
|
1171
1470
|
case "visualEffect": view = AnyView(view.oneNativeSDKVisualEffect(value, emit: emit))
|
|
1172
1471
|
case "webViewBackForwardNavigationGestures": view = AnyView(view.oneNativeSDKWebViewBackForwardNavigationGestures(value, emit: emit))
|
|
1173
1472
|
case "webViewContentBackground": view = AnyView(view.oneNativeSDKWebViewContentBackground(value, emit: emit))
|
|
@@ -2164,6 +2463,7 @@ extension View {
|
|
|
2164
2463
|
self.actionSheet(isPresented: argument0, content: { SwiftUI.ActionSheet(title: argument1) })
|
|
2165
2464
|
}
|
|
2166
2465
|
|
|
2466
|
+
#if ONE_GROUP_WALLET
|
|
2167
2467
|
@ViewBuilder fileprivate func oneNativeSDKAddPassToWalletButtonStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2168
2468
|
switch value {
|
|
2169
2469
|
|
|
@@ -2172,6 +2472,7 @@ extension View {
|
|
|
2172
2472
|
default: let _ = preconditionFailure("invalid addPassToWalletButtonStyle: \(value)")
|
|
2173
2473
|
}
|
|
2174
2474
|
}
|
|
2475
|
+
#endif
|
|
2175
2476
|
|
|
2176
2477
|
@ViewBuilder fileprivate func oneNativeSDKAlert(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2177
2478
|
let values: [String?] = {
|
|
@@ -2327,6 +2628,7 @@ extension View {
|
|
|
2327
2628
|
} else { self }
|
|
2328
2629
|
}
|
|
2329
2630
|
|
|
2631
|
+
#if ONE_GROUP_STORE
|
|
2330
2632
|
@ViewBuilder fileprivate func oneNativeSDKAppStoreMerchandising(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2331
2633
|
if #available(iOS 26, *) {
|
|
2332
2634
|
let values: [String?] = {
|
|
@@ -2346,7 +2648,9 @@ extension View {
|
|
|
2346
2648
|
self.appStoreMerchandising(isPresented: argument0, kind: argument1)
|
|
2347
2649
|
} else { self }
|
|
2348
2650
|
}
|
|
2651
|
+
#endif
|
|
2349
2652
|
|
|
2653
|
+
#if ONE_GROUP_STORE
|
|
2350
2654
|
@ViewBuilder fileprivate func oneNativeSDKAppStoreOverlayWithAppClipConfiguration(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2351
2655
|
let values: [String?] = {
|
|
2352
2656
|
guard let data = value.data(using: .utf8),
|
|
@@ -2368,7 +2672,9 @@ extension View {
|
|
|
2368
2672
|
}()
|
|
2369
2673
|
self.appStoreOverlay(isPresented: argument0, configuration: { StoreKit.SKOverlay.AppClipConfiguration(position: argument1) })
|
|
2370
2674
|
}
|
|
2675
|
+
#endif
|
|
2371
2676
|
|
|
2677
|
+
#if ONE_GROUP_STORE
|
|
2372
2678
|
@ViewBuilder fileprivate func oneNativeSDKAppStoreOverlayWithAppConfiguration(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2373
2679
|
let values: [String?] = {
|
|
2374
2680
|
guard let data = value.data(using: .utf8),
|
|
@@ -2394,6 +2700,7 @@ extension View {
|
|
|
2394
2700
|
}()
|
|
2395
2701
|
self.appStoreOverlay(isPresented: argument0, configuration: { StoreKit.SKOverlay.AppConfiguration(appIdentifier: argument1, position: argument2) })
|
|
2396
2702
|
}
|
|
2703
|
+
#endif
|
|
2397
2704
|
|
|
2398
2705
|
@ViewBuilder fileprivate func oneNativeSDKAspectRatio(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
2399
2706
|
let values: [String?] = {
|
|
@@ -3072,6 +3379,7 @@ self
|
|
|
3072
3379
|
self.cornerRadius(argument0, antialiased: argument1)
|
|
3073
3380
|
}
|
|
3074
3381
|
|
|
3382
|
+
#if ONE_GROUP_STORE
|
|
3075
3383
|
@ViewBuilder fileprivate func oneNativeSDKCurrentEntitlementTask(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
3076
3384
|
let decoded: [String] = {
|
|
3077
3385
|
guard let data = value.data(using: .utf8),
|
|
@@ -3099,6 +3407,7 @@ self
|
|
|
3099
3407
|
await OneNativeAsyncAction.wait(name: "currentEntitlementTask", value: encoded, emit: emit)
|
|
3100
3408
|
})
|
|
3101
3409
|
}
|
|
3410
|
+
#endif
|
|
3102
3411
|
|
|
3103
3412
|
@ViewBuilder fileprivate func oneNativeSDKCuttable(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
3104
3413
|
|
|
@@ -3927,6 +4236,7 @@ self
|
|
|
3927
4236
|
} else { self }
|
|
3928
4237
|
}
|
|
3929
4238
|
|
|
4239
|
+
#if ONE_GROUP_PREVIEW3D
|
|
3930
4240
|
@ViewBuilder fileprivate func oneNativeSDKEnvironmentRealityViewCameraControls(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
3931
4241
|
switch value {
|
|
3932
4242
|
|
|
@@ -3938,6 +4248,7 @@ self
|
|
|
3938
4248
|
default: let _ = preconditionFailure("invalid environmentRealityViewCameraControls: \(value)")
|
|
3939
4249
|
}
|
|
3940
4250
|
}
|
|
4251
|
+
#endif
|
|
3941
4252
|
|
|
3942
4253
|
@ViewBuilder fileprivate func oneNativeSDKEnvironmentRedactionReasons(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
3943
4254
|
switch value {
|
|
@@ -5222,6 +5533,7 @@ self
|
|
|
5222
5533
|
}
|
|
5223
5534
|
}
|
|
5224
5535
|
|
|
5536
|
+
#if ONE_GROUP_STORE
|
|
5225
5537
|
@ViewBuilder fileprivate func oneNativeSDKInAppPurchaseOptions(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
5226
5538
|
let decoded: [String: String] = {
|
|
5227
5539
|
guard let data = value.data(using: .utf8),
|
|
@@ -5246,6 +5558,7 @@ self
|
|
|
5246
5558
|
}()
|
|
5247
5559
|
self.inAppPurchaseOptions({ _ in Set(options) })
|
|
5248
5560
|
}
|
|
5561
|
+
#endif
|
|
5249
5562
|
|
|
5250
5563
|
@ViewBuilder fileprivate func oneNativeSDKIndexViewStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
5251
5564
|
switch value {
|
|
@@ -5983,11 +6296,14 @@ self
|
|
|
5983
6296
|
if value == "true" { self.luminanceToAlpha() } else { self }
|
|
5984
6297
|
}
|
|
5985
6298
|
|
|
6299
|
+
#if ONE_GROUP_STORE
|
|
5986
6300
|
@ViewBuilder fileprivate func oneNativeSDKManageSubscriptionsSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
5987
6301
|
let _ = precondition(value == "true" || value == "false", "invalid manageSubscriptionsSheet: \(value)")
|
|
5988
6302
|
self.manageSubscriptionsSheet(isPresented: Binding(get: { value == "true" }, set: { emit("manageSubscriptionsSheet", String($0)) }))
|
|
5989
6303
|
}
|
|
6304
|
+
#endif
|
|
5990
6305
|
|
|
6306
|
+
#if ONE_GROUP_STORE
|
|
5991
6307
|
@ViewBuilder fileprivate func oneNativeSDKManageSubscriptionsSheetWithIsPresentedAndSubscriptionGroupID(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
5992
6308
|
let values: [String?] = {
|
|
5993
6309
|
guard let data = value.data(using: .utf8),
|
|
@@ -6005,6 +6321,7 @@ self
|
|
|
6005
6321
|
}()
|
|
6006
6322
|
self.manageSubscriptionsSheet(isPresented: argument0, subscriptionGroupID: argument1)
|
|
6007
6323
|
}
|
|
6324
|
+
#endif
|
|
6008
6325
|
|
|
6009
6326
|
@ViewBuilder fileprivate func oneNativeSDKMapCameraKeyframeAnimator(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6010
6327
|
let config: OneNativeSDKSeedKeyframeAnimation = {
|
|
@@ -6319,6 +6636,7 @@ self
|
|
|
6319
6636
|
}
|
|
6320
6637
|
}
|
|
6321
6638
|
|
|
6639
|
+
#if ONE_GROUP_PREVIEW3D
|
|
6322
6640
|
@ViewBuilder fileprivate func oneNativeSDKMusicPickerWithMusicVideo(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6323
6641
|
let (presented, title): (Bool, String?) = {
|
|
6324
6642
|
guard let data = value.data(using: .utf8),
|
|
@@ -6338,7 +6656,9 @@ self
|
|
|
6338
6656
|
#endif
|
|
6339
6657
|
|
|
6340
6658
|
}
|
|
6659
|
+
#endif
|
|
6341
6660
|
|
|
6661
|
+
#if ONE_GROUP_PREVIEW3D
|
|
6342
6662
|
@ViewBuilder fileprivate func oneNativeSDKMusicPickerWithSong(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6343
6663
|
let (presented, title): (Bool, String?) = {
|
|
6344
6664
|
guard let data = value.data(using: .utf8),
|
|
@@ -6358,7 +6678,9 @@ self
|
|
|
6358
6678
|
#endif
|
|
6359
6679
|
|
|
6360
6680
|
}
|
|
6681
|
+
#endif
|
|
6361
6682
|
|
|
6683
|
+
#if ONE_GROUP_PREVIEW3D
|
|
6362
6684
|
@ViewBuilder fileprivate func oneNativeSDKMusicPickerWithTrack(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6363
6685
|
let (presented, title): (Bool, String?) = {
|
|
6364
6686
|
guard let data = value.data(using: .utf8),
|
|
@@ -6378,11 +6700,14 @@ self
|
|
|
6378
6700
|
#endif
|
|
6379
6701
|
|
|
6380
6702
|
}
|
|
6703
|
+
#endif
|
|
6381
6704
|
|
|
6705
|
+
#if ONE_GROUP_PREVIEW3D
|
|
6382
6706
|
@ViewBuilder fileprivate func oneNativeSDKMusicSubscriptionOffer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6383
6707
|
let _ = precondition(value == "true" || value == "false", "invalid musicSubscriptionOffer: \(value)")
|
|
6384
6708
|
self.musicSubscriptionOffer(isPresented: Binding(get: { value == "true" }, set: { emit("musicSubscriptionOffer", String($0)) }), options: .default, onLoadCompletion: { _ in })
|
|
6385
6709
|
}
|
|
6710
|
+
#endif
|
|
6386
6711
|
|
|
6387
6712
|
@ViewBuilder fileprivate func oneNativeSDKNavigationBarBackButtonHidden(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6388
6713
|
let _ = precondition(value == "true" || value == "false", "invalid navigationBarBackButtonHidden: \(value)")
|
|
@@ -6523,10 +6848,12 @@ self
|
|
|
6523
6848
|
}
|
|
6524
6849
|
}
|
|
6525
6850
|
|
|
6851
|
+
#if ONE_GROUP_STORE
|
|
6526
6852
|
@ViewBuilder fileprivate func oneNativeSDKOfferCodeRedemption(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6527
6853
|
let _ = precondition(value == "true" || value == "false", "invalid offerCodeRedemption: \(value)")
|
|
6528
6854
|
self.offerCodeRedemption(isPresented: Binding(get: { value == "true" }, set: { emit("offerCodeRedemption", String($0)) }), onCompletion: { _ in })
|
|
6529
6855
|
}
|
|
6856
|
+
#endif
|
|
6530
6857
|
|
|
6531
6858
|
@ViewBuilder fileprivate func oneNativeSDKOffset(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6532
6859
|
let values: [String?] = {
|
|
@@ -6565,6 +6892,7 @@ self
|
|
|
6565
6892
|
} else { self }
|
|
6566
6893
|
}
|
|
6567
6894
|
|
|
6895
|
+
#if ONE_GROUP_WALLET
|
|
6568
6896
|
@ViewBuilder fileprivate func oneNativeSDKOnApplePayCouponCodeChange(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6569
6897
|
if #available(iOS 15.5, *) {
|
|
6570
6898
|
let registered: OneNativeRegisteredModifier = {
|
|
@@ -6577,7 +6905,9 @@ self
|
|
|
6577
6905
|
registered.apply(AnyView(self))
|
|
6578
6906
|
} else { self }
|
|
6579
6907
|
}
|
|
6908
|
+
#endif
|
|
6580
6909
|
|
|
6910
|
+
#if ONE_GROUP_WALLET
|
|
6581
6911
|
@ViewBuilder fileprivate func oneNativeSDKOnApplePayPaymentMethodChange(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6582
6912
|
if #available(iOS 15.5, *) {
|
|
6583
6913
|
let registered: OneNativeRegisteredModifier = {
|
|
@@ -6590,7 +6920,9 @@ self
|
|
|
6590
6920
|
registered.apply(AnyView(self))
|
|
6591
6921
|
} else { self }
|
|
6592
6922
|
}
|
|
6923
|
+
#endif
|
|
6593
6924
|
|
|
6925
|
+
#if ONE_GROUP_WALLET
|
|
6594
6926
|
@ViewBuilder fileprivate func oneNativeSDKOnApplePayShippingContactChange(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6595
6927
|
if #available(iOS 15.5, *) {
|
|
6596
6928
|
let registered: OneNativeRegisteredModifier = {
|
|
@@ -6603,7 +6935,9 @@ self
|
|
|
6603
6935
|
registered.apply(AnyView(self))
|
|
6604
6936
|
} else { self }
|
|
6605
6937
|
}
|
|
6938
|
+
#endif
|
|
6606
6939
|
|
|
6940
|
+
#if ONE_GROUP_WALLET
|
|
6607
6941
|
@ViewBuilder fileprivate func oneNativeSDKOnApplePayShippingMethodChange(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6608
6942
|
if #available(iOS 15.5, *) {
|
|
6609
6943
|
let registered: OneNativeRegisteredModifier = {
|
|
@@ -6616,6 +6950,7 @@ self
|
|
|
6616
6950
|
registered.apply(AnyView(self))
|
|
6617
6951
|
} else { self }
|
|
6618
6952
|
}
|
|
6953
|
+
#endif
|
|
6619
6954
|
|
|
6620
6955
|
@ViewBuilder fileprivate func oneNativeSDKOnCameraCaptureEvent(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6621
6956
|
if #available(iOS 18, *) { self.onCameraCaptureEvent(isEnabled: true, action: { item in
|
|
@@ -6802,6 +7137,7 @@ self
|
|
|
6802
7137
|
self.onHover(perform: { value in emit("onHover", String(value)) })
|
|
6803
7138
|
}
|
|
6804
7139
|
|
|
7140
|
+
#if ONE_GROUP_STORE
|
|
6805
7141
|
@ViewBuilder fileprivate func oneNativeSDKOnInAppPurchaseCompletion(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6806
7142
|
self.onInAppPurchaseCompletion(perform: { first, result in
|
|
6807
7143
|
let payload = (["value": (["id": first.id, "type": (["rawValue": first.type.rawValue] as [String: Any]), "displayName": first.displayName, "description": first.description, "displayPrice": first.displayPrice, "isFamilyShareable": first.isFamilyShareable] as [String: Any]), "result": ({ () -> [String: Any] in
|
|
@@ -6827,7 +7163,9 @@ self
|
|
|
6827
7163
|
await OneNativeAsyncAction.wait(name: "onInAppPurchaseCompletion", value: encoded, emit: emit)
|
|
6828
7164
|
})
|
|
6829
7165
|
}
|
|
7166
|
+
#endif
|
|
6830
7167
|
|
|
7168
|
+
#if ONE_GROUP_STORE
|
|
6831
7169
|
@ViewBuilder fileprivate func oneNativeSDKOnInAppPurchaseStart(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6832
7170
|
self.onInAppPurchaseStart(perform: { item in
|
|
6833
7171
|
let payload = (["id": item.id, "type": (["rawValue": item.type.rawValue] as [String: Any]), "displayName": item.displayName, "description": item.description, "displayPrice": item.displayPrice, "isFamilyShareable": item.isFamilyShareable] as [String: Any])
|
|
@@ -6836,6 +7174,7 @@ self
|
|
|
6836
7174
|
await OneNativeAsyncAction.wait(name: "onInAppPurchaseStart", value: encoded, emit: emit)
|
|
6837
7175
|
})
|
|
6838
7176
|
}
|
|
7177
|
+
#endif
|
|
6839
7178
|
|
|
6840
7179
|
@ViewBuilder fileprivate func oneNativeSDKOnInteractiveResizeChange(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
6841
7180
|
if #available(iOS 26, *) { self.onInteractiveResizeChange({ value in emit("onInteractiveResizeChange", String(value)) }) } else { self }
|
|
@@ -7026,6 +7365,7 @@ self
|
|
|
7026
7365
|
|
|
7027
7366
|
}
|
|
7028
7367
|
|
|
7368
|
+
#if ONE_GROUP_WALLET
|
|
7029
7369
|
@ViewBuilder fileprivate func oneNativeSDKPayLaterViewAction(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7030
7370
|
switch value {
|
|
7031
7371
|
|
|
@@ -7034,7 +7374,9 @@ self
|
|
|
7034
7374
|
default: let _ = preconditionFailure("invalid payLaterViewAction: \(value)")
|
|
7035
7375
|
}
|
|
7036
7376
|
}
|
|
7377
|
+
#endif
|
|
7037
7378
|
|
|
7379
|
+
#if ONE_GROUP_WALLET
|
|
7038
7380
|
@ViewBuilder fileprivate func oneNativeSDKPayLaterViewDisplayStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7039
7381
|
switch value {
|
|
7040
7382
|
|
|
@@ -7045,12 +7387,16 @@ self
|
|
|
7045
7387
|
default: let _ = preconditionFailure("invalid payLaterViewDisplayStyle: \(value)")
|
|
7046
7388
|
}
|
|
7047
7389
|
}
|
|
7390
|
+
#endif
|
|
7048
7391
|
|
|
7392
|
+
#if ONE_GROUP_WALLET
|
|
7049
7393
|
@ViewBuilder fileprivate func oneNativeSDKPayWithApplePayButtonDisableCardArt(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7050
7394
|
let _ = precondition(value == "true" || value == "false", "invalid payWithApplePayButtonDisableCardArt: \(value)")
|
|
7051
7395
|
if value == "true" { if #available(iOS 26, *) { self.payWithApplePayButtonDisableCardArt() } else { self } } else { self }
|
|
7052
7396
|
}
|
|
7397
|
+
#endif
|
|
7053
7398
|
|
|
7399
|
+
#if ONE_GROUP_WALLET
|
|
7054
7400
|
@ViewBuilder fileprivate func oneNativeSDKPayWithApplePayButtonStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7055
7401
|
switch value {
|
|
7056
7402
|
|
|
@@ -7061,6 +7407,7 @@ self
|
|
|
7061
7407
|
default: let _ = preconditionFailure("invalid payWithApplePayButtonStyle: \(value)")
|
|
7062
7408
|
}
|
|
7063
7409
|
}
|
|
7410
|
+
#endif
|
|
7064
7411
|
|
|
7065
7412
|
@ViewBuilder fileprivate func oneNativeSDKPersistentSystemOverlays(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7066
7413
|
switch value {
|
|
@@ -7087,6 +7434,7 @@ self
|
|
|
7087
7434
|
} animation: { _ in .easeInOut(duration: config.duration) }
|
|
7088
7435
|
}
|
|
7089
7436
|
|
|
7437
|
+
#if ONE_GROUP_PHOTOS
|
|
7090
7438
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPicker(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7091
7439
|
let _ = precondition(value == "true" || value == "false", "invalid photosPicker presentation")
|
|
7092
7440
|
if #available(iOS 16, *) {
|
|
@@ -7094,7 +7442,9 @@ if #available(iOS 16, *) {
|
|
|
7094
7442
|
presented: value == "true", emit: emit))
|
|
7095
7443
|
} else { self }
|
|
7096
7444
|
}
|
|
7445
|
+
#endif
|
|
7097
7446
|
|
|
7447
|
+
#if ONE_GROUP_PHOTOS
|
|
7098
7448
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPickerAccessoryVisibility(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7099
7449
|
let values: [String?] = {
|
|
7100
7450
|
guard let data = value.data(using: .utf8),
|
|
@@ -7126,7 +7476,9 @@ if #available(iOS 16, *) {
|
|
|
7126
7476
|
}()
|
|
7127
7477
|
self.photosPickerAccessoryVisibility(argument0, edges: argument1)
|
|
7128
7478
|
}
|
|
7479
|
+
#endif
|
|
7129
7480
|
|
|
7481
|
+
#if ONE_GROUP_PHOTOS
|
|
7130
7482
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPickerDisabledCapabilities(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7131
7483
|
switch value {
|
|
7132
7484
|
|
|
@@ -7138,7 +7490,9 @@ if #available(iOS 16, *) {
|
|
|
7138
7490
|
default: let _ = preconditionFailure("invalid photosPickerDisabledCapabilities: \(value)")
|
|
7139
7491
|
}
|
|
7140
7492
|
}
|
|
7493
|
+
#endif
|
|
7141
7494
|
|
|
7495
|
+
#if ONE_GROUP_PHOTOS
|
|
7142
7496
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPickerMetadataOptions(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7143
7497
|
switch value {
|
|
7144
7498
|
|
|
@@ -7159,7 +7513,9 @@ self
|
|
|
7159
7513
|
default: let _ = preconditionFailure("invalid photosPickerMetadataOptions: \(value)")
|
|
7160
7514
|
}
|
|
7161
7515
|
}
|
|
7516
|
+
#endif
|
|
7162
7517
|
|
|
7518
|
+
#if ONE_GROUP_PHOTOS
|
|
7163
7519
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPickerSearchText(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7164
7520
|
if value == "null" {
|
|
7165
7521
|
#if ONE_IOS_27_SDK
|
|
@@ -7177,7 +7533,9 @@ self
|
|
|
7177
7533
|
|
|
7178
7534
|
} else { preconditionFailure("invalid photosPickerSearchText: \(value)") } }
|
|
7179
7535
|
}
|
|
7536
|
+
#endif
|
|
7180
7537
|
|
|
7538
|
+
#if ONE_GROUP_PHOTOS
|
|
7181
7539
|
@ViewBuilder fileprivate func oneNativeSDKPhotosPickerStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7182
7540
|
switch value {
|
|
7183
7541
|
|
|
@@ -7187,7 +7545,9 @@ self
|
|
|
7187
7545
|
default: let _ = preconditionFailure("invalid photosPickerStyle: \(value)")
|
|
7188
7546
|
}
|
|
7189
7547
|
}
|
|
7548
|
+
#endif
|
|
7190
7549
|
|
|
7550
|
+
#if ONE_GROUP_PHOTOS
|
|
7191
7551
|
@ViewBuilder fileprivate func oneNativeSDKPhotosReferenceImageViewer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7192
7552
|
|
|
7193
7553
|
#if ONE_IOS_27_SDK
|
|
@@ -7230,7 +7590,9 @@ self
|
|
|
7230
7590
|
#endif
|
|
7231
7591
|
|
|
7232
7592
|
}
|
|
7593
|
+
#endif
|
|
7233
7594
|
|
|
7595
|
+
#if ONE_GROUP_PHOTOS
|
|
7234
7596
|
@ViewBuilder fileprivate func oneNativeSDKPhotosSharedAlbumCreationSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7235
7597
|
|
|
7236
7598
|
#if ONE_IOS_27_SDK
|
|
@@ -7252,7 +7614,9 @@ self
|
|
|
7252
7614
|
#endif
|
|
7253
7615
|
|
|
7254
7616
|
}
|
|
7617
|
+
#endif
|
|
7255
7618
|
|
|
7619
|
+
#if ONE_GROUP_PHOTOS
|
|
7256
7620
|
@ViewBuilder fileprivate func oneNativeSDKPhotosSharedAlbumCustomizationSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7257
7621
|
|
|
7258
7622
|
#if ONE_IOS_27_SDK
|
|
@@ -7278,7 +7642,9 @@ self
|
|
|
7278
7642
|
#endif
|
|
7279
7643
|
|
|
7280
7644
|
}
|
|
7645
|
+
#endif
|
|
7281
7646
|
|
|
7647
|
+
#if ONE_GROUP_PHOTOS
|
|
7282
7648
|
@ViewBuilder fileprivate func oneNativeSDKPhotosSharedAlbumPostingSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7283
7649
|
|
|
7284
7650
|
#if ONE_IOS_27_SDK
|
|
@@ -7305,6 +7671,7 @@ self
|
|
|
7305
7671
|
#endif
|
|
7306
7672
|
|
|
7307
7673
|
}
|
|
7674
|
+
#endif
|
|
7308
7675
|
|
|
7309
7676
|
@ViewBuilder fileprivate func oneNativeSDKPickerStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7310
7677
|
switch value {
|
|
@@ -7347,6 +7714,7 @@ self
|
|
|
7347
7714
|
self.position(x: argument0, y: argument1)
|
|
7348
7715
|
}
|
|
7349
7716
|
|
|
7717
|
+
#if ONE_GROUP_PHOTOS
|
|
7350
7718
|
@ViewBuilder fileprivate func oneNativeSDKPostToPhotosSharedAlbumSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7351
7719
|
if #available(iOS 26, *) {
|
|
7352
7720
|
let values: [String?] = {
|
|
@@ -7367,6 +7735,7 @@ self
|
|
|
7367
7735
|
self.postToPhotosSharedAlbumSheet(isPresented: argument0, items: argument1, photoLibrary: Photos.PHPhotoLibrary.shared())
|
|
7368
7736
|
} else { self }
|
|
7369
7737
|
}
|
|
7738
|
+
#endif
|
|
7370
7739
|
|
|
7371
7740
|
@ViewBuilder fileprivate func oneNativeSDKPreferencePreferredColorScheme(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7372
7741
|
switch value {
|
|
@@ -7386,10 +7755,13 @@ self
|
|
|
7386
7755
|
}
|
|
7387
7756
|
}
|
|
7388
7757
|
|
|
7758
|
+
#if ONE_GROUP_STORE
|
|
7389
7759
|
@ViewBuilder fileprivate func oneNativeSDKPreferredSubscriptionOffer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7390
7760
|
if #available(iOS 18, *) { self.preferredSubscriptionOffer({ _, _, eligible in eligible.first { $0.id == value } }) } else { self }
|
|
7391
7761
|
}
|
|
7762
|
+
#endif
|
|
7392
7763
|
|
|
7764
|
+
#if ONE_GROUP_STORE
|
|
7393
7765
|
@ViewBuilder fileprivate func oneNativeSDKPreferredSubscriptionPricingTerms(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7394
7766
|
let selected: Int = {
|
|
7395
7767
|
guard let index = Int(value), index >= 0 else { preconditionFailure("invalid preferredSubscriptionPricingTerms: \(value)") }
|
|
@@ -7397,6 +7769,7 @@ self
|
|
|
7397
7769
|
}()
|
|
7398
7770
|
if #available(iOS 26.4, *) { self.preferredSubscriptionPricingTerms({ _, input in input.pricingTerms.indices.contains(selected) ? input.pricingTerms[selected] : nil }) } else { self }
|
|
7399
7771
|
}
|
|
7772
|
+
#endif
|
|
7400
7773
|
|
|
7401
7774
|
@ViewBuilder fileprivate func oneNativeSDKPresentationBackground(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7402
7775
|
switch value {
|
|
@@ -7649,6 +8022,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7649
8022
|
self.privacySensitive(value == "true")
|
|
7650
8023
|
}
|
|
7651
8024
|
|
|
8025
|
+
#if ONE_GROUP_STORE
|
|
7652
8026
|
@ViewBuilder fileprivate func oneNativeSDKProductDescription(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7653
8027
|
switch value {
|
|
7654
8028
|
|
|
@@ -7658,12 +8032,16 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7658
8032
|
default: let _ = preconditionFailure("invalid productDescription: \(value)")
|
|
7659
8033
|
}
|
|
7660
8034
|
}
|
|
8035
|
+
#endif
|
|
7661
8036
|
|
|
8037
|
+
#if ONE_GROUP_STORE
|
|
7662
8038
|
@ViewBuilder fileprivate func oneNativeSDKProductIconBorder(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7663
8039
|
let _ = precondition(value == "true" || value == "false", "invalid productIconBorder: \(value)")
|
|
7664
8040
|
if value == "true" { self.productIconBorder() } else { self }
|
|
7665
8041
|
}
|
|
8042
|
+
#endif
|
|
7666
8043
|
|
|
8044
|
+
#if ONE_GROUP_STORE
|
|
7667
8045
|
@ViewBuilder fileprivate func oneNativeSDKProductViewStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7668
8046
|
switch value {
|
|
7669
8047
|
|
|
@@ -7674,6 +8052,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7674
8052
|
default: let _ = preconditionFailure("invalid productViewStyle: \(value)")
|
|
7675
8053
|
}
|
|
7676
8054
|
}
|
|
8055
|
+
#endif
|
|
7677
8056
|
|
|
7678
8057
|
@ViewBuilder fileprivate func oneNativeSDKProgressViewStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7679
8058
|
switch value {
|
|
@@ -7707,6 +8086,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7707
8086
|
self.projectionEffect(argument0)
|
|
7708
8087
|
}
|
|
7709
8088
|
|
|
8089
|
+
#if ONE_GROUP_PREVIEW3D
|
|
7710
8090
|
@ViewBuilder fileprivate func oneNativeSDKQuickLookPreview(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7711
8091
|
self.quickLookPreview(Binding<Foundation.URL?>(get: {
|
|
7712
8092
|
guard let data = value.data(using: .utf8),
|
|
@@ -7722,7 +8102,9 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7722
8102
|
emit("quickLookPreview", encoded)
|
|
7723
8103
|
}))
|
|
7724
8104
|
}
|
|
8105
|
+
#endif
|
|
7725
8106
|
|
|
8107
|
+
#if ONE_GROUP_PREVIEW3D
|
|
7726
8108
|
@ViewBuilder fileprivate func oneNativeSDKRealityViewCameraControls(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7727
8109
|
switch value {
|
|
7728
8110
|
|
|
@@ -7734,7 +8116,9 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7734
8116
|
default: let _ = preconditionFailure("invalid realityViewCameraControls: \(value)")
|
|
7735
8117
|
}
|
|
7736
8118
|
}
|
|
8119
|
+
#endif
|
|
7737
8120
|
|
|
8121
|
+
#if ONE_GROUP_PREVIEW3D
|
|
7738
8122
|
@ViewBuilder fileprivate func oneNativeSDKRealityViewLayoutBehavior(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7739
8123
|
switch value {
|
|
7740
8124
|
|
|
@@ -7744,6 +8128,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7744
8128
|
default: let _ = preconditionFailure("invalid realityViewLayoutBehavior: \(value)")
|
|
7745
8129
|
}
|
|
7746
8130
|
}
|
|
8131
|
+
#endif
|
|
7747
8132
|
|
|
7748
8133
|
@ViewBuilder fileprivate func oneNativeSDKRedacted(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7749
8134
|
switch value {
|
|
@@ -7759,6 +8144,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7759
8144
|
self.refreshable(action: { await OneNativeAsyncAction.wait(name: "refreshable", emit: emit) })
|
|
7760
8145
|
}
|
|
7761
8146
|
|
|
8147
|
+
#if ONE_GROUP_STORE
|
|
7762
8148
|
@ViewBuilder fileprivate func oneNativeSDKRefundRequestSheet(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7763
8149
|
let values: [String?] = {
|
|
7764
8150
|
guard let data = value.data(using: .utf8),
|
|
@@ -7776,6 +8162,7 @@ if #available(iOS 27, *) { return WidgetKit.WidgetFamily.systemExtraLargePortrai
|
|
|
7776
8162
|
}()
|
|
7777
8163
|
self.refundRequestSheet(for: argument0, isPresented: argument1)
|
|
7778
8164
|
}
|
|
8165
|
+
#endif
|
|
7779
8166
|
|
|
7780
8167
|
@ViewBuilder fileprivate func oneNativeSDKRenameAction(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
7781
8168
|
self.renameAction({ emit("renameAction", "") })
|
|
@@ -8489,6 +8876,7 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8489
8876
|
}
|
|
8490
8877
|
}
|
|
8491
8878
|
|
|
8879
|
+
#if ONE_GROUP_ACCOUNT
|
|
8492
8880
|
@ViewBuilder fileprivate func oneNativeSDKSignInWithAppleButtonStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8493
8881
|
switch value {
|
|
8494
8882
|
|
|
@@ -8498,6 +8886,7 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8498
8886
|
default: let _ = preconditionFailure("invalid signInWithAppleButtonStyle: \(value)")
|
|
8499
8887
|
}
|
|
8500
8888
|
}
|
|
8889
|
+
#endif
|
|
8501
8890
|
|
|
8502
8891
|
@ViewBuilder fileprivate func oneNativeSDKSimultaneousGesture(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8503
8892
|
let record = OneNativeSDKRecord(value, "simultaneousGesture")
|
|
@@ -8677,6 +9066,7 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8677
9066
|
self.statusBarHidden(value == "true")
|
|
8678
9067
|
}
|
|
8679
9068
|
|
|
9069
|
+
#if ONE_GROUP_STORE
|
|
8680
9070
|
@ViewBuilder fileprivate func oneNativeSDKStoreButton(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8681
9071
|
let values: [String?] = {
|
|
8682
9072
|
guard let data = value.data(using: .utf8),
|
|
@@ -8706,7 +9096,9 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8706
9096
|
}()
|
|
8707
9097
|
self.storeButton(argument0, for: argument1)
|
|
8708
9098
|
}
|
|
9099
|
+
#endif
|
|
8709
9100
|
|
|
9101
|
+
#if ONE_GROUP_STORE
|
|
8710
9102
|
@ViewBuilder fileprivate func oneNativeSDKStoreProductsTask(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8711
9103
|
let decoded: [String] = {
|
|
8712
9104
|
guard let data = value.data(using: .utf8),
|
|
@@ -8733,7 +9125,9 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8733
9125
|
await OneNativeAsyncAction.wait(name: "storeProductsTask", value: encoded, emit: emit)
|
|
8734
9126
|
})
|
|
8735
9127
|
}
|
|
9128
|
+
#endif
|
|
8736
9129
|
|
|
9130
|
+
#if ONE_GROUP_STORE
|
|
8737
9131
|
@ViewBuilder fileprivate func oneNativeSDKStoreProductTask(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8738
9132
|
let decoded: [String] = {
|
|
8739
9133
|
guard let data = value.data(using: .utf8),
|
|
@@ -8757,6 +9151,7 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8757
9151
|
await OneNativeAsyncAction.wait(name: "storeProductTask", value: encoded, emit: emit)
|
|
8758
9152
|
})
|
|
8759
9153
|
}
|
|
9154
|
+
#endif
|
|
8760
9155
|
|
|
8761
9156
|
@ViewBuilder fileprivate func oneNativeSDKStrikethrough(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8762
9157
|
let values: [String?] = {
|
|
@@ -8830,6 +9225,7 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8830
9225
|
self.submitScope(value == "true")
|
|
8831
9226
|
}
|
|
8832
9227
|
|
|
9228
|
+
#if ONE_GROUP_STORE
|
|
8833
9229
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionIntroductoryOffer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8834
9230
|
let enabled: Bool = {
|
|
8835
9231
|
guard value == "true" || value == "false" else { preconditionFailure("invalid subscriptionIntroductoryOffer: \(value)") }
|
|
@@ -8842,7 +9238,9 @@ if #available(iOS 17.5, *) { return SwiftUI.SensoryFeedback.pathComplete }
|
|
|
8842
9238
|
return try await OneNativeAsyncAction.waitForString(name: "subscriptionIntroductoryOffer", value: encoded, emit: emit)
|
|
8843
9239
|
}) } else { self }
|
|
8844
9240
|
}
|
|
9241
|
+
#endif
|
|
8845
9242
|
|
|
9243
|
+
#if ONE_GROUP_STORE
|
|
8846
9244
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionOfferViewButtonVisibility(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8847
9245
|
if #available(iOS 26, *) {
|
|
8848
9246
|
let values: [String?] = {
|
|
@@ -8872,11 +9270,15 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8872
9270
|
self.subscriptionOfferViewButtonVisibility(argument0, for: argument1)
|
|
8873
9271
|
} else { self }
|
|
8874
9272
|
}
|
|
9273
|
+
#endif
|
|
8875
9274
|
|
|
9275
|
+
#if ONE_GROUP_STORE
|
|
8876
9276
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionOfferViewDetailAction(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8877
9277
|
if #available(iOS 26, *) { self.subscriptionOfferViewDetailAction({ emit("subscriptionOfferViewDetailAction", "") }) } else { self }
|
|
8878
9278
|
}
|
|
9279
|
+
#endif
|
|
8879
9280
|
|
|
9281
|
+
#if ONE_GROUP_STORE
|
|
8880
9282
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionOfferViewStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8881
9283
|
switch value {
|
|
8882
9284
|
|
|
@@ -8885,7 +9287,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8885
9287
|
default: let _ = preconditionFailure("invalid subscriptionOfferViewStyle: \(value)")
|
|
8886
9288
|
}
|
|
8887
9289
|
}
|
|
9290
|
+
#endif
|
|
8888
9291
|
|
|
9292
|
+
#if ONE_GROUP_STORE
|
|
8889
9293
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionPromotionalOffer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8890
9294
|
let selected = value
|
|
8891
9295
|
if #available(iOS 26, *) { self.subscriptionPromotionalOffer(offer: { product, subscriptionInfo in subscriptionInfo.promotionalOffers.first { $0.id == selected } }, compactJWS: { product, subscriptionInfo, promotionalOffer in
|
|
@@ -8895,7 +9299,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8895
9299
|
return try await OneNativeAsyncAction.waitForString(name: "subscriptionPromotionalOffer", value: encoded, emit: emit)
|
|
8896
9300
|
}) } else { self }
|
|
8897
9301
|
}
|
|
9302
|
+
#endif
|
|
8898
9303
|
|
|
9304
|
+
#if ONE_GROUP_STORE
|
|
8899
9305
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStatusTask(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8900
9306
|
let decoded: [String] = {
|
|
8901
9307
|
guard let data = value.data(using: .utf8),
|
|
@@ -8928,7 +9334,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8928
9334
|
await OneNativeAsyncAction.wait(name: "subscriptionStatusTask", value: encoded, emit: emit)
|
|
8929
9335
|
})
|
|
8930
9336
|
}
|
|
9337
|
+
#endif
|
|
8931
9338
|
|
|
9339
|
+
#if ONE_GROUP_STORE
|
|
8932
9340
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStoreButtonLabel(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8933
9341
|
switch value {
|
|
8934
9342
|
|
|
@@ -8941,7 +9349,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8941
9349
|
default: let _ = preconditionFailure("invalid subscriptionStoreButtonLabel: \(value)")
|
|
8942
9350
|
}
|
|
8943
9351
|
}
|
|
9352
|
+
#endif
|
|
8944
9353
|
|
|
9354
|
+
#if ONE_GROUP_STORE
|
|
8945
9355
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStoreControlBackground(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8946
9356
|
switch value {
|
|
8947
9357
|
|
|
@@ -8951,7 +9361,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8951
9361
|
default: let _ = preconditionFailure("invalid subscriptionStoreControlBackground: \(value)")
|
|
8952
9362
|
}
|
|
8953
9363
|
}
|
|
9364
|
+
#endif
|
|
8954
9365
|
|
|
9366
|
+
#if ONE_GROUP_STORE
|
|
8955
9367
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStoreControlStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8956
9368
|
switch value {
|
|
8957
9369
|
|
|
@@ -8965,7 +9377,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8965
9377
|
default: let _ = preconditionFailure("invalid subscriptionStoreControlStyle: \(value)")
|
|
8966
9378
|
}
|
|
8967
9379
|
}
|
|
9380
|
+
#endif
|
|
8968
9381
|
|
|
9382
|
+
#if ONE_GROUP_STORE
|
|
8969
9383
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStoreOptionGroupStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8970
9384
|
switch value {
|
|
8971
9385
|
|
|
@@ -8975,7 +9389,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
8975
9389
|
default: let _ = preconditionFailure("invalid subscriptionStoreOptionGroupStyle: \(value)")
|
|
8976
9390
|
}
|
|
8977
9391
|
}
|
|
9392
|
+
#endif
|
|
8978
9393
|
|
|
9394
|
+
#if ONE_GROUP_STORE
|
|
8979
9395
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStorePickerItemBackground(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
8980
9396
|
switch value {
|
|
8981
9397
|
|
|
@@ -9018,7 +9434,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
9018
9434
|
default: let _ = preconditionFailure("invalid subscriptionStorePickerItemBackground: \(value)")
|
|
9019
9435
|
}
|
|
9020
9436
|
}
|
|
9437
|
+
#endif
|
|
9021
9438
|
|
|
9439
|
+
#if ONE_GROUP_STORE
|
|
9022
9440
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStorePolicyDestination(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
9023
9441
|
let values: [String?] = {
|
|
9024
9442
|
guard let data = value.data(using: .utf8),
|
|
@@ -9041,7 +9459,9 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
9041
9459
|
}()
|
|
9042
9460
|
self.subscriptionStorePolicyDestination(url: argument0, for: argument1)
|
|
9043
9461
|
}
|
|
9462
|
+
#endif
|
|
9044
9463
|
|
|
9464
|
+
#if ONE_GROUP_STORE
|
|
9045
9465
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStorePolicyForegroundStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
9046
9466
|
switch value {
|
|
9047
9467
|
|
|
@@ -9084,10 +9504,13 @@ if #available(iOS 26, *) { return _StoreKit_SwiftUI.SubscriptionOfferViewButtonK
|
|
|
9084
9504
|
default: let _ = preconditionFailure("invalid subscriptionStorePolicyForegroundStyle: \(value)")
|
|
9085
9505
|
}
|
|
9086
9506
|
}
|
|
9507
|
+
#endif
|
|
9087
9508
|
|
|
9509
|
+
#if ONE_GROUP_STORE
|
|
9088
9510
|
@ViewBuilder fileprivate func oneNativeSDKSubscriptionStoreSignInAction(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
9089
9511
|
self.subscriptionStoreSignInAction({ emit("subscriptionStoreSignInAction", "") })
|
|
9090
9512
|
}
|
|
9513
|
+
#endif
|
|
9091
9514
|
|
|
9092
9515
|
@ViewBuilder fileprivate func oneNativeSDKSwipeActionsContainer(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
9093
9516
|
let _ = precondition(value == "true" || value == "false", "invalid swipeActionsContainer: \(value)")
|
|
@@ -10345,6 +10768,7 @@ self
|
|
|
10345
10768
|
self.userActivity(argument0, isActive: argument1, argument2)
|
|
10346
10769
|
}
|
|
10347
10770
|
|
|
10771
|
+
#if ONE_GROUP_WALLET
|
|
10348
10772
|
@ViewBuilder fileprivate func oneNativeSDKVerifyIdentityWithWalletButtonStyle(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
10349
10773
|
switch value {
|
|
10350
10774
|
|
|
@@ -10353,6 +10777,7 @@ self
|
|
|
10353
10777
|
default: let _ = preconditionFailure("invalid verifyIdentityWithWalletButtonStyle: \(value)")
|
|
10354
10778
|
}
|
|
10355
10779
|
}
|
|
10780
|
+
#endif
|
|
10356
10781
|
|
|
10357
10782
|
@ViewBuilder fileprivate func oneNativeSDKVisualEffect(_ value: String, emit: @escaping (String, String) -> Void) -> some View {
|
|
10358
10783
|
let decoded: [String] = {
|