decord/source/modules/chat/native/Chat.android.tsx
2026-09-03 10:05:34 +00:00

48 lines
2.1 KiB
TypeScript

// Module ID: 11696
// Function ID: 11697
// Name: DCDChatList
// Dependencies: [19, 4470, 21, 4478, 5661, 11697, 11698, 586, 11134, 2]
// Module 11696 (DCDChatList)
import initialize from "initialize" /* 586 */;
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 */;
import importAllResult from "noop" /* 19 */;
import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4470 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4478 */;
require = arg1;
function DCDChatList() {
const memo = importAllResult.useMemo(() => {
const Gesture = callback(table[4]).Gesture;
const NativeResult = Gesture.Native();
return Gesture.Native().disallowInterruption(true).shouldCancelWhenOutside(false);
}, []);
let obj = { gesture: memo, children: null };
obj = { style: callback3().chatList, floatingChatInputEnabled: true, children: null };
const tmp = callback3();
obj[2] = callback(TTIFirstContentfulPaint.TTIFirstContentfulPaint, { label: "chat_list_android" });
obj[1] = callback(__INTERNAL_VIEW_CONFIGDefault2, obj);
return callback(LegacyBaseButton.GestureDetector, obj);
}
let c3 = importAllResult;
({ jsx: c5, jsxs: closure_6 } = jsxProd);
let closure_7 = createCacheKey.createStyles({ chatList: { flex: 1 } });
const forwardRefResult = importAllResult.forwardRef((children, ref) => {
let obj = initialize;
const items = [closure_4];
const stateFromStores = obj.useStateFromStores(items, () => roleStyle.roleStyle);
obj = {};
const merged = Object.assign(children);
obj.roleStyle = stateFromStores;
obj.ref = ref;
const items1 = [callback(DCDChatList, {}), children.children];
obj.children = items1;
return callback2(__INTERNAL_VIEW_CONFIGDefault, obj);
});
const result = require("set").fileFinishedImporting("modules/chat/native/Chat.android.tsx");
export default forwardRefResult;