62 lines
2.4 KiB
JavaScript
62 lines
2.4 KiB
JavaScript
// Module ID: 1644
|
|
// Function ID: 1645
|
|
// Name: nativeEventEmitter
|
|
// Dependencies: [17, 1645, 1646, 1647, 1648, 1649, 1650, 1651]
|
|
// Exports: RCTKeyboardExtender
|
|
|
|
// Module 1644 (nativeEventEmitter)
|
|
import KeyboardController from "KeyboardController" /* 1645 */;
|
|
import __INTERNAL_VIEW_CONFIG from "__INTERNAL_VIEW_CONFIG" /* 1646 */;
|
|
import __INTERNAL_VIEW_CONFIG2 from "__INTERNAL_VIEW_CONFIG" /* 1647 */;
|
|
import __INTERNAL_VIEW_CONFIG3 from "__INTERNAL_VIEW_CONFIG" /* 1648 */;
|
|
import __INTERNAL_VIEW_CONFIG4 from "__INTERNAL_VIEW_CONFIG" /* 1649 */;
|
|
import __INTERNAL_VIEW_CONFIG5 from "__INTERNAL_VIEW_CONFIG" /* 1650 */;
|
|
import __INTERNAL_VIEW_CONFIG6 from "__INTERNAL_VIEW_CONFIG" /* 1651 */;
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
({ NativeEventEmitter, Platform } = get_ActivityIndicator);
|
|
if (KeyboardController.default) {
|
|
let _default = KeyboardController.default;
|
|
} else {
|
|
const _Proxy = Proxy;
|
|
let obj = { get: null };
|
|
obj[0] = function get() {
|
|
error = new Error("The package 'react-native-keyboard-controller' doesn't seem to be linked. Make sure: \n\n- You rebuilt the app after installing the package\n- You are not using Expo Go\n");
|
|
throw error;
|
|
};
|
|
_default = new Proxy({}, obj);
|
|
}
|
|
let c0 = "KeyboardController::";
|
|
const nativeEventEmitter = new NativeEventEmitter(_default);
|
|
obj = {
|
|
addListener(arg0, arg1) {
|
|
return nativeEventEmitter.addListener(c0 + arg0, arg1);
|
|
}
|
|
};
|
|
obj = {
|
|
addListener(arg0, arg1) {
|
|
return nativeEventEmitter.addListener(c0 + arg0, arg1);
|
|
}
|
|
};
|
|
if (Platform.Version >= 30) {
|
|
let fn = __INTERNAL_VIEW_CONFIG.default;
|
|
} else {
|
|
fn = (children) => children.children;
|
|
}
|
|
|
|
export const KeyboardControllerNative = _default;
|
|
export const KeyboardEvents = obj;
|
|
export const FocusedInputEvents = obj;
|
|
export const WindowDimensionsEvents = {
|
|
addListener(arg0, arg1) {
|
|
return nativeEventEmitter.addListener(c0 + arg0, arg1);
|
|
}
|
|
};
|
|
export const KeyboardControllerView = __INTERNAL_VIEW_CONFIG2.default;
|
|
export const KeyboardControllerViewCommands = __INTERNAL_VIEW_CONFIG2.Commands;
|
|
export const KeyboardGestureArea = fn;
|
|
export const RCTOverKeyboardView = __INTERNAL_VIEW_CONFIG3.default;
|
|
export const KeyboardBackgroundView = __INTERNAL_VIEW_CONFIG4.default;
|
|
export const RCTKeyboardExtender = (children) => children.children;
|
|
export const ClippingScrollView = __INTERNAL_VIEW_CONFIG5.default;
|
|
export const RCTKeyboardToolbarGroupView = __INTERNAL_VIEW_CONFIG6.default;
|