decord/source/design/components/Coachmark/native/AnimatedCoachmark.native.tsx

55 lines
1.9 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 8555
// Function ID: 8556
2026-07-20 16:05:17 +00:00
// Name: renderTooltipItem
2026-08-05 07:35:12 +00:00
// Dependencies: [32, 19, 17, 21, 4116, 8556, 3974, 8552, 8553, 2]
2026-07-20 16:05:17 +00:00
// Exports: AnimatedCoachmark
2026-08-05 07:35:12 +00:00
// Module 8555 (renderTooltipItem)
2026-07-23 10:11:24 +00:00
import _slicedToArray from "_slicedToArray";
2026-07-29 08:29:29 +00:00
import noop from "noop";
2026-07-23 10:11:24 +00:00
import { StyleSheet } from "get ActivityIndicator";
import { jsx } from "jsxProd";
const require = arg1;
2026-07-29 08:29:29 +00:00
function renderTooltipItem(arg0, enterExitAnimatedStyles) {
let obj = { style: items, pointerEvents: "box-none", children: null };
items = [enterExitAnimatedStyles, StyleSheet.absoluteFill];
let tmpResult = null;
2026-07-20 16:05:17 +00:00
if (null != arg0) {
obj = {};
const merged = Object.assign(arg0);
2026-07-29 08:29:29 +00:00
obj.enterExitAnimatedStyles = enterExitAnimatedStyles;
2026-08-05 07:35:12 +00:00
tmpResult = tmp(require(8556) /* Coachmark */.CoachmarkContainer, obj);
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj[2] = tmpResult;
2026-08-05 07:35:12 +00:00
return jsx(importDefault(4116).View, { style: items, pointerEvents: "box-none", children: null });
2026-07-20 16:05:17 +00:00
}
2026-07-23 10:11:24 +00:00
let result = require("get ActivityIndicator").fileFinishedImporting("design/components/Coachmark/native/AnimatedCoachmark.native.tsx");
2026-07-20 16:05:17 +00:00
export const AnimatedCoachmark = function AnimatedCoachmark(visible) {
2026-07-29 08:29:29 +00:00
let c1;
let tmp3;
2026-07-20 16:05:17 +00:00
visible = visible.visible;
2026-07-29 08:29:29 +00:00
const merged = Object.assign(visible, Object.create(null));
let importDefault;
[tmp3, c1] = callback(React.useState(visible), 2);
2026-08-05 07:35:12 +00:00
let obj = visible(8552);
2026-07-20 16:05:17 +00:00
const result = obj.tooltipEnterExitAnimation(merged.position);
const items = [visible];
const effect = React.useEffect(() => {
2026-07-29 08:29:29 +00:00
_undefined(visible);
2026-07-20 16:05:17 +00:00
}, items);
2026-08-05 07:35:12 +00:00
obj = { useReducedMotion: React.useContext(visible(3974).AccessibilityPreferencesContext).reducedMotion.enabled, item: null, entering: null, exiting: null, renderItem: null };
2026-07-20 16:05:17 +00:00
let tmp8;
2026-07-29 08:29:29 +00:00
const tmp2 = callback(React.useState(visible), 2);
const tmp6 = jsx;
if (tmp3) {
2026-07-20 16:05:17 +00:00
tmp8 = merged;
}
2026-07-29 08:29:29 +00:00
obj[1] = tmp8;
obj[2] = result;
obj[3] = result;
obj[4] = renderTooltipItem;
2026-08-05 07:35:12 +00:00
return tmp6(importDefault(8553), obj);
2026-07-20 16:05:17 +00:00
};