decord/source/modules/user_profile/native/UserProfileEditNoteModal.tsx

54 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 12539
// Function ID: 12540
2026-07-20 16:05:17 +00:00
// Name: UserProfileEditNoteModal
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 21, 4611, 5889, 501, 1236, 4376, 5376, 12540, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 12539 (UserProfileEditNoteModal)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import PlatformTypes from "PlatformTypes" /* 501 */;
import getSystemLocale from "getSystemLocale" /* 1236 */;
2026-08-25 06:04:03 +00:00
import NavigationStack from "NavigationStack" /* 5889 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
const result = require("set").fileFinishedImporting("modules/user_profile/native/UserProfileEditNoteModal.tsx");
2026-07-20 16:05:17 +00:00
export default function UserProfileEditNoteModal(arg0) {
2026-07-23 10:11:24 +00:00
({ userId: require, onSave: importDefault, onBack: dependencyMap } = arg0);
2026-07-20 16:05:17 +00:00
function handleClose() {
2026-08-24 06:08:38 +00:00
let arr = closure_1_1(closure_1_2[2]);
2026-07-20 16:05:17 +00:00
arr = arr.pop();
2026-07-29 08:29:29 +00:00
if (dependencyMap != null) {
dependencyMap();
2026-07-20 16:05:17 +00:00
}
}
2026-08-24 06:08:38 +00:00
let obj = PlatformTypes;
2026-07-29 08:29:29 +00:00
obj = { initialRouteName: "root", headerStatusBarHeight: num, headerStyle: null, screens: null };
let tmp2Result = tmp2(501);
obj = undefined;
if (!tmp2Result.isAndroid()) {
2026-07-20 16:05:17 +00:00
obj = { height: 56 };
}
2026-07-29 08:29:29 +00:00
obj[2] = obj;
2026-08-24 06:08:38 +00:00
obj1 = { root: null };
2026-07-29 08:29:29 +00:00
const obj2 = { title: null, headerTitle: null, headerLeft: null, render: null };
let intl = tmp2(1236).intl;
2026-08-24 06:08:38 +00:00
obj2[0] = intl.string(getSystemLocale.t.sHHsOM);
2026-07-29 08:29:29 +00:00
obj2[1] = function headerTitle() {
const obj = { variant: "redesign/heading-18/bold", accessibilityRole: "header", children: null };
const intl = callback(1236).intl;
obj[2] = intl.string(callback(1236).t.sHHsOM);
2026-08-25 06:04:03 +00:00
return handleClose(callback(4376).Text, obj);
2026-07-20 16:05:17 +00:00
};
2026-08-25 06:04:03 +00:00
tmp2Result = tmp2(5376);
2026-07-29 08:29:29 +00:00
obj2[2] = tmp2Result.getHeaderCloseButton(handleClose);
obj2[3] = function render() {
2026-08-24 06:08:38 +00:00
return handleClose(closure_1_0(closure_1_2[8]).default, { userId: closure_0, onSave: closure_1, onClose: handleClose });
2026-07-20 16:05:17 +00:00
};
2026-07-29 08:29:29 +00:00
obj1[0] = obj2;
obj[3] = obj1;
2026-08-24 06:08:38 +00:00
return handleClose(NavigationStack.Navigator, obj);
2026-07-20 16:05:17 +00:00
};