@fluxo-dev/shell 26.4.0 → 26.5.0
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 +1727 -904
- package/package.json +11 -11
- package/src/lib/components/idle-session/idle-session-manager.d.ts +9 -0
- package/src/lib/components/idle-session/idle-warning-modal.d.ts +11 -0
- package/src/lib/components/password-expiry/password-expiry-notifier.d.ts +8 -0
- package/src/lib/hooks/use-user-idle.d.ts +5 -0
- package/src/lib/pages/login/required-password-change-form.d.ts +13 -0
- package/src/lib/pages/settings/security/components/security-policy/security-policy-settings.d.ts +5 -0
package/package.json
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@fluxo-dev/shell",
|
|
3
|
-
"version": "26.
|
|
3
|
+
"version": "26.5.0",
|
|
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": "^26.
|
|
11
|
-
"@fluxo-dev/shell-bi": "^26.
|
|
12
|
-
"@fluxo-dev/shell-hub": "^26.
|
|
13
|
-
"@fluxo-dev/shell-mfe": "^26.
|
|
14
|
-
"@fluxo-dev/shell-printing": "^26.
|
|
15
|
-
"@fluxo-dev/shell-reporting": "^26.
|
|
16
|
-
"@fluxo-dev/shell-workflow": "^26.
|
|
17
|
-
"@fluxo-dev/shell-ravify": "^26.
|
|
18
|
-
"@fluxo-dev/state": "^26.
|
|
19
|
-
"@fluxo-dev/ui-components": "^26.
|
|
10
|
+
"@fluxo-dev/api-client-base": "^26.5.0",
|
|
11
|
+
"@fluxo-dev/shell-bi": "^26.5.0",
|
|
12
|
+
"@fluxo-dev/shell-hub": "^26.5.0",
|
|
13
|
+
"@fluxo-dev/shell-mfe": "^26.5.0",
|
|
14
|
+
"@fluxo-dev/shell-printing": "^26.5.0",
|
|
15
|
+
"@fluxo-dev/shell-reporting": "^26.5.0",
|
|
16
|
+
"@fluxo-dev/shell-workflow": "^26.5.0",
|
|
17
|
+
"@fluxo-dev/shell-ravify": "^26.5.0",
|
|
18
|
+
"@fluxo-dev/state": "^26.5.0",
|
|
19
|
+
"@fluxo-dev/ui-components": "^26.5.0",
|
|
20
20
|
"@scalar/api-reference-react": "0.9.1",
|
|
21
21
|
"@devexpress/analytics-core": "25.2.6",
|
|
22
22
|
"devexpress-dashboard": "25.2.6",
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Con l'utente loggato rileva l'attività (condivisa tra le tab) e, se la policy lo prevede e l'utente
|
|
3
|
+
* non ne è esente, chiude la sessione per inattività dopo un avviso.
|
|
4
|
+
* La policy viene letta al login e riletta quando il server notifica una modifica tramite l'hub di sessione.
|
|
5
|
+
*/
|
|
6
|
+
export declare function IdleSessionManager({ isFluxoClientReady }: {
|
|
7
|
+
isFluxoClientReady: boolean;
|
|
8
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default IdleSessionManager;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export interface IdleWarningModalProps {
|
|
2
|
+
/** Secondi alla disconnessione; null quando l'avviso non è in corso */
|
|
3
|
+
secondsLeft: number | null;
|
|
4
|
+
onStay: () => void;
|
|
5
|
+
onLogout: () => void;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Avviso prima della disconnessione per inattività, con la possibilità di restare connessi.
|
|
9
|
+
*/
|
|
10
|
+
export declare function IdleWarningModal(props: IdleWarningModalProps): import("react/jsx-runtime").JSX.Element;
|
|
11
|
+
export default IdleWarningModal;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Dopo il login avvisa che la password sta per scadere, entro i giorni di preavviso della policy.
|
|
3
|
+
* L'avviso compare una volta per sessione del browser, non a ogni ricaricamento della pagina.
|
|
4
|
+
*/
|
|
5
|
+
export declare function PasswordExpiryNotifier({ isFluxoClientReady }: {
|
|
6
|
+
isFluxoClientReady: boolean;
|
|
7
|
+
}): null;
|
|
8
|
+
export default PasswordExpiryNotifier;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { PasswordChangeReason } from '@fluxo-dev/api-client-base';
|
|
2
|
+
export interface RequiredPasswordChangeFormProps {
|
|
3
|
+
challengeToken: string;
|
|
4
|
+
reason: PasswordChangeReason | null;
|
|
5
|
+
size?: 'sm' | 'md';
|
|
6
|
+
onBack: () => void;
|
|
7
|
+
}
|
|
8
|
+
/**
|
|
9
|
+
* Passaggio del login in cui l'utente imposta una nuova password (scaduta o richiesta dall'amministratore).
|
|
10
|
+
* A cambio riuscito la sessione si apre e la shell reindirizza come dopo un login normale.
|
|
11
|
+
*/
|
|
12
|
+
export declare function RequiredPasswordChangeForm(props: RequiredPasswordChangeFormProps): import("react/jsx-runtime").JSX.Element;
|
|
13
|
+
export default RequiredPasswordChangeForm;
|