@pubinfo/module-rbac 2.0.0-rc.3 → 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/api/modules/assist/gonggaofuwu.d.ts +6 -6
- package/dist/api/modules/assist/qunzujiekou.d.ts +6 -6
- package/dist/api/modules/assist/quyujiekou.d.ts +5 -5
- package/dist/api/modules/configData/heibaimingdanfuwu.d.ts +5 -5
- package/dist/api/modules/configData/xitongpeizhifuwu.d.ts +14 -14
- package/dist/api/modules/configData/zidifuwu.d.ts +10 -10
- package/dist/api/modules/log/caozuorizhifuwu.d.ts +2 -2
- package/dist/api/modules/log/denglurizhifuwu.d.ts +2 -2
- package/dist/api/modules/rbac/gangweijiekou.d.ts +6 -6
- package/dist/api/modules/rbac/jiaosejiekou.d.ts +7 -7
- package/dist/api/modules/rbac/pubJiaosezukongzhiqi.d.ts +7 -7
- package/dist/api/modules/rbac/shujuquanxianzhubiaokongzhiqi.d.ts +9 -9
- package/dist/api/modules/rbac/yonghujiekou.d.ts +15 -15
- package/dist/api/modules/rbac/yonghushoucangbiaojiekou.d.ts +5 -5
- package/dist/api/modules/rbac/yonghuzuijinchangyongbiaojiekou.d.ts +4 -4
- package/dist/api/modules/rbac/ziyuandaorudaochuxiangguanjiekou.d.ts +6 -6
- package/dist/api/modules/rbac/ziyuanjiekou.d.ts +13 -13
- package/dist/api/modules/rbac/zuhuguanlijiekou.d.ts +5 -5
- package/dist/api/modules/rbac/zuzhijiaosebiaokongzhiqi.d.ts +4 -4
- package/dist/api/modules/rbac/zuzhijiekou.d.ts +9 -9
- 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,9 +1,55 @@
|
|
|
1
|
+
declare function handleOpenModal(): void;
|
|
1
2
|
type __VLS_PublicProps = {
|
|
2
3
|
modelValue?: string;
|
|
4
|
+
'boxType'?: 'null' | 'square' | 'prism';
|
|
5
|
+
'angle'?: number | string;
|
|
6
|
+
'background'?: string | {
|
|
7
|
+
from: string;
|
|
8
|
+
to: string;
|
|
9
|
+
};
|
|
10
|
+
'radius'?: number | string;
|
|
11
|
+
'iconColor'?: string;
|
|
3
12
|
};
|
|
4
|
-
declare
|
|
13
|
+
declare function __VLS_template(): {
|
|
14
|
+
attrs: Partial<{}>;
|
|
15
|
+
slots: {
|
|
16
|
+
default?(_: {
|
|
17
|
+
open: typeof handleOpenModal;
|
|
18
|
+
}): any;
|
|
19
|
+
};
|
|
20
|
+
refs: {
|
|
21
|
+
iconColorPickerRef: HTMLInputElement;
|
|
22
|
+
};
|
|
23
|
+
rootEl: any;
|
|
24
|
+
};
|
|
25
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
26
|
+
declare const __VLS_component: import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentOptionsMixin, {
|
|
5
27
|
"update:modelValue": (value: string) => any;
|
|
28
|
+
"update:angle": (value: string | number) => any;
|
|
29
|
+
"update:background": (value: string | {
|
|
30
|
+
from: string;
|
|
31
|
+
to: string;
|
|
32
|
+
}) => any;
|
|
33
|
+
"update:radius": (value: string | number) => any;
|
|
34
|
+
"update:boxType": (value: "square" | "null" | "prism") => any;
|
|
35
|
+
"update:iconColor": (value: string) => any;
|
|
6
36
|
}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
7
37
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
8
|
-
|
|
38
|
+
"onUpdate:angle"?: ((value: string | number) => any) | undefined;
|
|
39
|
+
"onUpdate:background"?: ((value: string | {
|
|
40
|
+
from: string;
|
|
41
|
+
to: string;
|
|
42
|
+
}) => any) | undefined;
|
|
43
|
+
"onUpdate:radius"?: ((value: string | number) => any) | undefined;
|
|
44
|
+
"onUpdate:boxType"?: ((value: "square" | "null" | "prism") => any) | undefined;
|
|
45
|
+
"onUpdate:iconColor"?: ((value: string) => any) | undefined;
|
|
46
|
+
}>, {}, {}, {}, {}, string, import('../../../../../node_modules/.pnpm/vue@3.5.17_typescript@5.8.3/node_modules/vue').ComponentProvideOptions, false, {
|
|
47
|
+
iconColorPickerRef: HTMLInputElement;
|
|
48
|
+
}, any>;
|
|
49
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
9
50
|
export default _default;
|
|
51
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
52
|
+
new (): {
|
|
53
|
+
$slots: S;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
@@ -11,15 +11,24 @@ export interface SelectedResourceInfo {
|
|
|
11
11
|
name: string;
|
|
12
12
|
}
|
|
13
13
|
export default function useAppAndResource(mode?: ResourceMode): {
|
|
14
|
-
appList: Ref<API.PubResource[] | {
|
|
14
|
+
appList: globalThis.Ref<API.PubResource[] | {
|
|
15
15
|
label: string | undefined;
|
|
16
16
|
value: string | undefined;
|
|
17
|
+
}[], API.PubResource[] | {
|
|
18
|
+
label: string | undefined;
|
|
19
|
+
value: string | undefined;
|
|
20
|
+
}[]>;
|
|
21
|
+
resourceModelRef: globalThis.Ref<any, any>;
|
|
22
|
+
treeData: globalThis.Ref<TreeNode[], TreeNode[]>;
|
|
23
|
+
resourceMap: globalThis.Ref<StringMap<string>, StringMap<string>>;
|
|
24
|
+
selectedResources: globalThis.Ref<{
|
|
25
|
+
id: string;
|
|
26
|
+
name: string;
|
|
27
|
+
}[], SelectedResourceInfo[] | {
|
|
28
|
+
id: string;
|
|
29
|
+
name: string;
|
|
17
30
|
}[]>;
|
|
18
|
-
|
|
19
|
-
treeData: Ref<TreeNode[]>;
|
|
20
|
-
resourceMap: Ref<StringMap<string>>;
|
|
21
|
-
selectedResources: any;
|
|
22
|
-
isDataPermissionMode: any;
|
|
31
|
+
isDataPermissionMode: globalThis.ComputedRef<boolean>;
|
|
23
32
|
getAppList: () => void;
|
|
24
33
|
updateTreeDataAndResourceMap: (appId: string) => Promise<void>;
|
|
25
34
|
setSelectedResources: (resources: SelectedResourceInfo[]) => void;
|
|
@@ -1,13 +1,77 @@
|
|
|
1
1
|
export type Role = API.PubRole;
|
|
2
2
|
export declare function useRole(): {
|
|
3
|
-
loading:
|
|
3
|
+
loading: globalThis.ShallowRef<boolean>;
|
|
4
4
|
setLoading: (value?: boolean | undefined) => boolean;
|
|
5
|
-
roles:
|
|
5
|
+
roles: globalThis.Ref<{
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
name?: string | undefined;
|
|
8
|
+
code?: string | undefined;
|
|
9
|
+
description?: string | undefined;
|
|
10
|
+
enable?: boolean | undefined;
|
|
11
|
+
createdBy?: string | undefined;
|
|
12
|
+
createTime?: string | undefined;
|
|
13
|
+
updatedBy?: string | undefined;
|
|
14
|
+
updateTime?: string | undefined;
|
|
15
|
+
deleted?: boolean | undefined;
|
|
16
|
+
viewScope?: string | undefined;
|
|
17
|
+
createOrgId?: string | undefined;
|
|
18
|
+
createOrgName?: string | undefined;
|
|
19
|
+
appId?: string | undefined;
|
|
20
|
+
tenantId?: string | undefined;
|
|
21
|
+
}[], API.PubRole[] | {
|
|
22
|
+
id?: string | undefined;
|
|
23
|
+
name?: string | undefined;
|
|
24
|
+
code?: string | undefined;
|
|
25
|
+
description?: string | undefined;
|
|
26
|
+
enable?: boolean | undefined;
|
|
27
|
+
createdBy?: string | undefined;
|
|
28
|
+
createTime?: string | undefined;
|
|
29
|
+
updatedBy?: string | undefined;
|
|
30
|
+
updateTime?: string | undefined;
|
|
31
|
+
deleted?: boolean | undefined;
|
|
32
|
+
viewScope?: string | undefined;
|
|
33
|
+
createOrgId?: string | undefined;
|
|
34
|
+
createOrgName?: string | undefined;
|
|
35
|
+
appId?: string | undefined;
|
|
36
|
+
tenantId?: string | undefined;
|
|
37
|
+
}[]>;
|
|
6
38
|
getData: () => Promise<void>;
|
|
7
39
|
};
|
|
8
40
|
export declare function useRoleGroup(): {
|
|
9
|
-
loading:
|
|
41
|
+
loading: globalThis.ShallowRef<boolean>;
|
|
10
42
|
setLoading: (value?: boolean | undefined) => boolean;
|
|
11
|
-
roles:
|
|
43
|
+
roles: globalThis.Ref<{
|
|
44
|
+
id?: string | undefined;
|
|
45
|
+
name?: string | undefined;
|
|
46
|
+
code?: string | undefined;
|
|
47
|
+
description?: string | undefined;
|
|
48
|
+
enable?: boolean | undefined;
|
|
49
|
+
createdBy?: string | undefined;
|
|
50
|
+
createTime?: string | undefined;
|
|
51
|
+
updatedBy?: string | undefined;
|
|
52
|
+
updateTime?: string | undefined;
|
|
53
|
+
deleted?: boolean | undefined;
|
|
54
|
+
viewScope?: string | undefined;
|
|
55
|
+
createOrgId?: string | undefined;
|
|
56
|
+
createOrgName?: string | undefined;
|
|
57
|
+
appId?: string | undefined;
|
|
58
|
+
tenantId?: string | undefined;
|
|
59
|
+
}[], API.PubRole[] | {
|
|
60
|
+
id?: string | undefined;
|
|
61
|
+
name?: string | undefined;
|
|
62
|
+
code?: string | undefined;
|
|
63
|
+
description?: string | undefined;
|
|
64
|
+
enable?: boolean | undefined;
|
|
65
|
+
createdBy?: string | undefined;
|
|
66
|
+
createTime?: string | undefined;
|
|
67
|
+
updatedBy?: string | undefined;
|
|
68
|
+
updateTime?: string | undefined;
|
|
69
|
+
deleted?: boolean | undefined;
|
|
70
|
+
viewScope?: string | undefined;
|
|
71
|
+
createOrgId?: string | undefined;
|
|
72
|
+
createOrgName?: string | undefined;
|
|
73
|
+
appId?: string | undefined;
|
|
74
|
+
tenantId?: string | undefined;
|
|
75
|
+
}[]>;
|
|
12
76
|
getData: (id: string) => Promise<void>;
|
|
13
77
|
};
|
package/dist/context.d.ts
CHANGED
|
@@ -2,5 +2,5 @@ import "./_plugin-vue_export-helper-DziIhCOI.js";
|
|
|
2
2
|
import "./enum-B1DCzyaW.js";
|
|
3
3
|
import "./useAppAndResource-CeMCjg2v.js";
|
|
4
4
|
import "./ResourceSelector-ConJ30Jd.js";
|
|
5
|
-
import { b as e } from "./drawerRole-
|
|
5
|
+
import { b as e } from "./drawerRole-E1jHM3v-.js";
|
|
6
6
|
export { e as default };
|