> = P extends React.FC<
2 | infer P
3 | >
4 | ? P
5 | : never;
6 |
--------------------------------------------------------------------------------
/src/web/components/chatBox/ChatSendBox/index.less:
--------------------------------------------------------------------------------
1 | .chat-sendbox-addon-popover {
2 | .ant-popover-inner-content {
3 | padding: 0;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/web/components/messageTypes/addons/MsgOperations.less:
--------------------------------------------------------------------------------
1 | .operation-popover {
2 | .ant-popover-inner-content {
3 | padding: 0;
4 | }
5 | }
6 |
--------------------------------------------------------------------------------
/src/appv2/android/gradle/wrapper/gradle-wrapper.jar:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/gradle/wrapper/gradle-wrapper.jar
--------------------------------------------------------------------------------
/src/app/android/app/src/main/assets/fonts/antfill.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/assets/fonts/antfill.ttf
--------------------------------------------------------------------------------
/src/app/android/app/src/main/assets/fonts/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/assets/fonts/iconfont.ttf
--------------------------------------------------------------------------------
/src/appv2/.buckconfig:
--------------------------------------------------------------------------------
1 |
2 | [android]
3 | target = Google Inc.:Google APIs:23
4 |
5 | [maven_repositories]
6 | central = https://repo1.maven.org/maven2
7 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/assets/fonts/antoutline.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/assets/fonts/antoutline.ttf
--------------------------------------------------------------------------------
/src/rtc/README.md:
--------------------------------------------------------------------------------
1 | ## RTC
2 |
3 | WIP
4 |
5 | 多人会议的前端功能
6 |
7 | 参考 [https://github.com/versatica/mediasoup-demo/](https://github.com/versatica/mediasoup-demo/) 实现
8 |
--------------------------------------------------------------------------------
/src/web/reg/regMessageCard.ts:
--------------------------------------------------------------------------------
1 | import { buildRegMap } from '@shared/manager/buildRegMap';
2 |
3 | export const [messageCardList, regMessageCard] = buildRegMap();
4 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/app/android/keystores/debug.keystore.properties:
--------------------------------------------------------------------------------
1 | key.store=debug.keystore
2 | key.alias=androiddebugkey
3 | key.store.password=android
4 | key.alias.password=android
5 |
--------------------------------------------------------------------------------
/src/shared/components/panel/type.ts:
--------------------------------------------------------------------------------
1 | import type { GroupPanel } from '@shared/types/panel';
2 |
3 | export interface CommonPanelProps {
4 | panel: GroupPanel;
5 | }
6 |
--------------------------------------------------------------------------------
/.ministarrc.json:
--------------------------------------------------------------------------------
1 | {
2 | "scope": "trpgengine-plugins",
3 | "pluginRoot": "./src",
4 | "outDir": "./dist",
5 | "author": "moonrailgun",
6 | "license": "GPL-3.0"
7 | }
8 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo57.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo57.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/iconfont.dataset/iconfont.ttf:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/iconfont.dataset/iconfont.ttf
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-hdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-hdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-mdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-mdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/mini-program/config/dev.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | env: {
3 | NODE_ENV: '"development"',
4 | },
5 | defineConstants: {},
6 | mini: {},
7 | h5: {},
8 | };
9 |
--------------------------------------------------------------------------------
/src/shared/i18n/__mocks__/index.ts:
--------------------------------------------------------------------------------
1 | import type { TFunction } from 'i18next';
2 |
3 | export const t: TFunction = (key, defaultValue?, options?) => {
4 | return key;
5 | };
6 |
--------------------------------------------------------------------------------
/src/app/.gitignore:
--------------------------------------------------------------------------------
1 | android/build/
2 | android/app/build/
3 | *.keystore
4 | !android/app/debug.keystore
5 | .jest/
6 | version.json
7 | build/script/.deps
8 | sentry.properties
9 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29@2x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo29@3x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40@2x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo40@3x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo57@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo57@2x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60@2x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60@2x.png
--------------------------------------------------------------------------------
/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60@3x.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/ios/trpg/Images.xcassets/AppIcon.appiconset/logo60@3x.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher.png
--------------------------------------------------------------------------------
/src/mini-program/src/pages/login/index.config.ts:
--------------------------------------------------------------------------------
1 | import type { PageConfig } from '@tarojs/taro';
2 |
3 | export default {
4 | navigationBarTitleText: '登录',
5 | } as PageConfig;
6 |
--------------------------------------------------------------------------------
/src/mini-program/src/pages/me/index.config.ts:
--------------------------------------------------------------------------------
1 | import type { PageConfig } from '@tarojs/taro';
2 |
3 | export default {
4 | navigationBarTitleText: '我',
5 | } as PageConfig;
6 |
--------------------------------------------------------------------------------
/.yarnrc:
--------------------------------------------------------------------------------
1 | registry "https://registry.npmmirror.com"
2 | canvas_binary_host_mirror "https://npmmirror.com/mirrors/canvas"
3 | sentrycli_cdnurl "https://npmmirror.com/mirrors/sentry-cli/"
4 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/app/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-hdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-mdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/mini-program/src/pages/recruitCreate/index.config.ts:
--------------------------------------------------------------------------------
1 | import type { PageConfig } from '@tarojs/taro';
2 |
3 | export default {
4 | navigationBarTitleText: '创建招募',
5 | } as PageConfig;
6 |
--------------------------------------------------------------------------------
/src/playground/editor/advanced-editor/data/hack-layout.xml:
--------------------------------------------------------------------------------
1 |
2 |
3 | 工程师正在开发中... 变量可以在右下角看到 设置的变量: 字符串: {{global.string}} 数字: {{global.number}} 对象: {{JSON.stringify(global.object)}}
17 | 本应用部分数据来源于网络或用户自主上传,仅供学习参考使用,并适用避风港原则。如有触及到侵权的行为,请联系开发者并提供侵权证据,会立即删除。
18 |
4 |
5 |
--------------------------------------------------------------------------------
/src/appv2/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | root: true,
3 | extends: '@react-native-community',
4 | parser: '@typescript-eslint/parser',
5 | plugins: ['@typescript-eslint'],
6 | };
7 |
--------------------------------------------------------------------------------
/src/appv2/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png:
--------------------------------------------------------------------------------
https://raw.githubusercontent.com/TRPGEngine/Client/HEAD/src/appv2/android/app/src/main/res/mipmap-xxxhdpi/ic_launcher_round.png
--------------------------------------------------------------------------------
/src/mini-program/.eslintrc.js:
--------------------------------------------------------------------------------
1 | module.exports = {
2 | extends: ['taro/react'],
3 | rules: {
4 | 'react/jsx-uses-react': 'off',
5 | 'react/react-in-jsx-scope': 'off',
6 | },
7 | };
8 |
--------------------------------------------------------------------------------
/src/portal/routes/trpg/news/__tests__/config.spec.ts:
--------------------------------------------------------------------------------
1 | import config from '@shared/project.config';
2 |
3 | test('newsRSSUrl', () => {
4 | expect(config.url.rssNews).toMatchSnapshot();
5 | });
6 |
--------------------------------------------------------------------------------
/cypress/fixtures/example.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "Using fixtures to represent data",
3 | "email": "hello@cypress.io",
4 | "body": "Fixtures are a great way to mock data for responses to routes"
5 | }
--------------------------------------------------------------------------------
/src/shared/components/layout/tags/type.ts:
--------------------------------------------------------------------------------
1 | import type React from 'react';
2 | import type { LayoutProps } from '../processor';
3 |
4 | export type TagComponent
[暂不支持显示该消息]
;
8 | }
9 | }
10 |
11 | export default DefaultCard;
12 |
--------------------------------------------------------------------------------
/src/app/android/app/src/main/res/values/strings.xml:
--------------------------------------------------------------------------------
1 | {t('页面没找到')}
9 | {props.children}
7 | ));
8 | PlainText.displayName = 'PlainText';
9 |
10 | export default PlainText;
11 |
--------------------------------------------------------------------------------
/src/shared/utils/common.ts:
--------------------------------------------------------------------------------
1 | import './date-init';
2 |
3 | declare global {
4 | interface Array




免责声明
16 | Test Title
'],
8 | [''],
9 | [''],
10 | ])('render "%s"', (originText) => {
11 | const wrapper = create('],
8 | ['
'],
9 | ['
Test Title
" 1`] = `
4 |
6 | Test Title
7 |
8 |