@pubinfo-nightly/module-rbac 2026.4.9 → 2026.4.11

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.
@@ -1,7 +1,7 @@
1
1
  import { I as e, M as t, O as n, k as r } from "./_initCloneObject-D4OWzQJP.js";
2
2
  import { _ as i, d as a, f as o, n as s, o as c, p as l, u, v as d, x as f } from "./isEqual-CItLfH0k.js";
3
3
  import { n as p, t as m } from "./_baseClone-YaHrtIbN.js";
4
- import { a as h, c as g, d as _, i as ee, l as te, n as v, o as y, r as b, s as x, t as S } from "./OrgSelector-BjXbscS2.js";
4
+ import { a as h, c as g, d as _, i as ee, l as te, n as v, o as y, r as b, s as x, t as S } from "./OrgSelector-BX08YC6x.js";
5
5
  import { t as C } from "./_baseSlice-Ca-qgxJ8.js";
6
6
  import { n as ne } from "./dist--qcnkvZ0.js";
7
7
  import { createApp as w, createCommentVNode as T, createElementBlock as E, createVNode as D, defineComponent as O, h as k, isRef as A, mergeModels as j, mergeProps as M, openBlock as N, ref as P, renderSlot as F, unref as I, useAttrs as L, useModel as R, watch as z, withCtx as B } from "vue";
@@ -4,7 +4,7 @@ import { n as i } from "./dist--qcnkvZ0.js";
4
4
  import { E as a, T as o, x as s } from "./rbac-MKC8Y6Bl.js";
5
5
  import { n as c, r as ee } from "./enum-lpo6KsjD.js";
6
6
  import { i as l, n as u, r as d, t as f } from "./enum-CI_B-PzB2.js";
7
- import { t as te } from "./DynamicRoutesForm-Dkej6nZc.js";
7
+ import { t as te } from "./DynamicRoutesForm-CstxkG5g.js";
8
8
  import { t as ne } from "./IconSelect-_oirLsYS.js";
9
9
  import { t as re } from "./LayoutForm-_vBGeWiz.js";
10
10
  import { PartyLoginModal as ie } from "pubinfo-nightly";
@@ -0,0 +1,2 @@
1
+ import { t as e } from "./ResourceEdit-3mgwBq-u.js";
2
+ export { e as default };
@@ -3,7 +3,7 @@ import { t } from "./cloneDeep-DmYKbzBt.js";
3
3
  import { t as n } from "./isEmpty-CxzDo-wx.js";
4
4
  import { n as r } from "./dist--qcnkvZ0.js";
5
5
  import { G as i, R as a, V as o } from "./rbac-MKC8Y6Bl.js";
6
- import { t as s } from "./OrgAndPosition-BEKHJ7id.js";
6
+ import { t as s } from "./OrgAndPosition-COhhOBJL.js";
7
7
  import { createBlock as c, createElementBlock as l, createTextVNode as u, createVNode as d, defineComponent as f, isRef as p, openBlock as m, reactive as h, ref as g, toDisplayString as _, unref as v, withCtx as y } from "vue";
8
8
  import { message as b } from "ant-design-vue";
9
9
  import { Button as x, Drawer as S, Form as C, FormItem as w, Input as T, RadioGroup as E, Space as D, Switch as O, Textarea as k } from "ant-design-vue/es";
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { t } from "./OrgSelector-BjXbscS2.js";
2
+ import { t } from "./OrgSelector-BX08YC6x.js";
3
3
  import { n } from "./dist--qcnkvZ0.js";
4
4
  import { l as r } from "./assist-CCEHZYbk.js";
5
5
  import { $ as i, Q as a, Y as o } from "./rbac-MKC8Y6Bl.js";
@@ -1,7 +1,7 @@
1
1
  import { n as e } from "./dist--qcnkvZ0.js";
2
2
  import { Z as t, q as n } from "./rbac-MKC8Y6Bl.js";
3
3
  import { t as r } from "./_plugin-vue_export-helper-gLzyemvl.js";
4
- import { t as i } from "./createAndEditDataPermission-DAXMrpmN.js";
4
+ import { t as i } from "./createAndEditDataPermission-0LzmHcCV.js";
5
5
  import { a, i as o, t as s } from "./enum-lpo6KsjD.js";
6
6
  import { PubinfoIcon as c } from "pubinfo-nightly";
7
7
  import { createBlock as l, createCommentVNode as u, createElementBlock as d, createElementVNode as f, createTextVNode as p, createVNode as m, defineComponent as h, openBlock as g, ref as _, resolveDirective as v, toDisplayString as y, unref as b, withCtx as x, withDirectives as S } from "vue";
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t, t as n } from "./OrgUserSelector-B0i6JQe-.js";
2
+ import { n as t, t as n } from "./OrgUserSelector-DmmJMv-T.js";
3
3
  import { n as r } from "./dist--qcnkvZ0.js";
4
4
  import { s as i, u as a } from "./assist-CCEHZYbk.js";
5
5
  import { n as o, r as s, t as c } from "./enum-K9XzmA01.js";
@@ -1,5 +1,5 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
- import { n as t } from "./OrgUserSelector-B0i6JQe-.js";
2
+ import { n as t } from "./OrgUserSelector-DmmJMv-T.js";
3
3
  import { n } from "./dist--qcnkvZ0.js";
4
4
  import { l as r, n as i, o as a } from "./rbac-MKC8Y6Bl.js";
5
5
  import { r as o } from "./configData-CSxIdgBO.js";
@@ -1,7 +1,7 @@
1
1
  import { c as e, o as t } from "./assist-CCEHZYbk.js";
2
2
  import { t as n } from "./_plugin-vue_export-helper-gLzyemvl.js";
3
3
  import { t as r } from "./enum-K9XzmA01.js";
4
- import { t as i } from "./drawerGroup-DUA9EDVF.js";
4
+ import { t as i } from "./drawerGroup-BzQHpv61.js";
5
5
  import { PubinfoIcon as a } from "pubinfo-nightly";
6
6
  import { createBlock as o, createCommentVNode as s, createElementBlock as c, createElementVNode as l, createTextVNode as u, createVNode as d, defineComponent as f, openBlock as p, ref as m, resolveDirective as h, toDisplayString as g, unref as _, withCtx as v, withDirectives as y } from "vue";
7
7
  import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
package/dist/index.js CHANGED
@@ -1,8 +1,8 @@
1
1
  import { r as e } from "./chunk-WQLz0Won.js";
2
2
  import { t } from "./view-lBxqXfPW.js";
3
3
  import { n } from "./request-7X2hpUru.js";
4
- import { t as r, u as i } from "./OrgSelector-BjXbscS2.js";
5
- import { n as a, r as o, t as s } from "./OrgUserSelector-B0i6JQe-.js";
4
+ import { t as r, u as i } from "./OrgSelector-BX08YC6x.js";
5
+ import { n as a, r as o, t as s } from "./OrgUserSelector-DmmJMv-T.js";
6
6
  import { t as c } from "./ResourceSelector-CS6VsQR7.js";
7
7
  import { i as l } from "./configData-CSxIdgBO.js";
8
8
  import { defineAsyncRoutes as u, defineIconModule as d, defineRouteModule as f } from "pubinfo-nightly";
@@ -64,21 +64,21 @@ var p = {
64
64
  "src/views/components/HCheckList.vue": () => import("./HCheckList-D6BkIlte.js").then((e) => e.n),
65
65
  "src/views/components/animation_item.vue": () => import("./animation_item-ugNUvN0t.js").then((e) => e.n),
66
66
  "src/views/components/setItem.vue": () => import("./setItem-DEsf8kVv.js"),
67
- "src/views/data-permission/index.vue": () => import("./data-permission-Btkl3CxM.js"),
67
+ "src/views/data-permission/index.vue": () => import("./data-permission-BNwvh8Cy.js"),
68
68
  "src/views/dictionary/index.vue": () => import("./dictionary-DDTrw8BQ.js"),
69
69
  "src/views/dictionary/itemlist.vue": () => import("./itemlist-BowSBoEx.js"),
70
- "src/views/group/index.vue": () => import("./group-BuNb3aqx.js"),
70
+ "src/views/group/index.vue": () => import("./group-BKjChIg2.js"),
71
71
  "src/views/layout_setting/index.vue": () => import("./layout_setting-DOodE1ZC.js"),
72
72
  "src/views/log_center/login_history.vue": () => import("./login_history-Bio4B_vj.js"),
73
73
  "src/views/log_center/operate_history.vue": () => import("./operate_history-KQGzD4rn.js"),
74
74
  "src/views/menu_setting/index.vue": () => import("./menu_setting-BPqs2Reh.js"),
75
- "src/views/organization/index.vue": () => import("./organization-DX_McP70.js"),
75
+ "src/views/organization/index.vue": () => import("./organization-BPJXMIsl.js"),
76
76
  "src/views/other_setting/index.vue": () => import("./other_setting-BmN5mDQu.js"),
77
77
  "src/views/page_animation_setting/index.vue": () => import("./page_animation_setting-B0ZMSxPR.js"),
78
78
  "src/views/page_w_setting/index.vue": () => import("./page_w_setting-D4rHkTZk.js"),
79
79
  "src/views/position/index.vue": () => import("./position-Bqcr98mj.js"),
80
80
  "src/views/region/index.vue": () => import("./region-BYNJ5YPt.js"),
81
- "src/views/resource/index.vue": () => import("./resource-B7hZxEWa.js"),
81
+ "src/views/resource/index.vue": () => import("./resource-BAjLl4BQ.js"),
82
82
  "src/views/role/index.vue": () => import("./role-B92mU8Xy.js"),
83
83
  "src/views/role_group/index.vue": () => import("./role_group-B8A2VV7y.js"),
84
84
  "src/views/safe_setting/index.vue": () => import("./safe_setting-Ct-ZuM22.js"),
@@ -86,37 +86,37 @@ var p = {
86
86
  "src/views/tenant/index.vue": () => import("./tenant-C9ecwsxr.js"),
87
87
  "src/views/theme_setting/index.vue": () => import("./theme_setting-CVKpSR14.js"),
88
88
  "src/views/toolbar_setting/index.vue": () => import("./toolbar_setting-D09MJTQ0.js"),
89
- "src/views/user/index.vue": () => import("./user-DoQlTlgd.js"),
89
+ "src/views/user/index.vue": () => import("./user-DJ35BYay.js"),
90
90
  "src/views/watermark_setting/index.vue": () => import("./watermark_setting-Cr4Xmwhh.js"),
91
91
  "src/views/blackWhiteList/components/drawerBlackWhiteList.vue": () => import("./drawerBlackWhiteList-dHAREMtd.js").then((e) => e.n),
92
- "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-DAXMrpmN.js").then((e) => e.n),
92
+ "src/views/data-permission/components/createAndEditDataPermission.vue": () => import("./createAndEditDataPermission-0LzmHcCV.js").then((e) => e.n),
93
93
  "src/views/dictionary/components/drawerDictionary.vue": () => import("./drawerDictionary-Dq0MnTak.js").then((e) => e.n),
94
94
  "src/views/dictionary/components/drawerDictionaryItem.vue": () => import("./drawerDictionaryItem-C3XC0ZTH.js").then((e) => e.n),
95
- "src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-DUA9EDVF.js").then((e) => e.n),
95
+ "src/views/group/components/drawerGroup.vue": () => import("./drawerGroup-BzQHpv61.js").then((e) => e.n),
96
96
  "src/views/log_center/components/browserType.vue": () => import("./browserType-KQp2uAi9.js").then((e) => e.n),
97
97
  "src/views/log_center/components/loginHistoryDetail.vue": () => import("./loginHistoryDetail-D49ObmJp.js").then((e) => e.n),
98
98
  "src/views/log_center/components/operateHistoryDetail.vue": () => import("./operateHistoryDetail-DdEjFBPD.js").then((e) => e.n),
99
- "src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-BuNQ4jgy.js").then((e) => e.n),
100
- "src/views/organization/components/drawerRole.vue": () => import("./drawerRole-Bh3eb9Hr.js").then((e) => e.n),
101
99
  "src/views/position/components/drawerPosition.vue": () => import("./drawerPosition-Cc6zxMDa.js").then((e) => e.n),
100
+ "src/views/organization/components/drawerOrganization.vue": () => import("./drawerOrganization-BvQcr5AP.js").then((e) => e.n),
101
+ "src/views/organization/components/drawerRole.vue": () => import("./drawerRole-Bh3eb9Hr.js").then((e) => e.n),
102
102
  "src/views/region/components/drawerRegion.vue": () => import("./drawerRegion-r3LaT1oP.js").then((e) => e.n),
103
- "src/views/resource/components/ComponentSelect.vue": () => import("./ComponentSelect-mh6lDVtw.js").then((e) => e.n),
104
- "src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-Dkej6nZc.js").then((e) => e.n),
103
+ "src/views/resource/components/ComponentSelect.vue": () => import("./ComponentSelect-CWokGm7B.js").then((e) => e.n),
104
+ "src/views/resource/components/DynamicRoutesForm.vue": () => import("./DynamicRoutesForm-CstxkG5g.js").then((e) => e.n),
105
105
  "src/views/resource/components/HoverCard.vue": () => import("./HoverCard-ZGaQxL_a.js").then((e) => e.n),
106
106
  "src/views/resource/components/IconSelect.vue": () => import("./IconSelect-_oirLsYS.js").then((e) => e.n),
107
107
  "src/views/resource/components/ImportExport.vue": () => import("./ImportExport-BVxWc6FR.js"),
108
108
  "src/views/resource/components/LayoutForm.vue": () => import("./LayoutForm-_vBGeWiz.js").then((e) => e.n),
109
109
  "src/views/resource/components/MetaForm.vue": () => import("./MetaForm-5_KpiusU.js").then((e) => e.n),
110
- "src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-DUVbmbcf.js"),
110
+ "src/views/resource/components/ResourceEdit.vue": () => import("./ResourceEdit-CsfgDKOf.js"),
111
111
  "src/views/resource/components/RoleRelation.vue": () => import("./RoleRelation-DCIke8tM.js").then((e) => e.n),
112
112
  "src/views/role/components/ResourceRelation.vue": () => import("./ResourceRelation-B4652Ceb.js").then((e) => e.n),
113
113
  "src/views/role/components/drawerRole.vue": () => import("./drawerRole-saCktlhp.js").then((e) => e.n),
114
114
  "src/views/role_group/components/ResourceRelation.vue": () => import("./ResourceRelation-R6cdzbIi.js"),
115
115
  "src/views/role_group/components/drawerRole.vue": () => import("./drawerRole-CXDcX8Wv.js").then((e) => e.n),
116
116
  "src/views/tenant/components/TenantEdit.vue": () => import("./TenantEdit-KZYEtH3w.js").then((e) => e.n),
117
- "src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-BEKHJ7id.js").then((e) => e.n),
117
+ "src/views/user/components/OrgAndPosition.vue": () => import("./OrgAndPosition-COhhOBJL.js").then((e) => e.n),
118
118
  "src/views/user/components/UserAuthorization.vue": () => import("./UserAuthorization-DOpcNUCm.js").then((e) => e.n),
119
- "src/views/user/components/UserEdit.vue": () => import("./UserEdit-eyl2aAMN.js").then((e) => e.n)
119
+ "src/views/user/components/UserEdit.vue": () => import("./UserEdit-BptyAvXG.js").then((e) => e.n)
120
120
  }
121
121
  };
122
122
  //#endregion
@@ -177,7 +177,7 @@ var h = [{
177
177
  children: [
178
178
  {
179
179
  path: "resource",
180
- component: () => import("./resource-B7hZxEWa.js"),
180
+ component: () => import("./resource-BAjLl4BQ.js"),
181
181
  name: "Resource",
182
182
  meta: {
183
183
  title: "资源管理",
@@ -210,7 +210,7 @@ var h = [{
210
210
  },
211
211
  {
212
212
  path: "data-permission",
213
- component: () => import("./data-permission-Btkl3CxM.js"),
213
+ component: () => import("./data-permission-BNwvh8Cy.js"),
214
214
  name: "DataPermission",
215
215
  meta: {
216
216
  title: "数据权限管理",
@@ -221,7 +221,7 @@ var h = [{
221
221
  },
222
222
  {
223
223
  path: "organization",
224
- component: () => import("./organization-DX_McP70.js"),
224
+ component: () => import("./organization-BPJXMIsl.js"),
225
225
  name: "Organization",
226
226
  meta: {
227
227
  title: "组织管理",
@@ -232,7 +232,7 @@ var h = [{
232
232
  },
233
233
  {
234
234
  path: "user",
235
- component: () => import("./user-DoQlTlgd.js"),
235
+ component: () => import("./user-DJ35BYay.js"),
236
236
  name: "User",
237
237
  meta: {
238
238
  title: "用户管理",
@@ -318,7 +318,7 @@ var h = [{
318
318
  },
319
319
  {
320
320
  path: "group",
321
- component: () => import("./group-BuNb3aqx.js"),
321
+ component: () => import("./group-BKjChIg2.js"),
322
322
  name: "Group",
323
323
  meta: {
324
324
  title: "群组管理",
@@ -4,7 +4,7 @@ import { n as r } from "./dist--qcnkvZ0.js";
4
4
  import { a as i, r as a, s as o, t as s } from "./rbac-MKC8Y6Bl.js";
5
5
  import { t as c } from "./_plugin-vue_export-helper-gLzyemvl.js";
6
6
  import "./not-data-C6xyifvi.js";
7
- import { r as l, t as u } from "./drawerOrganization-BuNQ4jgy.js";
7
+ import { r as l, t as u } from "./drawerOrganization-BvQcr5AP.js";
8
8
  import { t as d } from "./drawerRole-Bh3eb9Hr.js";
9
9
  import { PubinfoIcon as f } from "pubinfo-nightly";
10
10
  import { Teleport as p, TransitionGroup as m, computed as h, createApp as g, createBlock as _, createCommentVNode as v, createElementBlock as y, createElementVNode as b, createTextVNode as x, createVNode as S, defineComponent as C, getCurrentInstance as w, h as T, inject as E, isRef as D, nextTick as O, onActivated as k, onBeforeUnmount as A, onDeactivated as j, onMounted as M, onUnmounted as N, openBlock as P, provide as F, reactive as I, ref as L, resolveComponent as R, resolveDirective as z, toDisplayString as B, unref as V, watch as H, withCtx as ee, withDirectives as te } from "vue";
@@ -2,7 +2,7 @@ import { t as e } from "./cloneDeep-DmYKbzBt.js";
2
2
  import { C as t, S as n } from "./rbac-MKC8Y6Bl.js";
3
3
  import { i as r, n as i, r as a, t as o } from "./enum-CI_B-PzB2.js";
4
4
  import { t as s } from "./ImportExport-Cy_4EJLq.js";
5
- import { t as c } from "./ResourceEdit-Xzuw1LKi.js";
5
+ import { t as c } from "./ResourceEdit-3mgwBq-u.js";
6
6
  import { t as l } from "./RoleRelation-DCIke8tM.js";
7
7
  import { PubinfoIcon as u, useAuth as d } from "pubinfo-nightly";
8
8
  import { computed as f, createBlock as p, createCommentVNode as m, createElementBlock as h, createElementVNode as g, createTextVNode as _, createVNode as v, defineComponent as y, openBlock as b, ref as x, resolveDirective as S, toDisplayString as C, unref as w, withCtx as T, withDirectives as E } from "vue";
@@ -2,7 +2,7 @@ import { n as e } from "./dist--qcnkvZ0.js";
2
2
  import { K as t, W as n, r, z as i } from "./rbac-MKC8Y6Bl.js";
3
3
  import { t as a } from "./_plugin-vue_export-helper-gLzyemvl.js";
4
4
  import { t as o } from "./UserAuthorization-DOpcNUCm.js";
5
- import { r as s, t as c } from "./UserEdit-eyl2aAMN.js";
5
+ import { r as s, t as c } from "./UserEdit-BptyAvXG.js";
6
6
  import { PubinfoIcon as l, useAuth as u } from "pubinfo-nightly";
7
7
  import { createBlock as d, createCommentVNode as f, createElementBlock as p, createElementVNode as m, createTextVNode as h, createVNode as g, defineComponent as _, isVNode as v, mergeProps as y, onMounted as b, openBlock as x, ref as S, resolveDirective as C, toDisplayString as w, unref as T, withCtx as E, withDirectives as D } from "vue";
8
8
  import { PlusCircleOutlined as O } from "@ant-design/icons-vue";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@pubinfo-nightly/module-rbac",
3
3
  "type": "module",
4
- "version": "2026.04.09",
4
+ "version": "2026.04.11",
5
5
  "exports": {
6
6
  ".": {
7
7
  "types": "./dist/index.d.ts",
@@ -25,13 +25,13 @@
25
25
  "alova": "^3.5.0",
26
26
  "ant-design-vue": "^4.2.6",
27
27
  "pinia": "^3.0.4",
28
- "pubinfo-nightly": "2026.04.09"
28
+ "pubinfo-nightly": "2026.04.11"
29
29
  },
30
30
  "dependencies": {
31
31
  "@destyler/color-picker": "^0.2.6",
32
32
  "@destyler/popover": "^0.2.6",
33
33
  "@destyler/vue": "^0.2.6",
34
- "@pubinfo/headlessui": "^1.5.4",
34
+ "@pubinfo/headlessui": "^1.5.6",
35
35
  "@vueuse/core": "^14.2.1",
36
36
  "dayjs": "^1.11.19",
37
37
  "file-saver": "^2.0.5",
@@ -50,7 +50,7 @@
50
50
  "alova": "^3.5.0",
51
51
  "ant-design-vue": "^4.2.6",
52
52
  "pinia": "^3.0.4",
53
- "pubinfo-nightly": "2026.04.09",
53
+ "pubinfo-nightly": "2026.04.11",
54
54
  "type-fest": "^5.4.4"
55
55
  },
56
56
  "scripts": {
@@ -28,11 +28,11 @@ export const userFieldNames: OrgProviderProps['fieldNames'] = {
28
28
  };
29
29
 
30
30
  export function joinId(orgId: string = '', userId: string = '') {
31
- return `${orgId}_${userId}`;
31
+ return `${orgId}:${userId}`;
32
32
  }
33
33
 
34
34
  export function resolveId(orgUserId: string) {
35
- const [orgId, userId] = orgUserId.split('_');
35
+ const [orgId, userId] = orgUserId.split(':');
36
36
  return {
37
37
  orgId,
38
38
  userId,
@@ -1,2 +0,0 @@
1
- import { t as e } from "./ResourceEdit-Xzuw1LKi.js";
2
- export { e as default };