decord/source/modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx

64 lines
3.3 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 9730
// Function ID: 9731
2026-07-20 16:05:17 +00:00
// Name: NotificationSettingsMessageUnreadActionSheet
2026-08-05 07:35:12 +00:00
// Dependencies: [19, 17, 4451, 21, 4255, 712, 5323, 9727, 4251, 1236, 7767, 7766, 2]
2026-07-20 16:05:17 +00:00
// Exports: default
2026-08-05 07:35:12 +00:00
// Module 9730 (NotificationSettingsMessageUnreadActionSheet)
2026-07-29 08:29:29 +00:00
import "noop";
2026-07-23 10:11:24 +00:00
import { View } from "get ActivityIndicator";
import { UnreadSetting } from "ReadStateTypes";
import jsxProd from "jsxProd";
2026-07-29 08:29:29 +00:00
import createCacheKey from "createCacheKey";
2026-07-23 10:11:24 +00:00
2026-07-29 08:29:29 +00:00
let c5;
2026-07-23 10:11:24 +00:00
let closure_6;
const require = arg1;
2026-07-29 08:29:29 +00:00
({ jsx: c5, jsxs: closure_6 } = jsxProd);
createCacheKey = { sheet: null, header: null, content: null, form: null };
createCacheKey = { backgroundColor: require("Themes").colors.BACKGROUND_BASE_LOWEST };
createCacheKey[0] = createCacheKey;
createCacheKey[1] = { padding: 24, paddingTop: 0 };
createCacheKey[2] = { backgroundColor: require("Themes").colors.BACKGROUND_BASE_LOWER, padding: 16 };
createCacheKey[3] = { marginTop: 8, marginBottom: 16 };
createCacheKey = createCacheKey.createStyles(createCacheKey);
let obj1 = { backgroundColor: require("Themes").colors.BACKGROUND_BASE_LOWER, padding: 16 };
2026-07-23 10:11:24 +00:00
const result = require("ReadStateTypes").fileFinishedImporting("modules/notifications/settings/native/NotificationSettingsMessageUnreadActionSheet.tsx");
2026-07-20 16:05:17 +00:00
export default function NotificationSettingsMessageUnreadActionSheet(defaultValue) {
2026-07-29 08:29:29 +00:00
const tmp = createCacheKey();
let obj = { startExpanded: true, backgroundStyles: tmp.sheet, children: null };
obj = { style: tmp.header, children: null };
2026-07-20 16:05:17 +00:00
obj = { unreadSetting: defaultValue.value };
2026-08-05 07:35:12 +00:00
obj[1] = callback(importDefault(9727), obj);
2026-07-20 16:05:17 +00:00
const items = [callback(View, obj), ];
2026-07-29 08:29:29 +00:00
const obj1 = { style: tmp.content, children: null };
const obj2 = { variant: "text-sm/semibold", children: null };
const intl = require(1236) /* getSystemLocale */.intl;
obj2[1] = intl.string(require(1236) /* getSystemLocale */.t.Tqd1Af);
2026-08-05 07:35:12 +00:00
const items1 = [callback(require(4251) /* Text */.Text, obj2), , ];
2026-07-29 08:29:29 +00:00
const obj3 = { variant: "text-xs/medium", color: "text-muted", children: null };
const intl2 = require(1236) /* getSystemLocale */.intl;
obj3[2] = intl2.string(require(1236) /* getSystemLocale */.t.RpQgm5);
2026-08-05 07:35:12 +00:00
items1[1] = callback(require(4251) /* 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 };
const intl3 = require(1236) /* getSystemLocale */.intl;
obj6[0] = intl3.string(require(1236) /* getSystemLocale */.t["HVah/3"]);
obj6[1] = UnreadSetting.ALL_MESSAGES;
2026-08-05 07:35:12 +00:00
const items2 = [callback(require(7766) /* TableRadioRow */.TableRadioRow, obj6), ];
2026-07-29 08:29:29 +00:00
const obj7 = { subLabel: defaultValue.disabledMentionOnlyWithReason, disabled: null != defaultValue.disabledMentionOnlyWithReason, label: null, value: null };
const intl4 = require(1236) /* getSystemLocale */.intl;
obj7[2] = intl4.string(require(1236) /* getSystemLocale */.t["tu+ZWJ"]);
obj7[3] = UnreadSetting.ONLY_MENTIONS;
2026-08-05 07:35:12 +00:00
items2[1] = callback(require(7766) /* TableRadioRow */.TableRadioRow, obj7);
2026-07-29 08:29:29 +00:00
obj5[3] = items2;
2026-08-05 07:35:12 +00:00
obj4[1] = callback2(require(7767) /* 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-05 07:35:12 +00:00
return callback2(require(5323) /* Background */.BottomSheet, obj);
2026-07-20 16:05:17 +00:00
};