decord/source/design/components/Sticky/native/StickyWrapper.native.tsx

43 lines
1.4 KiB
TypeScript
Raw Normal View History

2026-08-24 06:08:38 +00:00
// Module ID: 10605
// Function ID: 10606
2026-07-20 16:05:17 +00:00
// Name: StickyWrapper
2026-07-29 08:29:29 +00:00
// Dependencies: [19, 17, 21, 501, 2]
2026-07-20 16:05:17 +00:00
// Exports: StickyWrapper
2026-08-24 06:08:38 +00:00
// Module 10605 (StickyWrapper)
import noopAll from "noop" /* 19 */;
import PlatformTypes from "PlatformTypes" /* 501 */;
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
import jsxProd from "jsxProd" /* 21 */;
2026-07-23 10:11:24 +00:00
2026-08-24 06:08:38 +00:00
require = arg1;
noopAll;
2026-07-29 08:29:29 +00:00
({ StyleSheet, View: obj1 } = get_ActivityIndicator);
({ jsx: c3, jsxs: c4 } = jsxProd);
2026-07-23 10:11:24 +00:00
const styles = StyleSheet.create({ wrapper: { height: "100%", width: "100%" }, header: { zIndex: 1 }, androidHeader: { position: "absolute", top: 0, left: 0, right: 0 } });
2026-08-24 06:08:38 +00:00
const result = require("set").fileFinishedImporting("design/components/Sticky/native/StickyWrapper.native.tsx");
2026-07-20 16:05:17 +00:00
export const StickyWrapper = function StickyWrapper(header) {
header = header.header;
2026-07-29 08:29:29 +00:00
let obj = { style: items, pointerEvents: header.pointerEvents, children: null };
items = [header.style, wrapper.wrapper];
let tmp5Result = null;
2026-07-20 16:05:17 +00:00
if (null != header) {
2026-07-29 08:29:29 +00:00
const items1 = [tmp3.header, ];
2026-07-20 16:05:17 +00:00
let androidHeader;
2026-07-29 08:29:29 +00:00
if (obj2.isAndroid()) {
androidHeader = tmp3.androidHeader;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
obj = { style: null, children: null };
2026-07-20 16:05:17 +00:00
items1[1] = androidHeader;
2026-07-29 08:29:29 +00:00
obj[0] = items1;
obj[1] = header;
tmp5Result = closure_3(tmp2, obj);
2026-08-24 06:08:38 +00:00
obj2 = PlatformTypes;
2026-07-29 08:29:29 +00:00
const tmp5 = closure_3;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
const items2 = [tmp5Result, header.children];
obj[2] = items2;
2026-07-20 16:05:17 +00:00
return closure_4(closure_2, obj);
};