54 lines
2.4 KiB
TypeScript
54 lines
2.4 KiB
TypeScript
// Module ID: 14558
|
|
// Function ID: 14559
|
|
// Name: QuestDockDismissalNotification
|
|
// Dependencies: [19, 17, 21, 4380, 712, 4376, 1236, 7898, 4098, 7779, 2]
|
|
// Exports: displayQuestDismissalToast
|
|
|
|
// Module 14558 (QuestDockDismissalNotification)
|
|
import noopAll from "noop" /* 19 */;
|
|
import ThemesDefault from "Themes" /* 712 */;
|
|
import dispatcherDefault from "dispatcher" /* 4098 */;
|
|
import registerAssetDefault from "registerAsset" /* 7779 */;
|
|
import get_ActivityIndicator from "get ActivityIndicator" /* 17 */;
|
|
import { jsx } from "jsxProd" /* 21 */;
|
|
import createCacheKey from "createCacheKey" /* 4380 */;
|
|
|
|
const require = arg1;
|
|
function QuestDockDismissalNotification() {
|
|
const _require = callback();
|
|
let obj = { color: "mobile-text-heading-primary", variant: "text-sm/semibold", children: null };
|
|
const intl = _require(1236).intl;
|
|
obj = {
|
|
arrowHook() {
|
|
let obj = { style: closure_0.toastArrowForwardIconContainer, children: null };
|
|
obj = { resizeMode: "contain", source: closure_1_1(closure_1_2[7]), style: closure_0.toastArrowForwardIcon };
|
|
obj[1] = closure_1_5(closure_1_3, obj);
|
|
return closure_1_5(closure_1_4, obj);
|
|
}
|
|
};
|
|
obj[2] = intl.format(_require(1236).t.dYE1px, obj);
|
|
return jsx(_require(4376).Text, {
|
|
arrowHook() {
|
|
let obj = { style: closure_0.toastArrowForwardIconContainer, children: null };
|
|
obj = { resizeMode: "contain", source: closure_1_1(closure_1_2[7]), style: closure_0.toastArrowForwardIcon };
|
|
obj[1] = closure_1_5(closure_1_3, obj);
|
|
return closure_1_5(closure_1_4, obj);
|
|
}
|
|
});
|
|
}
|
|
noopAll;
|
|
({ Image: c3, View: c4 } = get_ActivityIndicator);
|
|
let closure_6 = createCacheKey.createStyles(() => {
|
|
let obj = { toastArrowForwardIconContainer: { height: 6, width: 16 }, toastArrowForwardIcon: null };
|
|
obj = { opacity: 0.35, position: "absolute", top: "50%", left: 0, height: 16, width: 16, tintColor: ThemesDefault.colors.INTERACTIVE_TEXT_ACTIVE, transform: items };
|
|
items = [{ translateY: -10 }];
|
|
obj[1] = obj;
|
|
return obj;
|
|
});
|
|
const result = require("set").fileFinishedImporting("modules/quests/native/QuestDockDismissalToast.tsx");
|
|
|
|
export const displayQuestDismissalToast = function displayQuestDismissalToast() {
|
|
let obj = dispatcherDefault;
|
|
obj = { key: "QUEST_BAR_DISMISS_TOAST", content: QuestDockDismissalNotification, icon: registerAssetDefault, position: "bottom" };
|
|
obj.open(obj);
|
|
};
|