decord/source/modules/user_profile/UserProfileWidgetConstants.tsx

56 lines
2.4 KiB
TypeScript
Raw Normal View History

2026-08-05 07:35:12 +00:00
// Module ID: 6979
// Function ID: 6980
2026-07-20 16:05:17 +00:00
// Name: items
2026-08-05 07:35:12 +00:00
// Dependencies: [4292, 6975, 1236, 2]
2026-07-20 16:05:17 +00:00
2026-08-05 07:35:12 +00:00
// Module 6979 (items)
2026-07-29 08:29:29 +00:00
import addApplication from "addApplication";
2026-07-23 10:11:24 +00:00
const require = arg1;
2026-07-28 08:39:19 +00:00
const items = [require("WidgetType").WidgetType.PERSONAL, require("WidgetType").WidgetType.CLIPS_GALLERY, require("WidgetType").WidgetType.APPLICATION, require("WidgetType").WidgetType.FAVORITE_GAMES, require("WidgetType").WidgetType.PLAYED_GAMES, require("WidgetType").WidgetType.CURRENT_GAMES, require("WidgetType").WidgetType.WANT_TO_PLAY_GAMES];
2026-07-23 10:11:24 +00:00
const items1 = [require("WidgetType").WidgetType.FAVORITE_GAMES];
2026-07-28 08:39:19 +00:00
const items2 = [require("WidgetType").WidgetType.CURRENT_GAMES, require("WidgetType").WidgetType.FAVORITE_GAMES, require("WidgetType").WidgetType.CLIPS_GALLERY];
2026-07-20 16:05:17 +00:00
const obj = {
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.FAVORITE_GAMES]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.sUQar8);
2026-07-20 16:05:17 +00:00
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.CURRENT_GAMES]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.SqNnus);
2026-07-20 16:05:17 +00:00
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.WANT_TO_PLAY_GAMES]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.bWSQwW);
2026-07-20 16:05:17 +00:00
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.PLAYED_GAMES]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.scOKET);
2026-07-20 16:05:17 +00:00
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.APPLICATION]: (applicationId) => {
2026-07-23 10:11:24 +00:00
application = application.getApplication(applicationId.applicationId);
2026-07-29 08:29:29 +00:00
let str;
if (application != null) {
str = application.name;
2026-07-20 16:05:17 +00:00
}
2026-07-29 08:29:29 +00:00
if (str == null) {
str = "";
2026-07-20 16:05:17 +00:00
}
return str;
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.PERSONAL]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.AVkYMx);
2026-07-28 08:39:19 +00:00
},
2026-08-05 07:35:12 +00:00
[arg1(6975).WidgetType.CLIPS_GALLERY]: () => {
2026-07-29 08:29:29 +00:00
const intl = require(1236) /* getSystemLocale */.intl;
return intl.string(require(1236) /* getSystemLocale */.t.zY8Ghg);
2026-07-20 16:05:17 +00:00
}
};
2026-07-23 10:11:24 +00:00
const result = require("getSystemLocale").fileFinishedImporting("modules/user_profile/UserProfileWidgetConstants.tsx");
2026-07-20 16:05:17 +00:00
export const WIDGET_SORT_ORDER = items;
export const WIDGET_TITLES_BY_TYPE = obj;
export const WIDGETS_SUPPORTING_COMMENT = items1;
export const WIDGETS_SUPPORTING_TAGS = items2;