@pubinfo/module-rbac 2.0.0-rc.4 → 2.0.0-rc.5
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/dist/{ComponentSelect-B1ZyenXP.js → ComponentSelect-Bhl9ciUm.js} +12 -12
- package/dist/ComponentSelect-Bhwuc86o.js +2 -0
- package/dist/ComponentSelect.css +1 -1
- package/dist/DynamicRoutesForm-CE2RPs7y.js +169 -0
- package/dist/DynamicRoutesForm-D35jFnxF.js +4 -0
- package/dist/IconSelect-Ct5FkeHI.js +4 -0
- package/dist/IconSelect-HAhfS6hd.js +661 -0
- package/dist/IconSelect.css +1 -0
- package/dist/{ImportExport-Clbc8xaw.js → ImportExport-ByRTssxP.js} +2 -2
- package/dist/ImportExport-D8uzaOMz.js +4 -0
- package/dist/{MetaForm-BWy4Lpr8.js → MetaForm-BSGuZXgj.js} +2 -2
- package/dist/{MetaForm-DpH9an5A.js → MetaForm-DErrpELP.js} +1 -1
- package/dist/OrgAndPosition-CF7ZJtNB.js +2 -0
- package/dist/{ResourceEdit-0_cYB0iu.js → ResourceEdit-DF-2_zoi.js} +115 -105
- package/dist/ResourceEdit-oAPLPUf0.js +11 -0
- package/dist/{ResourceRelation-DMWa09ae.js → ResourceRelation-BRseTUw2.js} +1 -1
- package/dist/RoleRelation-YaSQQxQ2.js +2 -0
- package/dist/{TenantEdit-D8-Pt7sf.js → TenantEdit-C28473_2.js} +1 -1
- package/dist/{UserAuthorization-DuioGghR.js → UserAuthorization-C4SLMNmh.js} +1 -1
- package/dist/UserEdit-CyCXz7g3.js +4 -0
- package/dist/{UserEdit-C6eNXSCu.js → UserEdit-EOTBOUZu.js} +1 -1
- package/dist/components/ResourceIcones/BoxColorPicker.vue.d.ts +23 -0
- package/dist/components/ResourceIcones/Select.vue.d.ts +48 -2
- package/dist/components/ResourceSelector/hooks/useAppAndResource.d.ts +15 -6
- package/dist/components/RoleSelector/useRole.d.ts +68 -4
- package/dist/context.d.ts +1 -2
- package/dist/{drawerRole-DNsK5a6O.js → drawerRole-CzTW_I2H.js} +1 -1
- package/dist/{drawerRole-BeUNs7cF.js → drawerRole-tan379DU.js} +1 -1
- package/dist/index.css +1 -1
- package/dist/index.js +1427 -1431
- package/dist/{resource-CrhX7VRK.js → resource-CyI9ZpmF.js} +9 -8
- package/dist/{role-PjmrOdFd.js → role-B2tKqUvP.js} +2 -2
- package/dist/{role_group-Dlx-6BZF.js → role_group-DqzFHwKx.js} +1 -1
- package/dist/stores/view.d.ts +126 -21
- package/dist/{tenant-BGtOP_wo.js → tenant-C8kVbfgt.js} +2 -2
- package/dist/{toolbar_setting-OemNp6pO.js → toolbar_setting-Dc_h2Mfe.js} +23 -34
- package/dist/toolbar_setting.css +1 -1
- package/dist/{user-JCiGXodF.js → user-Dub4HhCZ.js} +3 -3
- package/dist/utils/routeSystem.d.ts +126 -21
- package/dist/views/blackWhiteList/index.vue.d.ts +40 -40
- package/dist/views/data-permission/components/createAndEditDataPermission.vue.d.ts +4 -4
- package/dist/views/data-permission/index.vue.d.ts +44 -44
- package/dist/views/dictionary/index.vue.d.ts +40 -40
- package/dist/views/dictionary/itemlist.vue.d.ts +40 -40
- package/dist/views/group/index.vue.d.ts +40 -40
- package/dist/views/log_center/components/browserType.vue.d.ts +2 -2
- package/dist/views/log_center/components/loginHistoryDetail.vue.d.ts +2 -2
- package/dist/views/log_center/components/operateHistoryDetail.vue.d.ts +2 -2
- package/dist/views/log_center/login_history.vue.d.ts +40 -40
- package/dist/views/log_center/operate_history.vue.d.ts +40 -40
- package/dist/views/position/index.vue.d.ts +40 -40
- package/dist/views/region/index.vue.d.ts +40 -40
- package/dist/views/resource/components/IconSelect.vue.d.ts +10 -0
- package/dist/views/resource/hooks/useMetaForm.d.ts +8 -1
- package/dist/views/resource/index.vue.d.ts +40 -40
- package/dist/views/role/components/ResourceRelation.vue.d.ts +40 -40
- package/dist/views/role/index.vue.d.ts +80 -80
- package/dist/views/role_group/index.vue.d.ts +40 -40
- package/dist/views/tenant/index.vue.d.ts +40 -40
- package/dist/views/toolbar_setting/animationData.d.ts +1 -3
- package/dist/views/user/index.vue.d.ts +40 -40
- package/package.json +7 -3
- package/src/components/DirectoryIcones/ComponentsIcones.vue +2 -2
- package/src/components/DirectoryIcones/FolderIcones.vue +2 -2
- package/src/components/DirectoryIcones/ModuleIcones.vue +2 -2
- package/src/components/DirectoryIcones/PackagesIcones.vue +2 -2
- package/src/components/DirectoryIcones/SrcIcones.vue +2 -2
- package/src/components/DirectoryIcones/ViewIcones.vue +2 -2
- package/src/components/ResourceIcones/BoxColorPicker.vue +172 -0
- package/src/components/ResourceIcones/Select.vue +227 -15
- package/src/context.ts +1 -17
- package/src/index.ts +3 -10
- package/src/views/resource/components/ComponentSelect.vue +10 -0
- package/src/views/resource/components/DynamicRoutesForm.vue +0 -8
- package/src/views/resource/components/IconSelect.vue +138 -0
- package/src/views/resource/components/ResourceEdit.vue +34 -28
- package/src/views/toolbar_setting/animationData.ts +0 -4
- package/src/views/toolbar_setting/index.vue +0 -13
- package/dist/ComponentSelect-DlVJI5an.js +0 -2
- package/dist/DynamicRoutesForm-Cu3WhRpA.js +0 -4
- package/dist/DynamicRoutesForm-qjbrykW4.js +0 -376
- package/dist/ImportExport-CtEZTU87.js +0 -4
- package/dist/OrgAndPosition-3lCm4Fyb.js +0 -2
- package/dist/ResourceEdit-CYPzEbqn.js +0 -10
- package/dist/RoleRelation-DySyilcs.js +0 -2
- package/dist/UserEdit-6HYbgtOh.js +0 -4
- /package/dist/{OrgAndPosition-DYxNkasL.js → OrgAndPosition-vnBrq-fn.js} +0 -0
- /package/dist/{ResourceRelation-CZ8hGgOm.js → ResourceRelation-B_4woLmP.js} +0 -0
- /package/dist/{ResourceRelation-DkKdZ3TD.js → ResourceRelation-CKolCnHC.js} +0 -0
- /package/dist/{RoleRelation-B1D1NM_L.js → RoleRelation-DXZxscPY.js} +0 -0
- /package/dist/{TenantEdit-DNJzo8SS.js → TenantEdit-B5_v0C8I.js} +0 -0
- /package/dist/{UserAuthorization-DPHUk69M.js → UserAuthorization-DTgmWH5Q.js} +0 -0
- /package/dist/{dayjs.min-DcxwBe2I.js → dayjs.min-CdDcH50N.js} +0 -0
- /package/dist/{drawerRole-DS7fbx1h.js → drawerRole-CwilBmOE.js} +0 -0
- /package/dist/{drawerRole-BdoMYLYW.js → drawerRole-E1jHM3v-.js} +0 -0
- /package/dist/{enum-D0U38jb6.js → enum-BMY6bmPA.js} +0 -0
- /package/dist/{safe_setting-DpWUCv2p.js → safe_setting-uj9p_wW0.js} +0 -0
- /package/dist/{tabbar_setting-9UKDc1Ev.js → tabbar_setting-HFHrLVgt.js} +0 -0
- /package/dist/{theme_setting-BBLaZ4NS.js → theme_setting-QgpSGXxq.js} +0 -0
- /package/dist/{watermark_setting-C1VFRfbW.js → watermark_setting-BcWy6p2_.js} +0 -0
|
@@ -1,16 +1,17 @@
|
|
|
1
1
|
import { b as e } from "./cloneDeep-BnvyNhik.js";
|
|
2
|
-
import "./ComponentSelect-
|
|
2
|
+
import "./ComponentSelect-Bhl9ciUm.js";
|
|
3
3
|
import { u as t, v as n } from "./index.js";
|
|
4
4
|
import "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
5
5
|
import "./enum-CYW8g64p.js";
|
|
6
|
-
import "./
|
|
7
|
-
import
|
|
6
|
+
import { b as r, c as i, d as a, e as o } from "./enum-BMY6bmPA.js";
|
|
7
|
+
import "./DynamicRoutesForm-CE2RPs7y.js";
|
|
8
8
|
import "./HoverCard-B79q5sly.js";
|
|
9
|
-
import "./
|
|
10
|
-
import
|
|
11
|
-
import "./
|
|
12
|
-
import
|
|
13
|
-
import { b as
|
|
9
|
+
import "./IconSelect-HAhfS6hd.js";
|
|
10
|
+
import "./dayjs.min-CdDcH50N.js";
|
|
11
|
+
import { b as s } from "./ImportExport-ByRTssxP.js";
|
|
12
|
+
import "./MetaForm-DErrpELP.js";
|
|
13
|
+
import { b as c } from "./ResourceEdit-DF-2_zoi.js";
|
|
14
|
+
import { b as l } from "./RoleRelation-DXZxscPY.js";
|
|
14
15
|
import { PubinfoIcon as u, useAuth as d } from "pubinfo";
|
|
15
16
|
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";
|
|
16
17
|
import { PlusCircleOutlined as D, SwapOutlined as O } from "@ant-design/icons-vue";
|
|
@@ -3,8 +3,8 @@ import "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
|
3
3
|
import "./enum-B1DCzyaW.js";
|
|
4
4
|
import "./useAppAndResource-CeMCjg2v.js";
|
|
5
5
|
import "./ResourceSelector-ConJ30Jd.js";
|
|
6
|
-
import { b as n } from "./ResourceRelation-
|
|
7
|
-
import { b as r, c as i, d as a } from "./drawerRole-
|
|
6
|
+
import { b as n } from "./ResourceRelation-B_4woLmP.js";
|
|
7
|
+
import { b as r, c as i, d as a } from "./drawerRole-E1jHM3v-.js";
|
|
8
8
|
import { PubinfoIcon as o, useAuth as s } from "pubinfo";
|
|
9
9
|
import { createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, openBlock as h, ref as g, resolveDirective as _, toDisplayString as v, unref as y, withCtx as b, withDirectives as x } from "vue";
|
|
10
10
|
import { PlusCircleOutlined as S } from "@ant-design/icons-vue";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { T as e, W as t } from "./index.js";
|
|
2
2
|
import "./RoleSelector-DOt30OLy.js";
|
|
3
|
-
import { b as n, c as r } from "./drawerRole-
|
|
3
|
+
import { b as n, c as r } from "./drawerRole-CwilBmOE.js";
|
|
4
4
|
import { PubinfoIcon as i, useAuth as a } from "pubinfo";
|
|
5
5
|
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";
|
|
6
6
|
import { PlusCircleOutlined as b } from "@ant-design/icons-vue";
|
package/dist/stores/view.d.ts
CHANGED
|
@@ -18,39 +18,144 @@ export interface RouteTreeNode {
|
|
|
18
18
|
scope?: string;
|
|
19
19
|
}
|
|
20
20
|
export declare const useViewStore: import('../../../../node_modules/.pnpm/pinia@3.0.3_typescript@5.8.3_vue@3.5.17_typescript@5.8.3_/node_modules/pinia').StoreDefinition<"view", Pick<{
|
|
21
|
-
projectPages:
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
21
|
+
projectPages: Readonly<globalThis.Ref<{
|
|
22
|
+
readonly [x: string]: string;
|
|
23
|
+
}, {
|
|
24
|
+
readonly [x: string]: string;
|
|
25
|
+
}>>;
|
|
26
|
+
modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
|
|
27
|
+
readonly [x: string]: string;
|
|
28
|
+
}>, ReadonlyMap<string, {
|
|
29
|
+
readonly [x: string]: string;
|
|
30
|
+
}>>>;
|
|
31
|
+
routeTree: Readonly<globalThis.Ref<readonly {
|
|
32
|
+
readonly title: string;
|
|
33
|
+
readonly key: string;
|
|
34
|
+
readonly root?: boolean | undefined;
|
|
35
|
+
readonly module?: boolean | undefined;
|
|
36
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
37
|
+
readonly isLeaf?: boolean | undefined;
|
|
38
|
+
readonly value?: string | undefined;
|
|
39
|
+
readonly scope?: string | undefined;
|
|
40
|
+
}[], readonly {
|
|
41
|
+
readonly title: string;
|
|
42
|
+
readonly key: string;
|
|
43
|
+
readonly root?: boolean | undefined;
|
|
44
|
+
readonly module?: boolean | undefined;
|
|
45
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
46
|
+
readonly isLeaf?: boolean | undefined;
|
|
47
|
+
readonly value?: string | undefined;
|
|
48
|
+
readonly scope?: string | undefined;
|
|
49
|
+
}[]>>;
|
|
50
|
+
lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
|
|
51
|
+
wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
|
|
26
52
|
initializeRouteData: () => void;
|
|
27
53
|
handleFileChange: (message: WebSocketMessage) => void;
|
|
28
54
|
setWebSocketConnected: (connected: boolean) => void;
|
|
29
|
-
getRouteTreeData: () =>
|
|
55
|
+
getRouteTreeData: () => {
|
|
56
|
+
title: string;
|
|
57
|
+
key: string;
|
|
58
|
+
root?: boolean | undefined;
|
|
59
|
+
module?: boolean | undefined;
|
|
60
|
+
children?: /*elided*/ any[] | undefined;
|
|
61
|
+
isLeaf?: boolean | undefined;
|
|
62
|
+
value?: string | undefined;
|
|
63
|
+
scope?: string | undefined;
|
|
64
|
+
}[];
|
|
30
65
|
refreshRouteTree: () => void;
|
|
31
66
|
filterRouteTree: (searchQuery: string) => RouteTreeNode[];
|
|
32
|
-
},
|
|
33
|
-
projectPages:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
67
|
+
}, "projectPages" | "modulePages" | "routeTree" | "lastUpdateTime" | "wsConnected">, Pick<{
|
|
68
|
+
projectPages: Readonly<globalThis.Ref<{
|
|
69
|
+
readonly [x: string]: string;
|
|
70
|
+
}, {
|
|
71
|
+
readonly [x: string]: string;
|
|
72
|
+
}>>;
|
|
73
|
+
modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
|
|
74
|
+
readonly [x: string]: string;
|
|
75
|
+
}>, ReadonlyMap<string, {
|
|
76
|
+
readonly [x: string]: string;
|
|
77
|
+
}>>>;
|
|
78
|
+
routeTree: Readonly<globalThis.Ref<readonly {
|
|
79
|
+
readonly title: string;
|
|
80
|
+
readonly key: string;
|
|
81
|
+
readonly root?: boolean | undefined;
|
|
82
|
+
readonly module?: boolean | undefined;
|
|
83
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
84
|
+
readonly isLeaf?: boolean | undefined;
|
|
85
|
+
readonly value?: string | undefined;
|
|
86
|
+
readonly scope?: string | undefined;
|
|
87
|
+
}[], readonly {
|
|
88
|
+
readonly title: string;
|
|
89
|
+
readonly key: string;
|
|
90
|
+
readonly root?: boolean | undefined;
|
|
91
|
+
readonly module?: boolean | undefined;
|
|
92
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
93
|
+
readonly isLeaf?: boolean | undefined;
|
|
94
|
+
readonly value?: string | undefined;
|
|
95
|
+
readonly scope?: string | undefined;
|
|
96
|
+
}[]>>;
|
|
97
|
+
lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
|
|
98
|
+
wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
|
|
38
99
|
initializeRouteData: () => void;
|
|
39
100
|
handleFileChange: (message: WebSocketMessage) => void;
|
|
40
101
|
setWebSocketConnected: (connected: boolean) => void;
|
|
41
|
-
getRouteTreeData: () =>
|
|
102
|
+
getRouteTreeData: () => {
|
|
103
|
+
title: string;
|
|
104
|
+
key: string;
|
|
105
|
+
root?: boolean | undefined;
|
|
106
|
+
module?: boolean | undefined;
|
|
107
|
+
children?: /*elided*/ any[] | undefined;
|
|
108
|
+
isLeaf?: boolean | undefined;
|
|
109
|
+
value?: string | undefined;
|
|
110
|
+
scope?: string | undefined;
|
|
111
|
+
}[];
|
|
42
112
|
refreshRouteTree: () => void;
|
|
43
113
|
filterRouteTree: (searchQuery: string) => RouteTreeNode[];
|
|
44
|
-
},
|
|
45
|
-
projectPages:
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
114
|
+
}, never>, Pick<{
|
|
115
|
+
projectPages: Readonly<globalThis.Ref<{
|
|
116
|
+
readonly [x: string]: string;
|
|
117
|
+
}, {
|
|
118
|
+
readonly [x: string]: string;
|
|
119
|
+
}>>;
|
|
120
|
+
modulePages: Readonly<globalThis.Ref<ReadonlyMap<string, {
|
|
121
|
+
readonly [x: string]: string;
|
|
122
|
+
}>, ReadonlyMap<string, {
|
|
123
|
+
readonly [x: string]: string;
|
|
124
|
+
}>>>;
|
|
125
|
+
routeTree: Readonly<globalThis.Ref<readonly {
|
|
126
|
+
readonly title: string;
|
|
127
|
+
readonly key: string;
|
|
128
|
+
readonly root?: boolean | undefined;
|
|
129
|
+
readonly module?: boolean | undefined;
|
|
130
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
131
|
+
readonly isLeaf?: boolean | undefined;
|
|
132
|
+
readonly value?: string | undefined;
|
|
133
|
+
readonly scope?: string | undefined;
|
|
134
|
+
}[], readonly {
|
|
135
|
+
readonly title: string;
|
|
136
|
+
readonly key: string;
|
|
137
|
+
readonly root?: boolean | undefined;
|
|
138
|
+
readonly module?: boolean | undefined;
|
|
139
|
+
readonly children?: readonly /*elided*/ any[] | undefined;
|
|
140
|
+
readonly isLeaf?: boolean | undefined;
|
|
141
|
+
readonly value?: string | undefined;
|
|
142
|
+
readonly scope?: string | undefined;
|
|
143
|
+
}[]>>;
|
|
144
|
+
lastUpdateTime: Readonly<globalThis.Ref<number, number>>;
|
|
145
|
+
wsConnected: Readonly<globalThis.Ref<boolean, boolean>>;
|
|
50
146
|
initializeRouteData: () => void;
|
|
51
147
|
handleFileChange: (message: WebSocketMessage) => void;
|
|
52
148
|
setWebSocketConnected: (connected: boolean) => void;
|
|
53
|
-
getRouteTreeData: () =>
|
|
149
|
+
getRouteTreeData: () => {
|
|
150
|
+
title: string;
|
|
151
|
+
key: string;
|
|
152
|
+
root?: boolean | undefined;
|
|
153
|
+
module?: boolean | undefined;
|
|
154
|
+
children?: /*elided*/ any[] | undefined;
|
|
155
|
+
isLeaf?: boolean | undefined;
|
|
156
|
+
value?: string | undefined;
|
|
157
|
+
scope?: string | undefined;
|
|
158
|
+
}[];
|
|
54
159
|
refreshRouteTree: () => void;
|
|
55
160
|
filterRouteTree: (searchQuery: string) => RouteTreeNode[];
|
|
56
|
-
},
|
|
161
|
+
}, "initializeRouteData" | "handleFileChange" | "setWebSocketConnected" | "getRouteTreeData" | "refreshRouteTree" | "filterRouteTree">>;
|
|
@@ -4,8 +4,8 @@ import { l as t, o as n } from "./index.js";
|
|
|
4
4
|
import "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
5
5
|
import "./enum-B1DCzyaW.js";
|
|
6
6
|
import "./ResourceSelector-ConJ30Jd.js";
|
|
7
|
-
import { b as r } from "./dayjs.min-
|
|
8
|
-
import { b as i, c as a } from "./TenantEdit-
|
|
7
|
+
import { b as r } from "./dayjs.min-CdDcH50N.js";
|
|
8
|
+
import { b as i, c as a } from "./TenantEdit-B5_v0C8I.js";
|
|
9
9
|
import { PubinfoIcon as o, useAuth as s } from "pubinfo";
|
|
10
10
|
import { createBlock as c, createCommentVNode as l, createElementBlock as u, createElementVNode as d, createTextVNode as f, createVNode as p, defineComponent as m, openBlock as h, ref as g, resolveDirective as _, toDisplayString as v, unref as y, withCtx as b, withDirectives as x } from "vue";
|
|
11
11
|
import { PlusCircleOutlined as S } from "@ant-design/icons-vue";
|