@nbtca/prompt 1.5.21 → 1.5.23
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 +6 -2
- package/dist/app/ambient.js +98 -0
- package/dist/app/app.js +3 -2
- package/dist/app/chrome.js +6 -2
- package/dist/app/views/docs-render.js +23 -15
- package/dist/app/views/docs.js +3 -0
- package/dist/app/views/events-render.js +57 -21
- package/dist/app/views/events.js +62 -9
- package/dist/app/views/home.js +66 -31
- package/dist/app/views/schedule-render.js +10 -3
- package/dist/app/views/schedule.js +16 -5
- package/dist/app/views/settings-render.js +13 -2
- package/dist/app/views/settings.js +27 -1
- package/dist/app/views/student-records-render.js +268 -0
- package/dist/app/views/student-records.js +196 -26
- package/dist/art/bitmaps.js +76 -0
- package/dist/art/glyphs.js +101 -0
- package/dist/art/motifs.js +198 -0
- package/dist/art/noise.js +43 -0
- package/dist/art/planet.js +184 -0
- package/dist/art/scene.js +446 -0
- package/dist/config/preferences.js +8 -1
- package/dist/core/components/empty-state.js +50 -0
- package/dist/core/components/menu.js +2 -2
- package/dist/core/components/picture.js +18 -0
- package/dist/core/logo.js +62 -43
- package/dist/core/pixel-art-fine.js +157 -0
- package/dist/core/pixel-art.js +223 -0
- package/dist/core/theme.js +1 -1
- package/dist/features/calendar-heatmap.js +35 -10
- package/dist/features/calendar.js +2 -2
- package/dist/features/event-art.js +16 -0
- package/dist/features/schedule-view.js +10 -0
- package/dist/i18n/locales/en.json +56 -6
- package/dist/i18n/locales/zh.json +55 -5
- package/dist/logo/ascii-emblem-large.txt +22 -0
- package/dist/logo/ascii-emblem-medium.txt +15 -0
- package/dist/logo/ascii-emblem.txt +11 -0
- package/dist/logo/ascii-logo.txt +3 -12
- package/package.json +3 -3
|
@@ -75,7 +75,10 @@
|
|
|
75
75
|
"heatmap": {
|
|
76
76
|
"title": "Activity (Last 12 Months)",
|
|
77
77
|
"legendLess": "Less",
|
|
78
|
-
"legendMore": "More"
|
|
78
|
+
"legendMore": "More",
|
|
79
|
+
"inspect": "Inspect activity by day",
|
|
80
|
+
"dayCount": "{date} {sep} {count} events",
|
|
81
|
+
"dayEmpty": "No events that day"
|
|
79
82
|
},
|
|
80
83
|
"pastLoading": "Loading past events...",
|
|
81
84
|
"pastEvents": "Past Events",
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
"viewPastDetail": "Select an event for details:",
|
|
85
88
|
"next": "Next",
|
|
86
89
|
"recentActivity": "Coming up",
|
|
90
|
+
"moreEvents": "{count} more",
|
|
87
91
|
"browse": "Browse",
|
|
88
92
|
"next30Days": "Next 30 Days",
|
|
89
93
|
"inPrefix": "in",
|
|
@@ -229,7 +233,48 @@
|
|
|
229
233
|
"switchTerm": "Switch term",
|
|
230
234
|
"exportNeedsTime": "Some exam times are unpublished. A complete exam calendar cannot be exported yet.",
|
|
231
235
|
"invalidExportOptions": "Use a nonempty --output path for exams without --json.",
|
|
232
|
-
"exported": "Exported the exam calendar to {file}."
|
|
236
|
+
"exported": "Exported the exam calendar to {file}.",
|
|
237
|
+
"pendingTag": "Pending",
|
|
238
|
+
"ended": "Ended",
|
|
239
|
+
"inProgress": "In progress",
|
|
240
|
+
"today": "Today",
|
|
241
|
+
"tomorrow": "Tomorrow",
|
|
242
|
+
"daysAway": "In {days}d",
|
|
243
|
+
"voidTag": "Void",
|
|
244
|
+
"courseNature": "Course type",
|
|
245
|
+
"examNature": "Attempt",
|
|
246
|
+
"location": "Room",
|
|
247
|
+
"campus": "Campus",
|
|
248
|
+
"examName": "Exam",
|
|
249
|
+
"assessment": "Assessment",
|
|
250
|
+
"gradeSummary": "{published}/{total} courses published",
|
|
251
|
+
"examSummary": "{total} exams · {pending} awaiting time",
|
|
252
|
+
"needsAttention": "Needs attention",
|
|
253
|
+
"upcomingOnly": "Upcoming + pending",
|
|
254
|
+
"updated": "Updated",
|
|
255
|
+
"nextExam": "Next exam",
|
|
256
|
+
"course": "Course",
|
|
257
|
+
"result": "Grade",
|
|
258
|
+
"creditLabel": "Credits",
|
|
259
|
+
"pointLabel": "Points",
|
|
260
|
+
"loading": "Querying the selected term…",
|
|
261
|
+
"noMatches": "No courses match this view.",
|
|
262
|
+
"clearFilters": "Press Esc to clear the search and filter.",
|
|
263
|
+
"emptyHint": "Press s to check another term.",
|
|
264
|
+
"termAction": "Term",
|
|
265
|
+
"searchAction": "Search",
|
|
266
|
+
"filterAction": "Filter",
|
|
267
|
+
"detailAction": "Details",
|
|
268
|
+
"moveAction": "Select course",
|
|
269
|
+
"switchView": "Switch exams / grades",
|
|
270
|
+
"searchPrompt": "Search courses",
|
|
271
|
+
"searchHint": "Course name or code",
|
|
272
|
+
"allRecords": "All",
|
|
273
|
+
"detailHint": "Esc returns to the list",
|
|
274
|
+
"searchFooter": "Enter apply · Esc cancel",
|
|
275
|
+
"upcomingFilter": "Upcoming exams",
|
|
276
|
+
"attentionFilter": "Unpublished / void grades",
|
|
277
|
+
"filtered": "Filtered"
|
|
233
278
|
},
|
|
234
279
|
"timetable": {
|
|
235
280
|
"menuTitle": "My Timetable",
|
|
@@ -338,9 +383,9 @@
|
|
|
338
383
|
"exportSaved": "Saved: {path}",
|
|
339
384
|
"weekOverviewTitle": "Week overview",
|
|
340
385
|
"weekAheadClasses": "Classes",
|
|
341
|
-
"weekAheadBusy": "
|
|
342
|
-
"weekAheadFree": "
|
|
343
|
-
"
|
|
386
|
+
"weekAheadBusy": "Scheduled",
|
|
387
|
+
"weekAheadFree": "Free",
|
|
388
|
+
"weekAheadUnknown": "Not loaded",
|
|
344
389
|
"termPreviewWeek": "Week 1 preview",
|
|
345
390
|
"hubFullGrid": "Full grid",
|
|
346
391
|
"detailTime": "Time",
|
|
@@ -356,6 +401,7 @@
|
|
|
356
401
|
"termPickerNeedsLogin": "Log in to the school system to switch terms.",
|
|
357
402
|
"termPickerLoginAction": "Log in",
|
|
358
403
|
"homeLoginCta": "Open {tab} and choose “{action}” to see your classes here.",
|
|
404
|
+
"homeLoginCtaCompact": "Log in from {tab}.",
|
|
359
405
|
"helpSwitchDay": "Switch day",
|
|
360
406
|
"helpPickClass": "Pick a class",
|
|
361
407
|
"helpOpenClass": "Class details",
|
|
@@ -373,12 +419,16 @@
|
|
|
373
419
|
"backToMenu": "Back to menu",
|
|
374
420
|
"iconMode": "Icon Mode",
|
|
375
421
|
"colorMode": "Color Mode",
|
|
422
|
+
"pictureDetail": "Picture Detail",
|
|
423
|
+
"modeFine": "Fine (Unicode blocks)",
|
|
424
|
+
"pictureUpdated": "Picture detail updated",
|
|
425
|
+
"pictureUpdatedSessionOnly": "Picture detail changed for this session only (failed to save config)",
|
|
376
426
|
"updated": "Theme setting updated",
|
|
377
427
|
"updatedSessionOnly": "Theme setting updated for this session only (failed to save config)",
|
|
378
428
|
"reset": "Theme settings reset",
|
|
379
429
|
"resetLabel": "Reset to Defaults",
|
|
380
430
|
"resetSessionOnly": "Theme settings reset for this session only (failed to save config)",
|
|
381
|
-
"resetConfirm": "Reset icon mode
|
|
431
|
+
"resetConfirm": "Reset icon mode, color mode, and picture detail to their defaults?",
|
|
382
432
|
"iconUpdated": "Icon mode updated",
|
|
383
433
|
"iconUpdatedSessionOnly": "Icon mode changed for this session only (failed to save config)",
|
|
384
434
|
"colorUpdated": "Color mode updated",
|
|
@@ -75,7 +75,10 @@
|
|
|
75
75
|
"heatmap": {
|
|
76
76
|
"title": "近一年活跃度",
|
|
77
77
|
"legendLess": "少",
|
|
78
|
-
"legendMore": "多"
|
|
78
|
+
"legendMore": "多",
|
|
79
|
+
"inspect": "逐日查看活跃度",
|
|
80
|
+
"dayCount": "{date} · {count} 场活动",
|
|
81
|
+
"dayEmpty": "这一天没有活动"
|
|
79
82
|
},
|
|
80
83
|
"pastLoading": "正在加载历史活动...",
|
|
81
84
|
"pastEvents": "历史活动",
|
|
@@ -84,6 +87,7 @@
|
|
|
84
87
|
"viewPastDetail": "选择活动查看详情:",
|
|
85
88
|
"next": "下一场",
|
|
86
89
|
"recentActivity": "近期安排",
|
|
90
|
+
"moreEvents": "还有 {count} 项",
|
|
87
91
|
"browse": "浏览",
|
|
88
92
|
"next30Days": "近 30 天",
|
|
89
93
|
"inPrefix": "还有",
|
|
@@ -229,7 +233,48 @@
|
|
|
229
233
|
"switchTerm": "切换学期",
|
|
230
234
|
"exportNeedsTime": "部分考试尚未公布时间,暂时无法导出完整的考试日历。",
|
|
231
235
|
"invalidExportOptions": "请使用非空的 --output 路径导出考试日历,并且不要同时使用 --json。",
|
|
232
|
-
"exported": "考试日历已导出至 {file}。"
|
|
236
|
+
"exported": "考试日历已导出至 {file}。",
|
|
237
|
+
"pendingTag": "待定",
|
|
238
|
+
"ended": "已结束",
|
|
239
|
+
"inProgress": "进行中",
|
|
240
|
+
"today": "今天",
|
|
241
|
+
"tomorrow": "明天",
|
|
242
|
+
"daysAway": "{days}天后",
|
|
243
|
+
"voidTag": "作废",
|
|
244
|
+
"courseNature": "课程性质",
|
|
245
|
+
"examNature": "考试性质",
|
|
246
|
+
"location": "考场",
|
|
247
|
+
"campus": "校区",
|
|
248
|
+
"examName": "考试名称",
|
|
249
|
+
"assessment": "考核方式",
|
|
250
|
+
"gradeSummary": "共 {total} 门课程,已公布 {published} 门",
|
|
251
|
+
"examSummary": "共 {total} 场考试,{pending} 场时间待定",
|
|
252
|
+
"needsAttention": "仅待关注",
|
|
253
|
+
"upcomingOnly": "仅待参加及时间待定",
|
|
254
|
+
"updated": "更新于",
|
|
255
|
+
"nextExam": "下一场考试",
|
|
256
|
+
"course": "课程",
|
|
257
|
+
"result": "成绩",
|
|
258
|
+
"creditLabel": "学分",
|
|
259
|
+
"pointLabel": "绩点",
|
|
260
|
+
"loading": "正在查询这个学期…",
|
|
261
|
+
"noMatches": "没有符合条件的课程。",
|
|
262
|
+
"clearFilters": "按 Esc 清除搜索和筛选。",
|
|
263
|
+
"emptyHint": "按 s 切换学期,查看历史记录。",
|
|
264
|
+
"termAction": "学期",
|
|
265
|
+
"searchAction": "搜索",
|
|
266
|
+
"filterAction": "筛选",
|
|
267
|
+
"detailAction": "详情",
|
|
268
|
+
"moveAction": "选择课程",
|
|
269
|
+
"switchView": "切换考试和成绩",
|
|
270
|
+
"searchPrompt": "搜索课程",
|
|
271
|
+
"searchHint": "输入课程名或课程代码",
|
|
272
|
+
"allRecords": "全部",
|
|
273
|
+
"detailHint": "按 Esc 返回列表",
|
|
274
|
+
"searchFooter": "Enter 确认 · Esc 取消",
|
|
275
|
+
"upcomingFilter": "待参加的考试",
|
|
276
|
+
"attentionFilter": "待公布或作废的成绩",
|
|
277
|
+
"filtered": "筛选中"
|
|
233
278
|
},
|
|
234
279
|
"timetable": {
|
|
235
280
|
"menuTitle": "我的课表",
|
|
@@ -338,9 +383,9 @@
|
|
|
338
383
|
"exportSaved": "已保存:{path}",
|
|
339
384
|
"weekOverviewTitle": "本周概览",
|
|
340
385
|
"weekAheadClasses": "课程",
|
|
341
|
-
"weekAheadBusy": "
|
|
342
|
-
"weekAheadFree": "
|
|
343
|
-
"
|
|
386
|
+
"weekAheadBusy": "有安排",
|
|
387
|
+
"weekAheadFree": "无安排",
|
|
388
|
+
"weekAheadUnknown": "尚未加载",
|
|
344
389
|
"termPreviewWeek": "第一周预览",
|
|
345
390
|
"hubFullGrid": "完整课表",
|
|
346
391
|
"detailTime": "时间",
|
|
@@ -356,6 +401,7 @@
|
|
|
356
401
|
"termPickerNeedsLogin": "切换学期需要先登录教务系统。",
|
|
357
402
|
"termPickerLoginAction": "登录教务系统",
|
|
358
403
|
"homeLoginCta": "到{tab}页选择“{action}”,这里就会显示你的课程。",
|
|
404
|
+
"homeLoginCtaCompact": "到{tab}页登录查看课程。",
|
|
359
405
|
"helpSwitchDay": "切换星期",
|
|
360
406
|
"helpPickClass": "选择课程",
|
|
361
407
|
"helpOpenClass": "查看课程详情",
|
|
@@ -373,6 +419,10 @@
|
|
|
373
419
|
"backToMenu": "返回菜单",
|
|
374
420
|
"iconMode": "图标模式",
|
|
375
421
|
"colorMode": "颜色模式",
|
|
422
|
+
"pictureDetail": "图片精细度",
|
|
423
|
+
"modeFine": "精细(Unicode 块字符)",
|
|
424
|
+
"pictureUpdated": "图片精细度已更新",
|
|
425
|
+
"pictureUpdatedSessionOnly": "图片精细度仅在本次会话中更改(配置保存失败)",
|
|
376
426
|
"updated": "主题设置已更新",
|
|
377
427
|
"updatedSessionOnly": "主题设置仅在当前会话生效(无法写入配置文件)",
|
|
378
428
|
"reset": "主题设置已重置",
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.-=+*####***###**+=:.
|
|
2
|
+
.:+***+*+++***++++++=+***+-.
|
|
3
|
+
:=***+=:-++**********++**+++**+:.
|
|
4
|
+
.=**+******+=::. ..:-=+**+*+=*#+:
|
|
5
|
+
:+*+=+#*+=:. :-+**+++**=.
|
|
6
|
+
=#*=+***=---:.. ..:--::-+***++*+.
|
|
7
|
+
.-**+**##+++++=++=:. .-=++=++=++==****+#+.
|
|
8
|
+
-**+*##*- ..::..:-==:.=#*=: ..::..-+***++=#=
|
|
9
|
+
*#++#@@@#+++====+=:=+=%@@%*+++==++=-=*#+++**
|
|
10
|
+
%*+**%%%*-: :==++-#%%#+-. :-++***++*#
|
|
11
|
+
%+++*+.. .... ..-#+*+#
|
|
12
|
+
%+==*+ -#+*+#
|
|
13
|
+
%*=*#*-+: .=- =*=+*%
|
|
14
|
+
*#+***=+=. -*-:*+::*#
|
|
15
|
+
=#+=++*=+-. -*+.+*++*#+
|
|
16
|
+
.=#++***+*=: .-++-***++**:
|
|
17
|
+
.=#*+++*++++-. :=++-=*+**+#+:
|
|
18
|
+
.-**+++**+++++=-:......:-=+++-=*#*+-+#+:
|
|
19
|
+
:+#*+==+**+++++******++===+*++=++**-.
|
|
20
|
+
.:+**+++=++***++++++***+++*+***+=.
|
|
21
|
+
:=***+++++=+++++++*++=+***+:.
|
|
22
|
+
.:=+***************+-:
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.-+***#******+=:
|
|
2
|
+
.=+*+-++*******=**++=:
|
|
3
|
+
.=*+***+=-:....:-=+**++*+.
|
|
4
|
+
.++++*=:. ...=***+*:
|
|
5
|
+
:****#+=====-. .-=======+****-
|
|
6
|
+
+*+%%#=+===--+-#%*=====-=**=+*
|
|
7
|
+
#++##*-: .-==-*#*=:...-=+*++#
|
|
8
|
+
#=+*: +**#
|
|
9
|
+
#=*#=- :=.*++#
|
|
10
|
+
**+*++: =+=*=+*
|
|
11
|
+
:*++*++-. :=+=*++*-
|
|
12
|
+
:**++*++=:. .-=+=+*++*-
|
|
13
|
+
.+*+++++++++++++++++*+**+:
|
|
14
|
+
:+**+=+*+++++**+=+**+-
|
|
15
|
+
.:=++********+++-.
|
package/dist/logo/ascii-logo.txt
CHANGED
|
@@ -1,12 +1,3 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
⠀⡜⡀⢪⠮⠐⠒⠂⠠⢀⠀⠀⠀⡀⠄⠐⠒⠀⠄⡑⡔⢀⢣⠀
|
|
5
|
-
⠸⠀⢳⣷⣆⠠⠀⠀⠠⡀⠱⠀⣾⣶⣀⠤⠀⠠⢄⠈⠞⡈⡀⠇
|
|
6
|
-
⡇⠄⠸⠉⠁⠀⠀⠀⠀⠈⠈⠀⠉⠉⠀⠀⠀⠀⠀⠁⠀⠇⣠⢸
|
|
7
|
-
⡇⠍⢠⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⡄⢋⢸
|
|
8
|
-
⢱⠀⠘⡄⠆⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠇⢠⠃⠀⡎
|
|
9
|
-
⠀⢆⢺⠐⡌⢀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢀⠎⢠⢢⡁⡰⠀
|
|
10
|
-
⠀⠈⠣⡂⢪⠢⡁⠢⢀⡀⠀⠀⠀⠀⣀⠠⠒⢁⠔⠅⢈⠜⠁⠀
|
|
11
|
-
⠀⠀⠀⠙⠢⡀⠴⠑⢂⠤⠉⢉⡉⠁⠤⠐⠊⠤⢅⠔⠋⠀⠀⠀
|
|
12
|
-
⠀⠀⠀⠀⠀⠈⠑⠢⠤⣐⣘⣒⣁⣒⣐⠤⠔⠊⠁⠀⠀⠀⠀⠀
|
|
1
|
+
|\ | __ _____ __ /\
|
|
2
|
+
| \ | |__) | / /__\
|
|
3
|
+
| \| |__) | \__ / \
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nbtca/prompt",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.23",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"exports": {
|
|
@@ -61,8 +61,8 @@
|
|
|
61
61
|
"tsx": "^4.23.5",
|
|
62
62
|
"typescript": "^5.9.3",
|
|
63
63
|
"typescript-eslint": "^8.67.0",
|
|
64
|
-
"vite": "^6.4.
|
|
65
|
-
"vitest": "^4.1.
|
|
64
|
+
"vite": "^6.4.4",
|
|
65
|
+
"vitest": "^4.1.12"
|
|
66
66
|
},
|
|
67
67
|
"engines": {
|
|
68
68
|
"node": ">=20.12.0"
|