@qlover/create-app 0.4.5 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/CHANGELOG.md +95 -35
  2. package/dist/index.cjs +11 -0
  3. package/dist/index.d.ts +1 -0
  4. package/dist/index.js +10 -2418
  5. package/{templates → dist/templates}/node-lib/package.json +2 -2
  6. package/{templates → dist/templates}/react-app/README.md +6 -6
  7. package/{templates/react-app/config/Identifier/Error.ts → dist/templates/react-app/config/Identifier/common.error.ts} +8 -8
  8. package/dist/templates/react-app/config/Identifier/common.ts +62 -0
  9. package/dist/templates/react-app/config/Identifier/index.ts +10 -0
  10. package/dist/templates/react-app/config/Identifier/page.about.ts +181 -0
  11. package/dist/templates/react-app/config/Identifier/page.executor.ts +267 -0
  12. package/dist/templates/react-app/config/Identifier/page.home.ts +63 -0
  13. package/dist/templates/react-app/config/Identifier/page.identifiter.ts +39 -0
  14. package/dist/templates/react-app/config/Identifier/page.jsonStorage.ts +70 -0
  15. package/dist/templates/react-app/config/Identifier/page.login.ts +152 -0
  16. package/dist/templates/react-app/config/Identifier/page.register.ts +147 -0
  17. package/dist/templates/react-app/config/Identifier/page.request.ts +179 -0
  18. package/dist/templates/react-app/config/app.router.ts +163 -0
  19. package/{templates → dist/templates}/react-app/config/feapi.mock.json +6 -0
  20. package/dist/templates/react-app/config/theme.ts +11 -0
  21. package/{templates → dist/templates}/react-app/package.json +2 -2
  22. package/{templates → dist/templates}/react-app/public/locales/en/common.json +97 -116
  23. package/{templates → dist/templates}/react-app/public/locales/zh/common.json +98 -117
  24. package/{templates → dist/templates}/react-app/src/App.tsx +6 -5
  25. package/dist/templates/react-app/src/base/apis/userApi/UserApi.ts +142 -0
  26. package/{templates → dist/templates}/react-app/src/base/apis/userApi/UserApiType.ts +11 -0
  27. package/{templates → dist/templates}/react-app/src/base/cases/AppConfig.ts +11 -0
  28. package/dist/templates/react-app/src/base/cases/I18nKeyErrorPlugin.ts +36 -0
  29. package/{templates → dist/templates}/react-app/src/base/cases/RouterLoader.ts +2 -1
  30. package/{templates → dist/templates}/react-app/src/base/services/I18nService.ts +4 -4
  31. package/{templates/react-app/src/base/services/ProcesserService.ts → dist/templates/react-app/src/base/services/ProcesserExecutor.ts} +15 -5
  32. package/{templates → dist/templates}/react-app/src/base/services/RouteService.ts +11 -13
  33. package/dist/templates/react-app/src/base/services/UserService.ts +132 -0
  34. package/{templates → dist/templates}/react-app/src/base/types/Page.ts +12 -2
  35. package/{templates → dist/templates}/react-app/src/core/IOC.ts +11 -6
  36. package/{templates → dist/templates}/react-app/src/core/bootstrap.ts +2 -2
  37. package/{templates → dist/templates}/react-app/src/core/bootstraps/index.ts +3 -1
  38. package/{templates → dist/templates}/react-app/src/core/globals.ts +23 -7
  39. package/{templates → dist/templates}/react-app/src/core/registers/RegisterApi.ts +1 -1
  40. package/{templates → dist/templates}/react-app/src/core/registers/RegisterCommon.ts +14 -15
  41. package/{templates → dist/templates}/react-app/src/core/registers/RegisterControllers.ts +9 -4
  42. package/{templates → dist/templates}/react-app/src/core/registers/RegisterGlobals.ts +12 -4
  43. package/{templates → dist/templates}/react-app/src/pages/404.tsx +4 -1
  44. package/{templates → dist/templates}/react-app/src/pages/500.tsx +2 -1
  45. package/{templates → dist/templates}/react-app/src/pages/auth/Layout.tsx +2 -2
  46. package/{templates/react-app/src/pages/auth/Login.tsx → dist/templates/react-app/src/pages/auth/LoginPage.tsx} +2 -4
  47. package/{templates/react-app/src/pages/auth/Register.tsx → dist/templates/react-app/src/pages/auth/RegisterPage.tsx} +3 -6
  48. package/{templates/react-app/src/pages/base/About.tsx → dist/templates/react-app/src/pages/base/AboutPage.tsx} +4 -4
  49. package/{templates/react-app/src/pages/base/ErrorIdentifier.tsx → dist/templates/react-app/src/pages/base/ErrorIdentifierPage.tsx} +3 -3
  50. package/{templates/react-app/src/pages/base/Executor.tsx → dist/templates/react-app/src/pages/base/ExecutorPage.tsx} +3 -3
  51. package/{templates/react-app/src/pages/base/Home.tsx → dist/templates/react-app/src/pages/base/HomePage.tsx} +15 -45
  52. package/{templates/react-app/src/pages/base/JSONStorage.tsx → dist/templates/react-app/src/pages/base/JSONStoragePage.tsx} +3 -3
  53. package/{templates → dist/templates}/react-app/src/pages/base/Layout.tsx +4 -4
  54. package/{templates/react-app/src/pages/base/Request.tsx → dist/templates/react-app/src/pages/base/RequestPage.tsx} +2 -2
  55. package/{templates/react-app/src/pages/base → dist/templates/react-app/src/uikit}/components/LogoutButton.tsx +1 -1
  56. package/{templates → dist/templates}/react-app/src/uikit/components/ThemeSwitcher.tsx +5 -6
  57. package/{templates → dist/templates}/react-app/src/uikit/contexts/BaseRouteContext.ts +1 -1
  58. package/{templates → dist/templates}/react-app/src/uikit/controllers/ExecutorController.ts +2 -2
  59. package/{templates → dist/templates}/react-app/src/uikit/controllers/JSONStorageController.ts +5 -5
  60. package/{templates → dist/templates}/react-app/src/uikit/controllers/RequestController.ts +1 -1
  61. package/{templates/react-app/src/uikit/hooks/useLanguageGuard.ts → dist/templates/react-app/src/uikit/hooks/useI18nGuard.ts} +1 -1
  62. package/{templates → dist/templates}/react-app/src/uikit/hooks/useStore.ts +2 -2
  63. package/dist/templates/react-app/src/uikit/hooks/userRouterService.ts +12 -0
  64. package/{templates → dist/templates}/react-app/src/uikit/providers/BaseRouteProvider.tsx +1 -0
  65. package/dist/templates/react-app/src/uikit/providers/ProcessExecutorProvider.tsx +24 -0
  66. package/dist/templates/react-app/src/uikit/providers/UserAuthProvider.tsx +16 -0
  67. package/{templates → dist/templates}/react-app/vite.config.ts +2 -1
  68. package/package.json +4 -6
  69. package/templates/react-app/config/Identifier/Auth.ts +0 -13
  70. package/templates/react-app/config/Identifier/I18n.ts +0 -1366
  71. package/templates/react-app/config/app.router.json +0 -159
  72. package/templates/react-app/config/theme.json +0 -9
  73. package/templates/react-app/src/base/apis/userApi/UserApi.ts +0 -64
  74. package/templates/react-app/src/base/port/LoginInterface.ts +0 -12
  75. package/templates/react-app/src/base/port/StoreInterface.ts +0 -58
  76. package/templates/react-app/src/base/services/UserService.ts +0 -130
  77. package/templates/react-app/src/uikit/providers/ProcessProvider.tsx +0 -45
  78. /package/{configs → dist/configs}/_common/.editorconfig +0 -0
  79. /package/{configs → dist/configs}/_common/.env.template +0 -0
  80. /package/{configs → dist/configs}/_common/.gitattributes +0 -0
  81. /package/{configs → dist/configs}/_common/.github/workflows/general-check.yml +0 -0
  82. /package/{configs → dist/configs}/_common/.github/workflows/release.yml +0 -0
  83. /package/{configs → dist/configs}/_common/.gitignore.template +0 -0
  84. /package/{configs → dist/configs}/_common/.husky/commit-msg +0 -0
  85. /package/{configs → dist/configs}/_common/.husky/pre-commit +0 -0
  86. /package/{configs → dist/configs}/_common/.prettierignore +0 -0
  87. /package/{configs → dist/configs}/_common/.prettierrc.js +0 -0
  88. /package/{configs → dist/configs}/_common/.vscode/extensions.json +0 -0
  89. /package/{configs → dist/configs}/_common/.vscode/react.code-snippets +0 -0
  90. /package/{configs → dist/configs}/_common/.vscode/settings.json +0 -0
  91. /package/{configs → dist/configs}/_common/commitlint.config.js +0 -0
  92. /package/{configs → dist/configs}/_common/package.json.template +0 -0
  93. /package/{configs → dist/configs}/node-lib/eslint.config.js +0 -0
  94. /package/{configs → dist/configs}/react-app/eslint.config.js +0 -0
  95. /package/{templates → dist/templates}/node-lib/__tests__/readJson.test.ts +0 -0
  96. /package/{templates → dist/templates}/node-lib/bin/test.js +0 -0
  97. /package/{templates → dist/templates}/node-lib/rollup.config.js +0 -0
  98. /package/{templates → dist/templates}/node-lib/src/index.ts +0 -0
  99. /package/{templates → dist/templates}/node-lib/src/readJson.ts +0 -0
  100. /package/{templates → dist/templates}/node-lib/tsconfig.json +0 -0
  101. /package/{templates → dist/templates}/pack-app/README.md +0 -0
  102. /package/{templates → dist/templates}/pack-app/eslint.config.js +0 -0
  103. /package/{templates → dist/templates}/pack-app/fe-config.json +0 -0
  104. /package/{templates → dist/templates}/pack-app/package.json +0 -0
  105. /package/{templates → dist/templates}/pack-app/pnpm-workspace.yaml +0 -0
  106. /package/{templates → dist/templates}/pack-app/tsconfig.json +0 -0
  107. /package/{templates → dist/templates}/pack-app/tsconfig.test.json +0 -0
  108. /package/{templates → dist/templates}/pack-app/vite.config.ts +0 -0
  109. /package/{templates → dist/templates}/react-app/.env.template +0 -0
  110. /package/{templates → dist/templates}/react-app/config/common.ts +0 -0
  111. /package/{templates → dist/templates}/react-app/config/i18n.ts +0 -0
  112. /package/{templates → dist/templates}/react-app/index.html +0 -0
  113. /package/{templates → dist/templates}/react-app/postcss.config.js +0 -0
  114. /package/{templates → dist/templates}/react-app/public/logo.svg +0 -0
  115. /package/{templates → dist/templates}/react-app/public/router-root/logo.svg +0 -0
  116. /package/{templates → dist/templates}/react-app/src/assets/react.svg +0 -0
  117. /package/{templates → dist/templates}/react-app/src/base/apis/AiApi.ts +0 -0
  118. /package/{templates → dist/templates}/react-app/src/base/apis/feApi/FeApi.ts +0 -0
  119. /package/{templates → dist/templates}/react-app/src/base/apis/feApi/FeApiAdapter.ts +0 -0
  120. /package/{templates → dist/templates}/react-app/src/base/apis/feApi/FeApiBootstarp.ts +0 -0
  121. /package/{templates → dist/templates}/react-app/src/base/apis/feApi/FeApiType.ts +0 -0
  122. /package/{templates → dist/templates}/react-app/src/base/apis/userApi/UserApiAdapter.ts +0 -0
  123. /package/{templates → dist/templates}/react-app/src/base/apis/userApi/UserApiBootstarp.ts +0 -0
  124. /package/{templates → dist/templates}/react-app/src/base/cases/AppError.ts +0 -0
  125. /package/{templates → dist/templates}/react-app/src/base/cases/DialogHandler.ts +0 -0
  126. /package/{templates → dist/templates}/react-app/src/base/cases/PublicAssetsPath.ts +0 -0
  127. /package/{templates → dist/templates}/react-app/src/base/cases/RequestLogger.ts +0 -0
  128. /package/{templates → dist/templates}/react-app/src/base/cases/RequestStatusCatcher.ts +0 -0
  129. /package/{templates → dist/templates}/react-app/src/base/port/ApiTransactionInterface.ts +0 -0
  130. /package/{templates → dist/templates}/react-app/src/base/port/InteractionHubInterface.ts +0 -0
  131. /package/{templates → dist/templates}/react-app/src/base/port/RequestCatcherInterface.ts +0 -0
  132. /package/{templates → dist/templates}/react-app/src/base/port/UIDependenciesInterface.ts +0 -0
  133. /package/{templates → dist/templates}/react-app/src/base/types/deprecated-antd.d.ts +0 -0
  134. /package/{templates → dist/templates}/react-app/src/base/types/global.d.ts +0 -0
  135. /package/{templates → dist/templates}/react-app/src/core/bootstraps/BootstrapApp.ts +0 -0
  136. /package/{templates → dist/templates}/react-app/src/core/bootstraps/PrintBootstrap.ts +0 -0
  137. /package/{templates → dist/templates}/react-app/src/core/registers/index.ts +0 -0
  138. /package/{templates → dist/templates}/react-app/src/main.tsx +0 -0
  139. /package/{templates → dist/templates}/react-app/src/pages/base/RedirectPathname.tsx +0 -0
  140. /package/{templates → dist/templates}/react-app/src/styles/css/antd-themes/_default.css +0 -0
  141. /package/{templates → dist/templates}/react-app/src/styles/css/antd-themes/dark.css +0 -0
  142. /package/{templates → dist/templates}/react-app/src/styles/css/antd-themes/index.css +0 -0
  143. /package/{templates → dist/templates}/react-app/src/styles/css/antd-themes/no-context.css +0 -0
  144. /package/{templates → dist/templates}/react-app/src/styles/css/antd-themes/pink.css +0 -0
  145. /package/{templates → dist/templates}/react-app/src/styles/css/index.css +0 -0
  146. /package/{templates → dist/templates}/react-app/src/styles/css/page.css +0 -0
  147. /package/{templates → dist/templates}/react-app/src/styles/css/tailwind.css +0 -0
  148. /package/{templates → dist/templates}/react-app/src/styles/css/themes/_default.css +0 -0
  149. /package/{templates → dist/templates}/react-app/src/styles/css/themes/dark.css +0 -0
  150. /package/{templates → dist/templates}/react-app/src/styles/css/themes/index.css +0 -0
  151. /package/{templates → dist/templates}/react-app/src/styles/css/themes/pink.css +0 -0
  152. /package/{templates/react-app/src/pages/base → dist/templates/react-app/src/uikit}/components/BaseHeader.tsx +0 -0
  153. /package/{templates → dist/templates}/react-app/src/uikit/components/LanguageSwitcher.tsx +0 -0
  154. /package/{templates → dist/templates}/react-app/src/uikit/components/Loading.tsx +0 -0
  155. /package/{templates → dist/templates}/react-app/src/uikit/components/LocaleLink.tsx +0 -0
  156. /package/{templates → dist/templates}/react-app/src/uikit/components/RouterRenderComponent.tsx +0 -0
  157. /package/{templates → dist/templates}/react-app/src/uikit/hooks/useDocumentTitle.ts +0 -0
  158. /package/{templates → dist/templates}/react-app/src/uikit/hooks/useStrictEffect.ts +0 -0
  159. /package/{templates → dist/templates}/react-app/src/vite-env.d.ts +0 -0
  160. /package/{templates → dist/templates}/react-app/tailwind.config.js +0 -0
  161. /package/{templates → dist/templates}/react-app/tsconfig.app.json +0 -0
  162. /package/{templates → dist/templates}/react-app/tsconfig.json +0 -0
  163. /package/{templates → dist/templates}/react-app/tsconfig.node.json +0 -0
@@ -1,1366 +0,0 @@
1
- /**
2
- * @description About Page
3
- * @localZh 关于
4
- * @localEn About
5
- */
6
- export const PAGE_ABOUT_TITLE = 'page.about.title';
7
-
8
- /**
9
- * @description About Page Description
10
- * @localZh 了解更多关于我们的项目和团队信息
11
- * @localEn Learn more about our project and team information
12
- */
13
- export const PAGE_ABOUT_DESCRIPTION = 'page.about.description';
14
-
15
- /**
16
- * @description Component not found error message
17
- * @localZh 组件不存在
18
- * @localEn Component not found
19
- */
20
- export const ERROR_404_COMPONENT_NOT_FOUND = '404.notComponent';
21
-
22
- /**
23
- * @description Page not found error message
24
- * @localZh 页面不存在
25
- * @localEn Page not found
26
- */
27
- export const ERROR_404_PAGE_NOT_FOUND = '404.notPage';
28
-
29
- /**
30
- * @description Server error title
31
- * @localZh 服务器错误
32
- * @localEn Server Error
33
- */
34
- export const ERROR_500_TITLE = '500.title';
35
-
36
- /**
37
- * @description Theme switch label
38
- * @localZh 切换主题
39
- * @localEn Switch Theme
40
- */
41
- export const HEADER_THEME_LABEL = 'header.theme.label';
42
-
43
- /**
44
- * @description IOC not implemented error
45
- * @localZh IOC 未实现
46
- * @localEn IOC not implemented
47
- */
48
- export const ERROR_IOC_NOT_IMPLEMENTED = 'err.ioc.not.implemented';
49
-
50
- /**
51
- * @description About page title
52
- * @localZh 关于我们
53
- * @localEn About
54
- */
55
- export const ABOUT_TITLE = 'about.title';
56
-
57
- /**
58
- * @description JSONStorage demo title
59
- * @localZh JSONStorage Demo
60
- * @localEn JSONStorage Demo
61
- */
62
- export const JSON_STORAGE_TITLE = 'jsonStorage.title';
63
-
64
- /**
65
- * @description Permanent storage test title
66
- * @localZh 永久存储测试
67
- * @localEn Permanent storage test
68
- */
69
- export const JSON_STORAGE_PERMANENT_TITLE = 'jsonStorage.title2';
70
-
71
- /**
72
- * @description Expire time test title
73
- * @localZh 过期时间测试
74
- * @localEn Expire time test
75
- */
76
- export const JSON_STORAGE_EXPIRE_TITLE = 'jsonStorage.title3';
77
-
78
- /**
79
- * @description Request timeout title
80
- * @localZh 请求超时时间设置
81
- * @localEn Request Timeout
82
- */
83
- export const JSON_STORAGE_TIMEOUT_TITLE = 'jsonStorage.title4';
84
-
85
- /**
86
- * @description Format title with key and range
87
- * @localZh 测试 key: ${key}, 随机值范围: ${min}~${max}
88
- * @localEn Test key: ${key}, Random value range: ${min}~${max}
89
- */
90
- export const JSON_STORAGE_FORMAT_TITLE = 'jsonStorage.format.title';
91
-
92
- /**
93
- * @description Set random value button text
94
- * @localZh 设置随机值
95
- * @localEn Set random value
96
- */
97
- export const JSON_STORAGE_SET_RANDOM = 'jsonStorage.setRandomValue';
98
-
99
- /**
100
- * @description Current value label
101
- * @localZh 当前值
102
- * @localEn Current value
103
- */
104
- export const JSON_STORAGE_CURRENT_VALUE = 'jsonStorage.currentValue';
105
-
106
- /**
107
- * @description Milliseconds unit
108
- * @localZh 毫秒
109
- * @localEn ms
110
- */
111
- export const JSON_STORAGE_MS = 'jsonStorage.ms';
112
-
113
- /**
114
- * @description Set random value with expire time button text
115
- * @localZh 设置随机值(带过期时间)
116
- * @localEn Set random value(with expire time)
117
- */
118
- export const JSON_STORAGE_SET_EXPIRE = 'jsonStorage.setExpireTime';
119
-
120
- /**
121
- * @description Login page title
122
- * @localZh 登录
123
- * @localEn Login
124
- */
125
- export const LOGIN_TITLE = 'login.title';
126
-
127
- /**
128
- * @description Email field label
129
- * @localZh 邮箱
130
- * @localEn Email
131
- */
132
- export const LOGIN_EMAIL = 'login.email';
133
-
134
- /**
135
- * @description Username field label
136
- * @localZh 用户名
137
- * @localEn Username
138
- */
139
- export const LOGIN_USERNAME = 'login.username';
140
-
141
- /**
142
- * @description Password field label
143
- * @localZh 密码
144
- * @localEn Password
145
- */
146
- export const LOGIN_PASSWORD = 'login.password';
147
-
148
- /**
149
- * @description Login button text
150
- * @localZh 登录
151
- * @localEn Login
152
- */
153
- export const LOGIN_BUTTON = 'login.login';
154
-
155
- /**
156
- * @description Login page description
157
- * @localZh 欢迎来到未来学习
158
- * @localEn Welcome to the future of learning
159
- */
160
- export const LOGIN_WELCOME = 'login.welcome';
161
-
162
- /**
163
- * @description Login page description
164
- * @localZh 解锁个性化 AI 驱动的学习体验,加速您的知识旅程。
165
- * @localEn Unlock personalized AI-powered learning experiences designed to accelerate your knowledge journey.
166
- */
167
- export const LOGIN_SUBTITLE = 'login.subtitle';
168
-
169
- /**
170
- * @description Request timeout message
171
- * @localZh 请求超时
172
- * @localEn Request Timeout
173
- */
174
- export const REQUEST_TIMEOUT = 'request.requestTimeout';
175
-
176
- /**
177
- * @description Hello result message
178
- * @localZh Hello 结果是
179
- * @localEn Hello result is
180
- */
181
- export const REQUEST_HELLO_RESULT = 'request.helloResult';
182
-
183
- /**
184
- * @description Hello error message
185
- * @localZh Hello 错误是
186
- * @localEn Hello error is
187
- */
188
- export const REQUEST_HELLO_ERROR = 'request.helloError';
189
-
190
- /**
191
- * @description IpInfo result message
192
- * @localZh IpInfo 结果是
193
- * @localEn IpInfo result is
194
- */
195
- export const REQUEST_IP_INFO_RESULT = 'request.ipInfoResult';
196
-
197
- /**
198
- * @description IpInfo title
199
- * @localZh IpInfo
200
- * @localEn IpInfo
201
- */
202
- export const REQUEST_IP_INFO = 'request.ipInfo';
203
-
204
- /**
205
- * @description Random user title
206
- * @localZh 随机用户
207
- * @localEn RandomUser
208
- */
209
- export const REQUEST_RANDOM_USER = 'request.randomUser';
210
-
211
- /**
212
- * @description Loading message
213
- * @localZh 加载中...
214
- * @localEn Loading...
215
- */
216
- export const REQUEST_LOADING = 'request.loading';
217
-
218
- /**
219
- * @description Random user result message
220
- * @localZh 随机用户 结果是
221
- * @localEn RandomUser result is
222
- */
223
- export const REQUEST_RANDOM_USER_RESULT = 'request.randomUserResult';
224
-
225
- /**
226
- * @description Random user error message
227
- * @localZh 随机用户 错误是
228
- * @localEn RandomUser error is
229
- */
230
- export const REQUEST_RANDOM_USER_ERROR = 'request.randomUserError';
231
-
232
- /**
233
- * @description Trigger abort request button text
234
- * @localZh 触发中止请求
235
- * @localEn Trigger Abort Request
236
- */
237
- export const REQUEST_TRIGGER_ABORT = 'request.triggerAbortRequest';
238
-
239
- /**
240
- * @description Stop abort request button text
241
- * @localZh 停止中止请求
242
- * @localEn Stop Abort Request
243
- */
244
- export const REQUEST_STOP_ABORT = 'request.stopAbortRequest';
245
-
246
- /**
247
- * @description Abort request result message
248
- * @localZh 中止请求 结果是
249
- * @localEn Abort Request Result
250
- */
251
- export const REQUEST_ABORT_RESULT = 'request.abortRequestResult';
252
-
253
- /**
254
- * @description Abort request error message
255
- * @localZh 中止请求 错误是
256
- * @localEn Abort Request Error
257
- */
258
- export const REQUEST_ABORT_ERROR = 'request.abortRequestError';
259
-
260
- /**
261
- * @description Executor demo title
262
- * @localZh 执行器 Demo
263
- * @localEn Executor Demo
264
- */
265
- export const EXECUTOR_DEMO = 'executor.executorDemo';
266
-
267
- /**
268
- * @description Executor request timeout
269
- * @localZh 请求超时
270
- * @localEn Request Timeout
271
- */
272
- export const EXECUTOR_REQUEST_TIMEOUT = 'executor.requestTimeout';
273
-
274
- /**
275
- * @description Executor test plugin
276
- * @localZh 执行器 测试插件
277
- * @localEn Executor Test Plugin
278
- */
279
- export const EXECUTOR_TEST_PLUGIN = 'executor.executorTestPlugin';
280
-
281
- /**
282
- * @description Test plugin
283
- * @localZh 测试插件
284
- * @localEn Test Plugin
285
- */
286
- export const EXECUTOR_TEST_PLUGIN_SIMPLE = 'executor.testPlugin';
287
-
288
- /**
289
- * @description Home page welcome message
290
- * @localZh 欢迎来到主页
291
- * @localEn Welcome to the home page
292
- */
293
- export const HOME_WELCOME = 'home.welcome';
294
-
295
- /**
296
- * @description Home page description
297
- * @localZh 一个现代前端实用库集合,提供各种实用工具和组件
298
- * @localEn A modern frontend utility library collection providing various practical tools and components
299
- */
300
- export const HOME_DESCRIPTION = 'home.description';
301
-
302
- /**
303
- * @description Home about us label
304
- * @localZh 关于我们
305
- * @localEn About Us
306
- */
307
- export const HOME_ABOUT = 'home.about';
308
-
309
- /**
310
- * @description Home about us description
311
- * @localZh 了解更多关于我们的项目和团队信息
312
- * @localEn Learn more about our project and team information
313
- */
314
- export const HOME_ABOUT_DESCRIPTION = 'home.about_description';
315
-
316
- /**
317
- * @description Home JSONStorage label
318
- * @localZh JSON存储
319
- * @localEn JSONStorage
320
- */
321
- export const HOME_JSONSTORAGE = 'home.jsonstorage';
322
-
323
- /**
324
- * @description Home JSONStorage description
325
- * @localZh 高效的JSON数据存储解决方案
326
- * @localEn Efficient JSON data storage solution
327
- */
328
- export const HOME_JSONSTORAGE_DESCRIPTION = 'home.jsonstorage_description';
329
-
330
- /**
331
- * @description Home request label
332
- * @localZh 请求
333
- * @localEn Request
334
- */
335
- export const HOME_REQUEST = 'home.request';
336
-
337
- /**
338
- * @description Home request description
339
- * @localZh 一个现代前端实用库集合,提供各种实用工具和组件
340
- * @localEn A modern frontend utility library collection providing various practical tools and components
341
- */
342
- export const HOME_REQUEST_DESCRIPTION = 'home.request_description';
343
-
344
- /**
345
- * @description JSONStorage page title
346
- * @localZh JSONStorage 页面
347
- * @localEn JSONStorage Page
348
- */
349
- export const PAGE_JSONSTORAGE_TITLE = 'page.jsonstorage.title';
350
-
351
- /**
352
- * @description JSONStorage page description
353
- * @localZh 使用 JSONStorage 进行数据存储和管理
354
- * @localEn Use JSONStorage for data storage and management
355
- */
356
- export const PAGE_JSONSTORAGE_DESCRIPTION = 'page.jsonstorage.description';
357
-
358
- /**
359
- * @description Request page title
360
- * @localZh 请求示例
361
- * @localEn Request Examples
362
- */
363
- export const PAGE_REQUEST_TITLE = 'page.request.title';
364
-
365
- /**
366
- * @description Request page description
367
- * @localZh 展示各种请求示例和用法
368
- * @localEn Demonstrate various request examples and usage
369
- */
370
- export const PAGE_REQUEST_DESCRIPTION = 'page.request.description';
371
-
372
- /**
373
- * @description Executor page title
374
- * @localZh 执行器示例
375
- * @localEn Executor Examples
376
- */
377
- export const PAGE_EXECUTOR_TITLE = 'page.executor.title';
378
-
379
- /**
380
- * @description Error Identifier page title
381
- * @localZh 错误标识符
382
- * @localEn Error Identifier
383
- */
384
- export const PAGE_ERROR_IDENTIFIER_TITLE = 'page.error_identifier.title';
385
-
386
- /**
387
- * @description Error Identifier page description
388
- * @localZh 错误标识符的使用和示例
389
- * @localEn Error identifier usage and examples
390
- */
391
- export const PAGE_ERROR_IDENTIFIER_DESCRIPTION =
392
- 'page.error.identifier.description';
393
-
394
- /**
395
- * @description Home page explore button text
396
- * @localZh 探索
397
- * @localEn Explore
398
- */
399
- export const HOME_EXPLORE = 'home.explore';
400
-
401
- /**
402
- * @description Home page get started section title
403
- * @localZh 准备开始使用?
404
- * @localEn Ready to Get Started?
405
- */
406
- export const HOME_GET_STARTED_TITLE = 'home.get_started.title';
407
-
408
- /**
409
- * @description Home page get started section description
410
- * @localZh 加入我们,探索实用工具的力量
411
- * @localEn Join us and discover the power of our utilities
412
- */
413
- export const HOME_GET_STARTED_DESCRIPTION = 'home.get_started.description';
414
-
415
- /**
416
- * @description Home page get started button text
417
- * @localZh 立即开始
418
- * @localEn Get Started Now
419
- */
420
- export const HOME_GET_STARTED_BUTTON = 'home.get_started.button';
421
-
422
- /**
423
- * @description Theme switcher default theme label
424
- * @localZh 默认主题
425
- * @localEn Default Theme
426
- */
427
- export const HEADER_THEME_DEFAULT = 'header.theme.default';
428
-
429
- /**
430
- * @description Theme switcher dark theme label
431
- * @localZh 暗色主题
432
- * @localEn Dark Theme
433
- */
434
- export const HEADER_THEME_DARK = 'header.theme.dark';
435
-
436
- /**
437
- * @description Theme switcher pink theme label
438
- * @localZh 粉色主题
439
- * @localEn Pink Theme
440
- */
441
- export const HEADER_THEME_PINK = 'header.theme.pink';
442
-
443
- /**
444
- * @description JSONStorage page main title
445
- * @localZh JSONStorage 演示
446
- * @localEn JSONStorage Demo
447
- */
448
- export const PAGE_JSONSTORAGE_MAIN_TITLE = 'page.jsonstorage.main_title';
449
-
450
- /**
451
- * @description JSONStorage permanent storage test title
452
- * @localZh 永久存储测试
453
- * @localEn Permanent Storage Test
454
- */
455
- export const PAGE_JSONSTORAGE_PERMANENT_TITLE =
456
- 'page.jsonstorage.permanent_title';
457
-
458
- /**
459
- * @description JSONStorage expire time test title
460
- * @localZh 过期时间测试
461
- * @localEn Expire Time Test
462
- */
463
- export const PAGE_JSONSTORAGE_EXPIRE_TITLE = 'page.jsonstorage.expire_title';
464
-
465
- /**
466
- * @description JSONStorage request timeout title
467
- * @localZh 请求超时时间设置
468
- * @localEn Request Timeout Setting
469
- */
470
- export const PAGE_JSONSTORAGE_TIMEOUT_TITLE = 'page.jsonstorage.timeout_title';
471
-
472
- /**
473
- * @description JSONStorage format title template
474
- * @localZh 测试 key: ${key}, 随机值范围: ${min}~${max}
475
- * @localEn Test key: ${key}, Random value range: ${min}~${max}
476
- */
477
- export const PAGE_JSONSTORAGE_FORMAT_TITLE = 'page.jsonstorage.format_title';
478
-
479
- /**
480
- * @description JSONStorage set random value button
481
- * @localZh 设置随机值
482
- * @localEn Set Random Value
483
- */
484
- export const PAGE_JSONSTORAGE_SET_RANDOM = 'page.jsonstorage.set_random';
485
-
486
- /**
487
- * @description JSONStorage current value label
488
- * @localZh 当前值
489
- * @localEn Current Value
490
- */
491
- export const PAGE_JSONSTORAGE_CURRENT_VALUE = 'page.jsonstorage.current_value';
492
-
493
- /**
494
- * @description JSONStorage set expire time button
495
- * @localZh 设置随机值(带过期时间)
496
- * @localEn Set Random Value (with expire time)
497
- */
498
- export const PAGE_JSONSTORAGE_SET_EXPIRE = 'page.jsonstorage.set_expire';
499
-
500
- /**
501
- * @description JSONStorage milliseconds unit
502
- * @localZh 毫秒
503
- * @localEn ms
504
- */
505
- export const PAGE_JSONSTORAGE_MS = 'page.jsonstorage.ms';
506
-
507
- /**
508
- * @description Request page timeout title
509
- * @localZh 请求超时时间
510
- * @localEn Request Timeout
511
- */
512
- export const PAGE_REQUEST_TIMEOUT = 'page.request.timeout';
513
-
514
- /**
515
- * @description Request page hello api title
516
- * @localZh AI API: Hello
517
- * @localEn AI API: Hello
518
- */
519
- export const PAGE_REQUEST_HELLO_TITLE = 'page.request.hello.title';
520
-
521
- /**
522
- * @description Request page hello api description
523
- * @localZh 函数式 api, 使用了 FetchURLPlugin, RequestCommonPlugin, ApiMockPlugin, RequestLogger 插件
524
- * @localEn Functional API using FetchURLPlugin, RequestCommonPlugin, ApiMockPlugin, RequestLogger plugins
525
- */
526
- export const PAGE_REQUEST_HELLO_DESCRIPTION = 'page.request.hello.description';
527
-
528
- /**
529
- * @description Request page hello button text
530
- * @localZh Hello
531
- * @localEn Hello
532
- */
533
- export const PAGE_REQUEST_HELLO_BUTTON = 'page.request.hello.button';
534
-
535
- /**
536
- * @description Request page ip info title
537
- * @localZh FeApi: IP Information
538
- * @localEn FeApi: IP Information
539
- */
540
- export const PAGE_REQUEST_IP_INFO_TITLE = 'page.request.ip_info.title';
541
-
542
- /**
543
- * @description Request page ip info description
544
- * @localZh RequestScheduler 类式 api, 使用了 FetchURLPlugin, RequestCommonPlugin, RequestLogger, ApiPickDataPlugin 插件, 其中 ApiPickDataPlugin 插件可以将返回类型统一扁平到 data 字段
545
- * @localEn RequestScheduler class API using FetchURLPlugin, RequestCommonPlugin, RequestLogger, ApiPickDataPlugin plugins, where ApiPickDataPlugin can flatten return types to data field
546
- */
547
- export const PAGE_REQUEST_IP_INFO_DESCRIPTION =
548
- 'page.request.ip_info.description';
549
-
550
- /**
551
- * @description Request page random user title
552
- * @localZh UserApi: Random User
553
- * @localEn UserApi: Random User
554
- */
555
- export const PAGE_REQUEST_RANDOM_USER_TITLE = 'page.request.random_user.title';
556
-
557
- /**
558
- * @description Request page random user description
559
- * @localZh RequestTransaction 类式 api, 使用了 FetchURLPlugin, RequestCommonPlugin, ApiMockPlugin, FetchAbortPlugin, RequestLogger, ApiCatchPlugin 插件, 其中 FetchAbortPlugin 可以中止请求, ApiCatchPlugin 可以将捕获的错误统一到 apiCatchResult 字段
560
- * @localEn RequestTransaction class API using FetchURLPlugin, RequestCommonPlugin, ApiMockPlugin, FetchAbortPlugin, RequestLogger, ApiCatchPlugin plugins, where FetchAbortPlugin can abort requests, ApiCatchPlugin can unify caught errors to apiCatchResult field
561
- */
562
- export const PAGE_REQUEST_RANDOM_USER_DESCRIPTION =
563
- 'page.request.random_user.description';
564
-
565
- /**
566
- * @description Request page api catch result title
567
- * @localZh UserApi: Api Catch Result
568
- * @localEn UserApi: Api Catch Result
569
- */
570
- export const PAGE_REQUEST_API_CATCH_TITLE = 'page.request.api_catch.title';
571
-
572
- /**
573
- * @description Request page abort request title
574
- * @localZh UserApi: Abort Request
575
- * @localEn UserApi: Abort Request
576
- */
577
- export const PAGE_REQUEST_ABORT_TITLE = 'page.request.abort.title';
578
-
579
- /**
580
- * @description Request page trigger abort request button
581
- * @localZh 触发中止请求
582
- * @localEn Trigger Abort Request
583
- */
584
- export const PAGE_REQUEST_TRIGGER_ABORT = 'page.request.trigger_abort';
585
-
586
- /**
587
- * @description Request page stop abort request button
588
- * @localZh 停止中止请求
589
- * @localEn Stop Abort Request
590
- */
591
- export const PAGE_REQUEST_STOP_ABORT = 'page.request.stop_abort';
592
-
593
- /**
594
- * @description Request page trigger api catch result button
595
- * @localZh 触发 API 捕获结果
596
- * @localEn Trigger API Catch Result
597
- */
598
- export const PAGE_REQUEST_TRIGGER_API_CATCH = 'page.request.trigger_api_catch';
599
-
600
- /**
601
- * @description Request page stop api catch result button
602
- * @localZh 停止 API 捕获结果
603
- * @localEn Stop API Catch Result
604
- */
605
- export const PAGE_REQUEST_STOP_API_CATCH = 'page.request.stop_api_catch';
606
-
607
- /**
608
- * @description Executor page main title
609
- * @localZh 执行器
610
- * @localEn Executor
611
- */
612
- export const PAGE_EXECUTOR_MAIN_TITLE = 'page.executor.main_title';
613
-
614
- /**
615
- * @description Executor page description
616
- * @localZh 一个强大的任务执行器,支持多种任务类型和状态管理
617
- * @localEn A powerful task executor supporting multiple task types and state management
618
- */
619
- export const PAGE_EXECUTOR_DESCRIPTION = 'page.executor.description';
620
-
621
- /**
622
- * @description Executor test plugin section title
623
- * @localZh 测试插件
624
- * @localEn Test Plugin
625
- */
626
- export const PAGE_EXECUTOR_TEST_PLUGIN_TITLE =
627
- 'page.executor.test_plugin.title';
628
-
629
- /**
630
- * @description Executor task status pending
631
- * @localZh 等待中
632
- * @localEn Pending
633
- */
634
- export const PAGE_EXECUTOR_TASK_STATUS_PENDING =
635
- 'page.executor.task.status.pending';
636
-
637
- /**
638
- * @description Executor task status running
639
- * @localZh 运行中
640
- * @localEn Running
641
- */
642
- export const PAGE_EXECUTOR_TASK_STATUS_RUNNING =
643
- 'page.executor.task.status.running';
644
-
645
- /**
646
- * @description Executor task status completed
647
- * @localZh 已完成
648
- * @localEn Completed
649
- */
650
- export const PAGE_EXECUTOR_TASK_STATUS_COMPLETED =
651
- 'page.executor.task.status.completed';
652
-
653
- /**
654
- * @description Executor task status failed
655
- * @localZh 失败
656
- * @localEn Failed
657
- */
658
- export const PAGE_EXECUTOR_TASK_STATUS_FAILED =
659
- 'page.executor.task.status.failed';
660
-
661
- /**
662
- * @description Executor task type data sync
663
- * @localZh 数据同步
664
- * @localEn Data Sync
665
- */
666
- export const PAGE_EXECUTOR_TASK_TYPE_DATA_SYNC =
667
- 'page.executor.task.type.data_sync';
668
-
669
- /**
670
- * @description Executor task type report generation
671
- * @localZh 报告生成
672
- * @localEn Report Generation
673
- */
674
- export const PAGE_EXECUTOR_TASK_TYPE_REPORT = 'page.executor.task.type.report';
675
-
676
- /**
677
- * @description Executor task type system maintenance
678
- * @localZh 系统维护
679
- * @localEn System Maintenance
680
- */
681
- export const PAGE_EXECUTOR_TASK_TYPE_MAINTENANCE =
682
- 'page.executor.task.type.maintenance';
683
-
684
- /**
685
- * @description Executor task type backup
686
- * @localZh 数据备份
687
- * @localEn Backup
688
- */
689
- export const PAGE_EXECUTOR_TASK_TYPE_BACKUP = 'page.executor.task.type.backup';
690
-
691
- /**
692
- * @description Executor task duration unit
693
- * @localZh 分钟
694
- * @localEn minutes
695
- */
696
- export const PAGE_EXECUTOR_TASK_DURATION_UNIT =
697
- 'page.executor.task.duration.unit';
698
-
699
- /**
700
- * @description Executor task start button
701
- * @localZh 开始
702
- * @localEn Start
703
- */
704
- export const PAGE_EXECUTOR_TASK_START = 'page.executor.task.start';
705
-
706
- /**
707
- * @description Executor task stop button
708
- * @localZh 停止
709
- * @localEn Stop
710
- */
711
- export const PAGE_EXECUTOR_TASK_STOP = 'page.executor.task.stop';
712
-
713
- /**
714
- * @description Executor task success message
715
- * @localZh 任务 %{name} 执行成功
716
- * @localEn Task %{name} executed successfully
717
- */
718
- export const PAGE_EXECUTOR_TASK_SUCCESS = 'page.executor.task.success';
719
-
720
- /**
721
- * @description Executor task failure message
722
- * @localZh 任务 %{name} 执行失败
723
- * @localEn Task %{name} execution failed
724
- */
725
- export const PAGE_EXECUTOR_TASK_FAILURE = 'page.executor.task.failure';
726
-
727
- /**
728
- * @description Executor plugin test success message
729
- * @localZh 插件测试成功
730
- * @localEn Plugin test successful
731
- */
732
- export const PAGE_EXECUTOR_PLUGIN_TEST_SUCCESS =
733
- 'page.executor.plugin.test.success';
734
-
735
- /**
736
- * @description Executor plugin test failure message
737
- * @localZh 插件测试失败
738
- * @localEn Plugin test failed
739
- */
740
- export const PAGE_EXECUTOR_PLUGIN_TEST_FAILURE =
741
- 'page.executor.plugin.test.failure';
742
-
743
- /**
744
- * @description Executor custom task url required message
745
- * @localZh 请输入URL
746
- * @localEn Please enter URL
747
- */
748
- export const PAGE_EXECUTOR_CUSTOM_TASK_URL_REQUIRED =
749
- 'page.executor.custom_task.url_required';
750
-
751
- /**
752
- * @description Executor custom task name template
753
- * @localZh 自定义任务 %{method} %{url}
754
- * @localEn Custom Task %{method} %{url}
755
- */
756
- export const PAGE_EXECUTOR_CUSTOM_TASK_NAME = 'page.executor.custom_task.name';
757
-
758
- /**
759
- * @description Executor create custom task title
760
- * @localZh 创建自定义任务
761
- * @localEn Create Custom Task
762
- */
763
- export const PAGE_EXECUTOR_CREATE_TASK_TITLE =
764
- 'page.executor.create_task.title';
765
-
766
- /**
767
- * @description Executor create button text
768
- * @localZh 创建
769
- * @localEn Create
770
- */
771
- export const PAGE_EXECUTOR_CREATE_BUTTON = 'page.executor.create_button';
772
-
773
- /**
774
- * @description Executor enter URL placeholder
775
- * @localZh 输入URL
776
- * @localEn Enter URL
777
- */
778
- export const PAGE_EXECUTOR_ENTER_URL = 'page.executor.enter_url';
779
-
780
- /**
781
- * @description Executor task list title
782
- * @localZh 任务列表
783
- * @localEn Task List
784
- */
785
- export const PAGE_EXECUTOR_TASK_LIST_TITLE = 'page.executor.task_list.title';
786
-
787
- /**
788
- * @description Executor task statistics total tasks
789
- * @localZh 总任务数
790
- * @localEn Total Tasks
791
- */
792
- export const PAGE_EXECUTOR_TASK_STATS_TOTAL = 'page.executor.task_stats.total';
793
-
794
- /**
795
- * @description Executor task statistics running tasks
796
- * @localZh 运行中
797
- * @localEn Running
798
- */
799
- export const PAGE_EXECUTOR_TASK_STATS_RUNNING =
800
- 'page.executor.task_stats.running';
801
-
802
- /**
803
- * @description Executor task statistics completed tasks
804
- * @localZh 已完成
805
- * @localEn Completed
806
- */
807
- export const PAGE_EXECUTOR_TASK_STATS_COMPLETED =
808
- 'page.executor.task_stats.completed';
809
-
810
- /**
811
- * @description Executor task statistics failed tasks
812
- * @localZh 失败
813
- * @localEn Failed
814
- */
815
- export const PAGE_EXECUTOR_TASK_STATS_FAILED =
816
- 'page.executor.task_stats.failed';
817
-
818
- /**
819
- * @description Executor task history title
820
- * @localZh 执行历史
821
- * @localEn Execution History
822
- */
823
- export const PAGE_EXECUTOR_TASK_HISTORY_TITLE =
824
- 'page.executor.task_history.title';
825
-
826
- /**
827
- * @description Executor help section title
828
- * @localZh 需要帮助?
829
- * @localEn Need Help?
830
- */
831
- export const PAGE_EXECUTOR_HELP_TITLE = 'page.executor.help.title';
832
-
833
- /**
834
- * @description Executor help section description
835
- * @localZh 遇到问题?查看我们的任务执行指南或联系支持团队
836
- * @localEn Having issues? Check our task execution guide or contact support
837
- */
838
- export const PAGE_EXECUTOR_HELP_DESCRIPTION = 'page.executor.help.description';
839
-
840
- /**
841
- * @description Executor view guide button
842
- * @localZh 查看指南
843
- * @localEn View Guide
844
- */
845
- export const PAGE_EXECUTOR_VIEW_GUIDE = 'page.executor.view_guide';
846
-
847
- /**
848
- * @description Executor contact support button
849
- * @localZh 联系支持
850
- * @localEn Contact Support
851
- */
852
- export const PAGE_EXECUTOR_CONTACT_SUPPORT = 'page.executor.contact_support';
853
-
854
- /**
855
- * @description ErrorIdentifier page main title
856
- * @localZh 错误标识符
857
- * @localEn Error Identifier
858
- */
859
- export const PAGE_ERROR_IDENTIFIER_MAIN_TITLE =
860
- 'page.error.identifier.main_title';
861
-
862
- /**
863
- * @description ErrorIdentifier page description
864
- * @localZh 来自 '@config/Identifier/Error' 的标识符
865
- * @localEn Identifier From: '@config/Identifier/Error'
866
- */
867
- export const PAGE_ERROR_IDENTIFIER_SOURCE_DESCRIPTION =
868
- 'page.error.identifier.source_description';
869
-
870
- /**
871
- * @description ErrorIdentifier help section title
872
- * @localZh 需要帮助?
873
- * @localEn Need Help?
874
- */
875
- export const PAGE_ERROR_IDENTIFIER_HELP_TITLE =
876
- 'page.error.identifier.help.title';
877
-
878
- /**
879
- * @description ErrorIdentifier help section description
880
- * @localZh 如果您在使用错误标识符时遇到问题,请联系我们的支持团队
881
- * @localEn If you encounter any issues while using error identifiers, please contact our support team
882
- */
883
- export const PAGE_ERROR_IDENTIFIER_HELP_DESCRIPTION =
884
- 'page.error.identifier.help.description';
885
-
886
- /**
887
- * @description ErrorIdentifier contact support button
888
- * @localZh 联系支持
889
- * @localEn Contact Support
890
- */
891
- export const PAGE_ERROR_IDENTIFIER_CONTACT_SUPPORT =
892
- 'page.error.identifier.contact_support';
893
-
894
- /**
895
- * @description Test message for About page
896
- * @localZh 这是一条测试消息
897
- * @localEn This is a test message
898
- */
899
- export const ABOUT_MESSAGE_TEST = 'about.message.test';
900
-
901
- /**
902
- * @description Notification title for About page
903
- * @localZh 通知标题
904
- * @localEn Notification Title
905
- */
906
- export const ABOUT_NOTIFICATION_TITLE = 'about.notification.title';
907
-
908
- /**
909
- * @description Notification description for About page
910
- * @localZh 这是一条测试通知
911
- * @localEn This is a test notification
912
- */
913
- export const ABOUT_NOTIFICATION_DESC = 'about.notification.description';
914
-
915
- /**
916
- * @description Message button text for About page
917
- * @localZh 显示 Message
918
- * @localEn Show Message
919
- */
920
- export const ABOUT_BTN_MESSAGE = 'about.button.message';
921
-
922
- /**
923
- * @description Message button text for About page
924
- * @localZh 静态消息
925
- * @localEn Static Message
926
- */
927
- export const ABOUT_BTN_MESSAGE2 = 'about.button.message2';
928
-
929
- /**
930
- * @description Notification button text for About page
931
- * @localZh 显示 Notification
932
- * @localEn Show Notification
933
- */
934
- export const ABOUT_BTN_NOTIFICATION = 'about.button.notification';
935
-
936
- /**
937
- * @description Notification button text for About page
938
- * @localZh 静态通知
939
- * @localEn Static Notification
940
- */
941
- export const ABOUT_BTN_NOTIFICATION2 = 'about.button.notification2';
942
-
943
- /**
944
- * @description Tooltip text for About page
945
- * @localZh 这是一个提示文本
946
- * @localEn This is a tooltip text
947
- */
948
- export const ABOUT_TOOLTIP_TEXT = 'about.tooltip.text';
949
-
950
- /**
951
- * @description Tooltip button text for About page
952
- * @localZh 悬停显示 Tooltip
953
- * @localEn Hover to show Tooltip
954
- */
955
- export const ABOUT_BTN_TOOLTIP = 'about.button.tooltip';
956
-
957
- /**
958
- * @description Modal title for About page
959
- * @localZh 模态框示例
960
- * @localEn Modal Example
961
- */
962
- export const ABOUT_MODAL_TITLE = 'about.modal.title';
963
-
964
- /**
965
- * @description Modal content for About page
966
- * @localZh 这是一个模态框的内容
967
- * @localEn This is modal content
968
- */
969
- export const ABOUT_MODAL_CONTENT = 'about.modal.content';
970
-
971
- /**
972
- * @description Modal button text for About page
973
- * @localZh 显示 Modal
974
- * @localEn Show Modal
975
- */
976
- export const ABOUT_BTN_MODAL = 'about.button.modal';
977
-
978
- /**
979
- * @description Drawer title for About page
980
- * @localZh 抽屉示例
981
- * @localEn Drawer Example
982
- */
983
- export const ABOUT_DRAWER_TITLE = 'about.drawer.title';
984
-
985
- /**
986
- * @description Drawer content for About page
987
- * @localZh 这是一个抽屉的内容
988
- * @localEn This is drawer content
989
- */
990
- export const ABOUT_DRAWER_CONTENT = 'about.drawer.content';
991
-
992
- /**
993
- * @description Drawer button text for About page
994
- * @localZh 显示 Drawer
995
- * @localEn Show Drawer
996
- */
997
- export const ABOUT_BTN_DRAWER = 'about.button.drawer';
998
-
999
- /**
1000
- * @description Popover content for About page
1001
- * @localZh 这是一个气泡卡片
1002
- * @localEn This is a popover card
1003
- */
1004
- export const ABOUT_POPOVER_CONTENT = 'about.popover.content';
1005
-
1006
- /**
1007
- * @description Popover title for About page
1008
- * @localZh Popover 标题
1009
- * @localEn Popover Title
1010
- */
1011
- export const ABOUT_POPOVER_TITLE = 'about.popover.title';
1012
-
1013
- /**
1014
- * @description Popover button text for About page
1015
- * @localZh 显示 Popover
1016
- * @localEn Show Popover
1017
- */
1018
- export const ABOUT_BTN_POPOVER = 'about.button.popover';
1019
-
1020
- /**
1021
- * @description Popconfirm title for About page
1022
- * @localZh 确认提示
1023
- * @localEn Confirmation
1024
- */
1025
- export const ABOUT_POPCONFIRM_TITLE = 'about.popconfirm.title';
1026
-
1027
- /**
1028
- * @description Popconfirm description for About page
1029
- * @localZh 您确定要执行此操作吗?
1030
- * @localEn Are you sure you want to perform this action?
1031
- */
1032
- export const ABOUT_POPCONFIRM_DESC = 'about.popconfirm.description';
1033
-
1034
- /**
1035
- * @description Popconfirm button text for About page
1036
- * @localZh 显示 Popconfirm
1037
- * @localEn Show Popconfirm
1038
- */
1039
- export const ABOUT_BTN_POPCONFIRM = 'about.button.popconfirm';
1040
-
1041
- /**
1042
- * @description Alert message for About page
1043
- * @localZh 这是一个警告提示
1044
- * @localEn This is a warning alert
1045
- */
1046
- export const ABOUT_ALERT_MESSAGE = 'about.alert.message';
1047
-
1048
- /**
1049
- * @description Common OK button text
1050
- * @localZh 确定
1051
- * @localEn OK
1052
- * @Codebase
1053
- */
1054
- export const COMMON_OK = 'common.ok';
1055
-
1056
- /**
1057
- * @description Common Cancel button text
1058
- * @localZh 取消
1059
- * @localEn Cancel
1060
- * @Codebase
1061
- */
1062
- export const COMMON_CANCEL = 'common.cancel';
1063
-
1064
- /**
1065
- * @description Login page forgot password text
1066
- * @localZh 忘记密码?
1067
- * @localEn Forgot your password?
1068
- */
1069
- export const LOGIN_FORGOT_PASSWORD = 'login.forgot_password';
1070
-
1071
- /**
1072
- * @description Login page continue with text
1073
- * @localZh 或继续使用
1074
- * @localEn or continue with
1075
- */
1076
- export const LOGIN_CONTINUE_WITH = 'login.continue_with';
1077
-
1078
- /**
1079
- * @description Login with Google button text
1080
- * @localZh 使用 Google 登录
1081
- * @localEn Sign in with Google
1082
- */
1083
- export const LOGIN_WITH_GOOGLE = 'login.with_google';
1084
-
1085
- /**
1086
- * @description Login page no account text
1087
- * @localZh 还没有账号?
1088
- * @localEn Don't have an account?
1089
- */
1090
- export const LOGIN_NO_ACCOUNT = 'login.no_account';
1091
-
1092
- /**
1093
- * @description Login page create account link text
1094
- * @localZh 在此创建
1095
- * @localEn Create one here
1096
- */
1097
- export const LOGIN_CREATE_ACCOUNT = 'login.create_account';
1098
-
1099
- /**
1100
- * @description Login page email validation message
1101
- * @localZh 请输入您的邮箱!
1102
- * @localEn Please input your email!
1103
- */
1104
- export const LOGIN_EMAIL_REQUIRED = 'login.email_required';
1105
-
1106
- /**
1107
- * @description Login page password validation message
1108
- * @localZh 请输入您的密码!
1109
- * @localEn Please input your password!
1110
- */
1111
- export const LOGIN_PASSWORD_REQUIRED = 'login.password_required';
1112
-
1113
- /**
1114
- * @description Login page feature item - AI learning paths
1115
- * @localZh AI驱动的个性化学习路径
1116
- * @localEn AI-powered personalized learning paths
1117
- */
1118
- export const LOGIN_FEATURE_AI_PATHS = 'login.feature.ai_paths';
1119
-
1120
- /**
1121
- * @description Login page feature item - Smart recommendations
1122
- * @localZh 智能内容推荐
1123
- * @localEn Smart content recommendations
1124
- */
1125
- export const LOGIN_FEATURE_SMART_RECOMMENDATIONS =
1126
- 'login.feature.smart_recommendations';
1127
-
1128
- /**
1129
- * @description Login page feature item - Progress tracking
1130
- * @localZh 实时进度追踪
1131
- * @localEn Real-time progress tracking
1132
- */
1133
- export const LOGIN_FEATURE_PROGRESS_TRACKING =
1134
- 'login.feature.progress_tracking';
1135
-
1136
- /**
1137
- * @description Login page email input title
1138
- * @localZh 输入邮箱
1139
- * @localEn Enter email
1140
- */
1141
- export const LOGIN_EMAIL_TITLE = 'login.email.title';
1142
-
1143
- /**
1144
- * @description Login page password input title
1145
- * @localZh 输入密码
1146
- * @localEn Enter password
1147
- */
1148
- export const LOGIN_PASSWORD_TITLE = 'login.password.title';
1149
-
1150
- /**
1151
- * @description Login page forgot password link title
1152
- * @localZh 重置密码
1153
- * @localEn Reset password
1154
- */
1155
- export const LOGIN_FORGOT_PASSWORD_TITLE = 'login.forgot_password.title';
1156
-
1157
- /**
1158
- * @description Login page submit button title
1159
- * @localZh 登录账号
1160
- * @localEn Sign in to account
1161
- */
1162
- export const LOGIN_BUTTON_TITLE = 'login.button.title';
1163
-
1164
- /**
1165
- * @description Login page Google sign in button title
1166
- * @localZh 使用Google账号登录
1167
- * @localEn Sign in with Google account
1168
- */
1169
- export const LOGIN_WITH_GOOGLE_TITLE = 'login.with_google.title';
1170
-
1171
- /**
1172
- * @description Login page create account link title
1173
- * @localZh 创建新账号
1174
- * @localEn Create new account
1175
- */
1176
- export const LOGIN_CREATE_ACCOUNT_TITLE = 'login.create_account.title';
1177
-
1178
- /**
1179
- * @description Register page title
1180
- * @localZh 创建账号
1181
- * @localEn Create Account
1182
- */
1183
- export const REGISTER_TITLE = 'register.title';
1184
-
1185
- /**
1186
- * @description Register page subtitle
1187
- * @localZh 开始您的学习之旅
1188
- * @localEn Start your learning journey
1189
- */
1190
- export const REGISTER_SUBTITLE = 'register.subtitle';
1191
-
1192
- /**
1193
- * @description Register page username field
1194
- * @localZh 用户名
1195
- * @localEn Username
1196
- */
1197
- export const REGISTER_USERNAME = 'register.username';
1198
-
1199
- /**
1200
- * @description Register page username required message
1201
- * @localZh 请输入用户名!
1202
- * @localEn Please input your username!
1203
- */
1204
- export const REGISTER_USERNAME_REQUIRED = 'register.username_required';
1205
-
1206
- /**
1207
- * @description Register page email field
1208
- * @localZh 邮箱
1209
- * @localEn Email
1210
- */
1211
- export const REGISTER_EMAIL = 'register.email';
1212
-
1213
- /**
1214
- * @description Register page email required message
1215
- * @localZh 请输入邮箱!
1216
- * @localEn Please input your email!
1217
- */
1218
- export const REGISTER_EMAIL_REQUIRED = 'register.email_required';
1219
-
1220
- /**
1221
- * @description Register page password field
1222
- * @localZh 密码
1223
- * @localEn Password
1224
- */
1225
- export const REGISTER_PASSWORD = 'register.password';
1226
-
1227
- /**
1228
- * @description Register page password required message
1229
- * @localZh 请输入密码!
1230
- * @localEn Please input your password!
1231
- */
1232
- export const REGISTER_PASSWORD_REQUIRED = 'register.password_required';
1233
-
1234
- /**
1235
- * @description Register page confirm password field
1236
- * @localZh 确认密码
1237
- * @localEn Confirm Password
1238
- */
1239
- export const REGISTER_CONFIRM_PASSWORD = 'register.confirm_password';
1240
-
1241
- /**
1242
- * @description Register page confirm password required message
1243
- * @localZh 请确认密码!
1244
- * @localEn Please confirm your password!
1245
- */
1246
- export const REGISTER_CONFIRM_PASSWORD_REQUIRED =
1247
- 'register.confirm_password_required';
1248
-
1249
- /**
1250
- * @description Register page passwords don't match message
1251
- * @localZh 两次输入的密码不匹配!
1252
- * @localEn The passwords you entered don't match!
1253
- */
1254
- export const REGISTER_PASSWORD_MISMATCH = 'register.password_mismatch';
1255
-
1256
- /**
1257
- * @description Register page submit button
1258
- * @localZh 注册
1259
- * @localEn Register
1260
- */
1261
- export const REGISTER_BUTTON = 'register.button';
1262
-
1263
- /**
1264
- * @description Register page terms and conditions text
1265
- * @localZh 注册即表示您同意我们的
1266
- * @localEn By registering, you agree to our
1267
- */
1268
- export const REGISTER_TERMS_PREFIX = 'register.terms_prefix';
1269
-
1270
- /**
1271
- * @description Register page terms and conditions link
1272
- * @localZh 服务条款
1273
- * @localEn Terms of Service
1274
- */
1275
- export const REGISTER_TERMS_LINK = 'register.terms_link';
1276
-
1277
- /**
1278
- * @description Register page privacy policy text
1279
- * @localZh 和
1280
- * @localEn and
1281
- */
1282
- export const REGISTER_TERMS_AND = 'register.terms_and';
1283
-
1284
- /**
1285
- * @description Register page privacy policy link
1286
- * @localZh 隐私政策
1287
- * @localEn Privacy Policy
1288
- */
1289
- export const REGISTER_PRIVACY_LINK = 'register.privacy_link';
1290
-
1291
- /**
1292
- * @description Register page have account text
1293
- * @localZh 已有账号?
1294
- * @localEn Already have an account?
1295
- */
1296
- export const REGISTER_HAVE_ACCOUNT = 'register.have_account';
1297
-
1298
- /**
1299
- * @description Register page login link
1300
- * @localZh 登录
1301
- * @localEn Sign in
1302
- */
1303
- export const REGISTER_LOGIN_LINK = 'register.login_link';
1304
-
1305
- /**
1306
- * @description Register page feature item - Personalized Learning
1307
- * @localZh 个性化学习体验
1308
- * @localEn Personalized Learning Experience
1309
- */
1310
- export const REGISTER_FEATURE_PERSONALIZED = 'register.feature.personalized';
1311
-
1312
- /**
1313
- * @description Register page feature item - Expert Support
1314
- * @localZh 专家支持和指导
1315
- * @localEn Expert Support and Guidance
1316
- */
1317
- export const REGISTER_FEATURE_SUPPORT = 'register.feature.support';
1318
-
1319
- /**
1320
- * @description Register page feature item - Learning Community
1321
- * @localZh 活跃的学习社区
1322
- * @localEn Active Learning Community
1323
- */
1324
- export const REGISTER_FEATURE_COMMUNITY = 'register.feature.community';
1325
-
1326
- /**
1327
- * @description Register page terms agreement required message
1328
- * @localZh 请同意服务条款和隐私政策
1329
- * @localEn Please agree to the Terms of Service and Privacy Policy
1330
- */
1331
- export const REGISTER_TERMS_REQUIRED = 'register.terms_required';
1332
-
1333
- /**
1334
- * @description Home page title
1335
- * @localZh 首页
1336
- * @localEn Home
1337
- */
1338
- export const PAGE_HOME_TITLE = 'page.home.title';
1339
-
1340
- /**
1341
- * @description 404 page title
1342
- * @localZh 404 - 页面未找到
1343
- * @localEn 404 - Page Not Found
1344
- */
1345
- export const PAGE_404_TITLE = 'page.404.title';
1346
-
1347
- /**
1348
- * @description 500 page title
1349
- * @localZh 500 - 服务器错误
1350
- * @localEn 500 - Server Error
1351
- */
1352
- export const PAGE_500_TITLE = 'page.500.title';
1353
-
1354
- /**
1355
- * @description Login page title
1356
- * @localZh 登录
1357
- * @localEn Login
1358
- */
1359
- export const PAGE_LOGIN_TITLE = 'page.login.title';
1360
-
1361
- /**
1362
- * @description Register page title
1363
- * @localZh 注册
1364
- * @localEn Register
1365
- */
1366
- export const PAGE_REGISTER_TITLE = 'page.register.title';