2026-08-25 06:04:03 +00:00
|
|
|
// Module ID: 9999
|
|
|
|
|
// Function ID: 10000
|
2026-07-20 16:05:17 +00:00
|
|
|
// Name: NotificationSettingsMessageUnreadActionSheet
|
2026-08-25 06:04:03 +00:00
|
|
|
// Dependencies: [19, 17, 4590, 21, 4380, 712, 5503, 9996, 4376, 1236, 8136, 8135, 2]
|
2026-07-20 16:05:17 +00:00
|
|
|
// Exports: default
|
|
|
|
|
|
2026-08-25 06:04:03 +00:00
|
|
|
// Module 9999 (NotificationSettingsMessageUnreadActionSheet)
|
2026-08-24 06:08:38 +00:00
|
|
|
import noopAll from "noop" /* 19 */;
|
|
|
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
|
|
|
import getSystemLocale from "getSystemLocale" /* 1236 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import Text from "Text" /* 4376 */;
|
|
|
|
|
import Background from "Background" /* 5503 */;
|
|
|
|
|
import TableRadioRow from "TableRadioRow" /* 8135 */;
|
|
|
|
|
import context from "context" /* 8136 */;
|
|
|
|
|
import NotificationSettingsMockChannelsDefault from "NotificationSettingsMockChannels" /* 9996 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import { View } from "get ActivityIndicator" /* 17 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import { UnreadSetting } from "ReadStateTypes" /* 4590 */;
|
2026-08-24 06:08:38 +00:00
|
|
|
import jsxProd from "jsxProd" /* 21 */;
|
2026-08-25 06:04:03 +00:00
|
|
|
import createCacheKey from "createCacheKey" /* 4380 */;
|
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
|
|
|
({ jsx: c5, jsxs: closure_6 } = jsxProd);
|
|
|
|
|
createCacheKey = { sheet: null, header: null, content: null, form: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
createCacheKey = { backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWEST };
|
2026-07-29 08:29:29 +00:00
|
|
|
createCacheKey[0] = createCacheKey;
|
|
|
|
|
createCacheKey[1] = { padding: 24, paddingTop: 0 };
|
2026-08-24 06:08:38 +00:00
|
|
|
createCacheKey[2] = { backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWER, padding: 16 };
|
2026-07-29 08:29:29 +00:00
|
|
|
createCacheKey[3] = { marginTop: 8, marginBottom: 16 };
|
2026-08-24 06:08:38 +00:00
|
|
|
let closure_7 = createCacheKey.createStyles(createCacheKey);
|
|
|
|
|
let obj1 = { backgroundColor: ThemesDefault.colors.BACKGROUND_BASE_LOWER, padding: 16 };
|
|
|
|
|
const result = require("set").fileFinishedImporting("modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx");
|
2026-07-20 16:05:17 +00:00
|
|
|
|
|
|
|
|
export default function NotificationSettingsMessageUnreadActionSheet(defaultValue) {
|
2026-08-24 06:08:38 +00:00
|
|
|
const tmp = callback3();
|
2026-07-29 08:29:29 +00:00
|
|
|
let obj = { startExpanded: true, backgroundStyles: tmp.sheet, children: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
obj = { style: tmp.header, children: callback(NotificationSettingsMockChannelsDefault, obj) };
|
2026-07-20 16:05:17 +00:00
|
|
|
obj = { unreadSetting: defaultValue.value };
|
|
|
|
|
const items = [callback(View, obj), ];
|
2026-08-24 06:08:38 +00:00
|
|
|
obj1 = { style: tmp.content, children: null };
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj2 = { variant: "text-sm/semibold", children: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl = getSystemLocale.intl;
|
|
|
|
|
obj2[1] = intl.string(getSystemLocale.t.Tqd1Af);
|
|
|
|
|
const items1 = [callback(Text.Text, obj2), , ];
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj3 = { variant: "text-xs/medium", color: "text-muted", children: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl2 = getSystemLocale.intl;
|
|
|
|
|
obj3[2] = intl2.string(getSystemLocale.t.RpQgm5);
|
|
|
|
|
items1[1] = callback(Text.Text, obj3);
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj4 = { style: tmp.form, children: null };
|
|
|
|
|
const obj5 = { defaultValue: defaultValue.value, onChange: defaultValue.onChange, hasIcons: false, children: null };
|
|
|
|
|
const obj6 = { label: null, value: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl3 = getSystemLocale.intl;
|
|
|
|
|
obj6[0] = intl3.string(getSystemLocale.t["HVah/3"]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj6[1] = UnreadSetting.ALL_MESSAGES;
|
2026-08-24 06:08:38 +00:00
|
|
|
const items2 = [callback(TableRadioRow.TableRadioRow, obj6), ];
|
2026-07-29 08:29:29 +00:00
|
|
|
const obj7 = { subLabel: defaultValue.disabledMentionOnlyWithReason, disabled: null != defaultValue.disabledMentionOnlyWithReason, label: null, value: null };
|
2026-08-24 06:08:38 +00:00
|
|
|
const intl4 = getSystemLocale.intl;
|
|
|
|
|
obj7[2] = intl4.string(getSystemLocale.t["tu+ZWJ"]);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj7[3] = UnreadSetting.ONLY_MENTIONS;
|
2026-08-24 06:08:38 +00:00
|
|
|
items2[1] = callback(TableRadioRow.TableRadioRow, obj7);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj5[3] = items2;
|
2026-08-24 06:08:38 +00:00
|
|
|
obj4[1] = callback2(context.TableRadioGroup, obj5);
|
2026-07-20 16:05:17 +00:00
|
|
|
items1[2] = callback(View, obj4);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj1[1] = items1;
|
2026-07-20 16:05:17 +00:00
|
|
|
items[1] = callback2(View, obj1);
|
2026-07-29 08:29:29 +00:00
|
|
|
obj[2] = items;
|
2026-08-24 06:08:38 +00:00
|
|
|
return callback2(Background.BottomSheet, obj);
|
2026-07-20 16:05:17 +00:00
|
|
|
};
|