Migrate grateWizard from React/Next.js to native Nuxt integration

- Port all React components to Vue 3 (GwTabs, GwMN, GwCRA, GwCRS,
  GwMap, GwRelations, GwPerimeterList)
- Port hooks to Vue composables (useCesiumProfiles, useSavedPerimeters)
- Copy pure TS services and utils (duniter/, ss58, gratewizard utils)
- Add Leaflet + Geoman + MarkerCluster dependencies
- Serve grateWizard as popup via /gratewizard?popup (layout: false)
  and info page on /gratewizard (with Librodrome layout)
- Remove public/gratewizard-app/ static Next.js export
- Refine UI: compact tabs, buttons, inputs, cards, perimeter list
- Use Ğ1 breve everywhere, French locale for all dates and amounts
- Rename roles: vendeur→offre / acheteur→reçoit le produit ou service
- Rename prix→évaluation in all visible text
- Add calculated result column in CRA and CRS relation tables
- DU/Ğ1 selector uses toggle switch (same as role toggle)
- Auto-scroll to monetary data card on polygon selection

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Yvv
2026-02-21 15:33:01 +01:00
parent 524c7a0fc2
commit 2b5543791f
93 changed files with 2186 additions and 585 deletions

View File

@@ -1,8 +1,8 @@
kicker: Prochain projet
title: GrateWizard
title: grateWizard
description: Un outil de calcul de coefficients relatifs pour estimer les valeurs dans une économie du don.
meta:
title: GrateWizard — Coefficients relatifs
title: grateWizard — Coefficients relatifs
features:
- icon: clock
title: Ancienneté
@@ -15,8 +15,8 @@ features:
title: Moyenne (M / N)
description: Obtenir l'indicateur M/N dans un bassin de vie ou un périmètre qui fait sens pour vous.
- icon: heart-handshake
title: Prix juste
title: Évaluation juste
description: La formule P' = (1-d) × P + d × P × ratio permet de doser la part du don dans chaque échange.
cta:
note: Le prototype est disponible en tant qu'application autonome.
label: Lancer GrateWizard
label: Lancer grateWizard