@qq1948037137/adminsmart-ui 0.1.22 → 0.1.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 CHANGED
@@ -1,6 +1,6 @@
1
1
  # @qq1948037137/adminsmart-ui
2
2
 
3
- AdminSmart 的 React/Ant Design 组件包。基础控件保留 Ant 的原生属性、ref 与静态 API;跨页面布局由 `SearchPanel`、`DataTable`、`BusinessDrawer` 和 `SchemaForm` 统一。权限和业务数据请求仍由应用负责。
3
+ AdminSmart 的 React/Ant Design 组件包。基础控件保留 Ant 的原生属性、ref 与静态 API;跨页面布局由 `SearchPanel`、`DataTable`、`BusinessDrawer` 和 `SchemaForm` 统一;`SessionReplay` 使用固定官方 rrweb 引擎提供只读时间回放。权限和业务数据请求仍由应用负责。
4
4
 
5
5
  ## npm 安装与宿主别名
6
6
 
@@ -51,6 +51,8 @@ function Example() {
51
51
 
52
52
  主应用的本地 tarball 过渡与 npm Registry 升级都必须锁定精确版本、实际包名和完整性,不能仅改依赖字符串而跳过来源校验。本库通过 `adminsmartUiSource: { sha256, gitCommit }` 提供构建源码标记,消费者使用 Registry 的 `dist.integrity` 与 `dist.tarball` 核对字节。该标记是项目来源契约,不是官方 provenance。
53
53
 
54
+ `SessionReplay` 接收已授权、已解压的只读对象事件,默认暂停在可见窗口起点。它按需装载 `@rrweb/replay@2.0.1` 的官方 JS/CSS,相关 rrweb、types、utils、rrdom 和 snapshot 协议包也精确锁定为 `2.0.1`;发布验证会检查全新宿主的实际安装树,防止上游范围依赖漂移。组件等待真实容器尺寸和官方快照重建,负责有界跳转、结束重播、倍率、时间标记与全屏;隐藏或切换事件时销毁实例和监听。样式随既有 `@adminsmart/ui/styles/composites.css` 交付。业务宿主仍负责数据请求、权限、解压和录制脱敏;组件不会读取 API、凭据、会话或录制原页面。可操作的 5 秒合成录像见文档站 `SessionReplay 操作回放`,公开输入与引用类型由包类型声明提供。
55
+
54
56
  ## 首次发布与可信自动发布
55
57
 
56
58
  GitHub 工作流通过仓库变量 `NPM_RELEASE_ENABLED` 控制发布;变量未设为 `true` 时,仅显示待设置通知。首次包不存在时,发布状态机只返回 `bootstrap-needed`,不猜版本、不创建版本提交。首次发布前应完成账号 2FA 和 npm CLI 登录,确认源码已提交到私有仓库 `1948037137/adminsmart-ui` 的当前 `main`,然后执行: