2026-08-24 06:08:38 +00:00
|
|
|
// Module ID: 10380
|
|
|
|
|
// Function ID: 10381
|
2026-08-10 06:55:34 +00:00
|
|
|
// Name: Basic
|
2026-08-24 06:08:38 +00:00
|
|
|
// Dependencies: [17, 19, 21, 10381]
|
2026-08-10 06:55:34 +00:00
|
|
|
// Exports: Basic
|
|
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
// Module 10380 (Basic)
|
|
|
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
|
|
|
import noopDefault from "noop" /* 19 */;
|
|
|
|
|
import jsxProd from "jsxProd" /* 21 */;
|
2026-08-10 06:55:34 +00:00
|
|
|
|
2026-08-24 06:08:38 +00:00
|
|
|
const View = get_ActivityIndicator.View;
|
|
|
|
|
noopDefault;
|
|
|
|
|
const jsx = jsxProd.jsx;
|
2026-08-10 06:55:34 +00:00
|
|
|
|
|
|
|
|
export const Basic = (data) => {
|
|
|
|
|
({ activeDotStyle: require, dotStyle } = data);
|
|
|
|
|
({ progress: View, horizontal } = data);
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_3 = tmp;
|
2026-08-10 06:55:34 +00:00
|
|
|
data = data.data;
|
|
|
|
|
const size = data.size;
|
|
|
|
|
({ renderItem: closure_6, onPress: closure_7, carouselName: closure_8 } = data);
|
|
|
|
|
if (typeof size !== "string") {
|
|
|
|
|
let width;
|
|
|
|
|
if (dotStyle != null) {
|
|
|
|
|
width = dotStyle.width;
|
|
|
|
|
}
|
|
|
|
|
if (typeof width !== "string") {
|
|
|
|
|
let height;
|
|
|
|
|
if (dotStyle != null) {
|
|
|
|
|
height = dotStyle.height;
|
|
|
|
|
}
|
|
|
|
|
if (typeof height !== "string") {
|
|
|
|
|
const items = [{ justifyContent: "space-between", alignSelf: "center" }, , ];
|
|
|
|
|
let obj = { style: null, children: null };
|
|
|
|
|
items[1] = tmp ? { flexDirection: "row" } : { flexDirection: "column" };
|
|
|
|
|
items[2] = tmp2;
|
|
|
|
|
obj[0] = items;
|
|
|
|
|
obj[1] = data.map((arg0, index) => {
|
2026-08-24 06:08:38 +00:00
|
|
|
closure_0 = index;
|
2026-08-10 06:55:34 +00:00
|
|
|
const obj = {
|
|
|
|
|
index,
|
|
|
|
|
size,
|
|
|
|
|
count: data.length,
|
|
|
|
|
dotStyle,
|
|
|
|
|
animValue: closure_2,
|
|
|
|
|
horizontal: !closure_3,
|
|
|
|
|
activeDotStyle: closure_0,
|
|
|
|
|
onPress() {
|
|
|
|
|
let tmpResult;
|
2026-08-24 06:08:38 +00:00
|
|
|
if (closure_1_7 != null) {
|
2026-08-10 06:55:34 +00:00
|
|
|
tmpResult = tmp(closure_0);
|
|
|
|
|
}
|
|
|
|
|
return tmpResult;
|
|
|
|
|
},
|
2026-08-24 06:08:38 +00:00
|
|
|
accessibilityLabel: "Slide " + index + 1 + " of " + data.length + " - " + closure_8,
|
2026-08-10 06:55:34 +00:00
|
|
|
children: null
|
|
|
|
|
};
|
|
|
|
|
let tmp2Result;
|
|
|
|
|
if (closure_6 != null) {
|
|
|
|
|
tmp2Result = tmp2(arg0, index);
|
|
|
|
|
}
|
|
|
|
|
obj[9] = tmp2Result;
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_3(closure_1_0(dotStyle[3]).PaginationItem, obj, index);
|
2026-08-10 06:55:34 +00:00
|
|
|
});
|
2026-08-24 06:08:38 +00:00
|
|
|
return closure_3(View, obj);
|
2026-08-10 06:55:34 +00:00
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
2026-08-24 06:08:38 +00:00
|
|
|
error = new Error("size/width/height must be a number");
|
2026-08-10 06:55:34 +00:00
|
|
|
throw error;
|
|
|
|
|
};
|