// ECO-PANNEAU.FR - _react/ui/_ui_icons.jsx // 1. - LOGO SVG ET TEXT LOGO window.pano_LogoSVG = ({ size = 32, className = '' }) => ( ); window.pano_TextLogo = ({ className = "", colorEco = "text-slate-800" }) => ( eco -panneau .fr ); window.pano_SiteLogo = ({ size = 32, className = "" }) => { let shouldBeLink = true; if (typeof window !== 'undefined') { const params = new URLSearchParams(window.location.search); const isRiverainOrScan = params.has('scan') || params.has('thread') || params.has('demo'); const isHomePage = !params.has('tab') && !params.has('scan') && !params.has('thread') && !params.has('reg_token') && !params.has('reset_token') && !params.has('del_token') && !params.has('grant_access') && !params.has('delegate'); if (isRiverainOrScan || isHomePage) { shouldBeLink = false; } } const Wrapper = shouldBeLink ? 'a' : 'div'; const props = shouldBeLink ? { href: 'https://eco-panneau.fr', title: "Retour à l'accueil" } : {}; const ecoColor = className.includes('text-white') ? 'text-white' : 'text-slate-800'; return ( ); }; // 2. - GÉNÉRATEUR D'ICÔNES DYNAMIQUES ET LOADER window.pano_LoaderIcon = ({ size = 24, className = '' }) => ( ); window.pano_PinIcon = ({ size = 24, className = '', filled = false, onClick }) => ( ); window.pano_ShieldIcon = ({ size = 24, className = '', onClick }) => ( ); window.pano_UsersIcon = ({ size = 24, className = '', onClick }) => ( ); // LE NOUVEAU DESIGN DE L'ICÔNE : Bâtiment avec équipe incrustée proprement window.pano_BuildingTeamIcon = ({ size = 24, className = '', onClick }) => ( {/* Le bâtiment coupé proprement en bas à droite */} {/* L'équipe insérée dans la découpe (Adaptation de l'épaisseur de trait) */} ); const createIconFromString = (htmlString) => ({ size = 24, className = '', style, onClick, ...props }) => { const svgContent = `${htmlString}`; return ; }; if (window.pano_svgPaths) { window.pano_svgPaths.EyeOff = ``; window.pano_svgPaths.Shield = ``; for (const [name, pathStr] of Object.entries(window.pano_svgPaths)) { if (!window[`pano_${name}Icon`]) { window[`pano_${name}Icon`] = createIconFromString(pathStr); } } } // 3. - GÉNÉRATEUR DE QR CODE window.pano_NativeQRCode = ({ value, size = 128, padding = 4 }) => { if (!window.QRCode) return null; const svgStr = new window.QRCode({ content: value, padding, width: size, height: size, join: true }).svg(); return
; }; /* EOF ========== [_react/ui/_ui_icons.jsx] */