@fluxo-dev/shell 25.1.3 → 25.1.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/index.esm.js +3400 -2114
- package/package.json +12 -12
- package/src/lib/app.d.ts +5 -0
- package/src/lib/components/routes/main-routes.d.ts +2 -1
- package/src/lib/layouts/main/navbar-item.d.ts +1 -1
- package/src/lib/pages/frontend-switcher/frontend-switcher.d.ts +4 -0
- package/src/lib/pages/settings/communications/email-template-form.d.ts +10 -0
- package/src/lib/pages/settings/communications/email-template.d.ts +1 -0
- package/src/lib/pages/settings/security/components/user/change-email.d.ts +8 -0
- package/src/lib/pages/settings/security/components/user/reset-password.d.ts +7 -0
- package/src/lib/pages/settings/security/components/user/user-form.d.ts +1 -1
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell",
|
|
3
|
-
"version": "25.1.
|
|
3
|
+
"version": "25.1.5",
|
|
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.1.
|
|
11
|
-
"@fluxo-dev/shell-bi": "^25.1.
|
|
12
|
-
"@fluxo-dev/shell-hub": "^25.1.
|
|
13
|
-
"@fluxo-dev/shell-korebi": "^25.1.
|
|
14
|
-
"@fluxo-dev/shell-mfe": "^25.1.
|
|
15
|
-
"@fluxo-dev/shell-printing": "^25.1.
|
|
16
|
-
"@fluxo-dev/shell-reporting": "^25.1.
|
|
17
|
-
"@fluxo-dev/shell-workflow": "^25.1.
|
|
18
|
-
"@fluxo-dev/shell-ravify": "^25.1.
|
|
19
|
-
"@fluxo-dev/state": "^25.1.
|
|
20
|
-
"@fluxo-dev/ui-components": "^25.1.
|
|
10
|
+
"@fluxo-dev/api-client-base": "^25.1.5",
|
|
11
|
+
"@fluxo-dev/shell-bi": "^25.1.5",
|
|
12
|
+
"@fluxo-dev/shell-hub": "^25.1.5",
|
|
13
|
+
"@fluxo-dev/shell-korebi": "^25.1.5",
|
|
14
|
+
"@fluxo-dev/shell-mfe": "^25.1.5",
|
|
15
|
+
"@fluxo-dev/shell-printing": "^25.1.5",
|
|
16
|
+
"@fluxo-dev/shell-reporting": "^25.1.5",
|
|
17
|
+
"@fluxo-dev/shell-workflow": "^25.1.5",
|
|
18
|
+
"@fluxo-dev/shell-ravify": "^25.1.5",
|
|
19
|
+
"@fluxo-dev/state": "^25.1.5",
|
|
20
|
+
"@fluxo-dev/ui-components": "^25.1.5",
|
|
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/lib/app.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import React from 'react';
|
|
|
2
2
|
import { EmbeddedModule, InitialConfiguration } from "@fluxo-dev/api-client-base";
|
|
3
3
|
import './app.module.css';
|
|
4
4
|
import 'dayjs/locale/it';
|
|
5
|
+
import { FrontendSwitcherUiProps } from './pages/frontend-switcher/frontend-switcher';
|
|
5
6
|
/**
|
|
6
7
|
* The ShellFrontend interface represents a frontend that can be rendered by the FluxoShell component.
|
|
7
8
|
*/
|
|
@@ -25,6 +26,10 @@ export declare enum ShellUINavigation {
|
|
|
25
26
|
}
|
|
26
27
|
export interface ShellUI {
|
|
27
28
|
navigation: ShellUINavigation;
|
|
29
|
+
security: {
|
|
30
|
+
showChangePassword: boolean;
|
|
31
|
+
};
|
|
32
|
+
frontendSwitcher?: FrontendSwitcherUiProps;
|
|
28
33
|
}
|
|
29
34
|
export interface FluxoShellProps {
|
|
30
35
|
pluginEndpoint: string;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
import { ShellFrontend } from
|
|
1
|
+
import { FluxoShellProps, ShellFrontend } from '../../app';
|
|
2
2
|
export interface MainRoutesProps {
|
|
3
3
|
pluginEndpoint: string;
|
|
4
4
|
frontends: ShellFrontend[];
|
|
5
5
|
isAdminFrontend: boolean;
|
|
6
|
+
fluxoShellProps: FluxoShellProps;
|
|
6
7
|
}
|
|
7
8
|
export declare function MainRoutes(props: MainRoutesProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
+
export interface FrontendSwitcherUiProps {
|
|
3
|
+
title?: string;
|
|
4
|
+
}
|
|
2
5
|
export interface FrontendSwitcherProps {
|
|
3
6
|
availableFrontends: {
|
|
4
7
|
id: string;
|
|
5
8
|
name: string;
|
|
6
9
|
icon?: React.ReactNode;
|
|
7
10
|
}[];
|
|
11
|
+
ui?: FrontendSwitcherUiProps;
|
|
8
12
|
}
|
|
9
13
|
export declare function FrontendSwitcher(props: FrontendSwitcherProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { EmailTemplate, EmailTemplateType } from '@fluxo-dev/api-client-base';
|
|
3
|
+
export interface EmailTemplateFormProps {
|
|
4
|
+
template?: EmailTemplate;
|
|
5
|
+
defaultType?: EmailTemplateType;
|
|
6
|
+
onSubmit: (template: Omit<EmailTemplate, 'id'> | EmailTemplate) => void;
|
|
7
|
+
onCancel: () => void;
|
|
8
|
+
onDelete?: (templateId: number) => void;
|
|
9
|
+
}
|
|
10
|
+
export declare const EmailTemplateForm: React.FC<EmailTemplateFormProps>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function EmailTemplate(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { User } from '@fluxo-dev/api-client-base';
|
|
2
|
+
export interface ChangeEmailProps {
|
|
3
|
+
user: User;
|
|
4
|
+
onComplete?: () => void;
|
|
5
|
+
onClose?: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare function ChangeEmail(props: ChangeEmailProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export default ChangeEmail;
|