decord/source/modules/chat/native/Chat.android.tsx

49 lines
2.1 KiB
TypeScript
Raw Normal View History

2026-09-03 10:05:34 +00:00
// Module ID: 11696
// Function ID: 11697
2026-07-20 16:05:17 +00:00
// Name: DCDChatList
2026-09-03 10:05:34 +00:00
// Dependencies: [19, 4470, 21, 4478, 5661, 11697, 11698, 586, 11134, 2]
2026-07-20 16:05:17 +00:00
2026-09-03 10:05:34 +00:00
// Module 11696 (DCDChatList)
2026-09-02 09:53:35 +00:00
import initialize from "initialize" /* 586 */;
2026-09-03 10:05:34 +00:00
import LegacyBaseButton from "LegacyBaseButton" /* 5661 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 11134 */;
import __INTERNAL_VIEW_CONFIGDefault2 from "__INTERNAL_VIEW_CONFIG" /* 11697 */;
import TTIFirstContentfulPaint from "TTIFirstContentfulPaint" /* 11698 */;
2026-08-24 06:08:38 +00:00
import importAllResult from "noop" /* 19 */;
2026-09-01 10:26:29 +00:00
import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4470 */;
2026-08-24 06:08:38 +00:00
import jsxProd from "jsxProd" /* 21 */;
2026-09-01 10:26:29 +00:00
import createCacheKey from "createCacheKey" /* 4478 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
2026-07-20 16:05:17 +00:00
function DCDChatList() {
const memo = importAllResult.useMemo(() => {
2026-08-31 15:47:37 +00:00
const Gesture = callback(table[4]).Gesture;
2026-07-20 16:05:17 +00:00
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
2026-08-31 15:47:37 +00:00
let obj = { gesture: memo, children: null };
obj = { style: callback3().chatList, floatingChatInputEnabled: true, children: null };
2026-07-20 16:05:17 +00:00
const tmp = callback3();
2026-08-24 06:08:38 +00:00
obj[2] = callback(TTIFirstContentfulPaint.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj[1] = callback(__INTERNAL_VIEW_CONFIGDefault2, obj);
return callback(LegacyBaseButton.GestureDetector, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
let c3 = importAllResult;
({ jsx: c5, jsxs: closure_6 } = jsxProd);
let closure_7 = createCacheKey.createStyles({ chatList: { flex: 1 } });
const forwardRefResult = importAllResult.forwardRef((children, ref) => {
2026-08-24 06:08:38 +00:00
let obj = initialize;
const items = [closure_4];
2026-07-29 08:29:29 +00:00
const stateFromStores = obj.useStateFromStores(items, () => roleStyle.roleStyle);
2026-07-20 16:05:17 +00:00
obj = {};
const merged = Object.assign(children);
2026-07-29 08:29:29 +00:00
obj.roleStyle = stateFromStores;
obj.ref = ref;
2026-07-20 16:05:17 +00:00
const items1 = [callback(DCDChatList, {}), children.children];
2026-07-29 08:29:29 +00:00
obj.children = items1;
2026-08-24 06:08:38 +00:00
return callback2(__INTERNAL_VIEW_CONFIGDefault, obj);
2026-07-20 16:05:17 +00:00
});
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("modules/chat/native/Chat.android.tsx");
2026-07-20 16:05:17 +00:00
export default forwardRefResult;