+ {descriptor.title && (
+
{descriptor.title}
+ )}
+
+
+ {tables.map((t) => {
+ const on = enacted.has(t.id);
+ const count = selected.get(t.id)?.size ?? 0;
+ return (
+
+
+
toggleEnact(t.id)}
+ aria-label={t.name}
+ />
+
+
+ {t.name}
+ {t.kind === "promote" ? "Promuovi" : "Escludi"}
+
+ {t.description &&
{t.description}
}
+ {t.rationale &&
{t.rationale}
}
+
+
+
+
+ );
+ })}
+
+
+ {openTable && (
+
toggleColumn(openTable.id, c)}
+ onClose={() => setOpenId(null)}
+ />
+ )}
+
+
+
+
+
+ onRespond({ id: descriptor.id, control: c, ...(t !== undefined ? { text: t } : {}) })}
+ />
+
+ );
+}