From 3e05c68c540053930f6a43497f6e307d31f33369 Mon Sep 17 00:00:00 2001 From: Matteo Date: Mon, 23 Feb 2026 09:26:19 +0100 Subject: [PATCH] feat : plan du site (WIP) --- frontend/pages/infrastructure/batiment.vue | 274 ------------------ frontend/pages/infrastructure/building.vue | 194 +++++++++++++ frontend/services/dto/building-layout-data.ts | 11 + 3 files changed, 205 insertions(+), 274 deletions(-) delete mode 100644 frontend/pages/infrastructure/batiment.vue create mode 100644 frontend/pages/infrastructure/building.vue diff --git a/frontend/pages/infrastructure/batiment.vue b/frontend/pages/infrastructure/batiment.vue deleted file mode 100644 index 2b1a424..0000000 --- a/frontend/pages/infrastructure/batiment.vue +++ /dev/null @@ -1,274 +0,0 @@ - - - diff --git a/frontend/pages/infrastructure/building.vue b/frontend/pages/infrastructure/building.vue new file mode 100644 index 0000000..503b50d --- /dev/null +++ b/frontend/pages/infrastructure/building.vue @@ -0,0 +1,194 @@ + + + diff --git a/frontend/services/dto/building-layout-data.ts b/frontend/services/dto/building-layout-data.ts index f9a2661..73e9de4 100644 --- a/frontend/services/dto/building-layout-data.ts +++ b/frontend/services/dto/building-layout-data.ts @@ -7,3 +7,14 @@ export interface BuildingLayoutData { rows: number | null casePositions?: BuildingCasePositionData[] | null } +export type LayoutCell = { + key: string + isEmpty: boolean + caseId: number | null + display: string + caseStatusId: number | null + caseStatusLabel: string | null + caseStyle?: Record + spanStyle: Record + baseClass: string +}