decord/source/modules/markup/Timestamp.native.tsx

41 lines
1.2 KiB
TypeScript
Raw Normal View History

2026-08-25 06:04:03 +00:00
// Module ID: 9959
// Function ID: 9960
2026-07-20 16:05:17 +00:00
// Name: Timestamp
2026-08-25 06:04:03 +00:00
// Dependencies: [19, 21, 4380, 712, 9960, 1297, 4098, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-25 06:04:03 +00:00
// Module 9959 (Timestamp)
2026-08-24 06:08:38 +00:00
import noopAll from "noop" /* 19 */;
import ThemesDefault from "Themes" /* 712 */;
2026-08-25 06:04:03 +00:00
import itemsDefault from "items" /* 9960 */;
2026-08-24 06:08:38 +00:00
import { jsx } from "jsxProd" /* 21 */;
2026-08-25 06:04:03 +00:00
import createCacheKey from "createCacheKey" /* 4380 */;
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-08-24 06:08:38 +00:00
noopAll;
2026-07-29 08:29:29 +00:00
createCacheKey = { timestamp: null };
2026-08-24 06:08:38 +00:00
createCacheKey = { color: ThemesDefault.colors.TEXT_DEFAULT, backgroundColor: ThemesDefault.colors.BORDER_SUBTLE };
2026-07-29 08:29:29 +00:00
createCacheKey[0] = createCacheKey;
2026-08-24 06:08:38 +00:00
let closure_4 = createCacheKey.createStyles(createCacheKey);
const result = require("set").fileFinishedImporting("modules/markup/Timestamp.native.tsx");
2026-07-20 16:05:17 +00:00
export default function Timestamp(node) {
node = node.node;
2026-08-24 06:08:38 +00:00
const tmp = callback();
2026-07-29 08:29:29 +00:00
let style = tmp.timestamp;
if (style == null) {
style = node.style;
2026-07-20 16:05:17 +00:00
}
2026-08-24 06:08:38 +00:00
const tmp2 = itemsDefault(node);
2026-07-29 08:29:29 +00:00
const tmp3 = jsx;
return tmp3(node(1297).LegacyText, {
style,
onPress() {
2026-08-24 06:08:38 +00:00
let obj = closure_1_1(closure_1_2[6]);
2026-07-29 08:29:29 +00:00
obj = { key: "TIMESTAMP", content: node.full };
obj.open(obj);
},
2026-08-24 06:08:38 +00:00
children: itemsDefault(node)
2026-07-29 08:29:29 +00:00
});
2026-07-20 16:05:17 +00:00
};