Skipped 1 file(s) >100MB (GitHub limit): source/__polyfill/04xxx/module_4941.js (118.4 MB)
43 lines
1.8 KiB
TypeScript
43 lines
1.8 KiB
TypeScript
// Module ID: 17010
|
|
// Function ID: 17011
|
|
// Name: VibegrationsFeedbackSheet
|
|
// Dependencies: [19, 21, 16991, 4453, 16997, 1115, 3678, 2]
|
|
// Exports: default
|
|
|
|
// Module 17010 (VibegrationsFeedbackSheet)
|
|
import ToastUtils from "ToastUtils" /* 4453 */;
|
|
import vibegrationsFeedback from "vibegrationsFeedback" /* 16991 */;
|
|
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(3678).W7Sdp4);
|
|
const intl2 = projectId(1115).intl;
|
|
obj.ratingBody = intl2.string(promptCount(3678).dXJed8);
|
|
const intl3 = projectId(1115).intl;
|
|
obj.categoriesHeader = intl3.string(promptCount(3678).kLHFxL);
|
|
obj.optionsTree = memo;
|
|
obj.trackOpen = projectId(16991).trackVibegrationsFeedbackOpened;
|
|
obj.trackReport = callback;
|
|
return jsx(promptCount(16997), { headerLabel: null, ratingBody: null, categoriesHeader: null, optionsTree: null, trackOpen: null, trackReport: null });
|
|
};
|