@asaleh37/ui-base 25.6.2-0.1 → 25.6.2-0.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/dist/index.d.ts +3 -0
- package/dist/index.js +6 -6
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -6
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/src/components/administration/admin/OrgMemberRoleForm.tsx +1 -1
- package/src/components/administration/admin/OrganizationRankGrid.tsx +1 -1
- package/src/components/administration/admin/PersonGrid.tsx +119 -16
- package/src/components/administration/admin/SystemApplicationAuthorityGrid.tsx +6 -15
- package/src/components/administration/admin/SystemApplicationModuleGrid.tsx +1 -1
- package/src/components/administration/admin/SystemApplicationRoleAuthorityGrid.tsx +64 -56
- package/src/components/administration/admin/SystemApplicationRoleGrid.tsx +2 -2
- package/src/components/templates/DataEntryTemplates/DataEntryUtil.ts +5 -5
- package/src/hooks/UseSession.tsx +20 -1
- package/src/layout/MainContent.tsx +4 -1
- package/src/layout/NavigationTree.tsx +8 -5
- package/src/layout/RouteWrapper.tsx +28 -1
- package/src/main.tsx +1 -1
- package/src/navigationItems/Administration/adminNavigationItems.tsx +13 -12
- package/src/navigationItems/index.tsx +2 -1
- package/src/redux/features/administration/AdministrationStoresMetaData.ts +22 -0
- package/src/routes/types/index.ts +1 -0
- package/vite.config.ts +1 -13
package/dist/index.d.ts
CHANGED
|
@@ -17,6 +17,7 @@ import { ResponseType } from 'axios';
|
|
|
17
17
|
interface SystemRoute {
|
|
18
18
|
path: string;
|
|
19
19
|
component: React.FC;
|
|
20
|
+
applicationModule?: string;
|
|
20
21
|
authority?: string;
|
|
21
22
|
}
|
|
22
23
|
|
|
@@ -26,6 +27,7 @@ type ExtendedTreeItemProps = {
|
|
|
26
27
|
label: string;
|
|
27
28
|
action?: "NAVIGATION";
|
|
28
29
|
authority?: string;
|
|
30
|
+
applicationModule?: string;
|
|
29
31
|
actionPayload?: {
|
|
30
32
|
path?: string;
|
|
31
33
|
parameters?: object;
|
|
@@ -597,6 +599,7 @@ declare const useIsMobile: (breakpoint?: number) => boolean;
|
|
|
597
599
|
declare const useSession: () => {
|
|
598
600
|
UserSession: any;
|
|
599
601
|
isUserAuthorized: (authorityCode: string) => boolean;
|
|
602
|
+
isCurrentOrganizationAuthorizedToModule: (moduleCode: string) => Boolean;
|
|
600
603
|
UserInfo: any;
|
|
601
604
|
};
|
|
602
605
|
|