41 lines
1.8 KiB
TypeScript
41 lines
1.8 KiB
TypeScript
// Module ID: 17012
|
|
// Function ID: 17013
|
|
// Name: StreamFullAlert
|
|
// Dependencies: [19, 17, 21, 9215, 1236, 4772, 4340, 17013, 2]
|
|
// Exports: default
|
|
|
|
// Module 17012 (StreamFullAlert)
|
|
import "noop";
|
|
import { Image } from "get ActivityIndicator";
|
|
import jsxProd from "jsxProd";
|
|
|
|
let c4;
|
|
let c5;
|
|
const require = arg1;
|
|
({ jsx: c4, jsxs: c5 } = jsxProd);
|
|
let closure_6 = { image: { alignSelf: "center", marginTop: 32 }, body: { marginTop: 16 } };
|
|
const result = require("jsxProd").fileFinishedImporting("components_native/calls/stream/StreamFullAlert.tsx");
|
|
|
|
export default function StreamFullAlert(arg0) {
|
|
let obj = require(9215) /* mapped */;
|
|
const errorInfo = obj.getErrorInfo(require(9215) /* mapped */.AVError.STREAM_FULL);
|
|
let errorCode;
|
|
if (errorInfo != null) {
|
|
errorCode = errorInfo.errorCode;
|
|
}
|
|
const intl = tmp(1236).intl;
|
|
obj = {};
|
|
const formatToPlainStringResult = intl.formatToPlainString(require(1236) /* getSystemLocale */.t.ejOT95, { errorCode });
|
|
const merged = Object.assign(arg0);
|
|
const intl2 = tmp(1236).intl;
|
|
obj.title = intl2.string(require(1236) /* getSystemLocale */.t.GzjdO5);
|
|
obj = { variant: "text-md/normal", style: closure_6.body, children: null };
|
|
const intl3 = tmp(1236).intl;
|
|
obj[2] = intl3.string(require(1236) /* getSystemLocale */.t.VVZDBL);
|
|
const items = [callback(require(4340) /* Text */.Text, obj), callback(require(4340) /* Text */.Text, { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult }), ];
|
|
const obj1 = { variant: "text-md/normal", selectable: true, color: "text-muted", style: closure_6.body, children: formatToPlainStringResult };
|
|
const tmp6 = importDefault(4772);
|
|
items[2] = callback(Image, { source: importDefault(17013), style: closure_6.image });
|
|
obj.children = items;
|
|
return callback2(tmp6, obj);
|
|
};
|