Compare commits

...

192 Commits

Author SHA1 Message Date
目棃
0c561ff98f 🚀 v0.4.7 2024-05-11 00:37:06 +08:00
目棃
817ae298b1 🐛 修复祈愿备份路径错误 2024-05-11 00:35:40 +08:00
目棃
92d2e847bd 🐛 修复导出字段数据缺失 2024-05-10 23:41:57 +08:00
目棃
d0f12446a8 ♻️ 名片组件抽离,wiki添加名片信息 2024-05-10 23:13:03 +08:00
目棃
a07d673776 ️ 完善公告正则 2024-05-09 17:20:21 +08:00
目棃
083381f2ec 💄 修复 tabs 渲染异常 2024-05-09 16:41:17 +08:00
目棃
040f49a33e 🐛 修复类型获取错误 2024-05-09 16:17:43 +08:00
目棃
3cfa00a2f6 💄 修复左侧列表高度异常 2024-05-09 15:55:58 +08:00
目棃
f6068e5bac 🐛 修复成就验证异常 2024-05-07 20:15:02 +08:00
目棃
557d68956e 🔧 移除packageManager,pnpm锁版本太烦了 2024-05-07 19:57:23 +08:00
目棃
2f14405cab ♻️ UIAF重构,支持祈愿备份/恢复
close #109
2024-05-07 19:55:23 +08:00
目棃
2803d06418 🍱 替换成就icon 2024-05-07 18:28:50 +08:00
目棃
298096858f 💄 调整文本部分的样式 2024-05-05 16:49:13 +08:00
目棃
7e11b467d1 💄 完善表格&p部分的渲染 2024-05-05 16:19:56 +08:00
目棃
7cd66ffb2d 采用 ajv 验证 UIGF #109 2024-05-05 15:49:40 +08:00
目棃
5de9c0a76f 🔥 隐藏网页登录模块
close #108
2024-05-05 02:54:56 +08:00
目棃
9a3b2ff9b9 🚨 忽略 NodeJS 的 undef 2024-05-05 02:50:54 +08:00
目棃
afa0ba190b ♻️ 重构用户祈愿数据库相关处理 2024-05-05 02:46:07 +08:00
目棃
6316cc42b2 ️ 对签到链接跳转进行处理,优化部分网页活动打开 2024-04-29 00:32:36 +08:00
目棃
abb0a6e751 🐛 修复 mention 类型渲染异常 2024-04-26 15:06:40 +08:00
目棃
c89dfae2f7 ⬆️ 更新依赖 2024-04-26 00:58:36 +08:00
目棃
9bd9f60699 🚀 v0.4.6 2024-04-24 16:04:22 +08:00
目棃
070ab01b22 🍱 更新 4.6 版本资源
close #107
2024-04-24 15:30:17 +08:00
目棃
11bf4fea9b 💄 修复特定情况下y轴溢出 2024-04-24 01:01:59 +08:00
目棃
0b8fa6d8f6 🐛 修复特定情况下首页卡池异常 2024-04-24 00:37:13 +08:00
目棃
8917deb5db 🚨 修复qodana报错 2024-04-23 20:34:05 +08:00
目棃
065019cdc6 🎨 代码格式化 2024-04-23 19:00:28 +08:00
目棃
f802ee9a68 🔧 Eslint v9 2024-04-23 18:49:44 +08:00
目棃
971526d6ed ️ 侧边栏咨讯入口记忆类型 2024-04-20 00:44:45 +08:00
目棃
2c2914a028 🐛 修复返回数据为 [true] 2024-04-17 00:54:42 +08:00
目棃
214b828b10 🐛 调整 2024-04-13 01:21:24 +08:00
目棃
ada6f5b15a 📝 新模板 2024-04-13 01:18:24 +08:00
目棃
2aa0df5246 ♻️ 代码规范化 2024-04-12 12:56:23 +08:00
目棃
d9cdea9670 🐛 修复部分角色生日数据缺失 2024-04-11 00:58:41 +08:00
目棃
98541e1b49 🐛 修复 align:right 不生效的问题
*PostID:51080404
2024-04-07 14:56:24 +08:00
目棃
f50398f6e3 ♻️ 帖子文本解析部分重构 2024-04-07 14:31:43 +08:00
目棃
74eb612d72 🐛 修复特定情况下左侧按钮点击无效 2024-04-06 01:43:30 +08:00
目棃
956634767a Merge pull request #106 from BTMuli/dependabot/cargo/src-tauri/h2-0.3.26
Bump h2 from 0.3.24 to 0.3.26 in /src-tauri
2024-04-06 01:00:21 +08:00
目棃
ee078bbcf2 Merge pull request #105 from BTMuli/dependabot/cargo/src-tauri/whoami-1.5.1
Bump whoami from 1.4.1 to 1.5.1 in /src-tauri
2024-04-06 01:00:08 +08:00
dependabot[bot]
044ec32069 Bump h2 from 0.3.24 to 0.3.26 in /src-tauri
Bumps [h2](https://github.com/hyperium/h2) from 0.3.24 to 0.3.26.
- [Release notes](https://github.com/hyperium/h2/releases)
- [Changelog](https://github.com/hyperium/h2/blob/v0.3.26/CHANGELOG.md)
- [Commits](https://github.com/hyperium/h2/compare/v0.3.24...v0.3.26)

---
updated-dependencies:
- dependency-name: h2
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 16:16:24 +00:00
dependabot[bot]
19ac8e90e0 Bump whoami from 1.4.1 to 1.5.1 in /src-tauri
Bumps [whoami](https://github.com/ardaku/whoami) from 1.4.1 to 1.5.1.
- [Changelog](https://github.com/ardaku/whoami/blob/v1/CHANGELOG.md)
- [Commits](https://github.com/ardaku/whoami/compare/v1.4.1...v1.5.1)

---
updated-dependencies:
- dependency-name: whoami
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-05 15:46:57 +00:00
目棃
d1bfa49bd7 🐛 一些优化
*修复画片初始化数量异常
*数据库更新后弹出更新日志
*调整生日转换逻辑
2024-04-05 15:26:00 +08:00
目棃
d78c541c87 ⬆️ 更新依赖 2024-04-05 15:19:23 +08:00
目棃
ab9eb3c827 🚀 v0.4.5
*更新米社版本至 2.70.1
*删除无用 typo
*更新 pnpm 版本
2024-04-05 14:25:46 +08:00
目棃
36c9cd69e6 ️ 一些优化
*修正琳妮特unread链接
*修复数据概览高度溢出
*调整生日组件样式
2024-04-05 14:04:01 +08:00
目棃
914cddafc1 💄 美化生日组件 2024-04-05 01:10:58 +08:00
目棃
33edb3c33a ️ 更新生日数据,优化用户体验 2024-04-05 00:26:49 +08:00
目棃
8f322eae45 🐛 修复搜索bug 2024-04-04 23:14:09 +08:00
目棃
96aec27752 🍱 修复埃洛伊数据错误 2024-04-04 20:01:28 +08:00
目棃
ca46b8813d ️ 优化,存在 bug 2024-04-04 19:51:10 +08:00
目棃
6bf24bd8c2 帖子搜索集成
fix #103
2024-04-04 18:48:35 +08:00
目棃
623d137457 ♻️ 米社请求重构 2024-04-04 15:14:19 +08:00
目棃
54e941504d 🐛 修复特定情况下分类改变错误 2024-04-04 14:48:46 +08:00
目棃
e5ff294080 Merge pull request #104 from BTMuli/dependabot/npm_and_yarn/vite-5.1.7
Bump vite from 5.1.6 to 5.1.7
2024-04-04 02:22:48 +08:00
dependabot[bot]
44e968592d Bump vite from 5.1.6 to 5.1.7
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 5.1.6 to 5.1.7.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/v5.1.7/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/v5.1.7/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-04-03 18:11:46 +00:00
目棃
983be395fa 🐛 修复获取下个生日数据错误 2024-04-04 01:04:07 +08:00
目棃
e5b30af48f 🍱 更新卡池信息 2024-04-03 14:33:21 +08:00
目棃
5aba7bcecc 🔥 部分跳转改为新建窗口 2024-04-03 14:06:34 +08:00
目棃
4985bcde29 还是把生日加回来了,不然太空了 2024-04-01 00:56:24 +08:00
目棃
d8ade955b4 🚨 修复 Qodana 报错 2024-03-31 23:26:05 +08:00
目棃
d9bbe4e7fe 💄 样式调整 2024-03-27 16:02:49 +08:00
目棃
ff0dc6d08c 🍱 替换默认封面 2024-03-26 21:53:48 +08:00
目棃
6a0749f234 ♻️ 首页组件样式迭代 2024-03-26 16:38:14 +08:00
目棃
6b2ef079ca 💄 修改浅色主题默认bg color 2024-03-26 15:37:25 +08:00
目棃
eaf2245e38 ✏️ fix typo err 2024-03-26 15:28:21 +08:00
目棃
c75858ceab ️ 添加更新日志跳转 2024-03-26 15:26:09 +08:00
目棃
fabf9de03e ♻️ 抽奖详情做成 overlay 2024-03-26 15:21:00 +08:00
目棃
9e030c976b 子窗口操作同步主窗口,帖子排序 2024-03-23 14:50:42 +08:00
目棃
55671ab22d ️ 优化操作逻辑 2024-03-23 14:23:43 +08:00
目棃
7f872787f1 💄 调整 disable 样式 2024-03-22 20:59:02 +08:00
目棃
0cd3b6072f 🐛 完善可用条件 2024-03-22 20:45:14 +08:00
目棃
17c5d879cd 收藏功能基本完成
close #100
2024-03-22 20:36:42 +08:00
目棃
417e98a99c 💄 优化列表滚动样式 2024-03-22 19:36:14 +08:00
目棃
b5a81503a8 💩 脑测样式&逻辑代码 2024-03-22 17:14:37 +08:00
目棃
1405b544be 💄 卡片样式调整 2024-03-21 20:28:50 +08:00
目棃
8707a8288e ️ 一些优化 2024-03-21 14:04:52 +08:00
目棃
d9cb95e225 🐛 修复数据库插入错误 2024-03-21 13:58:23 +08:00
目棃
27f4e026b0 🌱 单帖的收藏编辑,支持分类创建/删除 2024-03-20 16:12:59 +08:00
目棃
5fb24387ca 💄 增加间距 2024-03-20 15:15:19 +08:00
目棃
88879dd4ec ️ 已收藏帖子打开时自动更新数据 2024-03-20 13:50:06 +08:00
目棃
5d59245761 ♻️ 重构收藏数据库,更加beauty 2024-03-20 02:25:51 +08:00
目棃
66c6d3a3a5 🔥 移除无用文件 2024-03-19 23:45:47 +08:00
目棃
8996c1bce1 帖子收藏 #100 2024-03-19 21:51:57 +08:00
目棃
c5587211fd ♻️ 通用帖子卡片抽离出来作为组件 2024-03-19 21:46:44 +08:00
目棃
43232548bb ✏️ 合并相同类型数据 2024-03-19 21:22:47 +08:00
目棃
3501590fb4 🍱 修正部分成就版本信息 2024-03-17 13:21:48 +08:00
目棃
2b227ea333 ️ 帖子解析&祈愿记录微调
*优化链接样式
*饼图加上集录祈愿
*祈愿刷新后刷新页面
2024-03-17 13:15:18 +08:00
目棃
2f32f4e2c1 ⬆️ 更新依赖 2024-03-17 12:51:09 +08:00
目棃
3ec13b7510 📝 徽标忘改了 2024-03-14 00:47:01 +08:00
目棃
cc1167fc42 🚀 v0.4.4 2024-03-13 16:14:19 +08:00
目棃
a3f4156ba8 ⬆️ 更新 UIGF 版本
close #96,close #95
2024-03-13 15:54:32 +08:00
目棃
094f7b69fe ️ 首页组件调整 2024-03-13 15:43:03 +08:00
目棃
af989dddda 🍱 更新部分 contentId 2024-03-13 15:27:54 +08:00
目棃
6bdf95d9fd 祈愿数据增量刷新 2024-03-13 15:25:42 +08:00
目棃
8e01a44b88 💄 美化 2024-03-13 00:04:58 +08:00
目棃
d0f21eca75 🐛 修复颜文字异常解析为表情包导致的渲染错误
*PostID:50212687
2024-03-12 23:23:03 +08:00
目棃
16e550ee40 ️ 调整扫码登录逻辑
close #99
2024-03-12 22:36:25 +08:00
目棃
cb8d12cc84 ️ 调整样式 2024-03-12 21:42:58 +08:00
目棃
c450c5ab34 🍱 更新 4.5 版本资源 #95 2024-03-12 21:27:33 +08:00
目棃
ec4480e386 ️ 监听数据,响应式更新 #99 2024-03-12 21:24:45 +08:00
目棃
351c86589e ️ 自动检测 ck 并获取数据 #99 2024-03-12 20:08:07 +08:00
目棃
8bf745948c 🐛 完善公告时间正则 2024-03-11 12:48:48 +08:00
目棃
29b8bf84a6 对话解析&图片overlay
close #98
2024-03-10 21:19:49 +08:00
目棃
7de0b73e6d ️ 完善换行处理 2024-03-10 01:03:30 +08:00
目棃
4729fc7d4a ♻️ 重构帖子结构化解析,完善文本样式处理 2024-03-09 00:22:08 +08:00
目棃
e9d46b2ea3 🌱 荧/空 版本切换 2024-03-08 13:58:35 +08:00
目棃
c22a454551 🌱 留影叙佳期备份页 #98 2024-03-08 01:01:52 +08:00
目棃
44699308b7 ♻️ 移除留影叙佳期,重构卡池组件 2024-03-07 15:51:05 +08:00
目棃
e168a341ef 🐛 fix transparent bg 2024-03-06 18:08:34 +08:00
目棃
5b93c1cdfd 🐛 fix script link err 2024-03-06 15:14:09 +08:00
目棃
e1a5b20d9d ️ 数据库可以直接更新 2024-03-06 15:10:13 +08:00
目棃
ddba583bdf 🐛 修复分享图渲染错误
* dom2image 不支持 mask-image,故换成了 modernScreenshot
* picture 内含 img 不支持,故用 里面的 img 替换了 picture 元素
2024-03-06 15:02:43 +08:00
目棃
fdd3b44378 ️ 微调 2024-03-05 22:01:49 +08:00
目棃
e8cf6b297a ️ 样式重构,移除分享 2024-03-05 21:34:11 +08:00
目棃
37de85b62c 🌱 集录祈愿处理 #96 2024-03-05 20:40:38 +08:00
目棃
07cef027db 🔥 移除大别野组件
*PostID: 49502845
2024-03-05 20:23:33 +08:00
目棃
d1eea688e8 Merge pull request #97 from BTMuli/dependabot/cargo/src-tauri/mio-0.8.11
Bump mio from 0.8.10 to 0.8.11 in /src-tauri
2024-03-05 12:57:02 +08:00
dependabot[bot]
5eca2b63fd Bump mio from 0.8.10 to 0.8.11 in /src-tauri
Bumps [mio](https://github.com/tokio-rs/mio) from 0.8.10 to 0.8.11.
- [Release notes](https://github.com/tokio-rs/mio/releases)
- [Changelog](https://github.com/tokio-rs/mio/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/mio/compare/v0.8.10...v0.8.11)

---
updated-dependencies:
- dependency-name: mio
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-03-04 21:30:41 +00:00
目棃
e96cdfc809 添加 postID 信息 2024-03-03 18:46:28 +08:00
目棃
bd05e222e1 🐛 修复比较逻辑错误 2024-03-03 00:22:13 +08:00
目棃
49d7994ef3 祈愿历史 2024-03-02 00:32:16 +08:00
目棃
5bcd2202b6 ️ 对深渊数据进行检测 2024-03-01 13:54:10 +08:00
目棃
ac44f19d35 🔊 调试模式下的log不输出到文件 2024-03-01 13:52:04 +08:00
目棃
16b3a9d1a7 ️ 修正逻辑,优化竖图表现 2024-02-29 20:43:23 +08:00
目棃
4a41a00243 调用系统命令打开目录 2024-02-29 20:09:43 +08:00
目棃
0a54841585 图片浮窗 2024-02-29 15:16:05 +08:00
目棃
3f483293f5 帖子添加转载声明 2024-02-29 15:14:33 +08:00
目棃
edf0917a09 💄 调整公告页样式 2024-02-27 15:00:31 +08:00
目棃
b21e2a9021 👔 调整数据库检测,为后续可能的新数据库做准备 2024-02-27 13:58:12 +08:00
目棃
d56a438662 完成活动时间正则匹配
close #94
2024-02-25 15:47:01 +08:00
目棃
553c1e1bba 🐛 修复动图渲染异常 2024-02-25 00:16:08 +08:00
目棃
2509b488d2 🌱 完善类型,初步进行正则match #94 2024-02-24 18:12:05 +08:00
目棃
c9fbddcf5d ️ 优化咨讯页版块跳转,记忆当前类型 2024-02-24 16:18:13 +08:00
目棃
bf66b4eee0 🐛 修复日期判断错误 2024-02-23 20:59:10 +08:00
目棃
a73b49a2c6 ️ 修复武器图鉴左侧列表高度异常 2024-02-23 20:51:38 +08:00
目棃
8e5cbbbd58 ⬆️ 更新依赖 2024-02-23 20:41:10 +08:00
目棃
f11aa3e726 🚀 v0.4.3 2024-02-09 20:30:44 +08:00
目棃
ee8afa2e75 武器wiki筛选
close #87
2024-02-09 20:09:23 +08:00
目棃
56077eceb8 ️ 调整角色筛选逻辑 2024-02-09 20:08:42 +08:00
目棃
eaa9b20544 🐛 修复窗口不显示问题 2024-02-08 15:03:52 +08:00
目棃
23e45e66a3 角色wiki筛选 #87 2024-02-07 16:07:41 +08:00
目棃
b9b44cb8d1 🍱 更新遗漏数据 2024-02-07 16:05:18 +08:00
目棃
82cdee00e7 ️ 一些优化 2024-02-07 13:43:21 +08:00
目棃
fa891a6884 🎨 调整设置页列表 icon 样式
close #88
2024-02-05 11:43:45 +08:00
目棃
530ccf2165 🐛 修正过时日志检测逻辑 2024-02-04 23:10:33 +08:00
目棃
7c34d08466 🐛 修复编译报错 2024-02-04 00:29:24 +08:00
目棃
91fac5f2e4 ♻️ rs 代码重构 2024-02-04 00:11:53 +08:00
目棃
7120745211 🐛 修复外部唤起失效 2024-02-02 17:29:27 +08:00
目棃
8f8056622c 🚨 修复 qodana 报错 2024-02-02 13:35:07 +08:00
目棃
e9244f6352 ♻️ 战绩页世界探索结构调整
close #91
2024-02-02 13:19:30 +08:00
目棃
bc63201b02 🍱 补充 4.4 遗漏数据 2024-02-02 11:19:22 +08:00
目棃
1e6fd0acba 🐛 修复部分文本错误 2024-02-02 11:11:09 +08:00
目棃
4d3e030174 🥅 完善深渊左侧tab样式,深渊上传try catch 2024-02-01 21:51:06 +08:00
目棃
0377d1fe2a ️ icon 跟随平台变更 #88 2024-02-01 13:29:03 +08:00
目棃
02d875115f 公告支持切换服务器&语言
close #81
2024-02-01 13:22:39 +08:00
目棃
1cf29d0750 ✏️ uid → open_id 2024-02-01 11:41:07 +08:00
目棃
24fc93b34b 🐛 修复 authKey 获取失败后无限加载 2024-02-01 11:34:23 +08:00
目棃
ac25685fbd 🐛 修正扫码登录,增加网页登录
fix #89
2024-02-01 11:33:50 +08:00
目棃
619bc9d3a3 👔 完善UID与服务器的对应逻辑
close #90
2024-01-31 22:45:53 +08:00
目棃
8cfe4d4f34 ⬆️ 更新依赖 2024-01-31 22:16:31 +08:00
目棃
af3fe7154a 🚀 v0.4.2 2024-01-30 13:54:32 +08:00
目棃
5f2f0020da ️ 调整逻辑 2024-01-30 13:53:22 +08:00
目棃
fef22ff146 🍱 添加卡牌数据
close #86
2024-01-30 13:15:26 +08:00
目棃
ea8f41ea8a 🚨 修复qodana ci错误 2024-01-30 13:02:41 +08:00
目棃
6b085c200c 👷 移除lockfile 2024-01-30 12:35:25 +08:00
目棃
644da14c50 ️ 对于已有数据,支持应用内跳转 2024-01-30 12:32:22 +08:00
目棃
2937f8ebca 🍱 添加闲云专武故事 2024-01-30 00:22:17 +08:00
目棃
299c8ab830 🍱 更新角色、武器、成就资源 #86 2024-01-30 00:10:51 +08:00
目棃
e15269fc5b ️ 优化hint 2024-01-29 22:54:52 +08:00
目棃
e0443ed37e 添加成就详细信息弹窗 #19 2024-01-29 21:53:41 +08:00
目棃
bf6ead52f4 💩 调整背景,对闲云名片打补丁 2024-01-29 17:53:04 +08:00
目棃
20e9f5d88e 🍱 修复缺漏,添加名片数据 #86 2024-01-29 17:52:30 +08:00
目棃
a5e786038c 👷 更新模板 2024-01-29 14:35:58 +08:00
目棃
a30d8e3a28 ️ emits 真好用x 2024-01-27 19:59:44 +08:00
目棃
65063424db 🐛 修复可能导致的 panic 2024-01-27 19:11:42 +08:00
目棃
aaf4c28143 材料overlay完工 2024-01-27 12:54:50 +08:00
目棃
aabb4e4a97 🍱 修复 JSON 错误 2024-01-27 11:04:00 +08:00
目棃
7abe383744 💄 调整帖子组件 UI 2024-01-27 10:27:29 +08:00
目棃
2d1e495f5d 🌱 材料详情 2024-01-26 23:20:22 +08:00
目棃
3b55ddfc5c ♻️ emits 替代 interval 2024-01-26 18:17:26 +08:00
目棃
3ee9bf74f1 🔊 完善用户页面的 log,其他的再说吧
close #83
2024-01-23 19:49:58 +08:00
目棃
8aaf18dbe2 🔊 完善基础页面的 log #83 2024-01-23 18:20:23 +08:00
目棃
150755cbef 🚨 修复 qodana 运行错误 2024-01-22 21:22:12 +08:00
目棃
c0e7633b51 ♻️ 完善日志,重构设置页面 2024-01-22 21:15:38 +08:00
目棃
be028a318d 🌱 初步完成日志文件的创建、写入 #83 2024-01-22 17:45:41 +08:00
目棃
297474af9c 💄 优化浅色模式下的样式 2024-01-21 13:57:30 +08:00
目棃
03170814ad 👔 修复分享图生成错误,完善分享&上传判断 2024-01-21 13:51:26 +08:00
目棃
0cc0fe4a9f 💄 调整ui配色 2024-01-21 13:21:22 +08:00
目棃
0fc5d89cc8 ️ 完善用户账号数据返回 2024-01-21 12:10:57 +08:00
目棃
231eef80e4 ♻️ 角色、武器wiki合成一条,修复精炼数据可能为空 2024-01-20 13:39:17 +08:00
目棃
d7b2b0cf0f ⬆️ 更新依赖 2024-01-20 11:33:35 +08:00
目棃
6625428af4 📝 front-matter 忘改了 2024-01-19 10:26:22 +08:00
961 changed files with 97865 additions and 56021 deletions

View File

@@ -1,10 +0,0 @@
# Build
dist
src-tauri/target
# Package files
pnpm-lock.yaml
# data
src/data/**/*.json
# lint files
!.prettierrc.yml
!.stylelintrc.yml

View File

@@ -1,133 +0,0 @@
root: true
env:
browser: true
es2021: true
extends:
- plugin:vue/vue3-essential
- prettier
- plugin:prettier/recommended
- plugin:yml/standard
- plugin:jsonc/recommended-with-json
parserOptions:
ecmaVersion: latest
sourceType: module
tsconfigRootDir: .
project: ./tsconfig.json
globals:
TGApp: readonly
window: readonly
rules:
vue/multi-word-component-names: off
vue/valid-template-root: off
overrides:
- files: ["*.ts"]
extends: standard-with-typescript
# 将此处规则 copy 到下面的 .vue 文件的 rules 中
rules: &typescript-rules
import/order:
- error
- groups:
- builtin
- external
- [internal, parent, sibling, index]
- unknown
newlines-between: always
alphabetize:
order: asc
caseInsensitive: true
"@typescript-eslint/indent": off
"@typescript-eslint/quotes":
- error
- double
"@typescript-eslint/semi":
- error
- always
"@typescript-eslint/comma-dangle":
- error
- always-multiline
"@typescript-eslint/space-before-function-paren":
- error
- anonymous: always
named: never
asyncArrow: always
"@typescript-eslint/member-delimiter-style":
- error
- multiline:
delimiter: semi
requireLast: true
"@typescript-eslint/no-import-type-side-effects": error
"@typescript-eslint/strict-boolean-expressions": off
"@typescript-eslint/consistent-type-assertions":
- warn
- assertionStyle: angle-bracket # 使用尖括号
"@typescript-eslint/naming-convention":
- warn
- selector: variableLike
format: [camelCase, UPPER_CASE, PascalCase, snake_case]
leadingUnderscore: allow
trailingUnderscore: allow
"@typescript-eslint/no-non-null-assertion": warn
"@typescript-eslint/no-misused-promises": off
"@typescript-eslint/restrict-template-expressions": warn
- files: ["*.vue"]
parser: vue-eslint-parser
parserOptions:
parser: "@typescript-eslint/parser"
extraFileExtensions: [.vue]
rules:
<<: *typescript-rules
- files: [package.json, tsconfig.json]
parser: jsonc-eslint-parser
rules:
jsonc/sort-array-values:
- error
- pathPattern: .*
order:
type: asc
jsonc/sort-keys:
- error
- pathPattern: ^$
order:
- name
- version
- description
- private
- packageManager
- scripts
- lint-staged
- keywords
- author
- license
- repository
- homepage
- bugs
- dependencies
- devDependencies
- files: ["*.yaml", "*.yml"]
parser: yaml-eslint-parser
parserOptions:
defaultYAMLVersion: "1.2"
rules:
yml/indent:
- error
- 2
yml/no-multiple-empty-lines: error
yml/key-spacing: error
yml/quotes:
- error
- prefer: double
avoidEscape: true
yml/sort-keys:
- error
- pathPattern: ^$
order:
- root
- env
- extends
- parserOptions
- globals
- rules
- overrides
- pathPattern: ^rules$
order:
type: asc

View File

@@ -0,0 +1,44 @@
name: 原神游戏资源更新(仅供开发者使用)
description: 版本前瞻后的例行资源更新
title: "[Update] "
labels:
- 资源
body:
- type: checkboxes
attributes:
label: Issue Check
options:
- label: 个人明确了解该模板仅供开发者使用
required: true
- type: input
id: version
attributes:
label: 游戏版本
description: 请填写游戏版本
placeholder: 如 4.6
- type: checkboxes
id: resources
attributes:
label: 包括的资源
options:
- label: 角色&名片,有新角色时选择
required: false
- label: 武器,有新武器时选择
required: false
- label: 成就,有新成就时选择
required: false
- label: 卡牌,有新卡牌时选择
required: false
- label: 材料,有新材料时选择
required: false
- type: textarea
id: detail
attributes:
label: 详情
description: 对上述内容进行详细说明
- type: textarea
id: additional
attributes:
label: 其他信息
description: 请填写其他信息
placeholder: 请填写其他信息

View File

@@ -4,14 +4,6 @@ title: "[TODO] "
labels:
- 新特性
body:
- type: markdown
attributes:
value: |
在此填写开发目标的详细信息,包括但不限于:
- 任务名称
- 任务描述
- 预期版本
- 当前提交
- type: textarea
id: description
attributes:

View File

@@ -26,7 +26,10 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Add Rust targets(macOS)
- name: Add Rust targets(macOS Intel)
if: matrix.settings.target == 'macos-intel'
run: rustup target add x86_64-apple-darwin
- name: Add Rust targets(macOS ARM)
if: matrix.settings.target == 'macos-arm'
run: rustup target add aarch64-apple-darwin
@@ -40,11 +43,13 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 18.16.0
node-version: 22.0.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.14.1
version: 9.1.0
- name: remove lockfile
run: rm pnpm-lock.yaml
- name: Install frontend dependencies
run: pnpm install

View File

@@ -14,13 +14,15 @@ jobs:
- name: setup node
uses: actions/setup-node@v3
with:
node-version: 21.4.0
node-version: 22.0.0
- name: setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8.14.1
version: 9.1.0
- name: remove lockfile
run: rm -f pnpm-lock.yaml
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: pnpm install
- name: "Qodana Scan"
uses: JetBrains/qodana-action@v2023.3
env:

View File

@@ -2,12 +2,149 @@
Author: 目棃
Description: CHANGELOG
Date: 2024-01-15
Update: 2024-01-15
Update: 2024-05-10
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2024-01-15 17:29:15`
>
> 更新于 `2024-01-15 17:29:15`
> 更新于 `2024-05-10 23:55:15`
## [0.4.7](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.7) (2024-05-10)
- 🐛 修复 mention 类型渲染异常
- ⚡️ 对签到链接跳转进行处理,优化部分网页活动打开
- ♻️ 重构用户祈愿数据库相关处理
- 🔥 隐藏网页登录模块 [`#108`](https://github.com/BTMuli/TeyvatGuide/issues/108)
- ✨ 采用 ajv 验证 UIGF [`#109`](https://github.com/BTMuli/TeyvatGuide/issues/109)
- 💄 完善公告`table`&`p`部分的渲染
- 💄 调整帖子文本部分的样式
- ♻️ UIAF重构支持祈愿备份/恢复
- ⚡️ 完善公告正则
- ♻️ 名片组件抽离wiki添加名片信息
## [0.4.6](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.6) (2024-04-24)
### Feat
- 帖子:重构文本解析,现在更加贴近应用内的渲染效果
- 应用:侧边栏点击咨讯时的参数也支持记忆了
- 应用:更新 4.6 版本的游戏资源
### Fix
- 留影叙佳期:修复侧边栏点击时初始画片数异常
- 首页:修复特定情况下日历组件左侧切换日期按钮点击无效
- 帖子:修复 `align:right` 不生效的问题
- 首页:修复特定情况下首页卡池渲染异常
### Change
- 应用:数据库更新后弹出更新日志
## [0.4.5](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.5) (2024-04-05)
### Feat
- 添加收藏页面,支持导入用户收藏 [`#100`](https://github.com/BTMuli/TeyvatGuide/issues/100)
- 设置页添加更新日志跳转
- 首页:组件样式迭代
- 帖子:替换默认封面
- 帖子:支持关键词搜索 [`#103`](https://github.com/BTMuli/TeyvatGuide/issues/103)
### Fix
- 成就:修正部分成就版本信息 [`3501590f`](https://github.com/BTMuli/TeyvatGuide/commit/3501590f)
- 帖子:链接卡片添加间距
- 图鉴:修复埃洛伊背景渲染异常
- 留影叙佳期:补充遗漏数据,支持特定日期查看
### Change
- 帖子:微调解析逻辑
- 重构:通用帖子卡片抽离作为组件,添加 `select` 状态
- 帖子:抽奖详情改为 `overlay`
- 应用:调整默认颜色
## [0.4.4](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.4) (2024-03-13)
### Feat
- 咨讯:优化咨讯版块切换&页面跳转体验
- 公告:在可能的情况下根据公告内容获取对应时间 [`#94`](https://github.com/BTMuli/TeyvatGuide/issues/94)
- 帖子:添加转载声明,支持图片浮窗
- 祈愿:添加 `祈愿历史` 页面,支持查看历史祈愿记录及对应信息
- 祈愿:添加集录祈愿支持,更新 UIGF 版本至 3.0 [`#96`](https://github.com/BTMuli/TeyvatGuide/issues/96)
- 应用:版本更新弹窗确认后将直接更新数据库
- 应用:添加 `留影叙佳期` 页面,汇聚三年间的相关信息
- 应用:再次支持米游社扫码登录,网页登录自动检测数据并刷新 [`#99`](https://github.com/BTMuli/TeyvatGuide/issues/99)
- 应用:添加 4.5 版本的游戏资源 [`#95`](https://github.com/BTMuli/TeyvatGuide/issues/95)
- 祈愿:支持增量更新祈愿数据
### Fix
- 图鉴:修复武器图鉴左侧列表高度异常
- 日志:修正过期日志判断逻辑
- 帖子:修复动图渲染异常
- 深渊当期不存在9层及以上的数据时进行提示
- JSBridge: 修复特定页面的分享图渲染错误
- 帖子:完善文本样式解析,修复特定情况下文本异常渲染为图片
- 应用:修复侧边栏及设置页面用户信息响应式异常
### Change
- 公告:调整样式,顶部添加相关信息
- 设置:数据路径采用系统命令而非文件选择器打开
- 日志:调试模式下不将日志写入文件
- 帖子:移除大别野组件
- 首页:素材日历移除留影叙佳期入口及生日提醒
- 深渊:胡桃数据库角色持有页面重构
- 首页:卡池组件样式重构
## [0.4.3](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.3) (2024-02-09)
### Feat
- 公告:支持服务器&语言的切换 [`#81`](https://github.com/BTMuli/TeyvatGuide/issues/81)
- 战绩:世界探索部分数据结构调整,合并同类数据(如沉玉谷)[`#91`](https://github.com/BTMuli/TeyvatGuide/issues/91)
- 图鉴:角色/武器图鉴支持条件筛选(武器类型、星级等) [`#87`](https://github.com/BTMuli/TeyvatGuide/issues/87)
### Fix
- 应用:完善 UID 与服务器的对应关系 [`#90`](https://github.com/BTMuli/TeyvatGuide/issues/81)
- 应用:修正扫码登录,增加网页登录 [`#89`](https://github.com/BTMuli/TeyvatGuide/issues/89)
- 祈愿:修复 `authkey` 获取失败后无限加载的问题
- 图鉴:修复部分文本错误,增加遗漏数据
- 应用:修复外部唤起失效,**不保证*应用商店版本*的唤起可用性**
- 日志:修复过时日志检测逻辑错误
### Change
- 设置:平台图标跟随平台变更,调整图标样式 [`#88`](https://github.com/BTMuli/TeyvatGuide/issues/88)
- 深渊:调整深渊样式,完善上传错误处理
- 应用:后端代码重构,修复窗口创建时的 `error` 问题
## [0.4.2](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.2) (2024-01-30)
### Feat
- 应用:支持日志记录 [`#83`](https://github.com/BTMuli/TeyvatGuide/issues/83)
- 图鉴:角色/武器图鉴支持查看材料详细信息
- 资源:游戏资源更新至 4.4 版本 [`#86`](https://github.com/BTMuli/TeyvatGuide/issues/86)
- 成就:支持查看成就详细信息,数据来源于 [`amos-data`](https://github.com/yuehaiteam/amos-data)
- 首页:祈愿卡池 Up 角色支持直接跳转到对应图鉴界面
### Fix
- 应用:完善用户账号数据返回,修复部分用户数据获取失败
- 应用:修复深渊页面分享图生成错误,完善分享&上传判断
- 首页:采用 `emit` 替代 `interval`,提升性能
- JSBridge修复特定情况下的 `panic`
### Change
- 应用:设置页面重构
- 应用:首页组件配置移至首页
- 帖子:调整别野卡片、合集 overlay 样式
## [0.4.1](https://github.com/BTMuli/TeyvatGuide/releases/v0.4.1) (2024-01-19)

View File

@@ -2,16 +2,16 @@
Author: 目棃
Description: 说明文档
Date: 2023-03-05
Update: 2024-01-15
Update: 2024-04-05
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-05 14:41:55`
>
> 更新于 `2024-01-15 17:32:59`
> 更新于 `2024-04-05 14:25:24`
![](https://img.shields.io/github/last-commit/BTMuli/TeyvatGuide?style=for-the-badge) ![](https://img.shields.io/github/commits-since/BTMuli/TeyvatGuide/latest?include_prereleases&style=for-the-badge)
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v2.4-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
![](https://img.shields.io/badge/UIAF-v1.1-orange?style=for-the-badge) ![](https://img.shields.io/badge/UIGF-v3.0-red?style=for-the-badge) ![](https://img.shields.io/github/license/BTMuli/TeyvatGuide?style=for-the-badge)
<div style="width: 100%; text-align: center; margin: 0 auto;">
<img alt="icon" src="https://s2.loli.net/2023/10/19/Y5DpBQRy3usLHEb.png" />
@@ -47,8 +47,10 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [x] 游戏内公告&活动获取
- [x] 米游社官方帖获取(支持通过 ID 获取)
- [x] 米游社各分区帖子获取(支持通过 ID 获取)
- [x] 成就管理UIAF支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 祈愿管理UIGF
- [x] 成就管理UIAF v1.1),支持 [`YaeAchievement`](https://github.com/HolographicHat/YaeAchievement) 导入
- [x] 祈愿管理UIGF v3.0
- [x] 留影叙佳期画片查看
- [x] 帖子收藏
- 登陆功能:
@@ -88,7 +90,7 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- Changelog: [CHANGELOG](CHANGELOG.md)
- 资源来源:[项目资源说明](docs/项目资源说明.md)
- UIAF[UIAF v1.1](docs/UIAF.md)
- UIGF[UIGF v2.4](docs/UIGF.md)
- UIGF[UIGF v3.0](docs/UIGF.md)
## 特定项目 / Special Project
@@ -127,6 +129,7 @@ Game Tool for Genshin Impact player, supports Windows and macOS.
- [gs-helper](https://github.com/vikiboss/gs-helper)
- [paimon-moe](https://github.com/MadeBaruna/paimon-moe)
- [Adachi-BOT](https://github.com/Arondight/Adachi-BOT)
- [amos-data](https://github.com/yuehaiteam/amos-data)
感谢 JetBrains 提供的开源许可证。

View File

@@ -2,23 +2,23 @@
Author: 目棃
Description: UIGF v2.4 Backup
Date: 2023-11-15
Update: 2023-11-15
Update: 2024-03-13
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-11-15 20:58:36`
>
> 更新于 `2023-11-15 20:58:36`
>
> 本文档为 [UIGF v2.4](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF.md) 的备份,仅供参考。
> 更新于 `2024-03-13 15:50:36`
# 统一可交换抽卡记录标准 v2.4
> 本文档为 [UIGF v3.0](https://github.com/UIGF-org/UIGF-org.github.io/blob/main/docs/zh/standards/UIGF.md) 的备份,仅供参考。
> Uniformed Interchangeable GachaLog Format standard (UIGF) v2.4 <Badge text="Current" type="message" />
# 统一可交换抽卡记录标准 v3.0
> Uniformed Interchangeable GachaLog Format standard (UIGF) v3.0 <Badge text="Current" type="message" />
>
> ::: warning UIGF 标准使用声明
> 应用必须在同时支持 UIGF 数据格式**导入**和**导出**功能并在相关功能区域或文档中提供跳转至 [UIGF-Org](https://uigf.org) 的超链接后声明支持 UIGF 格式
仅包含导入功能降低了用户数据可流通性,且将数据至于用户不可控的风险中,不符合 UIGF-Org 设计的初衷。
仅包含导入或导出功能降低了用户数据可流通性,且将数据至于用户不可控的风险中,不符合 UIGF-Org 设计的初衷。
:::
## 更新记录
@@ -29,12 +29,13 @@ Update: 2023-11-15
| `v2.1` | 简化了部分语言表述,与 v2.0在数据格式上完全一致 | v2.1 and lower |
| [`v2.2`](UIGF-legacy-v2.2.md) | 新增 `info.export_timestamp` 填充 UNIX 时间戳 | v2.2 and lower |
| [`v2.3`](UIGF-legacy-v2.3.md) | 扩充至非中文语境,使用 Json Schema 表述。移除了 Excel 格式 | v2.3 and lower |
| `v2.4` | 新增 `info.region_time_zone` 支持时区处理 | v2.4 and lower |
| [`v2.4`](UIGF-legacy-v2.4.md) | 新增 `info.region_time_zone` 支持时区处理 | v2.4 and lower |
| `v3.0` | 新增 集录祈愿类型支持 | v3.0 and lower |
### v2.4 更新内容
### v3.0 更新内容
- 国际化兼容性增强
-`info` 对象中新增了 `region_time_zone` 字段
- `gacha_type` 增加新枚举项
-`gacha_type` 枚举新增值为 `500` 的项,用于表示集录祈愿类型
## `info` 字段说明
@@ -79,6 +80,7 @@ App 不应假定 `region_time_zone` 的值为上表中给出的值,应具有
| `200` | `200` |
| `301` | `301` or `400` |
| `302` | `302` |
| `500` | `500` |
### `item_id`
@@ -90,102 +92,99 @@ App 不应假定 `region_time_zone` 的值为上表中给出的值,应具有
```json
{
"root": {
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"info": {
"type": "object",
"properties": {
"uid": {
"type": "string",
"title": "导出记录的 UID"
},
"lang": {
"type": "string",
"title": "语言 languagecode2-country/regioncode2"
},
"export_timestamp": {
"type": "number",
"title": "导出 UNIX 时间戳(秒)"
},
"export_time": {
"type": "string",
"title": "导出时间",
"description": "yyyy-MM-dd HH:mm:ss"
},
"export_app": {
"type": "string",
"title": "导出 App 名称"
},
"export_app_version": {
"type": "string",
"title": "导出 App 版本"
},
"uigf_version": {
"type": "string",
"title": "UIGF 版本号",
"pattern": "v\\d+\\.\\d+"
},
"region_time_zone": {
"type": "number",
"title": "区域时区偏移"
}
},
"required": ["uid", "uigf_version"],
"title": "UIGF 导出信息"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uid": {
"uigf_gacha_type": {
"type": "string",
"title": "导出记录的 UID"
"title": "UIGF 卡池类型",
"description": "用于区分卡池类型不同,但卡池保底计算相同的物品"
},
"lang": {
"gacha_type": {
"type": "string",
"title": "语言 languagecode2-country/regioncode2"
"title": "卡池类型"
},
"export_timestamp": {
"type": "number",
"title": "导出 UNIX 时间戳(秒)"
},
"export_time": {
"item_id": {
"type": "string",
"title": "导出时间",
"description": "yyyy-MM-dd HH:mm:ss"
"title": "物品的内部 ID"
},
"export_app": {
"count": {
"type": "string",
"title": "导出 App 名称"
"title": "个数一般为1"
},
"export_app_version": {
"time": {
"type": "string",
"title": "导出 App 版本"
"title": "获取物品的时间"
},
"uigf_version": {
"name": {
"type": "string",
"title": "UIGF 版本号",
"pattern": "v\\d+\\.\\d+"
"title": "物品名称"
},
"region_time_zone": {
"type": "number",
"title": "区域时区偏移"
"item_type": {
"type": "string",
"title": "物品类型"
},
"rank_type": {
"type": "string",
"title": "物品等级"
},
"id": {
"type": "string",
"title": "记录内部 ID"
}
},
"required": ["uid", "uigf_version"],
"title": "UIGF 导出信息"
"required": ["uigf_gacha_type", "gacha_type", "id", "item_id", "time"],
"title": "UIGF 物品"
},
"list": {
"type": "array",
"items": {
"type": "object",
"properties": {
"uigf_gacha_type": {
"type": "string",
"title": "UIGF 卡池类型",
"description": "用于区分卡池类型不同,但卡池保底计算相同的物品"
},
"gacha_type": {
"type": "string",
"title": "卡池类型"
},
"item_id": {
"type": "string",
"title": "物品的内部 ID"
},
"count": {
"type": "string",
"title": "个数",
"description": "一般为1"
},
"time": {
"type": "string",
"title": "获取物品的时间"
},
"name": {
"type": "string",
"title": "物品名称"
},
"item_type": {
"type": "string",
"title": "物品类型"
},
"rank_type": {
"type": "string",
"title": "物品等级"
},
"id": {
"type": "string",
"title": "记录内部 ID"
}
},
"required": ["uigf_gacha_type", "gacha_type", "id", "item_id", "time"],
"title": "UIGF 物品"
},
"title": "物品列表"
}
},
"required": ["info", "list"],
"title": "UIGF 根对象"
}
"title": "物品列表"
}
},
"required": ["info", "list"],
"title": "UIGF 根对象"
}
```

View File

@@ -2,12 +2,12 @@
Author: 目棃
Description: 项目资源说明
Date: 2023-03-10
Update: 2024-01-01
Update: 2024-01-30
---
> 本文档 [`Frontmatter`](https://github.com/BTMuli/MuCli#Frontmatter) 由 [MuCli](https://github.com/BTMuli/Mucli) 自动生成于 `2023-03-10 22:05:44`
>
> 更新于 `2024-01-01 00:19:35`
> 更新于 `2024-01-30 13:34:21`
## 说明
@@ -22,6 +22,7 @@ Update: 2024-01-01
- [TGAssistant](https://github.com/BTMuli/TGAssistant):项目下游仓库,用于处理项目数据。
- [Snap.Metadata](https://github.com/DGP-Studio/Snap.Metadata):胡桃元数据仓库,项目大部分数据来源于此。
- [Snap.Static](https://github.com/DGP-Studio/Snap.Static):胡桃静态资源仓库,项目部分图像资源来源于此。
- [amos-data](https://github.com/yuehaiteam/amos-data):成就数据仓库,成就数据的详细信息来源于此。
## 字体

23
eslint.config.js Normal file
View File

@@ -0,0 +1,23 @@
import { jsonEslintConfig } from "./eslint/jsonEslint.js";
import { vueEslintConfig } from "./eslint/vueEslint.js";
import ymlEslintConfig from "./eslint/ymlEslint.js";
export default [
...jsonEslintConfig,
ymlEslintConfig,
...vueEslintConfig,
{
ignores: [
"dist",
"src-tauri/target",
"pnpm-lock.yaml",
"src/data/**/*.json",
"src-tauri/tauri.conf.json",
"qodana.yaml",
".github",
".vscode",
".prettierrc.yml",
".stylelintrc.yml",
],
},
];

94
eslint/jsonEslint.js Normal file
View File

@@ -0,0 +1,94 @@
import eslint_jsonc from "eslint-plugin-jsonc";
import jsonc_parser from "jsonc-eslint-parser";
const pkgJsonConfig = {
files: ["package.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: [
"name",
"version",
"description",
"type",
"scripts",
"lint-staged",
"keywords",
"author",
"license",
"repository",
"homepage",
"bugs",
"dependencies",
"devDependencies",
],
},
],
},
};
const tscJsonConfig = {
files: ["tsconfig.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: [
"compilerOptions",
"include",
"exclude",
"extends",
"files",
"references",
"typeAcquisition",
],
},
],
},
};
const jsoncConfig = {
files: ["source/data/out/**/*.json", ".vscode/**/*.json"],
plugins: {
jsonc: eslint_jsonc,
},
languageOptions: {
parser: jsonc_parser,
},
rules: {
"jsonc/comma-dangle": ["error", "never"],
"jsonc/sort-keys": [
"error",
{
pathPattern: "^$",
order: {
type: "asc",
},
},
],
},
};
export const jsonEslintConfig = [
...eslint_jsonc.configs["flat/recommended-with-json"],
pkgJsonConfig,
tscJsonConfig,
jsoncConfig,
];

87
eslint/vueEslint.js Normal file
View File

@@ -0,0 +1,87 @@
import eslint_js from "@eslint/js";
import eslint_import from "eslint-plugin-import";
import eslint_prettier from "eslint-plugin-prettier";
import eslint_vue from "eslint-plugin-vue";
import pluginVue from "eslint-plugin-vue";
import globals from "globals";
import eslint_ts from "typescript-eslint";
import vue_parser from "vue-eslint-parser";
const tsConfigRules = {
"@typescript-eslint/consistent-type-assertions": [
"error",
{
assertionStyle: "angle-bracket",
},
],
"@typescript-eslint/no-import-type-side-effects": "error",
"@typescript-eslint/strict-boolean-expressions": "off",
"@typescript-eslint/no-explicit-any": "off",
"import/order": [
"error",
{
groups: ["builtin", "external", "internal", "parent", "sibling", "index", "unknown"],
"newlines-between": "always",
alphabetize: {
order: "asc",
caseInsensitive: true,
},
},
],
"prettier/prettier": "error",
};
const tsConfig = {
files: ["*.ts"],
plugins: {
typescript: eslint_ts,
import: eslint_import,
prettier: eslint_prettier,
},
languageOptions: {
parser: eslint_ts.parser,
parserOptions: {
project: "tsconfig.json",
tsconfigRootDir: ".",
},
},
rules: tsConfigRules,
};
const vueConfig = {
plugins: {
vue: eslint_vue,
import: eslint_import,
prettier: eslint_prettier,
},
languageOptions: {
globals: {
...globals.browser,
...globals.es2021,
TGApp: "readonly",
window: "readonly",
},
ecmaVersion: "latest",
sourceType: "module",
parser: vue_parser,
parserOptions: {
project: "tsconfig.json",
parser: eslint_ts.parser,
extraFileExtensions: [".vue"],
tsconfigRootDir: ".",
},
},
rules: {
...tsConfigRules,
"vue/multi-word-component-names": "off",
},
};
export const vueEslintConfig = [
eslint_js.configs.recommended,
...eslint_ts.configs.recommended,
...eslint_vue.configs["flat/essential"],
...pluginVue.configs["flat/essential"],
tsConfig,
vueConfig,
];

30
eslint/ymlEslint.js Normal file
View File

@@ -0,0 +1,30 @@
import eslint_yml from "eslint-plugin-yml";
import yml_parser from "yaml-eslint-parser";
const ymlEslintConfig = {
files: ["**/*.yml", "**/*.yaml"],
plugins: {
yml: eslint_yml,
},
languageOptions: {
parser: yml_parser,
parserOptions: {
defaultYAMLVersion: "1.2",
extraFileExtensions: [".yaml", ".yml"],
},
},
rules: {
"yml/indent": ["error", 2],
"yml/key-spacing": ["error"],
"yml/quotes": [
"error",
{
prefer: "double",
avoidEscape: true,
},
],
"yml/sort-keys": ["error", "asc"],
},
};
export default ymlEslintConfig;

View File

@@ -1,9 +1,9 @@
{
"name": "TeyvatGuide",
"version": "0.4.1",
"version": "0.4.7",
"description": "Game Tool for Genshin Impact player",
"private": true,
"packageManager": "pnpm@8.14.1",
"type": "module",
"scripts": {
"build": "tauri build",
"debug": "tauri build --debug",
@@ -66,61 +66,68 @@
},
"dependencies": {
"@mdi/font": "7.4.47",
"@tauri-apps/api": "^1.5.3",
"@tauri-apps/api": "^1.5.4",
"ajv": "^8.13.0",
"artplayer": "^5.1.1",
"clipboard": "^2.0.11",
"color-convert": "^2.0.1",
"echarts": "^5.4.3",
"echarts": "^5.5.0",
"html2canvas": "^1.4.1",
"js-md5": "^0.8.3",
"pinia": "^2.1.7",
"pinia-plugin-persistedstate": "^3.2.1",
"qrcode.vue": "^3.4.1",
"tauri-plugin-log-api": "github:tauri-apps/tauri-plugin-log#v1",
"tauri-plugin-sql-api": "github:tauri-apps/tauri-plugin-sql#v1",
"uuid": "^9.0.1",
"vue": "^3.4.14",
"vue-echarts": "^6.6.8",
"vue": "^3.4.26",
"vue-echarts": "^6.7.1",
"vue-json-viewer": "^3.0.4",
"vue-router": "^4.2.5",
"vuetify": "^3.4.10",
"wcag-color": "^1.1.1"
"vue-router": "^4.3.2",
"vuetify": "^3.6.3",
"wcag-color": "^1.1.1",
"xml-js": "^1.6.11"
},
"devDependencies": {
"@tauri-apps/cli": "^1.5.9",
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.2.0",
"@tauri-apps/cli": "^1.5.12",
"@types/color-convert": "^2.0.3",
"@types/js-md5": "^0.7.2",
"@types/node": "^20.11.3",
"@types/uuid": "^9.0.7",
"@typescript-eslint/eslint-plugin": "^6.19.0",
"@typescript-eslint/parser": "^6.19.0",
"@vitejs/plugin-vue": "^5.0.3",
"@types/node": "^20.12.8",
"@types/uuid": "^9.0.8",
"@typescript-eslint/parser": "^7.8.0",
"@vitejs/plugin-vue": "^5.0.4",
"concurrently": "^8.2.2",
"eslint": "^8.56.0",
"eslint": "^9.2.0",
"eslint-config-love": "^47.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-config-standard-with-typescript": "^43.0.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-jsonc": "^2.12.0",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-jsonc": "^2.15.1",
"eslint-plugin-n": "^17.4.0",
"eslint-plugin-prettier": "^5.1.3",
"eslint-plugin-promise": "^6.1.1",
"eslint-plugin-vue": "^9.20.1",
"eslint-plugin-yml": "^1.12.0",
"husky": "^8.0.3",
"eslint-plugin-vue": "^9.25.0",
"eslint-plugin-yml": "^1.14.0",
"globals": "^15.1.0",
"husky": "^9.0.11",
"jsonc-eslint-parser": "^2.4.0",
"lint-staged": "^15.2.0",
"oxlint": "^0.2.0",
"prettier": "3.2.2",
"stylelint": "^16.1.0",
"lint-staged": "^15.2.2",
"oxlint": "^0.3.2",
"prettier": "3.2.5",
"stylelint": "^16.5.0",
"stylelint-config-idiomatic-order": "^10.0.0",
"stylelint-config-standard-vue": "^1.0.0",
"stylelint-declaration-block-no-ignored-properties": "^2.8.0",
"stylelint-high-performance-animation": "^1.10.0",
"stylelint-order": "^6.0.4",
"stylelint-prettier": "^5.0.0",
"typescript": "^5.3.3",
"vite": "^5.0.11",
"vite-plugin-vue-devtools": "^7.0.10",
"vite-plugin-vuetify": "^2.0.1",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vite": "^5.2.11",
"vite-plugin-vue-devtools": "^7.1.3",
"vite-plugin-vuetify": "^2.0.3",
"vue-eslint-parser": "^9.4.2",
"yaml-eslint-parser": "^1.2.2"
}
}

7370
pnpm-lock.yaml generated

File diff suppressed because it is too large Load Diff

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 37 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 34 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 40 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 65 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 70 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 53 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 41 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 28 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 36 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 52 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 74 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 64 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 67 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 73 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 48 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 35 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 69 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 55 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 59 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 57 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 50 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 44 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 46 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 76 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 79 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 56 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 60 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 77 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 51 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 15 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 9.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 18 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 11 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 20 KiB

BIN
public/icon/bg/0-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

BIN
public/icon/bg/1-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

BIN
public/icon/bg/2-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 106 B

BIN
public/icon/bg/3-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 116 B

BIN
public/icon/bg/4-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 108 B

BIN
public/icon/bg/5-BGC.webp Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 128 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.9 KiB

Some files were not shown because too many files have changed in this diff Show More