2026-09-11 19:12:58 +00:00
|
|
|
// Module ID: 12122
|
|
|
|
|
// Function ID: 12123
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: openCustomKeyboard
|
2026-09-11 19:12:58 +00:00
|
|
|
// Dependencies: [1481, 7111, 4475, 12081, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-09-11 19:12:58 +00:00
|
|
|
// Module 12122 (openCustomKeyboard)
|
2026-09-10 05:38:07 +00:00
|
|
|
import KeyboardUIStore from "KeyboardUIStore" /* 1481 */;
|
2026-09-11 10:30:06 +00:00
|
|
|
import PortalKeyboardUIStore from "PortalKeyboardUIStore" /* 4475 */;
|
2026-09-11 19:12:58 +00:00
|
|
|
import RunAfterInteractionsUtils from "RunAfterInteractionsUtils" /* 7111 */;
|
|
|
|
|
import ChatInputNativeCommandsDefault from "ChatInputNativeCommands" /* 12081 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import size from "module_2" /* 2 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/openCustomKeyboard.android.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function openCustomKeyboard(secondaryTextFieldRef) {
|
2026-07-23 10:11:24 +00:00
|
|
|
({ channelId: require, chatInputRef: importDefault, chatInputNativeRef: dependencyMap, keyboardParams } = secondaryTextFieldRef);
|
2026-07-20 16:05:17 +00:00
|
|
|
secondaryTextFieldRef = secondaryTextFieldRef.secondaryTextFieldRef;
|
2026-09-10 05:38:07 +00:00
|
|
|
KeyboardUIStore.setKeyboardType(keyboardParams);
|
|
|
|
|
RunAfterInteractionsUtils.runAfterInteractions(() => {
|
2026-07-20 16:05:17 +00:00
|
|
|
const current = ref.current;
|
|
|
|
|
current.blur();
|
2026-07-29 08:29:29 +00:00
|
|
|
if (secondaryTextFieldRef != null) {
|
2026-07-20 16:05:17 +00:00
|
|
|
const current2 = secondaryTextFieldRef.current;
|
2026-07-29 08:29:29 +00:00
|
|
|
if (current2 != null) {
|
|
|
|
|
current2.blur();
|
|
|
|
|
}
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
PortalKeyboardUIStore.openPortalKeyboard(keyboardParams.type, closure_1_0, ref);
|
|
|
|
|
ChatInputNativeCommandsDefault.openCustomKeyboard(ref2.current);
|
2026-07-20 16:05:17 +00:00
|
|
|
});
|
|
|
|
|
};
|