decord/source/design/void/OverlayView/native/OverlayView.tsx

46 lines
1.4 KiB
TypeScript
Raw Normal View History

// Module ID: 4990
// Function ID: 4991
// Name: OverlayView
// Dependencies: [19, 17, 21, 1364, 4991, 5040, 2]
2026-07-20 16:05:17 +00:00
// Exports: TransitionGroupOverlayView
// Module 4990 (OverlayView)
import _modDef5040 from "module_5040" /* 5040 */;
import noop from "module_19" /* 19 */;
2026-07-23 10:11:24 +00:00
get_ActivityIndicator = fn(17);
2026-07-23 10:11:24 +00:00
let View = get_ActivityIndicator.View;
const StyleSheet = get_ActivityIndicator.StyleSheet;
const jsx = fn(21).jsx;
let PlatformUtils = fn(1364);
2026-07-20 16:05:17 +00:00
let FullWindowOverlay = View;
if (PlatformUtils.isIOS()) {
FullWindowOverlay = fn(4991).FullWindowOverlay;
2026-07-20 16:05:17 +00:00
}
PlatformUtils = fn(1364);
if (PlatformUtils.isIOS()) {
View = _modDef5040;
2026-07-20 16:05:17 +00:00
}
const size = fn(2);
const result = size.fileFinishedImporting("design/void/OverlayView/native/OverlayView.tsx");
2026-07-20 16:05:17 +00:00
export default FullWindowOverlay;
export const TransitionGroupOverlayView = function TransitionGroupOverlayView(children) {
children = children.children;
const merged = Object.assign(children, Object.assign({ children: 0 }));
2026-07-29 08:29:29 +00:00
let tmp2 = null;
2026-07-20 16:05:17 +00:00
if (Array.isArray(children)) {
2026-07-29 08:29:29 +00:00
tmp2 = null;
2026-07-20 16:05:17 +00:00
if (children.length > 0) {
const obj = { style: StyleSheet.absoluteFill, children: null };
const obj2 = {};
2026-07-20 16:05:17 +00:00
const merged1 = Object.assign(merged);
obj2.children = children;
obj.children = <View />;
tmp2 = <FullWindowOverlay style={StyleSheet.absoluteFill}>{null}</FullWindowOverlay>;
2026-07-20 16:05:17 +00:00
}
}
2026-07-29 08:29:29 +00:00
return tmp2;
2026-07-20 16:05:17 +00:00
};
export const NonExpandingOverlayView = View;