Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/05xxx/module_5014.js (118.4 MB)
43 lines
1.8 KiB
TypeScript
43 lines
1.8 KiB
TypeScript
// Module ID: 16305
|
|
// Function ID: 16306
|
|
// Name: VibegrationsFeedbackSheet
|
|
// Dependencies: [19, 21, 16286, 4524, 16292, 1115, 3714, 2]
|
|
// Exports: default
|
|
|
|
// Module 16305 (VibegrationsFeedbackSheet)
|
|
import ToastUtils from "ToastUtils" /* 4524 */;
|
|
import vibegrationsFeedback from "vibegrationsFeedback" /* 16286 */;
|
|
import noop from "module_19" /* 19 */;
|
|
|
|
require = fn;
|
|
const jsx = fn(21).jsx;
|
|
const size = fn(2);
|
|
let result = size.fileFinishedImporting("modules/vibegrations/native/VibegrationsFeedbackSheet.tsx");
|
|
|
|
export default function VibegrationsFeedbackSheet(projectId) {
|
|
projectId = projectId.projectId;
|
|
const promptCount = projectId.promptCount;
|
|
let items = [projectId, promptCount];
|
|
const callback = noop.useCallback((rating) => {
|
|
const result = vibegrationsFeedback.submitVibegrationsFeedback(projectId, promptCount, rating, "VibegrationsFeedbackSheet");
|
|
if (null != rating.rating) {
|
|
ToastUtils.presentFeedbackSent();
|
|
const tmpResult = ToastUtils;
|
|
}
|
|
}, items);
|
|
const memo = noop.useMemo(() => {
|
|
const items = [projectId(dependencyMap[2]).vibegrationsFeedbackSection()];
|
|
return items;
|
|
}, []);
|
|
const obj = { headerLabel: null, ratingBody: null, categoriesHeader: null, optionsTree: null, trackOpen: null, trackReport: null };
|
|
const intl = projectId(1115).intl;
|
|
obj.headerLabel = intl.string(promptCount(3714).W7Sdp4);
|
|
const intl2 = projectId(1115).intl;
|
|
obj.ratingBody = intl2.string(promptCount(3714).dXJed8);
|
|
const intl3 = projectId(1115).intl;
|
|
obj.categoriesHeader = intl3.string(promptCount(3714).kLHFxL);
|
|
obj.optionsTree = memo;
|
|
obj.trackOpen = projectId(16286).trackVibegrationsFeedbackOpened;
|
|
obj.trackReport = callback;
|
|
return jsx(promptCount(16292), { headerLabel: null, ratingBody: null, categoriesHeader: null, optionsTree: null, trackOpen: null, trackReport: null });
|
|
};
|