Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4759.js (118.4 MB)
63 lines
3.1 KiB
TypeScript
63 lines
3.1 KiB
TypeScript
// Module ID: 13094
|
|
// Function ID: 13095
|
|
// Name: UserProfileWidgetsBoardEditNotice
|
|
// Dependencies: [19, 17, 1954, 21, 4574, 576, 8267, 10657, 1943, 4529, 4570, 1114, 5137, 5694, 2]
|
|
// Exports: default
|
|
|
|
// Module 13094 (UserProfileWidgetsBoardEditNotice)
|
|
import nativeDefault from "native" /* 576 */;
|
|
import dismissible_content from "dismissible_content" /* 1943 */;
|
|
import UserProfileSharedStylesDefault from "UserProfileSharedStyles" /* 8267 */;
|
|
import SelectedDismissibleContentDefault from "SelectedDismissibleContent" /* 10657 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
const require = globalThis.__r;
|
|
|
|
require = fn;
|
|
const View = fn(17).View;
|
|
const ContentDismissActionType = fn(1954).ContentDismissActionType;
|
|
const jsxProd = fn(21);
|
|
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
|
|
const createStyles = fn(4574);
|
|
let obj2 = { container: { flexDirection: "row", alignItems: "flex-start", gap: nativeDefault.space.PX_8, marginBottom: nativeDefault.space.PX_16 }, icon: { flexShrink: 0, marginTop: 2 }, text: { flex: 1 }, closeButton: { flexShrink: 0 } };
|
|
let closure_7 = createStyles.createStyles(obj2);
|
|
const size = fn(2);
|
|
const result = size.fileFinishedImporting("modules/user_profile/native/UserProfileWidgetsBoardEditNotice.tsx");
|
|
|
|
export default function UserProfileWidgetsBoardEditNotice() {
|
|
_require = closure_7();
|
|
importDefault = UserProfileSharedStylesDefault();
|
|
let obj = { contentTypes: null, bypassAutoDismiss: true, children: null };
|
|
let items = [require("dismissible_content").DismissibleContent.USER_PROFILE_WIDGETS_BOARD_MOBILE_EDIT_NOTICE];
|
|
obj.contentTypes = items;
|
|
obj.children = function children(markAsDismissed) {
|
|
markAsDismissed = markAsDismissed.markAsDismissed;
|
|
let tmp3 = null;
|
|
if (markAsDismissed.visibleContent === dismissible_content.DismissibleContent.USER_PROFILE_WIDGETS_BOARD_MOBILE_EDIT_NOTICE) {
|
|
const obj = { style: null, children: null };
|
|
const items = [card.card, closure_0.container];
|
|
obj.style = items;
|
|
const obj2 = { style: closure_0.icon, children: null };
|
|
const obj3 = { size: "xs", color: nativeDefault.colors.TEXT_MUTED };
|
|
obj2.children = hasOwnProperty(tmp(4529).CircleInformationIcon, obj3);
|
|
const items1 = [hasOwnProperty(View, obj2), , ];
|
|
const obj4 = { style: closure_0.text, variant: "text-sm/medium", color: "text-strong", children: null };
|
|
const intl = tmp(1114).intl;
|
|
obj4.children = intl.string(tmp(1114).t.kv8ULD);
|
|
items1[1] = hasOwnProperty(tmp(4570).Text, obj4);
|
|
const obj5 = { accessibilityRole: "button", accessibilityLabel: null, onPress: null, style: null, children: null };
|
|
const intl2 = tmp(1114).intl;
|
|
obj5.accessibilityLabel = intl2.string(tmp(1114).t.WAI6xu);
|
|
obj5.onPress = function onPress() {
|
|
return markAsDismissed(constants.USER_DISMISS);
|
|
};
|
|
obj5.style = closure_0.closeButton;
|
|
obj5.children = hasOwnProperty(tmp(5694).XSmallIcon, { size: "sm" });
|
|
items1[2] = hasOwnProperty(tmp(5137).PressableOpacity, obj5);
|
|
obj.children = items1;
|
|
tmp3 = timestampProducer(View, obj);
|
|
}
|
|
return tmp3;
|
|
};
|
|
return closure_5(SelectedDismissibleContentDefault, obj);
|
|
};
|