This commit is contained in:
2026-11-02 20:31:15 +02:00
parent 8ddfa93f45
commit 1da273f1f3
131 changed files with 14802 additions and 526 deletions
@@ -1,9 +1,7 @@
import { Link, router } from '@inertiajs/react';
import { useState } from 'react';
import TerritoryGeometryPreview from '@/components/territory-geometry-preview';
import InteractiveInvestmentMap, {
type InvestmentMapFeature,
} from '@/components/interactive-investment-map';
import TerritorialMap from '@/components/catalogue-investment-map';
import type { InvestmentMapFeature } from '@/components/interactive-investment-map';
import {
Frame,
Field,
@@ -159,8 +157,9 @@ export default function Catalogue(
vários locais dos membros; estes pontos não confirmam a
implantação da parceria.
</p>
<InteractiveInvestmentMap points={p.mapPoints} />
<TerritoryGeometryPreview
<TerritorialMap
points={p.mapPoints}
mapKind="documented_locations"
territoryId={p.filters.territory_id}
/>
{!p.mapPoints.length && (
+1 -1
View File
@@ -78,7 +78,7 @@ function Editor(p: Props) {
/>
</Field>
<div className="grid gap-5 md:grid-cols-2">
<Field label="Participação">
<Field label="Organização que representa (opcional)">
<select
className={control}
value={form.data.organization_id}