2026-09-12 13:45:10 +00:00
|
|
|
// Module ID: 4508
|
|
|
|
|
// Function ID: 4509
|
2026-09-10 05:38:07 +00:00
|
|
|
// Name: PortalKeyboard
|
2026-09-14 20:04:03 +00:00
|
|
|
// Dependencies: [19, 21, 4494, 1363, 4509, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: PortalKeyboard, PortalKeyboardHost
|
|
|
|
|
|
2026-09-12 13:45:10 +00:00
|
|
|
// Module 4508 (PortalKeyboard)
|
|
|
|
|
import Portal from "Portal" /* 4509 */;
|
2026-09-10 05:38:07 +00:00
|
|
|
import noop from "module_19" /* 19 */;
|
2026-07-23 10:11:24 +00:00
|
|
|
|
2026-09-10 05:38:07 +00:00
|
|
|
require = fn;
|
|
|
|
|
const jsx = fn(21).jsx;
|
2026-07-29 08:29:29 +00:00
|
|
|
let c3 = "default";
|
|
|
|
|
const modal = "modal";
|
2026-09-10 05:38:07 +00:00
|
|
|
const size = fn(2);
|
|
|
|
|
const result = size.fileFinishedImporting("modules/keyboard/native/PortalKeyboard.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export const PortalKeyboardState = { EMPTY: "empty", REQUEST_OPEN: "request_open", OPENING: "opening", OPEN: "open", REQUEST_CLOSE: "request_close", CLOSING: "closing", CLOSED: "closed" };
|
|
|
|
|
export const PORTAL_HOST_NAME_DEFAULT = "default";
|
|
|
|
|
export const PORTAL_HOST_NAME_MODAL = "modal";
|
|
|
|
|
export const PortalKeyboard = function PortalKeyboard(children) {
|
|
|
|
|
if (obj.useIsModalOpen()) {
|
2026-07-29 08:29:29 +00:00
|
|
|
if (tmpResult.isIOS()) {
|
|
|
|
|
let tmp3 = modal;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-09-10 05:38:07 +00:00
|
|
|
const obj2 = { hostName: tmp3, children: children.children };
|
2026-09-12 13:45:10 +00:00
|
|
|
return jsx(tmp(4509).Portal, { hostName: tmp3, children: children.children });
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-07-29 08:29:29 +00:00
|
|
|
tmp3 = c3;
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|
|
|
|
|
export const PortalKeyboardHost = function PortalKeyboardHost(name) {
|
2026-07-29 08:29:29 +00:00
|
|
|
name = name.name;
|
|
|
|
|
if (name === undefined) {
|
|
|
|
|
name = c3;
|
2026-07-20 16:05:17 +00:00
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
return jsx(Portal.PortalHost, { name });
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|