@fluxo-dev/shell 25.3.5 → 25.3.7
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/index.esm.css +29 -0
- package/index.esm.js +873 -315
- package/package.json +12 -12
- package/src/index.d.ts +1 -1
- package/src/lib/app.d.ts +19 -1
- package/src/lib/layouts/main/app-layout.d.ts +3 -1
- package/src/lib/layouts/main/footer-bar.d.ts +2 -0
- package/src/lib/layouts/main/navbar-item.d.ts +2 -1
- package/src/lib/layouts/main/search-bar.d.ts +2 -0
- package/src/lib/services/app-menu.service.d.ts +1 -1
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/RetroIntro.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/arkanoid.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/asteroids.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/credits.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/pong.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/space-invaders.d.ts +0 -0
- /package/src/lib/{layouts/main/easter-eggs → easter-eggs}/tetris.d.ts +0 -0
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell",
|
|
3
|
-
"version": "25.3.
|
|
3
|
+
"version": "25.3.7",
|
|
4
4
|
"peerDependencies": {
|
|
5
5
|
"react": "^18.3.1",
|
|
6
6
|
"@mantine/core": "^7.12.2",
|
|
7
7
|
"react-router-dom": "^6.11.2",
|
|
8
8
|
"react-redux": "^8.0.5",
|
|
9
9
|
"@reduxjs/toolkit": "^1.9.1",
|
|
10
|
-
"@fluxo-dev/api-client-base": "^25.3.
|
|
11
|
-
"@fluxo-dev/shell-bi": "^25.3.
|
|
12
|
-
"@fluxo-dev/shell-hub": "^25.3.
|
|
13
|
-
"@fluxo-dev/shell-korebi": "^25.3.
|
|
14
|
-
"@fluxo-dev/shell-mfe": "^25.3.
|
|
15
|
-
"@fluxo-dev/shell-printing": "^25.3.
|
|
16
|
-
"@fluxo-dev/shell-reporting": "^25.3.
|
|
17
|
-
"@fluxo-dev/shell-workflow": "^25.3.
|
|
18
|
-
"@fluxo-dev/shell-ravify": "^25.3.
|
|
19
|
-
"@fluxo-dev/state": "^25.3.
|
|
20
|
-
"@fluxo-dev/ui-components": "^25.3.
|
|
10
|
+
"@fluxo-dev/api-client-base": "^25.3.7",
|
|
11
|
+
"@fluxo-dev/shell-bi": "^25.3.7",
|
|
12
|
+
"@fluxo-dev/shell-hub": "^25.3.7",
|
|
13
|
+
"@fluxo-dev/shell-korebi": "^25.3.7",
|
|
14
|
+
"@fluxo-dev/shell-mfe": "^25.3.7",
|
|
15
|
+
"@fluxo-dev/shell-printing": "^25.3.7",
|
|
16
|
+
"@fluxo-dev/shell-reporting": "^25.3.7",
|
|
17
|
+
"@fluxo-dev/shell-workflow": "^25.3.7",
|
|
18
|
+
"@fluxo-dev/shell-ravify": "^25.3.7",
|
|
19
|
+
"@fluxo-dev/state": "^25.3.7",
|
|
20
|
+
"@fluxo-dev/ui-components": "^25.3.7",
|
|
21
21
|
"@scalar/api-reference-react": "^0.3.142",
|
|
22
22
|
"@devexpress/analytics-core": "23.1.3",
|
|
23
23
|
"devexpress-dashboard": "23.1.3",
|
package/src/index.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { FluxoShell, type FluxoShellProps, type ShellFrontend, type ShellUI, ShellUINavigation } from './lib/app';
|
|
1
|
+
export { FluxoShell, type FluxoShellProps, type ShellFrontend, type ShellUI, ShellUINavigation, ShellUISearchPosition, ShellUISearchType } from './lib/app';
|
|
2
2
|
export { FrontendSwitch } from './lib/components/frontend-switch';
|
|
3
3
|
export { ScreenSharingProvider, useScreenSharingContext } from './lib/contexts/screen-sharing-context';
|
|
4
4
|
export { ScreenSharingWidget, type ScreenSharingWidgetProps } from './lib/components/screen-sharing-widget';
|
package/src/lib/app.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { EmbeddedModule, FluxoUserProfile, InitialConfiguration, User } from '@fluxo-dev/api-client-base';
|
|
3
3
|
import './app.module.css';
|
|
4
|
+
import '../style.css';
|
|
4
5
|
import 'dayjs/locale/it';
|
|
5
6
|
import { FrontendSwitcherUiProps } from './pages/frontend-switcher/frontend-switcher';
|
|
6
7
|
/**
|
|
@@ -9,6 +10,7 @@ import { FrontendSwitcherUiProps } from './pages/frontend-switcher/frontend-swit
|
|
|
9
10
|
export type ShellFrontend = {
|
|
10
11
|
id: string | 'admin';
|
|
11
12
|
name: string;
|
|
13
|
+
order?: number;
|
|
12
14
|
layout?: React.ReactNode | JSX.Element;
|
|
13
15
|
dashboardComponent: React.ReactNode | React.ReactElement;
|
|
14
16
|
modules: EmbeddedModule[];
|
|
@@ -28,7 +30,18 @@ export type ShellFrontend = {
|
|
|
28
30
|
export declare enum ShellUINavigation {
|
|
29
31
|
Sidebar = 1,
|
|
30
32
|
Topbar = 2,
|
|
31
|
-
None = 3
|
|
33
|
+
None = 3,
|
|
34
|
+
SidebarMinimal = 4
|
|
35
|
+
}
|
|
36
|
+
export declare enum ShellUISearchPosition {
|
|
37
|
+
None = "none",
|
|
38
|
+
Left = "left",
|
|
39
|
+
Right = "right",
|
|
40
|
+
Center = "center"
|
|
41
|
+
}
|
|
42
|
+
export declare enum ShellUISearchType {
|
|
43
|
+
Spotlight = "spotlight",
|
|
44
|
+
Dropdown = "dropdown"
|
|
32
45
|
}
|
|
33
46
|
export interface ShellUI {
|
|
34
47
|
navigation: ShellUINavigation;
|
|
@@ -37,6 +50,10 @@ export interface ShellUI {
|
|
|
37
50
|
};
|
|
38
51
|
withMultipleSessions?: boolean;
|
|
39
52
|
frontendSwitcher?: FrontendSwitcherUiProps;
|
|
53
|
+
search?: {
|
|
54
|
+
searchPosition?: ShellUISearchPosition;
|
|
55
|
+
searchType?: ShellUISearchType;
|
|
56
|
+
};
|
|
40
57
|
}
|
|
41
58
|
export interface ShellSlots {
|
|
42
59
|
administrationSecurityUserProfile?: (data: {
|
|
@@ -71,6 +88,7 @@ export interface FluxoShellProps {
|
|
|
71
88
|
frontends: ShellFrontend[];
|
|
72
89
|
clientInitialization: () => Promise<void>;
|
|
73
90
|
brandName?: string;
|
|
91
|
+
brandElement?: React.ReactNode;
|
|
74
92
|
loginConfig?: ShellLoginConfig;
|
|
75
93
|
ui: ShellUI;
|
|
76
94
|
slots?: ShellSlots;
|
|
@@ -1,11 +1,13 @@
|
|
|
1
|
+
import React from 'react';
|
|
1
2
|
import { ShellFrontend, ShellUI } from '../../app';
|
|
2
3
|
import './horizontal-menu.css';
|
|
3
4
|
interface AppLayoutProps {
|
|
4
5
|
appVersion: string;
|
|
5
6
|
brandName: string;
|
|
7
|
+
brandElement?: React.ReactNode;
|
|
6
8
|
ui: ShellUI;
|
|
7
9
|
frontends: ShellFrontend[];
|
|
8
10
|
}
|
|
9
11
|
export declare const useShellUI: () => ShellUI;
|
|
10
|
-
declare function AppLayout({ appVersion, brandName, ui, frontends }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
declare function AppLayout({ appVersion, brandName, ui, frontends, brandElement }: AppLayoutProps): import("react/jsx-runtime").JSX.Element;
|
|
11
13
|
export default AppLayout;
|
|
@@ -6,6 +6,7 @@ interface NavBarItemProps {
|
|
|
6
6
|
initiallyOpened?: boolean;
|
|
7
7
|
links?: AppMenuItem[];
|
|
8
8
|
level: number;
|
|
9
|
+
isMinimal?: boolean;
|
|
9
10
|
}
|
|
10
|
-
export declare function NavBarItem({ icon: Icon, label, routerLink, initiallyOpened, links, level }: NavBarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export declare function NavBarItem({ icon: Icon, label, routerLink, initiallyOpened, links, level, isMinimal }: NavBarItemProps): import("react/jsx-runtime").JSX.Element;
|
|
11
12
|
export {};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { AppMenuItem } from "@fluxo-dev/api-client-base";
|
|
2
2
|
import { SpotlightActionGroupData } from "@mantine/spotlight";
|
|
3
3
|
export declare class AppMenuService {
|
|
4
|
-
getSpotlightMenu(menu: AppMenuItem[],
|
|
4
|
+
getSpotlightMenu(menu: AppMenuItem[], parentPath?: string): Promise<(SpotlightActionGroupData)[]>;
|
|
5
5
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|