From 38bbf04de680968e0f0c6e3aec27359091159fc7 Mon Sep 17 00:00:00 2001
From: IRBorisov <8611739+IRBorisov@users.noreply.github.com>
Date: Thu, 21 Mar 2024 17:48:42 +0300
Subject: [PATCH] Implementing inline synthesis pt3. Frontend done
---
.../select/ConstituentaMultiPicker.tsx | 4 +-
.../select/ConstituentaSelector.tsx | 9 +-
.../DlgInlineSynthesis/ConstituentsTab.tsx | 2 +-
.../DlgInlineSynthesis/DlgInlineSynthesis.tsx | 19 ++-
.../dialogs/DlgInlineSynthesis/SchemaTab.tsx | 6 +-
.../DlgInlineSynthesis/SubstitutionsTab.tsx | 159 +++++++++++++++++-
.../DlgInlineSynthesis/SubstitutionsTable.tsx | 130 ++++++++++++++
.../frontend/src/dialogs/DlgSubstituteCst.tsx | 16 +-
rsconcept/frontend/src/models/rsform.ts | 10 ++
rsconcept/frontend/src/utils/constants.ts | 3 +-
10 files changed, 333 insertions(+), 25 deletions(-)
create mode 100644 rsconcept/frontend/src/dialogs/DlgInlineSynthesis/SubstitutionsTable.tsx
diff --git a/rsconcept/frontend/src/components/select/ConstituentaMultiPicker.tsx b/rsconcept/frontend/src/components/select/ConstituentaMultiPicker.tsx
index d4d747d0..505151fc 100644
--- a/rsconcept/frontend/src/components/select/ConstituentaMultiPicker.tsx
+++ b/rsconcept/frontend/src/components/select/ConstituentaMultiPicker.tsx
@@ -94,11 +94,11 @@ function ConstituentaMultiPicker({ id, schema, prefixID, rows, selected, setSele
return (
-
+
Выбраны {selected.length} из {schema?.items.length ?? 0}
-
+