/** * ========================================================================= * PLATEFORME ECO-PANNEAU.FR - VERSION 1.0.0 * Composants : Modales pour la vue Riverains (SPA Layer) * ========================================================================= */ window.pano_RiverainPdfModal = ({ targetId, panneau, onClose, onOpenArretes }) => { const { ArrowLeftIcon, DownloadIcon } = window.pano_getIcons(); const Button = window.pano_Button || (() => null); return (
e.stopPropagation()}> Télécharger
Aperçu de l'arrêté e.stopPropagation()} />
); }; window.pano_RiverainImageModal = ({ displayImageUrl, onClose }) => { const { ArrowLeftIcon } = window.pano_getIcons(); const Button = window.pano_Button || (() => null); return (
e.stopPropagation()}>
Vue du projet e.stopPropagation()} />
); }; window.pano_RiverainArretesModal = ({ panneau, onClose, onOpenPdf }) => { const { XIcon, FileDigitIcon, ArrowRightIcon } = window.pano_getIcons(); const Button = window.pano_Button || (() => null); return (
e.stopPropagation()}>

Documents d'urbanisme

{ onClose(); setTimeout(() => onOpenPdf(panneau.pdfId), 50); }} className="w-full p-3 bg-slate-50 hover:bg-emerald-50 border border-slate-200 rounded-2xl flex items-center justify-between group transition text-left cursor-pointer">

Arrêté initial

Document principal

{panneau.modificatifs?.map((mod, idx) => (
{ onClose(); setTimeout(() => onOpenPdf(mod.id), 50); }} className="w-full p-3 bg-slate-50 hover:bg-blue-50 border border-slate-200 rounded-2xl flex items-center justify-between group transition text-left cursor-pointer">

{mod.label}

Ajouté le {new Date(mod.date).toLocaleDateString('fr-FR')}

))}
); }; window.pano_RiverainDemoWarningModal = ({ targetId, onClose }) => { const { XIcon, InfoIcon } = window.pano_getIcons(); const Button = window.pano_Button || (() => null); return (
e.stopPropagation()}>

Mode aperçu

{targetId === 'chat' ? "La messagerie (messages et pièces jointes) est désactivée en mode aperçu ou démo." : "Les liens sortants sont désactivés en mode aperçu ou démo."}

); }; /* EOF ========== [_react/_riverains_modals.jsx] */