decord/source/modules/chat/native/Chat.android.tsx
github-actions cd74c1f217 chore: update source for alpha 345.5
Skipped 1 file(s) >100MB (GitHub limit): source/__vendor/09xxx/9667_m.js (378 MB)
2026-09-05 10:56:28 +00:00

48 lines
2.1 KiB
TypeScript

// Module ID: 11894
// Function ID: 11895
// Name: DCDChatList
// Dependencies: [19, 4552, 21, 4560, 6655, 11895, 11896, 504, 11272, 2]
// Module 11894 (DCDChatList)
import initialize from "initialize" /* 504 */;
import LegacyBaseButton from "LegacyBaseButton" /* 6655 */;
import __INTERNAL_VIEW_CONFIGDefault from "__INTERNAL_VIEW_CONFIG" /* 11272 */;
import __INTERNAL_VIEW_CONFIGDefault2 from "__INTERNAL_VIEW_CONFIG" /* 11895 */;
import TTIFirstContentfulPaint from "TTIFirstContentfulPaint" /* 11896 */;
import importAllResult from "noop" /* 19 */;
import closure_4 from "maybeApplyNoTextColorForLightCustomTheme" /* 4552 */;
import jsxProd from "jsxProd" /* 21 */;
import createCacheKey from "createCacheKey" /* 4560 */;
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;