Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4824.js (118.4 MB)
50 lines
2.8 KiB
TypeScript
50 lines
2.8 KiB
TypeScript
// Module ID: 13550
|
|
// Function ID: 13551
|
|
// Name: LargeCountDownPill
|
|
// Dependencies: [17, 21, 4639, 576, 4338, 1115, 4594, 4635, 2]
|
|
// Exports: default
|
|
|
|
// Module 13550 (LargeCountDownPill)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import util from "util" /* 1115 */;
|
|
import ToastActionCreatorsDefault from "ToastActionCreators" /* 4338 */;
|
|
import get_ActivityIndicator from "module_17" /* 17 */;
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import createStyles from "createStyles" /* 4639 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
({ TouchableOpacity: c3, View: closure_4 } = get_ActivityIndicator);
|
|
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
|
|
let obj = { largeCountdownPill: { flexDirection: "row", justifyContent: "center", alignItems: "center", borderRadius: nativeDefault.radii.round, backgroundColor: "rgba(255, 255, 255, 0.1)", alignSelf: "center", paddingHorizontal: 16, marginBottom: 10 }, largeCountdownPillText: null, iconStyle: null };
|
|
let obj2 = { flexDirection: "row", justifyContent: "center", alignItems: "center", borderRadius: nativeDefault.radii.round, backgroundColor: "rgba(255, 255, 255, 0.1)", alignSelf: "center", paddingHorizontal: 16, marginBottom: 10 };
|
|
obj.largeCountdownPillText = { paddingVertical: 8, color: nativeDefault.colors.TEXT_STATUS_IDLE, fontSize: 14, lineHeight: 16, marginRight: 8 };
|
|
obj.iconStyle = { width: 16, height: 16 };
|
|
let closure_7 = createStyles.createStyles(obj);
|
|
const result = size.fileFinishedImporting("modules/premium/fractional/native/LargeCountDownPill.tsx");
|
|
|
|
export default function LargeCountDownPill(countdownText) {
|
|
const tmp = closure_7();
|
|
_require = tmp;
|
|
const obj = {
|
|
onPress() {
|
|
const obj2 = { key: "LARGE_COUNTDOWN_PILL_TOAST", content: null, icon: null, iconColor: null };
|
|
const intl = util.intl;
|
|
obj2.content = intl.string(util.t["Mv4E/M"]);
|
|
obj2.icon = function icon() {
|
|
return closure_2_5(closure_0(4594).CircleInformationIcon, { style: closure_1_0.iconStyle, color: nativeDefault.colors.STATUS_WARNING });
|
|
};
|
|
obj2.iconColor = nativeDefault.colors.STATUS_WARNING;
|
|
ToastActionCreatorsDefault.open(obj2);
|
|
},
|
|
children: null
|
|
};
|
|
let obj2 = { style: tmp.largeCountdownPill, children: null };
|
|
const items = [closure_5(require("Text/Text").Text, { variant: "text-xs/bold", style: tmp.largeCountdownPillText, children: countdownText.countdownText.toUpperCase() }), ];
|
|
const obj3 = { variant: "text-xs/bold", style: tmp.largeCountdownPillText, children: countdownText.countdownText.toUpperCase() };
|
|
items[1] = closure_5(require("CircleInformationIcon").CircleInformationIcon, { style: tmp.iconStyle, color: nativeDefault.colors.TEXT_STATUS_IDLE });
|
|
obj2.children = items;
|
|
obj.children = closure_6(closure_4, obj2);
|
|
return closure_5(closure_3, obj);
|
|
};
|