fix: Update PrimeReact to v10.8.3 and fix all compilation errors

This commit is contained in:
dahoud
2025-10-13 03:01:36 +00:00
parent 2a2e54c0e3
commit 30cad6220b
85 changed files with 928 additions and 2020 deletions

View File

@@ -62,7 +62,6 @@ import { Image } from 'primereact/image';
import { Carousel } from 'primereact/carousel';
import { Terminal } from 'primereact/terminal';
import { DeferredContent } from 'primereact/deferredcontent';
import { InlineMessage } from 'primereact/inlinemessage';
import { ScrollTop } from 'primereact/scrolltop';
import { BlockUI } from 'primereact/blockui';
import { TreeTable } from 'primereact/treetable';
@@ -186,7 +185,7 @@ const SauvegardePage = () => {
const overlayPanel = useRef<OverlayPanel>(null);
const contextMenu = useRef<ContextMenu>(null);
const terminal = useRef<Terminal>(null);
const dt = useRef<DataTable>(null);
const dt = useRef<DataTable<any>>(null);
// Configuration pour l'interface utilisateur ultra-avancée
const frequenceOptions = [
@@ -620,7 +619,7 @@ const SauvegardePage = () => {
value={provider.status}
severity={
provider.status === 'connected' ? 'success' :
provider.status === 'error' ? 'danger' : 'secondary'
provider.status === 'error' ? 'danger' : 'info'
}
/>
</div>
@@ -727,7 +726,6 @@ const SauvegardePage = () => {
onIcon="pi pi-pause"
offIcon="pi pi-play"
className="ml-2"
size="small"
/>
</div>
@@ -1278,4 +1276,6 @@ if (typeof document !== 'undefined') {
const style = document.createElement('style');
style.textContent = customStyles;
document.head.appendChild(style);
}
}