@bluealba/pae-ui-react-core 4.0.1-develop-1191 → 4.0.1-feature-add-documentation-templat-1206
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.cjs.js +66 -41
- package/dist/index.esm.js +2235 -2098
- package/dist/index.systemjs.js +71 -46
- package/dist/index.umd.js +68 -43
- package/dist/src/hooks/applications/ApplicationMenu.d.ts +2 -0
- package/dist/src/hooks/applications/useApplicationMenu.d.ts +1 -3
- package/dist/src/hooks/applications/useDocumentationMenuItems.d.ts +4 -0
- package/dist/src/hooks/applications/useModuleMenu.d.ts +11 -0
- package/dist/src/hooks/index.d.ts +2 -0
- package/package.json +1 -1
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { ApplicationMenu } from './ApplicationMenu';
|
|
2
1
|
import { PlatformApplication } from './PlatformApplication';
|
|
3
|
-
import {
|
|
2
|
+
import { ApplicationMenu } from './ApplicationMenu';
|
|
4
3
|
|
|
5
4
|
type UseApplicationMenuReturnType = {
|
|
6
5
|
loading: boolean;
|
|
@@ -8,4 +7,3 @@ type UseApplicationMenuReturnType = {
|
|
|
8
7
|
};
|
|
9
8
|
export declare const useApplicationMenu: (application: PlatformApplication | undefined) => UseApplicationMenuReturnType;
|
|
10
9
|
export default useApplicationMenu;
|
|
11
|
-
export declare const hasAccess: (authorizedOperations: Operation[]) => (operations: string[]) => boolean;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { Operation } from '@bluealba/pae-core';
|
|
2
|
+
import { ApplicationMenu } from './ApplicationMenu';
|
|
3
|
+
import { PlatformApplication } from './PlatformApplication';
|
|
4
|
+
|
|
5
|
+
type UseModuleMenuReturnType = {
|
|
6
|
+
loading: boolean;
|
|
7
|
+
menu: ApplicationMenu;
|
|
8
|
+
};
|
|
9
|
+
export declare const useModuleMenu: (application: PlatformApplication | undefined) => UseModuleMenuReturnType;
|
|
10
|
+
export default useModuleMenu;
|
|
11
|
+
export declare const hasAccess: (authorizedOperations: Operation[]) => (operations: string[]) => boolean;
|
|
@@ -12,6 +12,8 @@ export { useApplications } from './applications/useApplications';
|
|
|
12
12
|
export { useUIApplications } from './useUIApplications';
|
|
13
13
|
export { useApplicationUIModule } from './applications/useApplicationUIModule';
|
|
14
14
|
export { useApplicationIcon } from './applications/useApplicationIcon';
|
|
15
|
+
export { useModuleMenu } from './applications/useModuleMenu';
|
|
16
|
+
export { useDocumentationMenuItems } from './applications/useDocumentationMenuItems';
|
|
15
17
|
export { useApplicationMenu } from './applications/useApplicationMenu';
|
|
16
18
|
export { useCurrentApplicationName } from './applications/useCurrentApplicationName';
|
|
17
19
|
export { useApplicationJSModule } from './applications/useApplicationJSModule';
|