decord/source/design/void/OverlayView/native/OverlayView.tsx
github-actions 20a21ad13f chore: update source for alpha 346.5
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
2026-09-11 19:12:58 +00:00

45 lines
1.4 KiB
TypeScript

// Module ID: 4957
// Function ID: 4958
// Name: OverlayView
// Dependencies: [19, 17, 21, 1115, 4958, 5007, 2]
// Exports: TransitionGroupOverlayView
// Module 4957 (OverlayView)
import _modDef5007 from "module_5007" /* 5007 */;
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(1115);
let FullWindowOverlay = View;
if (PlatformUtils.isIOS()) {
FullWindowOverlay = fn(4958).FullWindowOverlay;
}
PlatformUtils = fn(1115);
if (PlatformUtils.isIOS()) {
View = _modDef5007;
}
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;