/** * ========================================================================= * PLATEFORME ECO-PANNEAU.FR - VERSION 1.0.0 * Point d'entrée React (Main) - Routage, Authentification, et État Global * ========================================================================= */ const { useState, useEffect, useCallback } = React; const SafeIcon = (FallbackText) => window[FallbackText] || (({className}) => {FallbackText}); const Loader = SafeIcon('Loader'); const AlertTriangle = SafeIcon('AlertTriangle'); const CheckCircle = SafeIcon('CheckCircle'); const Info = SafeIcon('Info'); const Lock = SafeIcon('Lock'); const Mail = SafeIcon('Mail'); const Building = SafeIcon('Building'); const KeyRound = SafeIcon('KeyRound'); const Shield = SafeIcon('Shield'); const X = SafeIcon('X'); const getPublicView = () => window.AccueilView || null; const getRiverainView = () => window.RiverainView || null; const getAdminView = () => window.AdminView || null; const getClientView = () => window.ClientView || null; const getPanneauEditor = () => window.PanneauEditorForm || null; const getEntityEditor = () => window.EntityEditorModal || null; const FallbackError = ({ name }) => (
Vérification de l'accès...
{error}
Mise à jour des informations du panneau
Chargement sécurisé...
{actionResult.message}
{globalPanic.message}
{globalPanic.mode === 'seal' ? ( ) : ( )}