one 2.19.0 → 2.20.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 +2 -2
- package/android/build.gradle +2 -0
- package/android/portal/CMakeLists.txt +4 -1
- package/android/portal/react/renderer/components/OneNativeSpec/ComponentDescriptors.h +1 -0
- package/android/src/main/java/com/margelo/nitro/one/HybridOneKeyboard.kt +110 -0
- package/android/src/main/java/dev/onejs/keyboard/ClippingScrollViewDecoratorViewManager.kt +44 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardBackgroundViewManager.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardControllerViewManager.kt +85 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardGestureAreaViewManager.kt +65 -0
- package/android/src/main/java/dev/onejs/keyboard/KeyboardToolbarGroupViewManager.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/LICENSE +21 -0
- package/android/src/main/java/dev/onejs/keyboard/OneKeyboardBridge.kt +9 -0
- package/android/src/main/java/dev/onejs/keyboard/OverKeyboardViewManager.kt +49 -0
- package/android/src/main/java/dev/onejs/keyboard/constants/Keyboard.kt +7 -0
- package/android/src/main/java/dev/onejs/keyboard/constants/UIThread.kt +9 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputLayoutChangedEvent.kt +52 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputSelectionChangedEvent.kt +56 -0
- package/android/src/main/java/dev/onejs/keyboard/events/FocusedInputTextChangedEvent.kt +25 -0
- package/android/src/main/java/dev/onejs/keyboard/events/KeyboardTransitionEvent.kt +44 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/Context.kt +58 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/EditText.kt +262 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/Float.kt +8 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ReactContext.kt +37 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ScrollView.kt +65 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/SoftInputMode.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ThemedReactContext.kt +56 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/View.kt +91 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/ViewGroup.kt +10 -0
- package/android/src/main/java/dev/onejs/keyboard/extensions/WindowInsetsAnimationCompat.kt +7 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/InteractiveKeyboardProvider.kt +5 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/KeyboardAnimationController.kt +407 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/Interpolator.kt +20 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/IosInterpolator.kt +21 -0
- package/android/src/main/java/dev/onejs/keyboard/interactive/interpolators/LinearInterpolator.kt +10 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/FocusedInputObserver.kt +200 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/KeyboardAnimationCallback.kt +505 -0
- package/android/src/main/java/dev/onejs/keyboard/listeners/WindowDimensionListener.kt +76 -0
- package/android/src/main/java/dev/onejs/keyboard/log/Logger.kt +28 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/ClippingScrollViewDecoratorViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardBackgroundViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardControllerViewManagerImpl.kt +96 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardGestureAreaViewManagerImpl.kt +41 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/KeyboardToolbarGroupViewManagerImpl.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/managers/OverKeyboardViewManagerImpl.kt +23 -0
- package/android/src/main/java/dev/onejs/keyboard/modal/ModalAttachedWatcher.kt +116 -0
- package/android/src/main/java/dev/onejs/keyboard/modules/KeyboardControllerModuleImpl.kt +139 -0
- package/android/src/main/java/dev/onejs/keyboard/traversal/FocusedInputHolder.kt +19 -0
- package/android/src/main/java/dev/onejs/keyboard/traversal/ViewHierarchyNavigator.kt +130 -0
- package/android/src/main/java/dev/onejs/keyboard/views/ClippingScrollViewDecoratorView.kt +241 -0
- package/android/src/main/java/dev/onejs/keyboard/views/EdgeToEdgeReactViewGroup.kt +225 -0
- package/android/src/main/java/dev/onejs/keyboard/views/KeyboardGestureAreaReactViewGroup.kt +247 -0
- package/android/src/main/java/dev/onejs/keyboard/views/KeyboardToolbarGroupReactViewGroup.kt +13 -0
- package/android/src/main/java/dev/onejs/keyboard/views/background/KeyboardBackgroundViewGroup.kt +34 -0
- package/android/src/main/java/dev/onejs/keyboard/views/background/Skins.kt +91 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/JSPointerDispatcherCompat.kt +74 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/OverKeyboardHostShadowNode.kt +33 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/OverKeyboardViewGroup.kt +249 -0
- package/android/src/main/java/dev/onejs/keyboard/views/overlay/RootViewCompat.kt +18 -0
- package/android/src/main/java/dev/onejs/one/OnePackage.kt +12 -0
- package/android/src/main/res/values/one_keyboard_attrs.xml +7 -0
- package/android/src/main/res/values/one_keyboard_skins.xml +35 -0
- package/android/src/main/res/values-v29/one_keyboard_skins.xml +5 -0
- package/android/src/main/res/values-v30/one_keyboard_skins.xml +17 -0
- package/android/src/main/res/values-v33/one_keyboard_skins.xml +14 -0
- package/android/src/main/res/values-v34/one_keyboard_skins.xml +18 -0
- package/android/src/main/res/values-v35/one_keyboard_skins.xml +10 -0
- package/cpp/OneOverKeyboardViewComponentDescriptor.h +31 -0
- package/cpp/OneOverKeyboardViewShadowNode.cpp +7 -0
- package/cpp/OneOverKeyboardViewShadowNode.h +23 -0
- package/cpp/OneOverKeyboardViewState.cpp +12 -0
- package/cpp/OneOverKeyboardViewState.h +43 -0
- package/dist/cjs/keyboard/animated.cjs +154 -0
- package/dist/cjs/keyboard/animated.native.cjs +168 -0
- package/dist/cjs/keyboard/animated.native.js +170 -0
- package/dist/cjs/keyboard/animated.native.js.map +1 -0
- package/dist/cjs/keyboard/architecture.cjs +25 -0
- package/dist/cjs/keyboard/architecture.native.cjs +27 -0
- package/dist/cjs/keyboard/architecture.native.js +29 -0
- package/dist/cjs/keyboard/architecture.native.js.map +1 -0
- package/dist/cjs/keyboard/bindings.cjs +65 -0
- package/dist/cjs/keyboard/bindings.native.cjs +147 -0
- package/dist/cjs/keyboard/bindings.native.js +149 -0
- package/dist/cjs/keyboard/bindings.native.js.map +1 -0
- package/dist/cjs/keyboard/compat.cjs +63 -0
- package/dist/cjs/keyboard/compat.native.cjs +65 -0
- package/dist/cjs/keyboard/compat.native.js +67 -0
- package/dist/cjs/keyboard/compat.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.cjs +144 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.cjs +146 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.js +148 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.cjs +156 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.cjs +173 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.js +175 -0
- package/dist/cjs/keyboard/components/KeyboardAvoidingView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.cjs +326 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.cjs +344 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.js +346 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.cjs +100 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.cjs +110 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js +112 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.cjs +50 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.cjs +58 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.js +60 -0
- package/dist/cjs/keyboard/components/KeyboardAwareScrollView/utils.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.cjs +25 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.cjs +27 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.js +29 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.cjs +118 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.cjs +133 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.js +135 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.cjs +93 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.cjs +97 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js +99 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.cjs +210 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.cjs +145 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js +147 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.cjs +212 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js +214 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.cjs +52 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.cjs +61 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js +63 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.cjs +92 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.cjs +96 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js +98 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.cjs +53 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.cjs +58 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js +60 -0
- package/dist/cjs/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.cjs +94 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.cjs +99 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.js +101 -0
- package/dist/cjs/keyboard/components/KeyboardEffects/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.cjs +54 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.cjs +59 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.js +61 -0
- package/dist/cjs/keyboard/components/KeyboardStickyView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.cjs +82 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.cjs +99 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.js +101 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Arrow.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.cjs +71 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.cjs +89 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.js +91 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/Button.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.cjs +38 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.cjs +59 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.js +61 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/colors.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.cjs +27 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.cjs +39 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.js +41 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Background.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.cjs +36 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.cjs +46 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.js +48 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Content.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.cjs +75 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.cjs +84 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.js +86 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Done.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.cjs +64 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.cjs +67 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.js +69 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Next.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.cjs +64 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.cjs +68 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js +70 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.cjs +41 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.cjs +43 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.js +45 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/components/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.cjs +36 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.cjs +38 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.js +40 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/compound/context.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.cjs +42 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.cjs +44 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.js +46 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/constants.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.cjs +202 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.cjs +215 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.js +217 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.cjs +17 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.cjs +19 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.js +21 -0
- package/dist/cjs/keyboard/components/KeyboardToolbar/types.native.js.map +1 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.cjs +127 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.cjs +134 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.js +136 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.cjs +30 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.cjs +32 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.js +34 -0
- package/dist/cjs/keyboard/components/ScrollViewWithBottomPadding/styles.native.js.map +1 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.cjs +40 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.cjs +62 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.js +64 -0
- package/dist/cjs/keyboard/components/hooks/useCombinedRef.native.js.map +1 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.cjs +78 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.cjs +81 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.js +83 -0
- package/dist/cjs/keyboard/components/hooks/useScrollState.native.js.map +1 -0
- package/dist/cjs/keyboard/components/index.cjs +44 -0
- package/dist/cjs/keyboard/components/index.native.cjs +46 -0
- package/dist/cjs/keyboard/components/index.native.js +48 -0
- package/dist/cjs/keyboard/components/index.native.js.map +1 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.cjs +33 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.cjs +35 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.js +37 -0
- package/dist/cjs/keyboard/components/utils/safeScrollTo.native.js.map +1 -0
- package/dist/cjs/keyboard/constants.cjs +48 -0
- package/dist/cjs/keyboard/constants.native.cjs +50 -0
- package/dist/cjs/keyboard/constants.native.js +52 -0
- package/dist/cjs/keyboard/constants.native.js.map +1 -0
- package/dist/cjs/keyboard/context.cjs +65 -0
- package/dist/cjs/keyboard/context.native.cjs +73 -0
- package/dist/cjs/keyboard/context.native.js +75 -0
- package/dist/cjs/keyboard/context.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/index.cjs +121 -0
- package/dist/cjs/keyboard/hooks/index.native.cjs +135 -0
- package/dist/cjs/keyboard/hooks/index.native.js +137 -0
- package/dist/cjs/keyboard/hooks/index.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.cjs +44 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.cjs +59 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.js +61 -0
- package/dist/cjs/keyboard/hooks/useKeyboardState/index.native.js.map +1 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.cjs +48 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.cjs +50 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.js +52 -0
- package/dist/cjs/keyboard/hooks/useWindowDimensions/index.native.js.map +1 -0
- package/dist/cjs/keyboard/index.cjs +45 -0
- package/dist/cjs/keyboard/index.native.cjs +47 -0
- package/dist/cjs/keyboard/index.native.js +49 -0
- package/dist/cjs/keyboard/index.native.js.map +1 -0
- package/dist/cjs/keyboard/internal.cjs +77 -0
- package/dist/cjs/keyboard/internal.native.cjs +79 -0
- package/dist/cjs/keyboard/internal.native.js +81 -0
- package/dist/cjs/keyboard/internal.native.js.map +1 -0
- package/dist/cjs/keyboard/module.cjs +72 -0
- package/dist/cjs/keyboard/module.native.cjs +79 -0
- package/dist/cjs/keyboard/module.native.js +81 -0
- package/dist/cjs/keyboard/module.native.js.map +1 -0
- package/dist/cjs/keyboard/reanimated.cjs +36 -0
- package/dist/cjs/keyboard/reanimated.native.cjs +84 -0
- package/dist/cjs/keyboard/reanimated.native.js +86 -0
- package/dist/cjs/keyboard/reanimated.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/hooks.cjs +17 -0
- package/dist/cjs/keyboard/typings/hooks.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/hooks.native.js +21 -0
- package/dist/cjs/keyboard/typings/hooks.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/index.cjs +23 -0
- package/dist/cjs/keyboard/typings/index.native.cjs +25 -0
- package/dist/cjs/keyboard/typings/index.native.js +27 -0
- package/dist/cjs/keyboard/typings/index.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/internal.cjs +17 -0
- package/dist/cjs/keyboard/typings/internal.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/internal.native.js +21 -0
- package/dist/cjs/keyboard/typings/internal.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/module.cjs +17 -0
- package/dist/cjs/keyboard/typings/module.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/module.native.js +21 -0
- package/dist/cjs/keyboard/typings/module.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/provider.cjs +17 -0
- package/dist/cjs/keyboard/typings/provider.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/provider.native.js +21 -0
- package/dist/cjs/keyboard/typings/provider.native.js.map +1 -0
- package/dist/cjs/keyboard/typings/views.cjs +17 -0
- package/dist/cjs/keyboard/typings/views.native.cjs +19 -0
- package/dist/cjs/keyboard/typings/views.native.js +21 -0
- package/dist/cjs/keyboard/typings/views.native.js.map +1 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.cjs +25 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.cjs +27 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.js +29 -0
- package/dist/cjs/keyboard/utils/findNodeHandle/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.cjs +48 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.cjs +50 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.js +52 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.ios.js.map +1 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.cjs +57 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.js +59 -0
- package/dist/cjs/keyboard/views/KeyboardExtender/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.cjs +60 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.cjs +72 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.js +74 -0
- package/dist/cjs/keyboard/views/OverKeyboardView/index.native.js.map +1 -0
- package/dist/cjs/keyboard/views/index.cjs +35 -0
- package/dist/cjs/keyboard/views/index.native.cjs +37 -0
- package/dist/cjs/keyboard/views/index.native.js +39 -0
- package/dist/cjs/keyboard/views/index.native.js.map +1 -0
- package/dist/cjs/keyboard.cjs +19 -0
- package/dist/cjs/keyboard.native.cjs +21 -0
- package/dist/cjs/keyboard.native.js +23 -0
- package/dist/cjs/keyboard.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.cjs +34 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.cjs +34 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js +35 -0
- package/dist/cjs/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.cjs +17 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.cjs +19 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.js +21 -0
- package/dist/cjs/platform/specs/OneKeyboard.nitro.native.js.map +1 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js +31 -0
- package/dist/cjs/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.cjs +79 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.cjs +79 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.js +80 -0
- package/dist/cjs/platform/specs/OneKeyboardControllerViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.cjs +33 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.cjs +33 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.js +34 -0
- package/dist/cjs/platform/specs/OneKeyboardExtenderNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.cjs +36 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.cjs +36 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js +37 -0
- package/dist/cjs/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.cjs +30 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js +31 -0
- package/dist/cjs/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js.map +7 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.cjs +32 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.cjs +32 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.js +33 -0
- package/dist/cjs/platform/specs/OneOverKeyboardViewNativeComponent.native.js.map +7 -0
- package/dist/esm/keyboard/animated.mjs +135 -0
- package/dist/esm/keyboard/animated.mjs.map +1 -0
- package/dist/esm/keyboard/animated.native.js +141 -0
- package/dist/esm/keyboard/animated.native.js.map +1 -0
- package/dist/esm/keyboard/architecture.mjs +5 -0
- package/dist/esm/keyboard/architecture.mjs.map +1 -0
- package/dist/esm/keyboard/architecture.native.js +5 -0
- package/dist/esm/keyboard/architecture.native.js.map +1 -0
- package/dist/esm/keyboard/bindings.mjs +33 -0
- package/dist/esm/keyboard/bindings.mjs.map +1 -0
- package/dist/esm/keyboard/bindings.native.js +107 -0
- package/dist/esm/keyboard/bindings.native.js.map +1 -0
- package/dist/esm/keyboard/compat.mjs +41 -0
- package/dist/esm/keyboard/compat.mjs.map +1 -0
- package/dist/esm/keyboard/compat.native.js +41 -0
- package/dist/esm/keyboard/compat.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.mjs +122 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.native.js +122 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/hooks.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.mjs +131 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.native.js +146 -0
- package/dist/esm/keyboard/components/KeyboardAvoidingView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.mjs +301 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.native.js +317 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.mjs +81 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js +89 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.mjs +27 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.native.js +33 -0
- package/dist/esm/keyboard/components/KeyboardAwareScrollView/utils.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/hooks.mjs +3 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/hooks.native.js +3 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.mjs +92 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.native.js +105 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.mjs +65 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js +67 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js +118 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.mjs +185 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js +185 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.mjs +33 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useEndVisible.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.mjs +73 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js +75 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.mjs +34 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js +37 -0
- package/dist/esm/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.mjs +69 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.native.js +72 -0
- package/dist/esm/keyboard/components/KeyboardEffects/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.mjs +29 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.native.js +32 -0
- package/dist/esm/keyboard/components/KeyboardStickyView/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.mjs +63 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.native.js +72 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Arrow.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.mjs +52 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.native.js +62 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/Button.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.mjs +18 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.native.js +38 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/colors.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.mjs +8 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.native.js +12 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Background.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.mjs +17 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.native.js +19 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Content.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.mjs +50 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.native.js +56 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Done.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.mjs +39 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Next.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.mjs +39 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js +40 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/Prev.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/index.mjs +7 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/index.native.js +7 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/components/types.native.js +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.mjs +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.native.js +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/compound/context.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.mjs +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.native.js +14 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/constants.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.mjs +174 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.native.js +185 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/types.mjs +0 -0
- package/dist/esm/keyboard/components/KeyboardToolbar/types.native.js +0 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.mjs +102 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.mjs.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.native.js +107 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/index.native.js.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.mjs +11 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.mjs.map +1 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.native.js +11 -0
- package/dist/esm/keyboard/components/ScrollViewWithBottomPadding/styles.native.js.map +1 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.mjs +21 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.mjs.map +1 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.native.js +41 -0
- package/dist/esm/keyboard/components/hooks/useCombinedRef.native.js.map +1 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.mjs +59 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.mjs.map +1 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.native.js +60 -0
- package/dist/esm/keyboard/components/hooks/useScrollState.native.js.map +1 -0
- package/dist/esm/keyboard/components/index.mjs +8 -0
- package/dist/esm/keyboard/components/index.native.js +8 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.mjs +14 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.mjs.map +1 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.native.js +14 -0
- package/dist/esm/keyboard/components/utils/safeScrollTo.native.js.map +1 -0
- package/dist/esm/keyboard/constants.mjs +25 -0
- package/dist/esm/keyboard/constants.mjs.map +1 -0
- package/dist/esm/keyboard/constants.native.js +25 -0
- package/dist/esm/keyboard/constants.native.js.map +1 -0
- package/dist/esm/keyboard/context.mjs +43 -0
- package/dist/esm/keyboard/context.mjs.map +1 -0
- package/dist/esm/keyboard/context.native.js +49 -0
- package/dist/esm/keyboard/context.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/index.mjs +94 -0
- package/dist/esm/keyboard/hooks/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/index.native.js +106 -0
- package/dist/esm/keyboard/hooks/index.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.mjs +25 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.native.js +38 -0
- package/dist/esm/keyboard/hooks/useKeyboardState/index.native.js.map +1 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.mjs +29 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.mjs.map +1 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.native.js +29 -0
- package/dist/esm/keyboard/hooks/useWindowDimensions/index.native.js.map +1 -0
- package/dist/esm/keyboard/index.mjs +20 -0
- package/dist/esm/keyboard/index.native.js +20 -0
- package/dist/esm/keyboard/internal.mjs +55 -0
- package/dist/esm/keyboard/internal.mjs.map +1 -0
- package/dist/esm/keyboard/internal.native.js +55 -0
- package/dist/esm/keyboard/internal.native.js.map +1 -0
- package/dist/esm/keyboard/module.mjs +53 -0
- package/dist/esm/keyboard/module.mjs.map +1 -0
- package/dist/esm/keyboard/module.native.js +58 -0
- package/dist/esm/keyboard/module.native.js.map +1 -0
- package/dist/esm/keyboard/reanimated.mjs +9 -0
- package/dist/esm/keyboard/reanimated.mjs.map +1 -0
- package/dist/esm/keyboard/reanimated.native.js +55 -0
- package/dist/esm/keyboard/reanimated.native.js.map +1 -0
- package/dist/esm/keyboard/typings/hooks.mjs +0 -0
- package/dist/esm/keyboard/typings/hooks.native.js +0 -0
- package/dist/esm/keyboard/typings/index.mjs +9 -0
- package/dist/esm/keyboard/typings/index.native.js +9 -0
- package/dist/esm/keyboard/typings/internal.mjs +0 -0
- package/dist/esm/keyboard/typings/internal.native.js +0 -0
- package/dist/esm/keyboard/typings/module.mjs +0 -0
- package/dist/esm/keyboard/typings/module.native.js +0 -0
- package/dist/esm/keyboard/typings/provider.mjs +0 -0
- package/dist/esm/keyboard/typings/provider.native.js +0 -0
- package/dist/esm/keyboard/typings/views.mjs +0 -0
- package/dist/esm/keyboard/typings/views.native.js +0 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.mjs +5 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.mjs.map +1 -0
- package/dist/esm/keyboard/utils/findNodeHandle/index.native.js +3 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.ios.js +23 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.ios.js.map +1 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.mjs +29 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.mjs.map +1 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.native.js +30 -0
- package/dist/esm/keyboard/views/KeyboardExtender/index.native.js.map +1 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.mjs +41 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.mjs.map +1 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.native.js +45 -0
- package/dist/esm/keyboard/views/OverKeyboardView/index.native.js.map +1 -0
- package/dist/esm/keyboard/views/index.mjs +4 -0
- package/dist/esm/keyboard/views/index.native.js +4 -0
- package/dist/esm/keyboard.mjs +1 -0
- package/dist/esm/keyboard.native.js +1 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.mjs +16 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js +16 -0
- package/dist/esm/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboard.nitro.mjs +0 -0
- package/dist/esm/platform/specs/OneKeyboard.nitro.native.js +0 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.mjs +12 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js +12 -0
- package/dist/esm/platform/specs/OneKeyboardBackgroundViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.mjs +61 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.native.js +61 -0
- package/dist/esm/platform/specs/OneKeyboardControllerViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.mjs +15 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.native.js +15 -0
- package/dist/esm/platform/specs/OneKeyboardExtenderNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.mjs +18 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js +18 -0
- package/dist/esm/platform/specs/OneKeyboardGestureAreaNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.mjs +12 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js +12 -0
- package/dist/esm/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.native.js.map +7 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.mjs +14 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.mjs.map +7 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.native.js +14 -0
- package/dist/esm/platform/specs/OneOverKeyboardViewNativeComponent.native.js.map +7 -0
- package/ios/Keyboard/KeyboardBackdropController.swift +57 -0
- package/ios/Keyboard/KeyboardControllerModuleImpl.swift +75 -0
- package/ios/Keyboard/LICENSE +21 -0
- package/ios/Keyboard/OneKeyboardBridge.swift +51 -0
- package/ios/Keyboard/animations/KeyboardAnimation.swift +80 -0
- package/ios/Keyboard/animations/SpringAnimation.swift +75 -0
- package/ios/Keyboard/animations/TimingAnimation.swift +145 -0
- package/ios/Keyboard/core/KeyboardControllerConfiguration.swift +9 -0
- package/ios/Keyboard/core/UIUtils.swift +6 -0
- package/ios/Keyboard/delegates/KCTextInputCompositeDelegate.swift +263 -0
- package/ios/Keyboard/events/KeyboardEventEmitterPayload.swift +16 -0
- package/ios/Keyboard/events/OneKCFocusedInputLayoutChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputLayoutChangedEvent.m +70 -0
- package/ios/Keyboard/events/OneKCFocusedInputSelectionChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputSelectionChangedEvent.m +69 -0
- package/ios/Keyboard/events/OneKCFocusedInputTextChangedEvent.h +8 -0
- package/ios/Keyboard/events/OneKCFocusedInputTextChangedEvent.m +64 -0
- package/ios/Keyboard/events/OneKCKeyboardMoveEvent.h +13 -0
- package/ios/Keyboard/events/OneKCKeyboardMoveEvent.m +75 -0
- package/ios/Keyboard/extensions/CGFloat.swift +13 -0
- package/ios/Keyboard/extensions/Date.swift +7 -0
- package/ios/Keyboard/extensions/NSObject.swift +5 -0
- package/ios/Keyboard/extensions/Notification.swift +15 -0
- package/ios/Keyboard/extensions/String.swift +5 -0
- package/ios/Keyboard/extensions/UIApplication.swift +38 -0
- package/ios/Keyboard/extensions/UIKeyboardType.swift +23 -0
- package/ios/Keyboard/extensions/UIResponder.swift +94 -0
- package/ios/Keyboard/extensions/UIScrollView.swift +8 -0
- package/ios/Keyboard/extensions/UIView.swift +83 -0
- package/ios/Keyboard/extensions/UIWindow.swift +56 -0
- package/ios/Keyboard/interactive/InvisibleInputAccessoryView.swift +52 -0
- package/ios/Keyboard/interactive/KeyboardAreaExtender.swift +68 -0
- package/ios/Keyboard/interactive/KeyboardOffsetProvider.swift +32 -0
- package/ios/Keyboard/objc/NSObject+SafeKVC.h +5 -0
- package/ios/Keyboard/objc/NSObject+SafeKVC.m +12 -0
- package/ios/Keyboard/objc/TextInput+DelegateManager.h +13 -0
- package/ios/Keyboard/objc/TextInput+DelegateManager.m +48 -0
- package/ios/Keyboard/observers/FocusedInputObserver.swift +334 -0
- package/ios/Keyboard/observers/movement/KeyboardEventsIgnorer.swift +32 -0
- package/ios/Keyboard/observers/movement/KeyboardTrackingView.swift +163 -0
- package/ios/Keyboard/observers/movement/KeyboardViewLocator.swift +16 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Animation.swift +14 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Interactive.swift +55 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Lifecycle.swift +28 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Listeners.swift +116 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver+Watcher.swift +69 -0
- package/ios/Keyboard/observers/movement/observer/KeyboardMovementObserver.swift +57 -0
- package/ios/Keyboard/protocols/TextInput.swift +50 -0
- package/ios/Keyboard/swizzling/UIResponderSwizzle.swift +144 -0
- package/ios/Keyboard/traversal/FocusedInputHolder.swift +24 -0
- package/ios/Keyboard/traversal/KeyboardView.swift +28 -0
- package/ios/Keyboard/traversal/ViewHierarchyNavigator.swift +157 -0
- package/ios/Keyboard/views/KeyboardExtenderContainerView.swift +207 -0
- package/ios/Keyboard/views/OneClippingScrollViewDecoratorViewComponentView.h +8 -0
- package/ios/Keyboard/views/OneClippingScrollViewDecoratorViewComponentView.mm +230 -0
- package/ios/Keyboard/views/OneKeyboardBackgroundViewComponentView.h +8 -0
- package/ios/Keyboard/views/OneKeyboardBackgroundViewComponentView.mm +123 -0
- package/ios/Keyboard/views/OneKeyboardControllerViewComponentView.h +13 -0
- package/ios/Keyboard/views/OneKeyboardControllerViewComponentView.mm +299 -0
- package/ios/Keyboard/views/OneKeyboardExtenderComponentView.h +16 -0
- package/ios/Keyboard/views/OneKeyboardExtenderComponentView.mm +275 -0
- package/ios/Keyboard/views/OneKeyboardGestureAreaComponentView.h +10 -0
- package/ios/Keyboard/views/OneKeyboardGestureAreaComponentView.mm +111 -0
- package/ios/Keyboard/views/OneKeyboardToolbarGroupViewComponentView.h +7 -0
- package/ios/Keyboard/views/OneKeyboardToolbarGroupViewComponentView.mm +47 -0
- package/ios/Keyboard/views/OneOverKeyboardViewComponentView.h +15 -0
- package/ios/Keyboard/views/OneOverKeyboardViewComponentView.mm +155 -0
- package/ios/Nitro/HybridOneKeyboard.swift +140 -0
- package/ios/Nitro/OneLaunchScreen.h +2 -0
- package/ios/Nitro/OneLaunchScreen.m +16 -0
- package/nitrogen/generated/android/One+autolinking.cmake +2 -0
- package/nitrogen/generated/android/OneOnLoad.cpp +24 -2
- package/nitrogen/generated/android/c++/JFunc_void_OneKeyboardEventName_OneKeyboardEvent.hpp +80 -0
- package/nitrogen/generated/android/c++/JFunc_void_OneKeyboardFocus.hpp +77 -0
- package/nitrogen/generated/android/c++/JFunc_void_double_double.hpp +75 -0
- package/nitrogen/generated/android/c++/JHybridOneKeyboardSpec.cpp +181 -0
- package/nitrogen/generated/android/c++/JHybridOneKeyboardSpec.hpp +74 -0
- package/nitrogen/generated/android/c++/JOneKeyboardEvent.hpp +77 -0
- package/nitrogen/generated/android/c++/JOneKeyboardEventName.hpp +64 -0
- package/nitrogen/generated/android/c++/JOneKeyboardFocus.hpp +61 -0
- package/nitrogen/generated/android/c++/JOneKeyboardFrame.hpp +69 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_OneKeyboardEventName_OneKeyboardEvent.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_OneKeyboardFocus.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/Func_void_double_double.kt +78 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/HybridOneKeyboardSpec.kt +128 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardEvent.kt +76 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardEventName.kt +25 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardFocus.kt +56 -0
- package/nitrogen/generated/android/kotlin/com/margelo/nitro/one/OneKeyboardFrame.kt +66 -0
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.cpp +197 -148
- package/nitrogen/generated/ios/One-Swift-Cxx-Bridge.hpp +590 -452
- package/nitrogen/generated/ios/One-Swift-Cxx-Umbrella.hpp +17 -0
- package/nitrogen/generated/ios/OneAutolinking.mm +8 -0
- package/nitrogen/generated/ios/OneAutolinking.swift +12 -0
- package/nitrogen/generated/ios/c++/HybridOneKeyboardSpecSwift.cpp +11 -0
- package/nitrogen/generated/ios/c++/HybridOneKeyboardSpecSwift.hpp +173 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardEventName_OneKeyboardEvent.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardFocus.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_OneKeyboardFrame.swift +46 -0
- package/nitrogen/generated/ios/swift/Func_void_double_double.swift +46 -0
- package/nitrogen/generated/ios/swift/HybridOneKeyboardSpec.swift +66 -0
- package/nitrogen/generated/ios/swift/HybridOneKeyboardSpec_cxx.swift +316 -0
- package/nitrogen/generated/ios/swift/OneKeyboardEvent.swift +54 -0
- package/nitrogen/generated/ios/swift/OneKeyboardEventName.swift +48 -0
- package/nitrogen/generated/ios/swift/OneKeyboardFocus.swift +34 -0
- package/nitrogen/generated/ios/swift/OneKeyboardFrame.swift +44 -0
- package/nitrogen/generated/shared/c++/HybridOneKeyboardSpec.cpp +33 -0
- package/nitrogen/generated/shared/c++/HybridOneKeyboardSpec.hpp +86 -0
- package/nitrogen/generated/shared/c++/OneKeyboardEvent.hpp +103 -0
- package/nitrogen/generated/shared/c++/OneKeyboardEventName.hpp +84 -0
- package/nitrogen/generated/shared/c++/OneKeyboardFocus.hpp +87 -0
- package/nitrogen/generated/shared/c++/OneKeyboardFrame.hpp +95 -0
- package/package.json +27 -13
- package/react-native.config.cjs +6 -0
- package/src/keyboard/LICENSE +21 -0
- package/src/keyboard/animated.tsx +235 -0
- package/src/keyboard/architecture.ts +1 -0
- package/src/keyboard/bindings.native.ts +113 -0
- package/src/keyboard/bindings.ts +100 -0
- package/src/keyboard/compat.ts +61 -0
- package/src/keyboard/components/KeyboardAvoidingView/hooks.ts +152 -0
- package/src/keyboard/components/KeyboardAvoidingView/index.tsx +260 -0
- package/src/keyboard/components/KeyboardAwareScrollView/index.tsx +607 -0
- package/src/keyboard/components/KeyboardAwareScrollView/types.ts +30 -0
- package/src/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.ts +151 -0
- package/src/keyboard/components/KeyboardAwareScrollView/utils.ts +42 -0
- package/src/keyboard/components/KeyboardChatScrollView/hooks.ts +2 -0
- package/src/keyboard/components/KeyboardChatScrollView/index.tsx +182 -0
- package/src/keyboard/components/KeyboardChatScrollView/types.ts +120 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.ts +263 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.ts +255 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ts +356 -0
- package/src/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.ts +39 -0
- package/src/keyboard/components/KeyboardChatScrollView/useEndVisible.ts +59 -0
- package/src/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.ts +188 -0
- package/src/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.ts +80 -0
- package/src/keyboard/components/KeyboardEffects/index.tsx +122 -0
- package/src/keyboard/components/KeyboardStickyView/index.tsx +75 -0
- package/src/keyboard/components/KeyboardToolbar/Arrow.tsx +76 -0
- package/src/keyboard/components/KeyboardToolbar/Button.tsx +89 -0
- package/src/keyboard/components/KeyboardToolbar/colors.native.ts +37 -0
- package/src/keyboard/components/KeyboardToolbar/colors.ts +16 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Background.tsx +7 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Content.tsx +23 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Done.tsx +70 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Next.tsx +53 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/Prev.tsx +54 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/index.ts +5 -0
- package/src/keyboard/components/KeyboardToolbar/compound/components/types.ts +15 -0
- package/src/keyboard/components/KeyboardToolbar/compound/context.ts +21 -0
- package/src/keyboard/components/KeyboardToolbar/constants.ts +13 -0
- package/src/keyboard/components/KeyboardToolbar/index.tsx +231 -0
- package/src/keyboard/components/KeyboardToolbar/types.ts +129 -0
- package/src/keyboard/components/ScrollViewWithBottomPadding/index.tsx +185 -0
- package/src/keyboard/components/ScrollViewWithBottomPadding/styles.ts +10 -0
- package/src/keyboard/components/hooks/useCombinedRef.ts +22 -0
- package/src/keyboard/components/hooks/useScrollState.ts +81 -0
- package/src/keyboard/components/index.ts +22 -0
- package/src/keyboard/components/utils/safeScrollTo.ts +26 -0
- package/src/keyboard/constants.ts +23 -0
- package/src/keyboard/context.ts +100 -0
- package/src/keyboard/hooks/index.ts +289 -0
- package/src/keyboard/hooks/useKeyboardState/index.ts +70 -0
- package/src/keyboard/hooks/useWindowDimensions/index.ts +38 -0
- package/src/keyboard/index.ts +31 -0
- package/src/keyboard/internal.ts +117 -0
- package/src/keyboard/module.ts +62 -0
- package/src/keyboard/reanimated.native.ts +104 -0
- package/src/keyboard/reanimated.ts +26 -0
- package/src/keyboard/typings/hooks.ts +214 -0
- package/src/keyboard/typings/index.ts +5 -0
- package/src/keyboard/typings/internal.ts +24 -0
- package/src/keyboard/typings/module.ts +136 -0
- package/src/keyboard/typings/provider.ts +43 -0
- package/src/keyboard/typings/views.ts +63 -0
- package/src/keyboard/utils/findNodeHandle/index.native.ts +3 -0
- package/src/keyboard/utils/findNodeHandle/index.ts +6 -0
- package/src/keyboard/views/KeyboardExtender/index.ios.tsx +35 -0
- package/src/keyboard/views/KeyboardExtender/index.tsx +47 -0
- package/src/keyboard/views/OverKeyboardView/index.tsx +61 -0
- package/src/keyboard/views/index.ts +2 -0
- package/src/keyboard.ts +1 -0
- package/src/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.ts +15 -0
- package/src/platform/specs/OneKeyboard.nitro.ts +49 -0
- package/src/platform/specs/OneKeyboardBackgroundViewNativeComponent.ts +10 -0
- package/src/platform/specs/OneKeyboardControllerViewNativeComponent.ts +84 -0
- package/src/platform/specs/OneKeyboardExtenderNativeComponent.ts +13 -0
- package/src/platform/specs/OneKeyboardGestureAreaNativeComponent.ts +17 -0
- package/src/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.ts +10 -0
- package/src/platform/specs/OneOverKeyboardViewNativeComponent.ts +12 -0
- package/types/keyboard/animated.d.ts +18 -0
- package/types/keyboard/animated.d.ts.map +1 -0
- package/types/keyboard/architecture.d.ts +2 -0
- package/types/keyboard/architecture.d.ts.map +1 -0
- package/types/keyboard/bindings.d.ts +64 -0
- package/types/keyboard/bindings.d.ts.map +1 -0
- package/types/keyboard/bindings.native.d.ts +19 -0
- package/types/keyboard/bindings.native.d.ts.map +1 -0
- package/types/keyboard/compat.d.ts +28 -0
- package/types/keyboard/compat.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAvoidingView/hooks.d.ts +11 -0
- package/types/keyboard/components/KeyboardAvoidingView/hooks.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAvoidingView/index.d.ts +81 -0
- package/types/keyboard/components/KeyboardAvoidingView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/index.d.ts +31 -0
- package/types/keyboard/components/KeyboardAwareScrollView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/types.d.ts +29 -0
- package/types/keyboard/components/KeyboardAwareScrollView/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.d.ts +23 -0
- package/types/keyboard/components/KeyboardAwareScrollView/useSmoothKeyboardHandler.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardAwareScrollView/utils.d.ts +3 -0
- package/types/keyboard/components/KeyboardAwareScrollView/utils.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/hooks.d.ts +3 -0
- package/types/keyboard/components/KeyboardChatScrollView/hooks.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/index.d.ts +5 -0
- package/types/keyboard/components/KeyboardChatScrollView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/types.d.ts +116 -0
- package/types/keyboard/components/KeyboardChatScrollView/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.d.ts +134 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/helpers.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.d.ts +19 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.d.ts +22 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/index.ios.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.d.ts +42 -0
- package/types/keyboard/components/KeyboardChatScrollView/useChatKeyboard/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useEndVisible.d.ts +18 -0
- package/types/keyboard/components/KeyboardChatScrollView/useEndVisible.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.d.ts +48 -0
- package/types/keyboard/components/KeyboardChatScrollView/useExtraContentPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.d.ts +31 -0
- package/types/keyboard/components/KeyboardChatScrollView/useFrozenPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardEffects/index.d.ts +61 -0
- package/types/keyboard/components/KeyboardEffects/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardStickyView/index.d.ts +53 -0
- package/types/keyboard/components/KeyboardStickyView/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/Arrow.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/Arrow.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/Button.d.ts +18 -0
- package/types/keyboard/components/KeyboardToolbar/Button.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/colors.d.ts +3 -0
- package/types/keyboard/components/KeyboardToolbar/colors.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/colors.native.d.ts +3 -0
- package/types/keyboard/components/KeyboardToolbar/colors.native.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Background.d.ts +7 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Background.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Content.d.ts +8 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Content.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Done.d.ts +8 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Done.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Next.d.ts +5 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Next.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Prev.d.ts +5 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/Prev.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/index.d.ts +6 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/types.d.ts +15 -0
- package/types/keyboard/components/KeyboardToolbar/compound/components/types.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/compound/context.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/compound/context.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/constants.d.ts +10 -0
- package/types/keyboard/components/KeyboardToolbar/constants.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/index.d.ts +30 -0
- package/types/keyboard/components/KeyboardToolbar/index.d.ts.map +1 -0
- package/types/keyboard/components/KeyboardToolbar/types.d.ts +106 -0
- package/types/keyboard/components/KeyboardToolbar/types.d.ts.map +1 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/index.d.ts +31 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/index.d.ts.map +1 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/styles.d.ts +8 -0
- package/types/keyboard/components/ScrollViewWithBottomPadding/styles.d.ts.map +1 -0
- package/types/keyboard/components/hooks/useCombinedRef.d.ts +4 -0
- package/types/keyboard/components/hooks/useCombinedRef.d.ts.map +1 -0
- package/types/keyboard/components/hooks/useScrollState.d.ts +18 -0
- package/types/keyboard/components/hooks/useScrollState.d.ts.map +1 -0
- package/types/keyboard/components/index.d.ts +13 -0
- package/types/keyboard/components/index.d.ts.map +1 -0
- package/types/keyboard/components/utils/safeScrollTo.d.ts +13 -0
- package/types/keyboard/components/utils/safeScrollTo.d.ts.map +1 -0
- package/types/keyboard/constants.d.ts +19 -0
- package/types/keyboard/constants.d.ts.map +1 -0
- package/types/keyboard/context.d.ts +58 -0
- package/types/keyboard/context.d.ts.map +1 -0
- package/types/keyboard/hooks/index.d.ts +176 -0
- package/types/keyboard/hooks/index.d.ts.map +1 -0
- package/types/keyboard/hooks/useKeyboardState/index.d.ts +29 -0
- package/types/keyboard/hooks/useKeyboardState/index.d.ts.map +1 -0
- package/types/keyboard/hooks/useWindowDimensions/index.d.ts +3 -0
- package/types/keyboard/hooks/useWindowDimensions/index.d.ts.map +1 -0
- package/types/keyboard/index.d.ts +12 -0
- package/types/keyboard/index.d.ts.map +1 -0
- package/types/keyboard/internal.d.ts +37 -0
- package/types/keyboard/internal.d.ts.map +1 -0
- package/types/keyboard/module.d.ts +6 -0
- package/types/keyboard/module.d.ts.map +1 -0
- package/types/keyboard/reanimated.d.ts +5 -0
- package/types/keyboard/reanimated.d.ts.map +1 -0
- package/types/keyboard/reanimated.native.d.ts +12 -0
- package/types/keyboard/reanimated.native.d.ts.map +1 -0
- package/types/keyboard/typings/hooks.d.ts +168 -0
- package/types/keyboard/typings/hooks.d.ts.map +1 -0
- package/types/keyboard/typings/index.d.ts +6 -0
- package/types/keyboard/typings/index.d.ts.map +1 -0
- package/types/keyboard/typings/internal.d.ts +18 -0
- package/types/keyboard/typings/internal.d.ts.map +1 -0
- package/types/keyboard/typings/module.d.ts +122 -0
- package/types/keyboard/typings/module.d.ts.map +1 -0
- package/types/keyboard/typings/provider.d.ts +44 -0
- package/types/keyboard/typings/provider.d.ts.map +1 -0
- package/types/keyboard/typings/views.d.ts +61 -0
- package/types/keyboard/typings/views.d.ts.map +1 -0
- package/types/keyboard/utils/findNodeHandle/index.d.ts +5 -0
- package/types/keyboard/utils/findNodeHandle/index.d.ts.map +1 -0
- package/types/keyboard/utils/findNodeHandle/index.native.d.ts +3 -0
- package/types/keyboard/utils/findNodeHandle/index.native.d.ts.map +1 -0
- package/types/keyboard/views/KeyboardExtender/index.d.ts +20 -0
- package/types/keyboard/views/KeyboardExtender/index.d.ts.map +1 -0
- package/types/keyboard/views/KeyboardExtender/index.ios.d.ts +20 -0
- package/types/keyboard/views/KeyboardExtender/index.ios.d.ts.map +1 -0
- package/types/keyboard/views/OverKeyboardView/index.d.ts +19 -0
- package/types/keyboard/views/OverKeyboardView/index.d.ts.map +1 -0
- package/types/keyboard/views/index.d.ts +3 -0
- package/types/keyboard/views/index.d.ts.map +1 -0
- package/types/keyboard.d.ts +2 -0
- package/types/keyboard.d.ts.map +1 -0
- package/types/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.d.ts +11 -0
- package/types/platform/specs/OneClippingScrollViewDecoratorViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboard.nitro.d.ts +39 -0
- package/types/platform/specs/OneKeyboard.nitro.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardBackgroundViewNativeComponent.d.ts +7 -0
- package/types/platform/specs/OneKeyboardBackgroundViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardControllerViewNativeComponent.d.ts +61 -0
- package/types/platform/specs/OneKeyboardControllerViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardExtenderNativeComponent.d.ts +9 -0
- package/types/platform/specs/OneKeyboardExtenderNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardGestureAreaNativeComponent.d.ts +13 -0
- package/types/platform/specs/OneKeyboardGestureAreaNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.d.ts +7 -0
- package/types/platform/specs/OneKeyboardToolbarGroupViewNativeComponent.d.ts.map +1 -0
- package/types/platform/specs/OneOverKeyboardViewNativeComponent.d.ts +8 -0
- package/types/platform/specs/OneOverKeyboardViewNativeComponent.d.ts.map +1 -0
|
@@ -34,6 +34,7 @@
|
|
|
34
34
|
#include "HybridOneHapticsSpecSwift.hpp"
|
|
35
35
|
#include "HybridOneImageManipulatorSpecSwift.hpp"
|
|
36
36
|
#include "HybridOneImagePickerSpecSwift.hpp"
|
|
37
|
+
#include "HybridOneKeyboardSpecSwift.hpp"
|
|
37
38
|
#include "HybridOneLaunchScreenSpecSwift.hpp"
|
|
38
39
|
#include "HybridOneLightSensorSpecSwift.hpp"
|
|
39
40
|
#include "HybridOneLocationSpecSwift.hpp"
|
|
@@ -69,7 +70,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
69
70
|
swiftClosure.call(result);
|
|
70
71
|
};
|
|
71
72
|
}
|
|
72
|
-
|
|
73
|
+
|
|
73
74
|
// pragma MARK: std::function<void(const std::exception_ptr& /* error */)>
|
|
74
75
|
Func_void_std__exception_ptr create_Func_void_std__exception_ptr(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
75
76
|
auto swiftClosure = One::Func_void_std__exception_ptr::fromUnsafe(swiftClosureWrapper);
|
|
@@ -77,7 +78,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
77
78
|
swiftClosure.call(error);
|
|
78
79
|
};
|
|
79
80
|
}
|
|
80
|
-
|
|
81
|
+
|
|
81
82
|
// pragma MARK: std::function<void(const std::optional<HingeState>& /* result */)>
|
|
82
83
|
Func_void_std__optional_HingeState_ create_Func_void_std__optional_HingeState_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
83
84
|
auto swiftClosure = One::Func_void_std__optional_HingeState_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -85,7 +86,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
85
86
|
swiftClosure.call(result);
|
|
86
87
|
};
|
|
87
88
|
}
|
|
88
|
-
|
|
89
|
+
|
|
89
90
|
// pragma MARK: std::function<void()>
|
|
90
91
|
Func_void create_Func_void(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
91
92
|
auto swiftClosure = One::Func_void::fromUnsafe(swiftClosureWrapper);
|
|
@@ -93,7 +94,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
93
94
|
swiftClosure.call();
|
|
94
95
|
};
|
|
95
96
|
}
|
|
96
|
-
|
|
97
|
+
|
|
97
98
|
// pragma MARK: std::shared_ptr<HybridOneAdaptiveSpec>
|
|
98
99
|
std::shared_ptr<HybridOneAdaptiveSpec> create_std__shared_ptr_HybridOneAdaptiveSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
99
100
|
One::HybridOneAdaptiveSpec_cxx swiftPart = One::HybridOneAdaptiveSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -109,7 +110,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
109
110
|
One::HybridOneAdaptiveSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
110
111
|
return swiftPart.toUnsafe();
|
|
111
112
|
}
|
|
112
|
-
|
|
113
|
+
|
|
113
114
|
// pragma MARK: std::function<void(const AppIntentInvocation& /* invocation */)>
|
|
114
115
|
Func_void_AppIntentInvocation create_Func_void_AppIntentInvocation(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
115
116
|
auto swiftClosure = One::Func_void_AppIntentInvocation::fromUnsafe(swiftClosureWrapper);
|
|
@@ -117,7 +118,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
117
118
|
swiftClosure.call(invocation);
|
|
118
119
|
};
|
|
119
120
|
}
|
|
120
|
-
|
|
121
|
+
|
|
121
122
|
// pragma MARK: std::shared_ptr<HybridOneAppIntentsSpec>
|
|
122
123
|
std::shared_ptr<HybridOneAppIntentsSpec> create_std__shared_ptr_HybridOneAppIntentsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
123
124
|
One::HybridOneAppIntentsSpec_cxx swiftPart = One::HybridOneAppIntentsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -133,7 +134,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
133
134
|
One::HybridOneAppIntentsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
134
135
|
return swiftPart.toUnsafe();
|
|
135
136
|
}
|
|
136
|
-
|
|
137
|
+
|
|
137
138
|
// pragma MARK: std::function<void(const AppleAuthResult& /* result */)>
|
|
138
139
|
Func_void_AppleAuthResult create_Func_void_AppleAuthResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
139
140
|
auto swiftClosure = One::Func_void_AppleAuthResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -141,7 +142,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
141
142
|
swiftClosure.call(result);
|
|
142
143
|
};
|
|
143
144
|
}
|
|
144
|
-
|
|
145
|
+
|
|
145
146
|
// pragma MARK: std::function<void(AppleCredentialState /* result */)>
|
|
146
147
|
Func_void_AppleCredentialState create_Func_void_AppleCredentialState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
147
148
|
auto swiftClosure = One::Func_void_AppleCredentialState::fromUnsafe(swiftClosureWrapper);
|
|
@@ -149,7 +150,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
149
150
|
swiftClosure.call(static_cast<int>(result));
|
|
150
151
|
};
|
|
151
152
|
}
|
|
152
|
-
|
|
153
|
+
|
|
153
154
|
// pragma MARK: std::shared_ptr<HybridOneAppleAuthSpec>
|
|
154
155
|
std::shared_ptr<HybridOneAppleAuthSpec> create_std__shared_ptr_HybridOneAppleAuthSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
155
156
|
One::HybridOneAppleAuthSpec_cxx swiftPart = One::HybridOneAppleAuthSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -165,7 +166,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
165
166
|
One::HybridOneAppleAuthSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
166
167
|
return swiftPart.toUnsafe();
|
|
167
168
|
}
|
|
168
|
-
|
|
169
|
+
|
|
169
170
|
// pragma MARK: std::function<void(AppTrackingPermissionStatus /* result */)>
|
|
170
171
|
Func_void_AppTrackingPermissionStatus create_Func_void_AppTrackingPermissionStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
171
172
|
auto swiftClosure = One::Func_void_AppTrackingPermissionStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -173,7 +174,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
173
174
|
swiftClosure.call(static_cast<int>(result));
|
|
174
175
|
};
|
|
175
176
|
}
|
|
176
|
-
|
|
177
|
+
|
|
177
178
|
// pragma MARK: std::shared_ptr<HybridOneAppTrackingSpec>
|
|
178
179
|
std::shared_ptr<HybridOneAppTrackingSpec> create_std__shared_ptr_HybridOneAppTrackingSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
179
180
|
One::HybridOneAppTrackingSpec_cxx swiftPart = One::HybridOneAppTrackingSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -189,7 +190,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
189
190
|
One::HybridOneAppTrackingSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
190
191
|
return swiftPart.toUnsafe();
|
|
191
192
|
}
|
|
192
|
-
|
|
193
|
+
|
|
193
194
|
// pragma MARK: std::function<void(AudioRecordingPermission /* result */)>
|
|
194
195
|
Func_void_AudioRecordingPermission create_Func_void_AudioRecordingPermission(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
195
196
|
auto swiftClosure = One::Func_void_AudioRecordingPermission::fromUnsafe(swiftClosureWrapper);
|
|
@@ -197,7 +198,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
197
198
|
swiftClosure.call(static_cast<int>(result));
|
|
198
199
|
};
|
|
199
200
|
}
|
|
200
|
-
|
|
201
|
+
|
|
201
202
|
// pragma MARK: std::function<void(const AudioPlaybackStatus& /* result */)>
|
|
202
203
|
Func_void_AudioPlaybackStatus create_Func_void_AudioPlaybackStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
203
204
|
auto swiftClosure = One::Func_void_AudioPlaybackStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -205,7 +206,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
205
206
|
swiftClosure.call(result);
|
|
206
207
|
};
|
|
207
208
|
}
|
|
208
|
-
|
|
209
|
+
|
|
209
210
|
// pragma MARK: std::function<void(const AudioRecordingStatus& /* result */)>
|
|
210
211
|
Func_void_AudioRecordingStatus create_Func_void_AudioRecordingStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
211
212
|
auto swiftClosure = One::Func_void_AudioRecordingStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -213,7 +214,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
213
214
|
swiftClosure.call(result);
|
|
214
215
|
};
|
|
215
216
|
}
|
|
216
|
-
|
|
217
|
+
|
|
217
218
|
// pragma MARK: std::function<void(const AudioRecordingResult& /* result */)>
|
|
218
219
|
Func_void_AudioRecordingResult create_Func_void_AudioRecordingResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
219
220
|
auto swiftClosure = One::Func_void_AudioRecordingResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -221,7 +222,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
221
222
|
swiftClosure.call(result);
|
|
222
223
|
};
|
|
223
224
|
}
|
|
224
|
-
|
|
225
|
+
|
|
225
226
|
// pragma MARK: std::function<void(const AudioInterruptionEvent& /* event */)>
|
|
226
227
|
Func_void_AudioInterruptionEvent create_Func_void_AudioInterruptionEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
227
228
|
auto swiftClosure = One::Func_void_AudioInterruptionEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -229,7 +230,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
229
230
|
swiftClosure.call(event);
|
|
230
231
|
};
|
|
231
232
|
}
|
|
232
|
-
|
|
233
|
+
|
|
233
234
|
// pragma MARK: std::function<void(const AudioRemoteCommandEvent& /* event */)>
|
|
234
235
|
Func_void_AudioRemoteCommandEvent create_Func_void_AudioRemoteCommandEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
235
236
|
auto swiftClosure = One::Func_void_AudioRemoteCommandEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -237,7 +238,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
237
238
|
swiftClosure.call(event);
|
|
238
239
|
};
|
|
239
240
|
}
|
|
240
|
-
|
|
241
|
+
|
|
241
242
|
// pragma MARK: std::shared_ptr<HybridOneAudioSpec>
|
|
242
243
|
std::shared_ptr<HybridOneAudioSpec> create_std__shared_ptr_HybridOneAudioSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
243
244
|
One::HybridOneAudioSpec_cxx swiftPart = One::HybridOneAudioSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -253,7 +254,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
253
254
|
One::HybridOneAudioSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
254
255
|
return swiftPart.toUnsafe();
|
|
255
256
|
}
|
|
256
|
-
|
|
257
|
+
|
|
257
258
|
// pragma MARK: std::function<void(const std::vector<PendingBackgroundTask>& /* result */)>
|
|
258
259
|
Func_void_std__vector_PendingBackgroundTask_ create_Func_void_std__vector_PendingBackgroundTask_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
259
260
|
auto swiftClosure = One::Func_void_std__vector_PendingBackgroundTask_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -261,7 +262,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
261
262
|
swiftClosure.call(result);
|
|
262
263
|
};
|
|
263
264
|
}
|
|
264
|
-
|
|
265
|
+
|
|
265
266
|
// pragma MARK: std::function<void(const BackgroundTaskInvocation& /* invocation */)>
|
|
266
267
|
Func_void_BackgroundTaskInvocation create_Func_void_BackgroundTaskInvocation(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
267
268
|
auto swiftClosure = One::Func_void_BackgroundTaskInvocation::fromUnsafe(swiftClosureWrapper);
|
|
@@ -269,7 +270,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
269
270
|
swiftClosure.call(invocation);
|
|
270
271
|
};
|
|
271
272
|
}
|
|
272
|
-
|
|
273
|
+
|
|
273
274
|
// pragma MARK: std::function<void(const std::string& /* executionId */)>
|
|
274
275
|
Func_void_std__string create_Func_void_std__string(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
275
276
|
auto swiftClosure = One::Func_void_std__string::fromUnsafe(swiftClosureWrapper);
|
|
@@ -277,7 +278,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
277
278
|
swiftClosure.call(executionId);
|
|
278
279
|
};
|
|
279
280
|
}
|
|
280
|
-
|
|
281
|
+
|
|
281
282
|
// pragma MARK: std::shared_ptr<HybridOneBackgroundTasksSpec>
|
|
282
283
|
std::shared_ptr<HybridOneBackgroundTasksSpec> create_std__shared_ptr_HybridOneBackgroundTasksSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
283
284
|
One::HybridOneBackgroundTasksSpec_cxx swiftPart = One::HybridOneBackgroundTasksSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -293,7 +294,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
293
294
|
One::HybridOneBackgroundTasksSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
294
295
|
return swiftPart.toUnsafe();
|
|
295
296
|
}
|
|
296
|
-
|
|
297
|
+
|
|
297
298
|
// pragma MARK: std::function<void(const BarometerMeasurement& /* event */)>
|
|
298
299
|
Func_void_BarometerMeasurement create_Func_void_BarometerMeasurement(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
299
300
|
auto swiftClosure = One::Func_void_BarometerMeasurement::fromUnsafe(swiftClosureWrapper);
|
|
@@ -301,7 +302,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
301
302
|
swiftClosure.call(event);
|
|
302
303
|
};
|
|
303
304
|
}
|
|
304
|
-
|
|
305
|
+
|
|
305
306
|
// pragma MARK: std::shared_ptr<HybridOneBarometerSpec>
|
|
306
307
|
std::shared_ptr<HybridOneBarometerSpec> create_std__shared_ptr_HybridOneBarometerSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
307
308
|
One::HybridOneBarometerSpec_cxx swiftPart = One::HybridOneBarometerSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -317,7 +318,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
317
318
|
One::HybridOneBarometerSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
318
319
|
return swiftPart.toUnsafe();
|
|
319
320
|
}
|
|
320
|
-
|
|
321
|
+
|
|
321
322
|
// pragma MARK: std::function<void(double /* result */)>
|
|
322
323
|
Func_void_double create_Func_void_double(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
323
324
|
auto swiftClosure = One::Func_void_double::fromUnsafe(swiftClosureWrapper);
|
|
@@ -325,7 +326,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
325
326
|
swiftClosure.call(result);
|
|
326
327
|
};
|
|
327
328
|
}
|
|
328
|
-
|
|
329
|
+
|
|
329
330
|
// pragma MARK: std::function<void(BatteryState /* result */)>
|
|
330
331
|
Func_void_BatteryState create_Func_void_BatteryState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
331
332
|
auto swiftClosure = One::Func_void_BatteryState::fromUnsafe(swiftClosureWrapper);
|
|
@@ -333,7 +334,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
333
334
|
swiftClosure.call(static_cast<int>(result));
|
|
334
335
|
};
|
|
335
336
|
}
|
|
336
|
-
|
|
337
|
+
|
|
337
338
|
// pragma MARK: std::function<void(const BatteryPowerState& /* result */)>
|
|
338
339
|
Func_void_BatteryPowerState create_Func_void_BatteryPowerState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
339
340
|
auto swiftClosure = One::Func_void_BatteryPowerState::fromUnsafe(swiftClosureWrapper);
|
|
@@ -341,7 +342,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
341
342
|
swiftClosure.call(result);
|
|
342
343
|
};
|
|
343
344
|
}
|
|
344
|
-
|
|
345
|
+
|
|
345
346
|
// pragma MARK: std::function<void(bool /* result */)>
|
|
346
347
|
Func_void_bool create_Func_void_bool(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
347
348
|
auto swiftClosure = One::Func_void_bool::fromUnsafe(swiftClosureWrapper);
|
|
@@ -349,7 +350,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
349
350
|
swiftClosure.call(result);
|
|
350
351
|
};
|
|
351
352
|
}
|
|
352
|
-
|
|
353
|
+
|
|
353
354
|
// pragma MARK: std::function<void(const BatteryLevelEvent& /* event */)>
|
|
354
355
|
Func_void_BatteryLevelEvent create_Func_void_BatteryLevelEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
355
356
|
auto swiftClosure = One::Func_void_BatteryLevelEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -357,7 +358,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
357
358
|
swiftClosure.call(event);
|
|
358
359
|
};
|
|
359
360
|
}
|
|
360
|
-
|
|
361
|
+
|
|
361
362
|
// pragma MARK: std::function<void(const BatteryStateEvent& /* event */)>
|
|
362
363
|
Func_void_BatteryStateEvent create_Func_void_BatteryStateEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
363
364
|
auto swiftClosure = One::Func_void_BatteryStateEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -365,7 +366,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
365
366
|
swiftClosure.call(event);
|
|
366
367
|
};
|
|
367
368
|
}
|
|
368
|
-
|
|
369
|
+
|
|
369
370
|
// pragma MARK: std::function<void(const BatteryPowerModeEvent& /* event */)>
|
|
370
371
|
Func_void_BatteryPowerModeEvent create_Func_void_BatteryPowerModeEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
371
372
|
auto swiftClosure = One::Func_void_BatteryPowerModeEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -373,7 +374,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
373
374
|
swiftClosure.call(event);
|
|
374
375
|
};
|
|
375
376
|
}
|
|
376
|
-
|
|
377
|
+
|
|
377
378
|
// pragma MARK: std::shared_ptr<HybridOneBatterySpec>
|
|
378
379
|
std::shared_ptr<HybridOneBatterySpec> create_std__shared_ptr_HybridOneBatterySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
379
380
|
One::HybridOneBatterySpec_cxx swiftPart = One::HybridOneBatterySpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -389,7 +390,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
389
390
|
One::HybridOneBatterySpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
390
391
|
return swiftPart.toUnsafe();
|
|
391
392
|
}
|
|
392
|
-
|
|
393
|
+
|
|
393
394
|
// pragma MARK: std::function<void(const BrowserResult& /* result */)>
|
|
394
395
|
Func_void_BrowserResult create_Func_void_BrowserResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
395
396
|
auto swiftClosure = One::Func_void_BrowserResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -397,7 +398,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
397
398
|
swiftClosure.call(result);
|
|
398
399
|
};
|
|
399
400
|
}
|
|
400
|
-
|
|
401
|
+
|
|
401
402
|
// pragma MARK: std::function<void(const BrowserAuthResult& /* result */)>
|
|
402
403
|
Func_void_BrowserAuthResult create_Func_void_BrowserAuthResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
403
404
|
auto swiftClosure = One::Func_void_BrowserAuthResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -405,7 +406,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
405
406
|
swiftClosure.call(result);
|
|
406
407
|
};
|
|
407
408
|
}
|
|
408
|
-
|
|
409
|
+
|
|
409
410
|
// pragma MARK: std::shared_ptr<HybridOneBrowserSpec>
|
|
410
411
|
std::shared_ptr<HybridOneBrowserSpec> create_std__shared_ptr_HybridOneBrowserSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
411
412
|
One::HybridOneBrowserSpec_cxx swiftPart = One::HybridOneBrowserSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -421,7 +422,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
421
422
|
One::HybridOneBrowserSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
422
423
|
return swiftPart.toUnsafe();
|
|
423
424
|
}
|
|
424
|
-
|
|
425
|
+
|
|
425
426
|
// pragma MARK: std::function<void(ContactsPermissionStatus /* result */)>
|
|
426
427
|
Func_void_ContactsPermissionStatus create_Func_void_ContactsPermissionStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
427
428
|
auto swiftClosure = One::Func_void_ContactsPermissionStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -429,7 +430,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
429
430
|
swiftClosure.call(static_cast<int>(result));
|
|
430
431
|
};
|
|
431
432
|
}
|
|
432
|
-
|
|
433
|
+
|
|
433
434
|
// pragma MARK: std::function<void(const std::optional<ContactInfo>& /* result */)>
|
|
434
435
|
Func_void_std__optional_ContactInfo_ create_Func_void_std__optional_ContactInfo_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
435
436
|
auto swiftClosure = One::Func_void_std__optional_ContactInfo_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -437,7 +438,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
437
438
|
swiftClosure.call(result);
|
|
438
439
|
};
|
|
439
440
|
}
|
|
440
|
-
|
|
441
|
+
|
|
441
442
|
// pragma MARK: std::function<void(const std::vector<ContactInfo>& /* result */)>
|
|
442
443
|
Func_void_std__vector_ContactInfo_ create_Func_void_std__vector_ContactInfo_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
443
444
|
auto swiftClosure = One::Func_void_std__vector_ContactInfo_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -445,7 +446,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
445
446
|
swiftClosure.call(result);
|
|
446
447
|
};
|
|
447
448
|
}
|
|
448
|
-
|
|
449
|
+
|
|
449
450
|
// pragma MARK: std::function<void(const ContactInfo& /* result */)>
|
|
450
451
|
Func_void_ContactInfo create_Func_void_ContactInfo(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
451
452
|
auto swiftClosure = One::Func_void_ContactInfo::fromUnsafe(swiftClosureWrapper);
|
|
@@ -453,7 +454,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
453
454
|
swiftClosure.call(result);
|
|
454
455
|
};
|
|
455
456
|
}
|
|
456
|
-
|
|
457
|
+
|
|
457
458
|
// pragma MARK: std::shared_ptr<HybridOneContactsSpec>
|
|
458
459
|
std::shared_ptr<HybridOneContactsSpec> create_std__shared_ptr_HybridOneContactsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
459
460
|
One::HybridOneContactsSpec_cxx swiftPart = One::HybridOneContactsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -469,7 +470,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
469
470
|
One::HybridOneContactsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
470
471
|
return swiftPart.toUnsafe();
|
|
471
472
|
}
|
|
472
|
-
|
|
473
|
+
|
|
473
474
|
// pragma MARK: std::shared_ptr<HybridNativeCNContactSpec>
|
|
474
475
|
std::shared_ptr<HybridNativeCNContactSpec> create_std__shared_ptr_HybridNativeCNContactSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
475
476
|
One::HybridNativeCNContactSpec_cxx swiftPart = One::HybridNativeCNContactSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -485,7 +486,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
485
486
|
One::HybridNativeCNContactSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
486
487
|
return swiftPart.toUnsafe();
|
|
487
488
|
}
|
|
488
|
-
|
|
489
|
+
|
|
489
490
|
// pragma MARK: std::shared_ptr<HybridNativeCNKeyDescriptorSpec>
|
|
490
491
|
std::shared_ptr<HybridNativeCNKeyDescriptorSpec> create_std__shared_ptr_HybridNativeCNKeyDescriptorSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
491
492
|
One::HybridNativeCNKeyDescriptorSpec_cxx swiftPart = One::HybridNativeCNKeyDescriptorSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -501,7 +502,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
501
502
|
One::HybridNativeCNKeyDescriptorSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
502
503
|
return swiftPart.toUnsafe();
|
|
503
504
|
}
|
|
504
|
-
|
|
505
|
+
|
|
505
506
|
// pragma MARK: std::function<void(const std::shared_ptr<HybridNativeCNContactSpec>& /* result */)>
|
|
506
507
|
Func_void_std__shared_ptr_HybridNativeCNContactSpec_ create_Func_void_std__shared_ptr_HybridNativeCNContactSpec_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
507
508
|
auto swiftClosure = One::Func_void_std__shared_ptr_HybridNativeCNContactSpec_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -509,7 +510,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
509
510
|
swiftClosure.call(result);
|
|
510
511
|
};
|
|
511
512
|
}
|
|
512
|
-
|
|
513
|
+
|
|
513
514
|
// pragma MARK: std::shared_ptr<HybridNativeCNContactStoreSpec>
|
|
514
515
|
std::shared_ptr<HybridNativeCNContactStoreSpec> create_std__shared_ptr_HybridNativeCNContactStoreSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
515
516
|
One::HybridNativeCNContactStoreSpec_cxx swiftPart = One::HybridNativeCNContactStoreSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -525,7 +526,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
525
526
|
One::HybridNativeCNContactStoreSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
526
527
|
return swiftPart.toUnsafe();
|
|
527
528
|
}
|
|
528
|
-
|
|
529
|
+
|
|
529
530
|
// pragma MARK: std::function<void(const std::optional<std::shared_ptr<HybridNativeCNContactSpec>>& /* contact */)>
|
|
530
531
|
Func_void_std__optional_std__shared_ptr_HybridNativeCNContactSpec__ create_Func_void_std__optional_std__shared_ptr_HybridNativeCNContactSpec__(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
531
532
|
auto swiftClosure = One::Func_void_std__optional_std__shared_ptr_HybridNativeCNContactSpec__::fromUnsafe(swiftClosureWrapper);
|
|
@@ -533,7 +534,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
533
534
|
swiftClosure.call(contact);
|
|
534
535
|
};
|
|
535
536
|
}
|
|
536
|
-
|
|
537
|
+
|
|
537
538
|
// pragma MARK: std::shared_ptr<HybridOneContactUISpec>
|
|
538
539
|
std::shared_ptr<HybridOneContactUISpec> create_std__shared_ptr_HybridOneContactUISpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
539
540
|
One::HybridOneContactUISpec_cxx swiftPart = One::HybridOneContactUISpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -549,7 +550,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
549
550
|
One::HybridOneContactUISpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
550
551
|
return swiftPart.toUnsafe();
|
|
551
552
|
}
|
|
552
|
-
|
|
553
|
+
|
|
553
554
|
// pragma MARK: std::function<void(const DataScannerRecognizedItem& /* item */)>
|
|
554
555
|
Func_void_DataScannerRecognizedItem create_Func_void_DataScannerRecognizedItem(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
555
556
|
auto swiftClosure = One::Func_void_DataScannerRecognizedItem::fromUnsafe(swiftClosureWrapper);
|
|
@@ -557,7 +558,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
557
558
|
swiftClosure.call(item);
|
|
558
559
|
};
|
|
559
560
|
}
|
|
560
|
-
|
|
561
|
+
|
|
561
562
|
// pragma MARK: std::function<void(const std::vector<DataScannerRecognizedItem>& /* items */, const std::vector<DataScannerRecognizedItem>& /* allItems */)>
|
|
562
563
|
Func_void_std__vector_DataScannerRecognizedItem__std__vector_DataScannerRecognizedItem_ create_Func_void_std__vector_DataScannerRecognizedItem__std__vector_DataScannerRecognizedItem_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
563
564
|
auto swiftClosure = One::Func_void_std__vector_DataScannerRecognizedItem__std__vector_DataScannerRecognizedItem_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -565,7 +566,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
565
566
|
swiftClosure.call(items, allItems);
|
|
566
567
|
};
|
|
567
568
|
}
|
|
568
|
-
|
|
569
|
+
|
|
569
570
|
// pragma MARK: std::function<void(DataScannerScanningUnavailable /* error */)>
|
|
570
571
|
Func_void_DataScannerScanningUnavailable create_Func_void_DataScannerScanningUnavailable(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
571
572
|
auto swiftClosure = One::Func_void_DataScannerScanningUnavailable::fromUnsafe(swiftClosureWrapper);
|
|
@@ -573,7 +574,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
573
574
|
swiftClosure.call(static_cast<int>(error));
|
|
574
575
|
};
|
|
575
576
|
}
|
|
576
|
-
|
|
577
|
+
|
|
577
578
|
// pragma MARK: std::shared_ptr<HybridDocumentCameraImageSpec>
|
|
578
579
|
std::shared_ptr<HybridDocumentCameraImageSpec> create_std__shared_ptr_HybridDocumentCameraImageSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
579
580
|
One::HybridDocumentCameraImageSpec_cxx swiftPart = One::HybridDocumentCameraImageSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -589,7 +590,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
589
590
|
One::HybridDocumentCameraImageSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
590
591
|
return swiftPart.toUnsafe();
|
|
591
592
|
}
|
|
592
|
-
|
|
593
|
+
|
|
593
594
|
// pragma MARK: std::function<void(const std::shared_ptr<HybridDocumentCameraImageSpec>& /* result */)>
|
|
594
595
|
Func_void_std__shared_ptr_HybridDocumentCameraImageSpec_ create_Func_void_std__shared_ptr_HybridDocumentCameraImageSpec_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
595
596
|
auto swiftClosure = One::Func_void_std__shared_ptr_HybridDocumentCameraImageSpec_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -597,7 +598,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
597
598
|
swiftClosure.call(result);
|
|
598
599
|
};
|
|
599
600
|
}
|
|
600
|
-
|
|
601
|
+
|
|
601
602
|
// pragma MARK: std::function<void(const std::vector<DataScannerRecognizedItem>& /* items */)>
|
|
602
603
|
Func_void_std__vector_DataScannerRecognizedItem_ create_Func_void_std__vector_DataScannerRecognizedItem_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
603
604
|
auto swiftClosure = One::Func_void_std__vector_DataScannerRecognizedItem_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -605,7 +606,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
605
606
|
swiftClosure.call(items);
|
|
606
607
|
};
|
|
607
608
|
}
|
|
608
|
-
|
|
609
|
+
|
|
609
610
|
// pragma MARK: std::shared_ptr<HybridOneDataScannerSpec>
|
|
610
611
|
std::shared_ptr<HybridOneDataScannerSpec> create_std__shared_ptr_HybridOneDataScannerSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
611
612
|
One::HybridOneDataScannerSpec_cxx swiftPart = One::HybridOneDataScannerSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -621,7 +622,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
621
622
|
One::HybridOneDataScannerSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
622
623
|
return swiftPart.toUnsafe();
|
|
623
624
|
}
|
|
624
|
-
|
|
625
|
+
|
|
625
626
|
// pragma MARK: std::function<void(const DeviceInfo& /* result */)>
|
|
626
627
|
Func_void_DeviceInfo create_Func_void_DeviceInfo(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
627
628
|
auto swiftClosure = One::Func_void_DeviceInfo::fromUnsafe(swiftClosureWrapper);
|
|
@@ -629,7 +630,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
629
630
|
swiftClosure.call(result);
|
|
630
631
|
};
|
|
631
632
|
}
|
|
632
|
-
|
|
633
|
+
|
|
633
634
|
// pragma MARK: std::function<void(const LocalizationInfo& /* result */)>
|
|
634
635
|
Func_void_LocalizationInfo create_Func_void_LocalizationInfo(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
635
636
|
auto swiftClosure = One::Func_void_LocalizationInfo::fromUnsafe(swiftClosureWrapper);
|
|
@@ -637,7 +638,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
637
638
|
swiftClosure.call(result);
|
|
638
639
|
};
|
|
639
640
|
}
|
|
640
|
-
|
|
641
|
+
|
|
641
642
|
// pragma MARK: std::shared_ptr<HybridOneDeviceSpec>
|
|
642
643
|
std::shared_ptr<HybridOneDeviceSpec> create_std__shared_ptr_HybridOneDeviceSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
643
644
|
One::HybridOneDeviceSpec_cxx swiftPart = One::HybridOneDeviceSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -653,7 +654,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
653
654
|
One::HybridOneDeviceSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
654
655
|
return swiftPart.toUnsafe();
|
|
655
656
|
}
|
|
656
|
-
|
|
657
|
+
|
|
657
658
|
// pragma MARK: std::shared_ptr<HybridOneDeviceAttestationSpec>
|
|
658
659
|
std::shared_ptr<HybridOneDeviceAttestationSpec> create_std__shared_ptr_HybridOneDeviceAttestationSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
659
660
|
One::HybridOneDeviceAttestationSpec_cxx swiftPart = One::HybridOneDeviceAttestationSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -669,7 +670,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
669
670
|
One::HybridOneDeviceAttestationSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
670
671
|
return swiftPart.toUnsafe();
|
|
671
672
|
}
|
|
672
|
-
|
|
673
|
+
|
|
673
674
|
// pragma MARK: std::shared_ptr<HybridDocumentCameraScanSpec>
|
|
674
675
|
std::shared_ptr<HybridDocumentCameraScanSpec> create_std__shared_ptr_HybridDocumentCameraScanSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
675
676
|
One::HybridDocumentCameraScanSpec_cxx swiftPart = One::HybridDocumentCameraScanSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -685,7 +686,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
685
686
|
One::HybridDocumentCameraScanSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
686
687
|
return swiftPart.toUnsafe();
|
|
687
688
|
}
|
|
688
|
-
|
|
689
|
+
|
|
689
690
|
// pragma MARK: std::function<void(const std::shared_ptr<HybridDocumentCameraScanSpec>& /* scan */)>
|
|
690
691
|
Func_void_std__shared_ptr_HybridDocumentCameraScanSpec_ create_Func_void_std__shared_ptr_HybridDocumentCameraScanSpec_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
691
692
|
auto swiftClosure = One::Func_void_std__shared_ptr_HybridDocumentCameraScanSpec_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -693,7 +694,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
693
694
|
swiftClosure.call(scan);
|
|
694
695
|
};
|
|
695
696
|
}
|
|
696
|
-
|
|
697
|
+
|
|
697
698
|
// pragma MARK: std::function<void(const DocumentCameraError& /* error */)>
|
|
698
699
|
Func_void_DocumentCameraError create_Func_void_DocumentCameraError(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
699
700
|
auto swiftClosure = One::Func_void_DocumentCameraError::fromUnsafe(swiftClosureWrapper);
|
|
@@ -701,7 +702,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
701
702
|
swiftClosure.call(error);
|
|
702
703
|
};
|
|
703
704
|
}
|
|
704
|
-
|
|
705
|
+
|
|
705
706
|
// pragma MARK: std::shared_ptr<HybridOneDocumentCameraSpec>
|
|
706
707
|
std::shared_ptr<HybridOneDocumentCameraSpec> create_std__shared_ptr_HybridOneDocumentCameraSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
707
708
|
One::HybridOneDocumentCameraSpec_cxx swiftPart = One::HybridOneDocumentCameraSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -717,7 +718,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
717
718
|
One::HybridOneDocumentCameraSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
718
719
|
return swiftPart.toUnsafe();
|
|
719
720
|
}
|
|
720
|
-
|
|
721
|
+
|
|
721
722
|
// pragma MARK: std::function<void(const FetchNativeResponse& /* response */)>
|
|
722
723
|
Func_void_FetchNativeResponse create_Func_void_FetchNativeResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
723
724
|
auto swiftClosure = One::Func_void_FetchNativeResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -725,7 +726,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
725
726
|
swiftClosure.call(response);
|
|
726
727
|
};
|
|
727
728
|
}
|
|
728
|
-
|
|
729
|
+
|
|
729
730
|
// pragma MARK: std::function<void(const std::shared_ptr<ArrayBuffer>& /* chunk */)>
|
|
730
731
|
Func_void_std__shared_ptr_ArrayBuffer_ create_Func_void_std__shared_ptr_ArrayBuffer_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
731
732
|
auto swiftClosure = One::Func_void_std__shared_ptr_ArrayBuffer_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -733,7 +734,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
733
734
|
swiftClosure.call(ArrayBufferHolder(chunk));
|
|
734
735
|
};
|
|
735
736
|
}
|
|
736
|
-
|
|
737
|
+
|
|
737
738
|
// pragma MARK: std::shared_ptr<HybridOneFetchSpec>
|
|
738
739
|
std::shared_ptr<HybridOneFetchSpec> create_std__shared_ptr_HybridOneFetchSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
739
740
|
One::HybridOneFetchSpec_cxx swiftPart = One::HybridOneFetchSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -749,7 +750,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
749
750
|
One::HybridOneFetchSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
750
751
|
return swiftPart.toUnsafe();
|
|
751
752
|
}
|
|
752
|
-
|
|
753
|
+
|
|
753
754
|
// pragma MARK: std::function<void(const FileInfo& /* result */)>
|
|
754
755
|
Func_void_FileInfo create_Func_void_FileInfo(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
755
756
|
auto swiftClosure = One::Func_void_FileInfo::fromUnsafe(swiftClosureWrapper);
|
|
@@ -757,7 +758,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
757
758
|
swiftClosure.call(result);
|
|
758
759
|
};
|
|
759
760
|
}
|
|
760
|
-
|
|
761
|
+
|
|
761
762
|
// pragma MARK: std::function<void(const std::vector<FileEntry>& /* result */)>
|
|
762
763
|
Func_void_std__vector_FileEntry_ create_Func_void_std__vector_FileEntry_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
763
764
|
auto swiftClosure = One::Func_void_std__vector_FileEntry_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -765,7 +766,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
765
766
|
swiftClosure.call(result);
|
|
766
767
|
};
|
|
767
768
|
}
|
|
768
|
-
|
|
769
|
+
|
|
769
770
|
// pragma MARK: std::shared_ptr<HybridOneFileSystemSpec>
|
|
770
771
|
std::shared_ptr<HybridOneFileSystemSpec> create_std__shared_ptr_HybridOneFileSystemSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
771
772
|
One::HybridOneFileSystemSpec_cxx swiftPart = One::HybridOneFileSystemSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -781,7 +782,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
781
782
|
One::HybridOneFileSystemSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
782
783
|
return swiftPart.toUnsafe();
|
|
783
784
|
}
|
|
784
|
-
|
|
785
|
+
|
|
785
786
|
// pragma MARK: std::shared_ptr<HybridOneFontsSpec>
|
|
786
787
|
std::shared_ptr<HybridOneFontsSpec> create_std__shared_ptr_HybridOneFontsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
787
788
|
One::HybridOneFontsSpec_cxx swiftPart = One::HybridOneFontsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -797,7 +798,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
797
798
|
One::HybridOneFontsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
798
799
|
return swiftPart.toUnsafe();
|
|
799
800
|
}
|
|
800
|
-
|
|
801
|
+
|
|
801
802
|
// pragma MARK: std::shared_ptr<HybridOneHapticsSpec>
|
|
802
803
|
std::shared_ptr<HybridOneHapticsSpec> create_std__shared_ptr_HybridOneHapticsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
803
804
|
One::HybridOneHapticsSpec_cxx swiftPart = One::HybridOneHapticsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -813,7 +814,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
813
814
|
One::HybridOneHapticsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
814
815
|
return swiftPart.toUnsafe();
|
|
815
816
|
}
|
|
816
|
-
|
|
817
|
+
|
|
817
818
|
// pragma MARK: std::function<void(const ImageTransformResult& /* result */)>
|
|
818
819
|
Func_void_ImageTransformResult create_Func_void_ImageTransformResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
819
820
|
auto swiftClosure = One::Func_void_ImageTransformResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -821,7 +822,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
821
822
|
swiftClosure.call(result);
|
|
822
823
|
};
|
|
823
824
|
}
|
|
824
|
-
|
|
825
|
+
|
|
825
826
|
// pragma MARK: std::shared_ptr<HybridOneImageManipulatorSpec>
|
|
826
827
|
std::shared_ptr<HybridOneImageManipulatorSpec> create_std__shared_ptr_HybridOneImageManipulatorSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
827
828
|
One::HybridOneImageManipulatorSpec_cxx swiftPart = One::HybridOneImageManipulatorSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -837,7 +838,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
837
838
|
One::HybridOneImageManipulatorSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
838
839
|
return swiftPart.toUnsafe();
|
|
839
840
|
}
|
|
840
|
-
|
|
841
|
+
|
|
841
842
|
// pragma MARK: std::function<void(const ImagePickerNativeResult& /* result */)>
|
|
842
843
|
Func_void_ImagePickerNativeResult create_Func_void_ImagePickerNativeResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
843
844
|
auto swiftClosure = One::Func_void_ImagePickerNativeResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -845,7 +846,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
845
846
|
swiftClosure.call(result);
|
|
846
847
|
};
|
|
847
848
|
}
|
|
848
|
-
|
|
849
|
+
|
|
849
850
|
// pragma MARK: std::function<void(const CameraPermissionResponse& /* result */)>
|
|
850
851
|
Func_void_CameraPermissionResponse create_Func_void_CameraPermissionResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
851
852
|
auto swiftClosure = One::Func_void_CameraPermissionResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -853,7 +854,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
853
854
|
swiftClosure.call(result);
|
|
854
855
|
};
|
|
855
856
|
}
|
|
856
|
-
|
|
857
|
+
|
|
857
858
|
// pragma MARK: std::shared_ptr<HybridOneImagePickerSpec>
|
|
858
859
|
std::shared_ptr<HybridOneImagePickerSpec> create_std__shared_ptr_HybridOneImagePickerSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
859
860
|
One::HybridOneImagePickerSpec_cxx swiftPart = One::HybridOneImagePickerSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -869,7 +870,55 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
869
870
|
One::HybridOneImagePickerSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
870
871
|
return swiftPart.toUnsafe();
|
|
871
872
|
}
|
|
872
|
-
|
|
873
|
+
|
|
874
|
+
// pragma MARK: std::function<void(const OneKeyboardFrame& /* result */)>
|
|
875
|
+
Func_void_OneKeyboardFrame create_Func_void_OneKeyboardFrame(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
876
|
+
auto swiftClosure = One::Func_void_OneKeyboardFrame::fromUnsafe(swiftClosureWrapper);
|
|
877
|
+
return [swiftClosure = std::move(swiftClosure)](const OneKeyboardFrame& result) mutable -> void {
|
|
878
|
+
swiftClosure.call(result);
|
|
879
|
+
};
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
// pragma MARK: std::function<void(OneKeyboardEventName /* name */, const OneKeyboardEvent& /* event */)>
|
|
883
|
+
Func_void_OneKeyboardEventName_OneKeyboardEvent create_Func_void_OneKeyboardEventName_OneKeyboardEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
884
|
+
auto swiftClosure = One::Func_void_OneKeyboardEventName_OneKeyboardEvent::fromUnsafe(swiftClosureWrapper);
|
|
885
|
+
return [swiftClosure = std::move(swiftClosure)](OneKeyboardEventName name, const OneKeyboardEvent& event) mutable -> void {
|
|
886
|
+
swiftClosure.call(static_cast<int>(name), event);
|
|
887
|
+
};
|
|
888
|
+
}
|
|
889
|
+
|
|
890
|
+
// pragma MARK: std::function<void(const OneKeyboardFocus& /* event */)>
|
|
891
|
+
Func_void_OneKeyboardFocus create_Func_void_OneKeyboardFocus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
892
|
+
auto swiftClosure = One::Func_void_OneKeyboardFocus::fromUnsafe(swiftClosureWrapper);
|
|
893
|
+
return [swiftClosure = std::move(swiftClosure)](const OneKeyboardFocus& event) mutable -> void {
|
|
894
|
+
swiftClosure.call(event);
|
|
895
|
+
};
|
|
896
|
+
}
|
|
897
|
+
|
|
898
|
+
// pragma MARK: std::function<void(double /* width */, double /* height */)>
|
|
899
|
+
Func_void_double_double create_Func_void_double_double(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
900
|
+
auto swiftClosure = One::Func_void_double_double::fromUnsafe(swiftClosureWrapper);
|
|
901
|
+
return [swiftClosure = std::move(swiftClosure)](double width, double height) mutable -> void {
|
|
902
|
+
swiftClosure.call(width, height);
|
|
903
|
+
};
|
|
904
|
+
}
|
|
905
|
+
|
|
906
|
+
// pragma MARK: std::shared_ptr<HybridOneKeyboardSpec>
|
|
907
|
+
std::shared_ptr<HybridOneKeyboardSpec> create_std__shared_ptr_HybridOneKeyboardSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
908
|
+
One::HybridOneKeyboardSpec_cxx swiftPart = One::HybridOneKeyboardSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
909
|
+
return std::make_shared<margelo::nitro::one::HybridOneKeyboardSpecSwift>(swiftPart);
|
|
910
|
+
}
|
|
911
|
+
void* NON_NULL get_std__shared_ptr_HybridOneKeyboardSpec_(std__shared_ptr_HybridOneKeyboardSpec_ cppType) {
|
|
912
|
+
std::shared_ptr<margelo::nitro::one::HybridOneKeyboardSpecSwift> swiftWrapper = std::dynamic_pointer_cast<margelo::nitro::one::HybridOneKeyboardSpecSwift>(cppType);
|
|
913
|
+
#ifdef NITRO_DEBUG
|
|
914
|
+
if (swiftWrapper == nullptr) [[unlikely]] {
|
|
915
|
+
throw std::runtime_error("Class \"HybridOneKeyboardSpec\" is not implemented in Swift!");
|
|
916
|
+
}
|
|
917
|
+
#endif
|
|
918
|
+
One::HybridOneKeyboardSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
919
|
+
return swiftPart.toUnsafe();
|
|
920
|
+
}
|
|
921
|
+
|
|
873
922
|
// pragma MARK: std::shared_ptr<HybridOneLaunchScreenSpec>
|
|
874
923
|
std::shared_ptr<HybridOneLaunchScreenSpec> create_std__shared_ptr_HybridOneLaunchScreenSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
875
924
|
One::HybridOneLaunchScreenSpec_cxx swiftPart = One::HybridOneLaunchScreenSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -885,7 +934,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
885
934
|
One::HybridOneLaunchScreenSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
886
935
|
return swiftPart.toUnsafe();
|
|
887
936
|
}
|
|
888
|
-
|
|
937
|
+
|
|
889
938
|
// pragma MARK: std::function<void(const LightSensorMeasurement& /* event */)>
|
|
890
939
|
Func_void_LightSensorMeasurement create_Func_void_LightSensorMeasurement(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
891
940
|
auto swiftClosure = One::Func_void_LightSensorMeasurement::fromUnsafe(swiftClosureWrapper);
|
|
@@ -893,7 +942,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
893
942
|
swiftClosure.call(event);
|
|
894
943
|
};
|
|
895
944
|
}
|
|
896
|
-
|
|
945
|
+
|
|
897
946
|
// pragma MARK: std::shared_ptr<HybridOneLightSensorSpec>
|
|
898
947
|
std::shared_ptr<HybridOneLightSensorSpec> create_std__shared_ptr_HybridOneLightSensorSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
899
948
|
One::HybridOneLightSensorSpec_cxx swiftPart = One::HybridOneLightSensorSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -909,7 +958,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
909
958
|
One::HybridOneLightSensorSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
910
959
|
return swiftPart.toUnsafe();
|
|
911
960
|
}
|
|
912
|
-
|
|
961
|
+
|
|
913
962
|
// pragma MARK: std::function<void(LocationPermissionStatus /* result */)>
|
|
914
963
|
Func_void_LocationPermissionStatus create_Func_void_LocationPermissionStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
915
964
|
auto swiftClosure = One::Func_void_LocationPermissionStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -917,7 +966,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
917
966
|
swiftClosure.call(static_cast<int>(result));
|
|
918
967
|
};
|
|
919
968
|
}
|
|
920
|
-
|
|
969
|
+
|
|
921
970
|
// pragma MARK: std::function<void(const LocationPosition& /* result */)>
|
|
922
971
|
Func_void_LocationPosition create_Func_void_LocationPosition(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
923
972
|
auto swiftClosure = One::Func_void_LocationPosition::fromUnsafe(swiftClosureWrapper);
|
|
@@ -925,7 +974,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
925
974
|
swiftClosure.call(result);
|
|
926
975
|
};
|
|
927
976
|
}
|
|
928
|
-
|
|
977
|
+
|
|
929
978
|
// pragma MARK: std::function<void(const std::string& /* code */, const std::string& /* message */)>
|
|
930
979
|
Func_void_std__string_std__string create_Func_void_std__string_std__string(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
931
980
|
auto swiftClosure = One::Func_void_std__string_std__string::fromUnsafe(swiftClosureWrapper);
|
|
@@ -933,7 +982,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
933
982
|
swiftClosure.call(code, message);
|
|
934
983
|
};
|
|
935
984
|
}
|
|
936
|
-
|
|
985
|
+
|
|
937
986
|
// pragma MARK: std::function<void(const std::vector<LocationPlace>& /* result */)>
|
|
938
987
|
Func_void_std__vector_LocationPlace_ create_Func_void_std__vector_LocationPlace_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
939
988
|
auto swiftClosure = One::Func_void_std__vector_LocationPlace_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -941,7 +990,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
941
990
|
swiftClosure.call(result);
|
|
942
991
|
};
|
|
943
992
|
}
|
|
944
|
-
|
|
993
|
+
|
|
945
994
|
// pragma MARK: std::function<void(RegionState /* result */)>
|
|
946
995
|
Func_void_RegionState create_Func_void_RegionState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
947
996
|
auto swiftClosure = One::Func_void_RegionState::fromUnsafe(swiftClosureWrapper);
|
|
@@ -949,7 +998,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
949
998
|
swiftClosure.call(static_cast<int>(result));
|
|
950
999
|
};
|
|
951
1000
|
}
|
|
952
|
-
|
|
1001
|
+
|
|
953
1002
|
// pragma MARK: std::function<void(const LocationRegion& /* region */)>
|
|
954
1003
|
Func_void_LocationRegion create_Func_void_LocationRegion(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
955
1004
|
auto swiftClosure = One::Func_void_LocationRegion::fromUnsafe(swiftClosureWrapper);
|
|
@@ -957,7 +1006,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
957
1006
|
swiftClosure.call(region);
|
|
958
1007
|
};
|
|
959
1008
|
}
|
|
960
|
-
|
|
1009
|
+
|
|
961
1010
|
// pragma MARK: std::shared_ptr<HybridOneLocationSpec>
|
|
962
1011
|
std::shared_ptr<HybridOneLocationSpec> create_std__shared_ptr_HybridOneLocationSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
963
1012
|
One::HybridOneLocationSpec_cxx swiftPart = One::HybridOneLocationSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -973,7 +1022,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
973
1022
|
One::HybridOneLocationSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
974
1023
|
return swiftPart.toUnsafe();
|
|
975
1024
|
}
|
|
976
|
-
|
|
1025
|
+
|
|
977
1026
|
// pragma MARK: std::function<void(const std::vector<MapPlace>& /* result */)>
|
|
978
1027
|
Func_void_std__vector_MapPlace_ create_Func_void_std__vector_MapPlace_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
979
1028
|
auto swiftClosure = One::Func_void_std__vector_MapPlace_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -981,7 +1030,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
981
1030
|
swiftClosure.call(result);
|
|
982
1031
|
};
|
|
983
1032
|
}
|
|
984
|
-
|
|
1033
|
+
|
|
985
1034
|
// pragma MARK: std::function<void(const std::vector<MapSuggestion>& /* result */)>
|
|
986
1035
|
Func_void_std__vector_MapSuggestion_ create_Func_void_std__vector_MapSuggestion_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
987
1036
|
auto swiftClosure = One::Func_void_std__vector_MapSuggestion_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -989,7 +1038,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
989
1038
|
swiftClosure.call(result);
|
|
990
1039
|
};
|
|
991
1040
|
}
|
|
992
|
-
|
|
1041
|
+
|
|
993
1042
|
// pragma MARK: std::function<void(const MapPlace& /* result */)>
|
|
994
1043
|
Func_void_MapPlace create_Func_void_MapPlace(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
995
1044
|
auto swiftClosure = One::Func_void_MapPlace::fromUnsafe(swiftClosureWrapper);
|
|
@@ -997,7 +1046,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
997
1046
|
swiftClosure.call(result);
|
|
998
1047
|
};
|
|
999
1048
|
}
|
|
1000
|
-
|
|
1049
|
+
|
|
1001
1050
|
// pragma MARK: std::function<void(const MapRoute& /* result */)>
|
|
1002
1051
|
Func_void_MapRoute create_Func_void_MapRoute(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1003
1052
|
auto swiftClosure = One::Func_void_MapRoute::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1005,7 +1054,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1005
1054
|
swiftClosure.call(result);
|
|
1006
1055
|
};
|
|
1007
1056
|
}
|
|
1008
|
-
|
|
1057
|
+
|
|
1009
1058
|
// pragma MARK: std::shared_ptr<HybridOneMapServicesSpec>
|
|
1010
1059
|
std::shared_ptr<HybridOneMapServicesSpec> create_std__shared_ptr_HybridOneMapServicesSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1011
1060
|
One::HybridOneMapServicesSpec_cxx swiftPart = One::HybridOneMapServicesSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1021,7 +1070,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1021
1070
|
One::HybridOneMapServicesSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1022
1071
|
return swiftPart.toUnsafe();
|
|
1023
1072
|
}
|
|
1024
|
-
|
|
1073
|
+
|
|
1025
1074
|
// pragma MARK: std::function<void(MailComposeResult /* result */, const std::optional<DocumentCameraError>& /* error */)>
|
|
1026
1075
|
Func_void_MailComposeResult_std__optional_DocumentCameraError_ create_Func_void_MailComposeResult_std__optional_DocumentCameraError_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1027
1076
|
auto swiftClosure = One::Func_void_MailComposeResult_std__optional_DocumentCameraError_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1029,7 +1078,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1029
1078
|
swiftClosure.call(static_cast<int>(result), error);
|
|
1030
1079
|
};
|
|
1031
1080
|
}
|
|
1032
|
-
|
|
1081
|
+
|
|
1033
1082
|
// pragma MARK: std::shared_ptr<HybridOneMailComposeSpec>
|
|
1034
1083
|
std::shared_ptr<HybridOneMailComposeSpec> create_std__shared_ptr_HybridOneMailComposeSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1035
1084
|
One::HybridOneMailComposeSpec_cxx swiftPart = One::HybridOneMailComposeSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1045,7 +1094,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1045
1094
|
One::HybridOneMailComposeSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1046
1095
|
return swiftPart.toUnsafe();
|
|
1047
1096
|
}
|
|
1048
|
-
|
|
1097
|
+
|
|
1049
1098
|
// pragma MARK: std::function<void(MessageComposeResult /* result */)>
|
|
1050
1099
|
Func_void_MessageComposeResult create_Func_void_MessageComposeResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1051
1100
|
auto swiftClosure = One::Func_void_MessageComposeResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1053,7 +1102,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1053
1102
|
swiftClosure.call(static_cast<int>(result));
|
|
1054
1103
|
};
|
|
1055
1104
|
}
|
|
1056
|
-
|
|
1105
|
+
|
|
1057
1106
|
// pragma MARK: std::shared_ptr<HybridOneMessageComposeSpec>
|
|
1058
1107
|
std::shared_ptr<HybridOneMessageComposeSpec> create_std__shared_ptr_HybridOneMessageComposeSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1059
1108
|
One::HybridOneMessageComposeSpec_cxx swiftPart = One::HybridOneMessageComposeSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1069,7 +1118,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1069
1118
|
One::HybridOneMessageComposeSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1070
1119
|
return swiftPart.toUnsafe();
|
|
1071
1120
|
}
|
|
1072
|
-
|
|
1121
|
+
|
|
1073
1122
|
// pragma MARK: std::function<void(const MotionReading& /* reading */)>
|
|
1074
1123
|
Func_void_MotionReading create_Func_void_MotionReading(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1075
1124
|
auto swiftClosure = One::Func_void_MotionReading::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1077,7 +1126,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1077
1126
|
swiftClosure.call(reading);
|
|
1078
1127
|
};
|
|
1079
1128
|
}
|
|
1080
|
-
|
|
1129
|
+
|
|
1081
1130
|
// pragma MARK: std::shared_ptr<HybridOneMotionSpec>
|
|
1082
1131
|
std::shared_ptr<HybridOneMotionSpec> create_std__shared_ptr_HybridOneMotionSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1083
1132
|
One::HybridOneMotionSpec_cxx swiftPart = One::HybridOneMotionSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1093,7 +1142,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1093
1142
|
One::HybridOneMotionSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1094
1143
|
return swiftPart.toUnsafe();
|
|
1095
1144
|
}
|
|
1096
|
-
|
|
1145
|
+
|
|
1097
1146
|
// pragma MARK: std::shared_ptr<HybridOneNativeModulesSpec>
|
|
1098
1147
|
std::shared_ptr<HybridOneNativeModulesSpec> create_std__shared_ptr_HybridOneNativeModulesSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1099
1148
|
One::HybridOneNativeModulesSpec_cxx swiftPart = One::HybridOneNativeModulesSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1109,7 +1158,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1109
1158
|
One::HybridOneNativeModulesSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1110
1159
|
return swiftPart.toUnsafe();
|
|
1111
1160
|
}
|
|
1112
|
-
|
|
1161
|
+
|
|
1113
1162
|
// pragma MARK: std::function<void(const NativePermissionResponse& /* result */)>
|
|
1114
1163
|
Func_void_NativePermissionResponse create_Func_void_NativePermissionResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1115
1164
|
auto swiftClosure = One::Func_void_NativePermissionResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1117,7 +1166,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1117
1166
|
swiftClosure.call(result);
|
|
1118
1167
|
};
|
|
1119
1168
|
}
|
|
1120
|
-
|
|
1169
|
+
|
|
1121
1170
|
// pragma MARK: std::function<void(const NativeNotificationCategory& /* result */)>
|
|
1122
1171
|
Func_void_NativeNotificationCategory create_Func_void_NativeNotificationCategory(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1123
1172
|
auto swiftClosure = One::Func_void_NativeNotificationCategory::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1125,7 +1174,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1125
1174
|
swiftClosure.call(result);
|
|
1126
1175
|
};
|
|
1127
1176
|
}
|
|
1128
|
-
|
|
1177
|
+
|
|
1129
1178
|
// pragma MARK: std::function<void(const std::vector<NativeNotificationCategory>& /* result */)>
|
|
1130
1179
|
Func_void_std__vector_NativeNotificationCategory_ create_Func_void_std__vector_NativeNotificationCategory_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1131
1180
|
auto swiftClosure = One::Func_void_std__vector_NativeNotificationCategory_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1133,7 +1182,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1133
1182
|
swiftClosure.call(result);
|
|
1134
1183
|
};
|
|
1135
1184
|
}
|
|
1136
|
-
|
|
1185
|
+
|
|
1137
1186
|
// pragma MARK: std::function<void(const std::optional<NativeChannel>& /* result */)>
|
|
1138
1187
|
Func_void_std__optional_NativeChannel_ create_Func_void_std__optional_NativeChannel_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1139
1188
|
auto swiftClosure = One::Func_void_std__optional_NativeChannel_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1141,7 +1190,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1141
1190
|
swiftClosure.call(result);
|
|
1142
1191
|
};
|
|
1143
1192
|
}
|
|
1144
|
-
|
|
1193
|
+
|
|
1145
1194
|
// pragma MARK: std::function<void(const std::vector<NativeChannel>& /* result */)>
|
|
1146
1195
|
Func_void_std__vector_NativeChannel_ create_Func_void_std__vector_NativeChannel_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1147
1196
|
auto swiftClosure = One::Func_void_std__vector_NativeChannel_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1149,7 +1198,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1149
1198
|
swiftClosure.call(result);
|
|
1150
1199
|
};
|
|
1151
1200
|
}
|
|
1152
|
-
|
|
1201
|
+
|
|
1153
1202
|
// pragma MARK: std::function<void(const std::vector<NativeNotificationRequest>& /* result */)>
|
|
1154
1203
|
Func_void_std__vector_NativeNotificationRequest_ create_Func_void_std__vector_NativeNotificationRequest_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1155
1204
|
auto swiftClosure = One::Func_void_std__vector_NativeNotificationRequest_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1157,7 +1206,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1157
1206
|
swiftClosure.call(result);
|
|
1158
1207
|
};
|
|
1159
1208
|
}
|
|
1160
|
-
|
|
1209
|
+
|
|
1161
1210
|
// pragma MARK: std::function<void(const std::vector<NativeNotification>& /* result */)>
|
|
1162
1211
|
Func_void_std__vector_NativeNotification_ create_Func_void_std__vector_NativeNotification_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1163
1212
|
auto swiftClosure = One::Func_void_std__vector_NativeNotification_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1165,7 +1214,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1165
1214
|
swiftClosure.call(result);
|
|
1166
1215
|
};
|
|
1167
1216
|
}
|
|
1168
|
-
|
|
1217
|
+
|
|
1169
1218
|
// pragma MARK: std::function<void(const NativePushToken& /* result */)>
|
|
1170
1219
|
Func_void_NativePushToken create_Func_void_NativePushToken(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1171
1220
|
auto swiftClosure = One::Func_void_NativePushToken::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1173,7 +1222,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1173
1222
|
swiftClosure.call(result);
|
|
1174
1223
|
};
|
|
1175
1224
|
}
|
|
1176
|
-
|
|
1225
|
+
|
|
1177
1226
|
// pragma MARK: std::function<void(const std::string& /* requestId */, const NativeNotification& /* notification */)>
|
|
1178
1227
|
Func_void_std__string_NativeNotification create_Func_void_std__string_NativeNotification(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1179
1228
|
auto swiftClosure = One::Func_void_std__string_NativeNotification::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1181,7 +1230,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1181
1230
|
swiftClosure.call(requestId, notification);
|
|
1182
1231
|
};
|
|
1183
1232
|
}
|
|
1184
|
-
|
|
1233
|
+
|
|
1185
1234
|
// pragma MARK: std::function<void(const NativeNotificationResponse& /* response */)>
|
|
1186
1235
|
Func_void_NativeNotificationResponse create_Func_void_NativeNotificationResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1187
1236
|
auto swiftClosure = One::Func_void_NativeNotificationResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1189,7 +1238,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1189
1238
|
swiftClosure.call(response);
|
|
1190
1239
|
};
|
|
1191
1240
|
}
|
|
1192
|
-
|
|
1241
|
+
|
|
1193
1242
|
// pragma MARK: std::shared_ptr<HybridOneNotificationsSpec>
|
|
1194
1243
|
std::shared_ptr<HybridOneNotificationsSpec> create_std__shared_ptr_HybridOneNotificationsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1195
1244
|
One::HybridOneNotificationsSpec_cxx swiftPart = One::HybridOneNotificationsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1205,7 +1254,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1205
1254
|
One::HybridOneNotificationsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1206
1255
|
return swiftPart.toUnsafe();
|
|
1207
1256
|
}
|
|
1208
|
-
|
|
1257
|
+
|
|
1209
1258
|
// pragma MARK: std::function<void(const PedometerResult& /* result */)>
|
|
1210
1259
|
Func_void_PedometerResult create_Func_void_PedometerResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1211
1260
|
auto swiftClosure = One::Func_void_PedometerResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1213,7 +1262,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1213
1262
|
swiftClosure.call(result);
|
|
1214
1263
|
};
|
|
1215
1264
|
}
|
|
1216
|
-
|
|
1265
|
+
|
|
1217
1266
|
// pragma MARK: std::function<void(const PedometerPermissionResponse& /* result */)>
|
|
1218
1267
|
Func_void_PedometerPermissionResponse create_Func_void_PedometerPermissionResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1219
1268
|
auto swiftClosure = One::Func_void_PedometerPermissionResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1221,7 +1270,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1221
1270
|
swiftClosure.call(result);
|
|
1222
1271
|
};
|
|
1223
1272
|
}
|
|
1224
|
-
|
|
1273
|
+
|
|
1225
1274
|
// pragma MARK: std::shared_ptr<HybridOnePedometerSpec>
|
|
1226
1275
|
std::shared_ptr<HybridOnePedometerSpec> create_std__shared_ptr_HybridOnePedometerSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1227
1276
|
One::HybridOnePedometerSpec_cxx swiftPart = One::HybridOnePedometerSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1237,7 +1286,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1237
1286
|
One::HybridOnePedometerSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1238
1287
|
return swiftPart.toUnsafe();
|
|
1239
1288
|
}
|
|
1240
|
-
|
|
1289
|
+
|
|
1241
1290
|
// pragma MARK: std::function<void(PhotoLibraryPermissionStatus /* result */)>
|
|
1242
1291
|
Func_void_PhotoLibraryPermissionStatus create_Func_void_PhotoLibraryPermissionStatus(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1243
1292
|
auto swiftClosure = One::Func_void_PhotoLibraryPermissionStatus::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1245,7 +1294,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1245
1294
|
swiftClosure.call(static_cast<int>(result));
|
|
1246
1295
|
};
|
|
1247
1296
|
}
|
|
1248
|
-
|
|
1297
|
+
|
|
1249
1298
|
// pragma MARK: std::function<void(const std::vector<std::string>& /* result */)>
|
|
1250
1299
|
Func_void_std__vector_std__string_ create_Func_void_std__vector_std__string_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1251
1300
|
auto swiftClosure = One::Func_void_std__vector_std__string_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1253,7 +1302,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1253
1302
|
swiftClosure.call(result);
|
|
1254
1303
|
};
|
|
1255
1304
|
}
|
|
1256
|
-
|
|
1305
|
+
|
|
1257
1306
|
// pragma MARK: std::function<void(const PhotoLibraryAssetPage& /* result */)>
|
|
1258
1307
|
Func_void_PhotoLibraryAssetPage create_Func_void_PhotoLibraryAssetPage(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1259
1308
|
auto swiftClosure = One::Func_void_PhotoLibraryAssetPage::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1261,7 +1310,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1261
1310
|
swiftClosure.call(result);
|
|
1262
1311
|
};
|
|
1263
1312
|
}
|
|
1264
|
-
|
|
1313
|
+
|
|
1265
1314
|
// pragma MARK: std::function<void(const PhotoLibraryAsset& /* result */)>
|
|
1266
1315
|
Func_void_PhotoLibraryAsset create_Func_void_PhotoLibraryAsset(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1267
1316
|
auto swiftClosure = One::Func_void_PhotoLibraryAsset::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1269,7 +1318,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1269
1318
|
swiftClosure.call(result);
|
|
1270
1319
|
};
|
|
1271
1320
|
}
|
|
1272
|
-
|
|
1321
|
+
|
|
1273
1322
|
// pragma MARK: std::function<void(const PhotoLibraryAlbumPage& /* result */)>
|
|
1274
1323
|
Func_void_PhotoLibraryAlbumPage create_Func_void_PhotoLibraryAlbumPage(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1275
1324
|
auto swiftClosure = One::Func_void_PhotoLibraryAlbumPage::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1277,7 +1326,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1277
1326
|
swiftClosure.call(result);
|
|
1278
1327
|
};
|
|
1279
1328
|
}
|
|
1280
|
-
|
|
1329
|
+
|
|
1281
1330
|
// pragma MARK: std::function<void(const PhotoLibraryAlbum& /* result */)>
|
|
1282
1331
|
Func_void_PhotoLibraryAlbum create_Func_void_PhotoLibraryAlbum(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1283
1332
|
auto swiftClosure = One::Func_void_PhotoLibraryAlbum::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1285,7 +1334,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1285
1334
|
swiftClosure.call(result);
|
|
1286
1335
|
};
|
|
1287
1336
|
}
|
|
1288
|
-
|
|
1337
|
+
|
|
1289
1338
|
// pragma MARK: std::shared_ptr<HybridOnePhotoLibrarySpec>
|
|
1290
1339
|
std::shared_ptr<HybridOnePhotoLibrarySpec> create_std__shared_ptr_HybridOnePhotoLibrarySpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1291
1340
|
One::HybridOnePhotoLibrarySpec_cxx swiftPart = One::HybridOnePhotoLibrarySpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1301,7 +1350,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1301
1350
|
One::HybridOnePhotoLibrarySpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1302
1351
|
return swiftPart.toUnsafe();
|
|
1303
1352
|
}
|
|
1304
|
-
|
|
1353
|
+
|
|
1305
1354
|
// pragma MARK: std::function<void(const std::optional<std::string>& /* result */)>
|
|
1306
1355
|
Func_void_std__optional_std__string_ create_Func_void_std__optional_std__string_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1307
1356
|
auto swiftClosure = One::Func_void_std__optional_std__string_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1309,7 +1358,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1309
1358
|
swiftClosure.call(result);
|
|
1310
1359
|
};
|
|
1311
1360
|
}
|
|
1312
|
-
|
|
1361
|
+
|
|
1313
1362
|
// pragma MARK: std::shared_ptr<HybridOneProtectedStoreSpec>
|
|
1314
1363
|
std::shared_ptr<HybridOneProtectedStoreSpec> create_std__shared_ptr_HybridOneProtectedStoreSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1315
1364
|
One::HybridOneProtectedStoreSpec_cxx swiftPart = One::HybridOneProtectedStoreSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1325,7 +1374,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1325
1374
|
One::HybridOneProtectedStoreSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1326
1375
|
return swiftPart.toUnsafe();
|
|
1327
1376
|
}
|
|
1328
|
-
|
|
1377
|
+
|
|
1329
1378
|
// pragma MARK: std::function<void(const std::vector<PurchaseProduct>& /* result */)>
|
|
1330
1379
|
Func_void_std__vector_PurchaseProduct_ create_Func_void_std__vector_PurchaseProduct_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1331
1380
|
auto swiftClosure = One::Func_void_std__vector_PurchaseProduct_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1333,7 +1382,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1333
1382
|
swiftClosure.call(result);
|
|
1334
1383
|
};
|
|
1335
1384
|
}
|
|
1336
|
-
|
|
1385
|
+
|
|
1337
1386
|
// pragma MARK: std::function<void(const PurchaseResult& /* result */)>
|
|
1338
1387
|
Func_void_PurchaseResult create_Func_void_PurchaseResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1339
1388
|
auto swiftClosure = One::Func_void_PurchaseResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1341,7 +1390,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1341
1390
|
swiftClosure.call(result);
|
|
1342
1391
|
};
|
|
1343
1392
|
}
|
|
1344
|
-
|
|
1393
|
+
|
|
1345
1394
|
// pragma MARK: std::function<void(const std::vector<PurchaseTransaction>& /* result */)>
|
|
1346
1395
|
Func_void_std__vector_PurchaseTransaction_ create_Func_void_std__vector_PurchaseTransaction_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1347
1396
|
auto swiftClosure = One::Func_void_std__vector_PurchaseTransaction_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1349,7 +1398,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1349
1398
|
swiftClosure.call(result);
|
|
1350
1399
|
};
|
|
1351
1400
|
}
|
|
1352
|
-
|
|
1401
|
+
|
|
1353
1402
|
// pragma MARK: std::function<void(const PurchaseUpdate& /* update */)>
|
|
1354
1403
|
Func_void_PurchaseUpdate create_Func_void_PurchaseUpdate(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1355
1404
|
auto swiftClosure = One::Func_void_PurchaseUpdate::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1357,7 +1406,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1357
1406
|
swiftClosure.call(update);
|
|
1358
1407
|
};
|
|
1359
1408
|
}
|
|
1360
|
-
|
|
1409
|
+
|
|
1361
1410
|
// pragma MARK: std::shared_ptr<HybridOnePurchasesSpec>
|
|
1362
1411
|
std::shared_ptr<HybridOnePurchasesSpec> create_std__shared_ptr_HybridOnePurchasesSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1363
1412
|
One::HybridOnePurchasesSpec_cxx swiftPart = One::HybridOnePurchasesSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1373,7 +1422,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1373
1422
|
One::HybridOnePurchasesSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1374
1423
|
return swiftPart.toUnsafe();
|
|
1375
1424
|
}
|
|
1376
|
-
|
|
1425
|
+
|
|
1377
1426
|
// pragma MARK: std::function<void(const std::vector<QuickActionItem>& /* result */)>
|
|
1378
1427
|
Func_void_std__vector_QuickActionItem_ create_Func_void_std__vector_QuickActionItem_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1379
1428
|
auto swiftClosure = One::Func_void_std__vector_QuickActionItem_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1381,7 +1430,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1381
1430
|
swiftClosure.call(result);
|
|
1382
1431
|
};
|
|
1383
1432
|
}
|
|
1384
|
-
|
|
1433
|
+
|
|
1385
1434
|
// pragma MARK: std::shared_ptr<HybridOneQuickActionsSpec>
|
|
1386
1435
|
std::shared_ptr<HybridOneQuickActionsSpec> create_std__shared_ptr_HybridOneQuickActionsSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1387
1436
|
One::HybridOneQuickActionsSpec_cxx swiftPart = One::HybridOneQuickActionsSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1397,7 +1446,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1397
1446
|
One::HybridOneQuickActionsSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1398
1447
|
return swiftPart.toUnsafe();
|
|
1399
1448
|
}
|
|
1400
|
-
|
|
1449
|
+
|
|
1401
1450
|
// pragma MARK: std::function<void(ScreenCaptureState /* result */)>
|
|
1402
1451
|
Func_void_ScreenCaptureState create_Func_void_ScreenCaptureState(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1403
1452
|
auto swiftClosure = One::Func_void_ScreenCaptureState::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1405,7 +1454,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1405
1454
|
swiftClosure.call(static_cast<int>(result));
|
|
1406
1455
|
};
|
|
1407
1456
|
}
|
|
1408
|
-
|
|
1457
|
+
|
|
1409
1458
|
// pragma MARK: std::function<void(const ScreenCaptureResult& /* result */)>
|
|
1410
1459
|
Func_void_ScreenCaptureResult create_Func_void_ScreenCaptureResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1411
1460
|
auto swiftClosure = One::Func_void_ScreenCaptureResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1413,7 +1462,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1413
1462
|
swiftClosure.call(result);
|
|
1414
1463
|
};
|
|
1415
1464
|
}
|
|
1416
|
-
|
|
1465
|
+
|
|
1417
1466
|
// pragma MARK: std::shared_ptr<HybridOneScreenCaptureSpec>
|
|
1418
1467
|
std::shared_ptr<HybridOneScreenCaptureSpec> create_std__shared_ptr_HybridOneScreenCaptureSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1419
1468
|
One::HybridOneScreenCaptureSpec_cxx swiftPart = One::HybridOneScreenCaptureSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1429,7 +1478,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1429
1478
|
One::HybridOneScreenCaptureSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1430
1479
|
return swiftPart.toUnsafe();
|
|
1431
1480
|
}
|
|
1432
|
-
|
|
1481
|
+
|
|
1433
1482
|
// pragma MARK: std::function<void(ScreenOrientationValue /* result */)>
|
|
1434
1483
|
Func_void_ScreenOrientationValue create_Func_void_ScreenOrientationValue(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1435
1484
|
auto swiftClosure = One::Func_void_ScreenOrientationValue::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1437,7 +1486,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1437
1486
|
swiftClosure.call(static_cast<int>(result));
|
|
1438
1487
|
};
|
|
1439
1488
|
}
|
|
1440
|
-
|
|
1489
|
+
|
|
1441
1490
|
// pragma MARK: std::shared_ptr<HybridOneScreenOrientationSpec>
|
|
1442
1491
|
std::shared_ptr<HybridOneScreenOrientationSpec> create_std__shared_ptr_HybridOneScreenOrientationSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1443
1492
|
One::HybridOneScreenOrientationSpec_cxx swiftPart = One::HybridOneScreenOrientationSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1453,7 +1502,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1453
1502
|
One::HybridOneScreenOrientationSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1454
1503
|
return swiftPart.toUnsafe();
|
|
1455
1504
|
}
|
|
1456
|
-
|
|
1505
|
+
|
|
1457
1506
|
// pragma MARK: std::shared_ptr<HybridOneSDKHandleSpec>
|
|
1458
1507
|
std::shared_ptr<HybridOneSDKHandleSpec> create_std__shared_ptr_HybridOneSDKHandleSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1459
1508
|
One::HybridOneSDKHandleSpec_cxx swiftPart = One::HybridOneSDKHandleSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1469,7 +1518,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1469
1518
|
One::HybridOneSDKHandleSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1470
1519
|
return swiftPart.toUnsafe();
|
|
1471
1520
|
}
|
|
1472
|
-
|
|
1521
|
+
|
|
1473
1522
|
// pragma MARK: std::function<void(const OneSDKResult& /* result */)>
|
|
1474
1523
|
Func_void_OneSDKResult create_Func_void_OneSDKResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1475
1524
|
auto swiftClosure = One::Func_void_OneSDKResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1477,7 +1526,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1477
1526
|
swiftClosure.call(result);
|
|
1478
1527
|
};
|
|
1479
1528
|
}
|
|
1480
|
-
|
|
1529
|
+
|
|
1481
1530
|
// pragma MARK: std::function<void(double /* index */, const std::shared_ptr<AnyMap>& /* data */, const std::vector<std::shared_ptr<HybridOneSDKHandleSpec>>& /* handles */, const std::vector<std::shared_ptr<ArrayBuffer>>& /* buffers */)>
|
|
1482
1531
|
Func_void_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__ create_Func_void_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1483
1532
|
auto swiftClosure = One::Func_void_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1485,7 +1534,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1485
1534
|
swiftClosure.call(index, data, handles, buffers);
|
|
1486
1535
|
};
|
|
1487
1536
|
}
|
|
1488
|
-
|
|
1537
|
+
|
|
1489
1538
|
// pragma MARK: std::function<OneSDKResult(double /* index */, const std::shared_ptr<AnyMap>& /* data */, const std::vector<std::shared_ptr<HybridOneSDKHandleSpec>>& /* handles */, const std::vector<std::shared_ptr<ArrayBuffer>>& /* buffers */)>
|
|
1490
1539
|
Func_OneSDKResult_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__ create_Func_OneSDKResult_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1491
1540
|
auto swiftClosure = One::Func_OneSDKResult_double_std__shared_ptr_AnyMap__std__vector_std__shared_ptr_HybridOneSDKHandleSpec___std__vector_std__shared_ptr_ArrayBuffer__::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1494,7 +1543,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1494
1543
|
return __result;
|
|
1495
1544
|
};
|
|
1496
1545
|
}
|
|
1497
|
-
|
|
1546
|
+
|
|
1498
1547
|
// pragma MARK: std::function<void(const std::variant<nitro::NullType, bool, std::shared_ptr<ArrayBuffer>, std::shared_ptr<HybridOneSDKHandleSpec>, std::string, double, OneSDKRect, OneSDKPoint, OneSDKResult, std::chrono::system_clock::time_point>& /* result */)>
|
|
1499
1548
|
Func_void_std__variant_nitro__NullType__bool__std__shared_ptr_ArrayBuffer___std__shared_ptr_HybridOneSDKHandleSpec___std__string__double__OneSDKRect__OneSDKPoint__OneSDKResult__std__chrono__system_clock__time_point_ create_Func_void_std__variant_nitro__NullType__bool__std__shared_ptr_ArrayBuffer___std__shared_ptr_HybridOneSDKHandleSpec___std__string__double__OneSDKRect__OneSDKPoint__OneSDKResult__std__chrono__system_clock__time_point_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1500
1549
|
auto swiftClosure = One::Func_void_std__variant_nitro__NullType__bool__std__shared_ptr_ArrayBuffer___std__shared_ptr_HybridOneSDKHandleSpec___std__string__double__OneSDKRect__OneSDKPoint__OneSDKResult__std__chrono__system_clock__time_point_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1502,7 +1551,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1502
1551
|
swiftClosure.call(result);
|
|
1503
1552
|
};
|
|
1504
1553
|
}
|
|
1505
|
-
|
|
1554
|
+
|
|
1506
1555
|
// pragma MARK: std::shared_ptr<HybridOneSDKSpec>
|
|
1507
1556
|
std::shared_ptr<HybridOneSDKSpec> create_std__shared_ptr_HybridOneSDKSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1508
1557
|
One::HybridOneSDKSpec_cxx swiftPart = One::HybridOneSDKSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1518,7 +1567,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1518
1567
|
One::HybridOneSDKSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1519
1568
|
return swiftPart.toUnsafe();
|
|
1520
1569
|
}
|
|
1521
|
-
|
|
1570
|
+
|
|
1522
1571
|
// pragma MARK: std::shared_ptr<HybridOneSecureStoreSpec>
|
|
1523
1572
|
std::shared_ptr<HybridOneSecureStoreSpec> create_std__shared_ptr_HybridOneSecureStoreSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1524
1573
|
One::HybridOneSecureStoreSpec_cxx swiftPart = One::HybridOneSecureStoreSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1534,7 +1583,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1534
1583
|
One::HybridOneSecureStoreSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1535
1584
|
return swiftPart.toUnsafe();
|
|
1536
1585
|
}
|
|
1537
|
-
|
|
1586
|
+
|
|
1538
1587
|
// pragma MARK: std::function<void(const SpeechPermissionResponse& /* result */)>
|
|
1539
1588
|
Func_void_SpeechPermissionResponse create_Func_void_SpeechPermissionResponse(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1540
1589
|
auto swiftClosure = One::Func_void_SpeechPermissionResponse::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1542,7 +1591,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1542
1591
|
swiftClosure.call(result);
|
|
1543
1592
|
};
|
|
1544
1593
|
}
|
|
1545
|
-
|
|
1594
|
+
|
|
1546
1595
|
// pragma MARK: std::function<void(const SpeechEvent& /* event */)>
|
|
1547
1596
|
Func_void_SpeechEvent create_Func_void_SpeechEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1548
1597
|
auto swiftClosure = One::Func_void_SpeechEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1550,7 +1599,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1550
1599
|
swiftClosure.call(event);
|
|
1551
1600
|
};
|
|
1552
1601
|
}
|
|
1553
|
-
|
|
1602
|
+
|
|
1554
1603
|
// pragma MARK: std::shared_ptr<HybridOneSpeechSpec>
|
|
1555
1604
|
std::shared_ptr<HybridOneSpeechSpec> create_std__shared_ptr_HybridOneSpeechSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1556
1605
|
One::HybridOneSpeechSpec_cxx swiftPart = One::HybridOneSpeechSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1566,7 +1615,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1566
1615
|
One::HybridOneSpeechSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1567
1616
|
return swiftPart.toUnsafe();
|
|
1568
1617
|
}
|
|
1569
|
-
|
|
1618
|
+
|
|
1570
1619
|
// pragma MARK: std::function<void(const SpeechSynthesisEvent& /* event */)>
|
|
1571
1620
|
Func_void_SpeechSynthesisEvent create_Func_void_SpeechSynthesisEvent(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1572
1621
|
auto swiftClosure = One::Func_void_SpeechSynthesisEvent::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1574,7 +1623,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1574
1623
|
swiftClosure.call(event);
|
|
1575
1624
|
};
|
|
1576
1625
|
}
|
|
1577
|
-
|
|
1626
|
+
|
|
1578
1627
|
// pragma MARK: std::function<void(const std::vector<SpeechSynthesisVoice>& /* result */)>
|
|
1579
1628
|
Func_void_std__vector_SpeechSynthesisVoice_ create_Func_void_std__vector_SpeechSynthesisVoice_(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1580
1629
|
auto swiftClosure = One::Func_void_std__vector_SpeechSynthesisVoice_::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1582,7 +1631,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1582
1631
|
swiftClosure.call(result);
|
|
1583
1632
|
};
|
|
1584
1633
|
}
|
|
1585
|
-
|
|
1634
|
+
|
|
1586
1635
|
// pragma MARK: std::shared_ptr<HybridOneSpeechSynthesisSpec>
|
|
1587
1636
|
std::shared_ptr<HybridOneSpeechSynthesisSpec> create_std__shared_ptr_HybridOneSpeechSynthesisSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1588
1637
|
One::HybridOneSpeechSynthesisSpec_cxx swiftPart = One::HybridOneSpeechSynthesisSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1598,7 +1647,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1598
1647
|
One::HybridOneSpeechSynthesisSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1599
1648
|
return swiftPart.toUnsafe();
|
|
1600
1649
|
}
|
|
1601
|
-
|
|
1650
|
+
|
|
1602
1651
|
// pragma MARK: std::shared_ptr<HybridOneStoreReviewSpec>
|
|
1603
1652
|
std::shared_ptr<HybridOneStoreReviewSpec> create_std__shared_ptr_HybridOneStoreReviewSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1604
1653
|
One::HybridOneStoreReviewSpec_cxx swiftPart = One::HybridOneStoreReviewSpec_cxx::fromUnsafe(swiftUnsafePointer);
|
|
@@ -1614,7 +1663,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1614
1663
|
One::HybridOneStoreReviewSpec_cxx& swiftPart = swiftWrapper->getSwiftPart();
|
|
1615
1664
|
return swiftPart.toUnsafe();
|
|
1616
1665
|
}
|
|
1617
|
-
|
|
1666
|
+
|
|
1618
1667
|
// pragma MARK: std::function<void(const OneUpdatesCheckResult& /* result */)>
|
|
1619
1668
|
Func_void_OneUpdatesCheckResult create_Func_void_OneUpdatesCheckResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1620
1669
|
auto swiftClosure = One::Func_void_OneUpdatesCheckResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1622,7 +1671,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1622
1671
|
swiftClosure.call(result);
|
|
1623
1672
|
};
|
|
1624
1673
|
}
|
|
1625
|
-
|
|
1674
|
+
|
|
1626
1675
|
// pragma MARK: std::function<void(const OneUpdatesFetchResult& /* result */)>
|
|
1627
1676
|
Func_void_OneUpdatesFetchResult create_Func_void_OneUpdatesFetchResult(void* NON_NULL swiftClosureWrapper) noexcept {
|
|
1628
1677
|
auto swiftClosure = One::Func_void_OneUpdatesFetchResult::fromUnsafe(swiftClosureWrapper);
|
|
@@ -1630,7 +1679,7 @@ namespace margelo::nitro::one::bridge::swift {
|
|
|
1630
1679
|
swiftClosure.call(result);
|
|
1631
1680
|
};
|
|
1632
1681
|
}
|
|
1633
|
-
|
|
1682
|
+
|
|
1634
1683
|
// pragma MARK: std::shared_ptr<HybridOneUpdatesSpec>
|
|
1635
1684
|
std::shared_ptr<HybridOneUpdatesSpec> create_std__shared_ptr_HybridOneUpdatesSpec_(void* NON_NULL swiftUnsafePointer) noexcept {
|
|
1636
1685
|
One::HybridOneUpdatesSpec_cxx swiftPart = One::HybridOneUpdatesSpec_cxx::fromUnsafe(swiftUnsafePointer);
|