@xdmp-open/ui-admin 0.1.0 → 0.1.2

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 CHANGED
@@ -1,8 +1,22 @@
1
1
  # @xdmp-open/ui-admin
2
2
 
3
+ ## 0.1.2
4
+
5
+ ### 补丁变更
6
+
7
+ - 字典列表补充分页(`total` / `el-pagination`)。
8
+ - 菜单抽屉新增时避免对空 `data` 做 JSON 深拷贝,修复无法打开。
9
+
10
+ ## 0.1.1
11
+
12
+ ### 补丁变更
13
+
14
+ - 列表删除/停用与抽屉身份键按 retain 守卫禁用(`isRetainYes` / `isRetainFieldDisabled`);菜单抽屉 `path`/`component` 走 `relaxInDev`。
15
+ - 更新依赖
16
+ - @xdmp-open/ui-shared@0.1.2
17
+
3
18
  ## 0.1.0
4
19
 
5
- Initial public release on the 0.x line, aligned with XDMP platform 2.6.x.
6
- Breaking changes will bump the major version.
20
+ 0.x 线首次公开发布,对齐 XDMP 平台 2.6.x。破坏性变更将升 major。
7
21
 
8
- Admin business page components for Vue 3 + Element Plus hosts.
22
+ 面向 Vue 3 + Element Plus 宿主的系统管理业务页面组件。
package/README.md CHANGED
@@ -1,14 +1,14 @@
1
1
  # @xdmp-open/ui-admin
2
2
 
3
- XDMP platform admin business page components (Vue 3 + Element Plus). `vue` and `element-plus` are peer dependencies.
3
+ XDMP 平台系统管理业务页面组件(Vue 3 + Element Plus)。`vue` 与 `element-plus` 为 peerDependencies。
4
4
 
5
- ## Install
5
+ ## 安装
6
6
 
7
7
  ```bash
8
8
  pnpm add @xdmp-open/ui-admin
9
9
  ```
10
10
 
11
- ## Usage
11
+ ## 用法
12
12
 
13
13
  ```js
14
14
  import { setupAdminUi } from '@xdmp-open/ui-admin'
@@ -17,7 +17,9 @@ import '@xdmp-open/ui-admin/style.css' // 在 @xdmp-open/ui-shared 样式之后
17
17
  setupAdminUi({ sdkClient, getUserInfo, getRoles, hasPermission, logout })
18
18
  ```
19
19
 
20
- 页面以路由级组件导出(`SystemUserPage` 等),宿主保留同名薄壳文件 re-export 即可。
20
+ 页面以路由级组件导出(如 `SystemUserPage`),宿主保留同名薄壳文件 re-export 即可。
21
+
22
+ Vite 须 `optimizeDeps.include` 本包 dist,不要 `exclude`。完整宿主约束见 [宿主 Vite 约束](../../docs/host-vite.md)。
21
23
 
22
24
  ## 扩展与定制
23
25