decord/source/design/void/OverlayView/native/OverlayView.tsx
github-actions f0f877e8ce chore: update source for alpha 347.1
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
2026-09-15 14:23:42 +00:00

45 lines
1.4 KiB
TypeScript

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