@nbtca/prompt 1.5.20 → 1.5.22
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.
- package/README.md +32 -2
- package/SECURITY.md +7 -2
- package/dist/app/views/schedule-render.js +4 -0
- package/dist/app/views/schedule.js +148 -12
- package/dist/app/views/student-records-render.js +268 -0
- package/dist/app/views/student-records.js +309 -0
- package/dist/auth/cookie-transport.js +8 -2
- package/dist/cli.js +18 -0
- package/dist/config/campus.js +2 -0
- package/dist/features/student-records-client.js +19 -0
- package/dist/features/student-records-render.js +50 -0
- package/dist/features/student-records.js +61 -0
- package/dist/features/student-timetable.js +23 -4
- package/dist/i18n/locales/en.json +60 -0
- package/dist/i18n/locales/zh.json +60 -0
- package/package.json +2 -2
|
@@ -212,6 +212,66 @@
|
|
|
212
212
|
"watchJsonConflict": "--watch 不能和 --json 同时使用。",
|
|
213
213
|
"intervalNeedsWatch": "--interval 需要配合 --watch 使用。"
|
|
214
214
|
},
|
|
215
|
+
"records": {
|
|
216
|
+
"exams": "个人考试安排",
|
|
217
|
+
"grades": "成绩查询",
|
|
218
|
+
"noExams": "这个学期尚无已公布的个人考试安排。",
|
|
219
|
+
"noGrades": "这个学期尚无已公布的成绩。",
|
|
220
|
+
"timeUnavailable": "考试时间尚未公布",
|
|
221
|
+
"notPublished": "尚未公布",
|
|
222
|
+
"seat": "座位号:{value}",
|
|
223
|
+
"gradeValue": "成绩:{value}",
|
|
224
|
+
"credits": "学分:{value}",
|
|
225
|
+
"gradePoint": "绩点:{value}",
|
|
226
|
+
"voided": "教务系统已将这条成绩标记为作废。",
|
|
227
|
+
"memoryOnly": "考试和成绩查询结果不会写入本地缓存。",
|
|
228
|
+
"refresh": "刷新查询",
|
|
229
|
+
"switchTerm": "切换学期",
|
|
230
|
+
"exportNeedsTime": "部分考试尚未公布时间,暂时无法导出完整的考试日历。",
|
|
231
|
+
"invalidExportOptions": "请使用非空的 --output 路径导出考试日历,并且不要同时使用 --json。",
|
|
232
|
+
"exported": "考试日历已导出至 {file}。",
|
|
233
|
+
"pendingTag": "待定",
|
|
234
|
+
"ended": "已结束",
|
|
235
|
+
"inProgress": "进行中",
|
|
236
|
+
"today": "今天",
|
|
237
|
+
"tomorrow": "明天",
|
|
238
|
+
"daysAway": "{days}天后",
|
|
239
|
+
"voidTag": "作废",
|
|
240
|
+
"courseNature": "课程性质",
|
|
241
|
+
"examNature": "考试性质",
|
|
242
|
+
"location": "考场",
|
|
243
|
+
"campus": "校区",
|
|
244
|
+
"examName": "考试名称",
|
|
245
|
+
"assessment": "考核方式",
|
|
246
|
+
"gradeSummary": "共 {total} 门课程,已公布 {published} 门",
|
|
247
|
+
"examSummary": "共 {total} 场考试,{pending} 场时间待定",
|
|
248
|
+
"needsAttention": "仅待关注",
|
|
249
|
+
"upcomingOnly": "仅待参加及时间待定",
|
|
250
|
+
"updated": "更新于",
|
|
251
|
+
"nextExam": "下一场考试",
|
|
252
|
+
"course": "课程",
|
|
253
|
+
"result": "成绩",
|
|
254
|
+
"creditLabel": "学分",
|
|
255
|
+
"pointLabel": "绩点",
|
|
256
|
+
"loading": "正在查询这个学期…",
|
|
257
|
+
"noMatches": "没有符合条件的课程。",
|
|
258
|
+
"clearFilters": "按 Esc 清除搜索和筛选。",
|
|
259
|
+
"emptyHint": "按 s 切换学期,查看历史记录。",
|
|
260
|
+
"termAction": "学期",
|
|
261
|
+
"searchAction": "搜索",
|
|
262
|
+
"filterAction": "筛选",
|
|
263
|
+
"detailAction": "详情",
|
|
264
|
+
"moveAction": "选择课程",
|
|
265
|
+
"switchView": "切换考试和成绩",
|
|
266
|
+
"searchPrompt": "搜索课程",
|
|
267
|
+
"searchHint": "输入课程名或课程代码",
|
|
268
|
+
"allRecords": "全部",
|
|
269
|
+
"detailHint": "按 Esc 返回列表",
|
|
270
|
+
"searchFooter": "Enter 确认 · Esc 取消",
|
|
271
|
+
"upcomingFilter": "待参加的考试",
|
|
272
|
+
"attentionFilter": "待公布或作废的成绩",
|
|
273
|
+
"filtered": "筛选中"
|
|
274
|
+
},
|
|
215
275
|
"timetable": {
|
|
216
276
|
"menuTitle": "我的课表",
|
|
217
277
|
"actionExport": "导出 ICS",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nbtca/prompt",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.22",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
],
|
|
48
48
|
"dependencies": {
|
|
49
49
|
"@nbtca/docs": "^0.3.5",
|
|
50
|
-
"@nbtca/nbtcal": "^0.4.
|
|
50
|
+
"@nbtca/nbtcal": "^0.4.5",
|
|
51
51
|
"chalk": "^5.6.2",
|
|
52
52
|
"marked": "^15.0.12"
|
|
53
53
|
},
|