Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4791.js (118.4 MB)
51 lines
2 KiB
TypeScript
51 lines
2 KiB
TypeScript
// Module ID: 11407
|
|
// Function ID: 11408
|
|
// Name: ThreadNotificationSettingsBottomSheet
|
|
// Dependencies: [1113, 21, 10178, 7270, 7222, 1114, 5736, 7837, 5739, 2]
|
|
// Exports: default
|
|
|
|
// Module 11407 (ThreadNotificationSettingsBottomSheet)
|
|
import jsxProd from "jsxProd" /* 21 */;
|
|
import ThreadConstants from "ThreadConstants" /* 1113 */;
|
|
import ThreadActionCreatorsDefault from "ThreadActionCreators" /* 7837 */;
|
|
import size from "module_2" /* 2 */;
|
|
|
|
let closure_3 = ThreadConstants.getThreadNotificationOptions;
|
|
const jsx = jsxProd.jsx;
|
|
const result = size.fileFinishedImporting("modules/threads/native/components/ThreadNotificationSettingsBottomSheet.tsx");
|
|
|
|
export default function ThreadNotificationsBottomSheet(channel) {
|
|
channel = channel.channel;
|
|
const threadNotificationSetting = channel(10178).useThreadNotificationSetting(channel);
|
|
const obj2 = { header: null, children: null };
|
|
const obj3 = { title: null };
|
|
const intl = channel(1114).intl;
|
|
obj3.title = intl.string(channel(1114).t.h850Ss);
|
|
obj2.header = jsx(channel(7222).BottomSheetTitleHeader, { title: null });
|
|
const obj4 = {
|
|
hasIcons: false,
|
|
value: threadNotificationSetting,
|
|
onChange(flags) {
|
|
return ThreadActionCreatorsDefault.setNotificationSettings(channel, { flags });
|
|
},
|
|
accessibilityLabel: null,
|
|
children: null
|
|
};
|
|
const intl2 = channel(1114).intl;
|
|
obj4.accessibilityLabel = intl2.string(channel(1114).t.h850Ss);
|
|
const obj = channel(10178);
|
|
obj4.children = closure_3().map((label) => {
|
|
const setting = label.setting;
|
|
return jsx(channel(dependencyMap[8]).TableRadioRow, { value: setting, label: label.label }, "" + setting);
|
|
});
|
|
obj2.children = jsx(channel(5736).TableRadioGroup, {
|
|
hasIcons: false,
|
|
value: threadNotificationSetting,
|
|
onChange(flags) {
|
|
return ThreadActionCreatorsDefault.setNotificationSettings(channel, { flags });
|
|
},
|
|
accessibilityLabel: null,
|
|
children: null
|
|
});
|
|
return jsx(channel(7270).ActionSheet, { header: null, children: null });
|
|
};
|