decord/stable/source/modules/vibegrations/native/VibegrationsSecretRequestCard.tsx
github-actions 57c2214117 chore: update source for stable 347.12
Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4973.js (118.4 MB)
2026-09-29 21:26:22 +00:00

67 lines
3.6 KiB
TypeScript

// Module ID: 17047
// Function ID: 17048
// Name: VibegrationsSecretRequestCard
// Dependencies: [19, 17, 21, 4788, 576, 4755, 17048, 4784, 1115, 3710, 5218, 2]
// Exports: default
// Module 17047 (VibegrationsSecretRequestCard)
import nativeDefault from "native" /* 576 */;
import ActionSheetActionCreators from "ActionSheetActionCreators" /* 4755 */;
import Text_Text from "Text/Text" /* 4784 */;
import VibegrationsSecretsSheet from "VibegrationsSecretsSheet" /* 17048 */;
import noop from "module_19" /* 19 */;
const VibegrationsSecretsSheetDefault = VibegrationsSecretsSheet;
require = fn;
const View = fn(17).View;
const jsxProd = fn(21);
({ jsx: hasOwnProperty, jsxs: metroRequire } = jsxProd);
const createStyles = fn(4788);
let obj2 = { card: { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_SUBTLE, borderWidth: 1, borderColor: nativeDefault.colors.BORDER_SUBTLE, borderRadius: nativeDefault.radii.md, padding: nativeDefault.space.PX_12, marginTop: nativeDefault.space.PX_8, gap: nativeDefault.space.PX_8 }, chips: null, chip: null };
let obj3 = { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_SUBTLE, borderWidth: 1, borderColor: nativeDefault.colors.BORDER_SUBTLE, borderRadius: nativeDefault.radii.md, padding: nativeDefault.space.PX_12, marginTop: nativeDefault.space.PX_8, gap: nativeDefault.space.PX_8 };
obj2.chips = { flexDirection: "row", flexWrap: "wrap", gap: nativeDefault.space.PX_4 };
let obj4 = { flexDirection: "row", flexWrap: "wrap", gap: nativeDefault.space.PX_4 };
obj2.chip = { backgroundColor: nativeDefault.colors.BACKGROUND_MOD_SUBTLE, borderRadius: nativeDefault.radii.round, paddingHorizontal: nativeDefault.space.PX_8, paddingVertical: nativeDefault.space.PX_4 };
let closure_7 = createStyles.createStyles(obj2);
const size = fn(2);
const result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsSecretRequestCard.tsx");
export default function VibegrationsSecretRequestCard(projectId) {
projectId = projectId.projectId;
const request = projectId.request;
const tmp = closure_7();
dependencyMap = tmp;
const items = [projectId, request];
let obj = { style: tmp.card, children: null };
const callback = noop.useCallback(() => {
const obj2 = { content: hasOwnProperty(VibegrationsSecretsSheetDefault, { projectId, request }), key: VibegrationsSecretsSheet.VIBEGRATIONS_SECRETS_SHEET_KEY };
ActionSheetActionCreators.showActionSheet(obj2);
}, items);
let obj2 = { variant: "text-xs/semibold", color: "text-muted", children: null };
const intl = projectId(1115).intl;
obj2.children = intl.string(request(3710)["/e28TK"]);
const items1 = [closure_5(projectId(4784).Text, obj2), , , ];
if (null != request.note) {
if ("" !== request.note) {
let note = request.note;
}
const obj3 = { variant: "text-sm/normal", color: "text-default", children: note };
items1[1] = tmp5(tmp9, obj3);
const obj4 = { style: tmp.chips, children: null };
const fields = request.fields;
obj4.children = fields.map((children) => {
const obj = { style: chip.chip, children: hasOwnProperty(Text_Text.Text, { variant: "text-xs/medium", color: "text-default", children: children.label }) };
return hasOwnProperty(View, obj, children.name);
});
items1[2] = tmp5(tmp4, obj4);
const obj5 = { variant: "secondary", size: "sm", onPress: callback, text: null };
const intl3 = tmp6(1115).intl;
obj5.text = intl3.string(tmp8(3710)["gVV+HX"]);
items1[3] = tmp5(tmp6(5218).Button, obj5);
obj.children = items1;
return closure_6(tmp4, obj);
}
const intl2 = tmp6(1115).intl;
note = intl2.string(tmp8(3710).jxvtin);
};