@xdmp-open/ui-admin 0.1.0 → 0.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 +10 -3
- package/README.md +6 -4
- package/dist/{index-a_39WFUh.js → index-BthBNzot.js} +3159 -3891
- package/dist/index.js +1 -1
- package/dist/modules/apply/userApplyDetail.vue.d.ts +3 -3
- package/dist/modules/system-authority/index.vue.d.ts +3 -1
- package/dist/modules/system-authority/modules/menu-drawer.vue.d.ts +1 -1
- package/dist/modules/system-client/index.vue.d.ts +1 -490
- package/dist/modules/system-client/modules/clientDrawer.vue.d.ts +2 -0
- package/dist/modules/system-config/index.vue.d.ts +4 -2
- package/dist/modules/system-config/modules/configDrawer.vue.d.ts +2 -0
- package/dist/modules/system-dict/index.vue.d.ts +4 -0
- package/dist/modules/system-dict/modules/dictDrawer.vue.d.ts +3 -0
- package/dist/modules/system-open/detail.vue.d.ts +3 -3
- package/dist/modules/system-open/index.vue.d.ts +2 -0
- package/dist/modules/system-position/index.vue.d.ts +1 -473
- package/dist/modules/system-position/modules/positionDrawer.vue.d.ts +2 -0
- package/dist/modules/system-role/index.vue.d.ts +2 -0
- package/dist/modules/system-user/index.vue.d.ts +6 -0
- package/dist/modules/system-user/modules/addDepartDrawer.vue.d.ts +3 -0
- package/dist/modules/system-user/modules/addUserDrawer.vue.d.ts +3 -0
- package/dist/style.css +1 -1
- package/dist/{treeSelect-DM-CY_So.js → treeSelect-CFB0XXXY.js} +1 -1
- package/dist/{treeSelect-DpRkBYCq.js → treeSelect-CqW4ho04.js} +1 -1
- package/package.json +5 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,8 +1,15 @@
|
|
|
1
1
|
# @xdmp-open/ui-admin
|
|
2
2
|
|
|
3
|
+
## 0.1.1
|
|
4
|
+
|
|
5
|
+
### 补丁变更
|
|
6
|
+
|
|
7
|
+
- 列表删除/停用与抽屉身份键按 retain 守卫禁用(`isRetainYes` / `isRetainFieldDisabled`);菜单抽屉 `path`/`component` 走 `relaxInDev`。
|
|
8
|
+
- 更新依赖
|
|
9
|
+
- @xdmp-open/ui-shared@0.1.2
|
|
10
|
+
|
|
3
11
|
## 0.1.0
|
|
4
12
|
|
|
5
|
-
|
|
6
|
-
Breaking changes will bump the major version.
|
|
13
|
+
0.x 线首次公开发布,对齐 XDMP 平台 2.6.x。破坏性变更将升 major。
|
|
7
14
|
|
|
8
|
-
|
|
15
|
+
面向 Vue 3 + Element Plus 宿主的系统管理业务页面组件。
|
package/README.md
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
# @xdmp-open/ui-admin
|
|
2
2
|
|
|
3
|
-
XDMP
|
|
3
|
+
XDMP 平台系统管理业务页面组件(Vue 3 + Element Plus)。`vue` 与 `element-plus` 为 peerDependencies。
|
|
4
4
|
|
|
5
|
-
##
|
|
5
|
+
## 安装
|
|
6
6
|
|
|
7
7
|
```bash
|
|
8
8
|
pnpm add @xdmp-open/ui-admin
|
|
9
9
|
```
|
|
10
10
|
|
|
11
|
-
##
|
|
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
|
-
|
|
20
|
+
页面以路由级组件导出(如 `SystemUserPage`),宿主保留同名薄壳文件 re-export 即可。
|
|
21
|
+
|
|
22
|
+
Vite 须 `optimizeDeps.include` 本包 dist,不要 `exclude`。完整宿主约束见 [宿主 Vite 约束](../../docs/host-vite.md)。
|
|
21
23
|
|
|
22
24
|
## 扩展与定制
|
|
23
25
|
|