@ash-qw/dsh-theme-prts 1.1.0 → 1.1.1
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/CHANGELOG.md +11 -10
- package/THIRD_PARTY_NOTICES.md +4 -2
- package/THIRD_PARTY_NOTICES.zh-CN.md +4 -2
- package/lib/client.js +20 -89
- package/package.json +1 -1
- package/src/assets/cursors/animation.json +56 -0
- package/src/assets/cursors/prts-grab.png +0 -0
- package/src/assets/cursors/prts-grabbing.png +0 -0
- package/src/assets/cursors/prts-not-allowed.png +0 -0
- package/src/client/cursor-adapter.js +2 -2
- package/src/client/operations-shell-v2.js +0 -8
- package/src/client/theme-settings-workbench.js +18 -15
- package/src/styles/cursor.css +7 -1
- package/src/styles/prts.css +0 -8
- package/src/styles/refinement.css +2 -2
- package/src/styles/theme-settings-workbench.css +14 -34
- package/src/client/resize-shield-adapter.js +0 -69
package/CHANGELOG.md
CHANGED
|
@@ -1,18 +1,19 @@
|
|
|
1
1
|
# 变更记录
|
|
2
2
|
|
|
3
|
-
## 1.1.
|
|
4
|
-
|
|
5
|
-
- 新增 sharp 服务端图片处理依赖,声明 Node.js ≥20.9.0;当前支持的 DSH 0.2.0-rc.2 已有更高的 Node.js 依赖要求。
|
|
6
|
-
|
|
7
|
-
- 主题设置按外观、交互、会话流线和粒子效果分页,保留各页滚动位置与未完成的徽记编辑,支持窄屏顶部导航和键盘切换。
|
|
3
|
+
## 1.1.1 - 2026-10-12
|
|
8
4
|
|
|
9
|
-
-
|
|
5
|
+
- 修复宽屏触屏设备弹出虚拟键盘时会话区域闪烁、输入框失去焦点的问题,移除整区隐藏的窗口缩放保护,保留粒子自身的尺寸调整处理。
|
|
6
|
+
- 去掉输入框填充层的毛玻璃滤镜,修复 Windows 桌面客户端顶部梯形缺口出现实心填充的问题;保留半透明底色和其他区域的毛玻璃效果。
|
|
7
|
+
- 适配伙伴挂牌与挂点的可抓取、握住光标,并补充禁止状态图案;避免点击动画覆盖拖拽状态,沿用原有第三方素材来源并补齐中英文说明。
|
|
8
|
+
- 将恢复默认入口移至左侧设置导航底部,窄屏置于顶部分类栏右侧,通过确认浮层明确全局重置范围,保存状态保留在标题区域。
|
|
10
9
|
|
|
11
|
-
-
|
|
12
|
-
|
|
13
|
-
- 新增 DSH 原生徽记工具:可在会话中读取上传图片、生成与调整粒子预览,并应用到新会话或正文列表;原图与参数保存在服务端,设置界面可继续编辑并实时同步,配置版本检查防止并发覆盖。
|
|
10
|
+
## 1.1.0 - 2026-10-12
|
|
14
11
|
|
|
15
|
-
-
|
|
12
|
+
- 新增自定义粒子徽记管理:新会话单图与正文轮换列表独立设置,支持上传图片、调整轮廓提取与裁剪参数、预览后应用;正文可混合内置与自定义徽记,支持新增、替换、删除及长按拖动或键盘排序,两处均可独立恢复内置设置。
|
|
13
|
+
- 新增徽记素材包导入与导出:携带原图和调整参数,便于不同 DSH 实例共享素材,导入后可预览并继续编辑。
|
|
14
|
+
- 新增 DSH 原生徽记工具:可在会话中让 AI 读取上传图片、生成与调整粒子预览,并应用到新会话或正文列表。原图、参数和配置保存在服务端,跨工作区、会话和浏览器共享,设置页面自动同步。
|
|
15
|
+
- 主题设置由长页面分区导航改为外观、交互、会话流线和粒子效果四页,保留各页滚动位置与未完成的徽记编辑,支持窄屏顶部导航和键盘切换。
|
|
16
|
+
- 运行环境:服务端图片处理使用 sharp,要求 Node.js ≥20.9.0;当前支持的 DSH 0.2.0-rc.2 已有更高的 Node.js 依赖要求。
|
|
16
17
|
|
|
17
18
|
## 1.0.6 - 2026-10-10
|
|
18
19
|
|
package/THIRD_PARTY_NOTICES.md
CHANGED
|
@@ -39,7 +39,9 @@ After receiving a verifiable request, the project maintainer will review it prom
|
|
|
39
39
|
|
|
40
40
|
## PRTS hand, text and resize cursors
|
|
41
41
|
|
|
42
|
-
- Files: `src/assets/cursors/prts-hand*.png`, `prts-link*.png`, `prts-text*.png`, `prts-resize-*.png` and `animation.json`.
|
|
42
|
+
- Files: `src/assets/cursors/prts-hand*.png`, `prts-link*.png`, `prts-text*.png`, `prts-resize-*.png`, `prts-grab.png`, `prts-grabbing.png`, `prts-not-allowed.png` and `animation.json`.
|
|
43
43
|
- Source: embedded `PRTS-Replica-v8-96x-normal.cur`, `normal_hold.cur`, `normal_press.ani`, `normal_release.ani`, `beam.cur`, `beam_click.ani`, `link.cur`, `link_hold.cur`, `link_press.ani`, `link_release.ani` and `sel_1_static.cur` through `sel_4_static.cur` resources in `程序文件/PRTS-Setup.exe` from [crowninggg/prts-cursor v1.1.4, PRTS-Windows-1.1.4.zip](https://github.com/crowninggg/prts-cursor/releases/tag/v1.1.4), retrieved 2026-10-09. Resources were read without executing the installer.
|
|
44
|
-
- Adaptation: each 96×96 hand frame is cropped to (18, 10, 82, 84) and resized to 42×48. Source hotspot (28, 20) maps to (7, 6). ANI frame durations are preserved in the manifest; terminal 60-second hold frames are represented by static held/resting states at runtime. Text frames retain the full 96×96 canvas, resized to 48×48 with hotspot (24, 24). Link frames are cropped to (18, 10, 96, 96), resized to 51×56 with hotspot (7, 7), retaining the arrow. The four static resize cursors retain the full canvas, resized to 32×32 with hotspot (16, 16). Text click frames remain in the source archive but are no longer bundled or played. Continuous text-loop
|
|
44
|
+
- Adaptation: each 96×96 hand frame is cropped to (18, 10, 82, 84) and resized to 42×48. Source hotspot (28, 20) maps to (7, 6). ANI frame durations are preserved in the manifest; terminal 60-second hold frames are represented by static held/resting states at runtime. Text frames retain the full 96×96 canvas, resized to 48×48 with hotspot (24, 24). Link frames are cropped to (18, 10, 96, 96), resized to 51×56 with hotspot (7, 7), retaining the arrow. The four static resize cursors retain the full canvas, resized to 32×32 with hotspot (16, 16). Text click frames remain in the source archive but are no longer bundled or played. Continuous text-loop variants are not included.
|
|
45
45
|
- Upstream Credits.txt describes an unofficial personal derivative tool and attributes Arknights character/interface assets to their original rights holders. No explicit redistribution license for this artwork was found in the inspected package. This artwork is excluded from this project's MIT license; inclusion does not grant rights to the underlying artwork.
|
|
46
|
+
|
|
47
|
+
- Grab and unavailable assets added on 2026-10-12 from the same release: `grab_enter_0011.cur` and `grab_loop_0000.cur` provide static grab/grabbing states, cropped to (18, 40, 86, 96) and resized to 45×37 with a web hotspot at the hand center (22, 19). `unavail1_static.cur` provides the unavailable state, cropped to (18, 10, 96, 96) and resized to 51×56 with hotspot (7, 7). The installer was not executed; loop animations are not played.
|
|
@@ -39,7 +39,9 @@ P.R.T.S. 头像、阵营标识及衍生徽记仅收录于个人、非商业同
|
|
|
39
39
|
|
|
40
40
|
## PRTS 手形、文本与调整大小光标
|
|
41
41
|
|
|
42
|
-
- 文件:`src/assets/cursors/prts-hand*.png`、`prts-link*.png`、`prts-text*.png`、`prts-resize-*.png` 及 `animation.json`。
|
|
42
|
+
- 文件:`src/assets/cursors/prts-hand*.png`、`prts-link*.png`、`prts-text*.png`、`prts-resize-*.png`, `prts-grab.png`, `prts-grabbing.png`, `prts-not-allowed.png` 及 `animation.json`。
|
|
43
43
|
- 来源:[crowninggg/prts-cursor v1.1.4 的 PRTS-Windows-1.1.4.zip](https://github.com/crowninggg/prts-cursor/releases/tag/v1.1.4),获取日期为 2026-10-09。使用其中 `程序文件/PRTS-Setup.exe` 内嵌的 `PRTS-Replica-v8-96x-normal.cur`、`normal_hold.cur`、`normal_press.ani`、`normal_release.ani`、`beam.cur`、`beam_click.ani`、`link.cur`、`link_hold.cur`、`link_press.ani`、`link_release.ani` 及 `sel_1_static.cur` 至 `sel_4_static.cur` 资源。提取时仅读取资源,未运行安装程序。
|
|
44
|
-
- 适配方式:每张 96×96 手形帧裁剪至矩形 (18, 10, 82, 84),再缩放为 42×48;原始点击热点 (28, 20) 映射为 (7, 6)。ANI 帧时长保留在清单中,末尾 60 秒停留帧在运行时由静态按住或静止状态代替。文本帧保留完整的 96×96 画布,缩放至 48×48,热点为 (24, 24)。链接帧裁剪至 (18, 10, 96, 96),缩放为 51×56,热点为 (7, 7),保留箭头。四种静态调整大小光标保留完整画布,缩放至 32×32,热点为 (16, 16)
|
|
44
|
+
- 适配方式:每张 96×96 手形帧裁剪至矩形 (18, 10, 82, 84),再缩放为 42×48;原始点击热点 (28, 20) 映射为 (7, 6)。ANI 帧时长保留在清单中,末尾 60 秒停留帧在运行时由静态按住或静止状态代替。文本帧保留完整的 96×96 画布,缩放至 48×48,热点为 (24, 24)。链接帧裁剪至 (18, 10, 96, 96),缩放为 51×56,热点为 (7, 7),保留箭头。四种静态调整大小光标保留完整画布,缩放至 32×32,热点为 (16, 16)。文本点击帧保留在源码素材中,但不再打包或播放;未收录持续循环的文本动画。
|
|
45
45
|
- 权利说明:上游 `Credits.txt` 将其描述为非官方自用衍生工具,并注明明日方舟角色及界面素材归原权利人所有。在已检查的安装包中,未发现这些美术素材的明确再分发许可。它们不属于本项目 MIT 许可证的授权范围;本项目收录这些素材并不授予原美术作品的相关权利。
|
|
46
|
+
|
|
47
|
+
- 2026-10-12 补充同一发行包中的抓握与禁止素材:取 `grab_enter_0011.cur` 和 `grab_loop_0000.cur` 为静态可抓取、握住状态,裁剪 (18, 40, 86, 96),缩放至 45×37,网页抓握热点设为手形中心 (22, 19)。取 `unavail1_static.cur` 为禁止状态,裁剪 (18, 10, 96, 96),缩放至 51×56,热点 (7, 7)。未运行安装程序,未播放循环动画。
|