diff --git a/rsconcept/frontend/src/dialogs/DlgConstituentaTemplate/ArgumentsTab.tsx b/rsconcept/frontend/src/dialogs/DlgConstituentaTemplate/ArgumentsTab.tsx
index 807dfe6f..de4a5ae5 100644
--- a/rsconcept/frontend/src/dialogs/DlgConstituentaTemplate/ArgumentsTab.tsx
+++ b/rsconcept/frontend/src/dialogs/DlgConstituentaTemplate/ArgumentsTab.tsx
@@ -110,7 +110,14 @@ function ArgumentsTab({ state, schema, partialUpdate }: ArgumentsTabProps) {
header: 'Типизация',
enableHiding: true,
cell: props => (
-
{props.getValue()}
+
+ {props.getValue()}
+
)
}),
argumentsHelper.display({
@@ -123,7 +130,7 @@ function ArgumentsTab({ state, schema, partialUpdate }: ArgumentsTabProps) {
{props.row.original.value ? (
}
+ icon={
}
noHover
onClick={() => handleClearArgument(props.row.original)}
/>
@@ -150,7 +157,13 @@ function ArgumentsTab({ state, schema, partialUpdate }: ArgumentsTabProps) {
-
+
}
+ icon={}
disabled={!argumentValue || !selectedArgument}
onClick={() => handleAssignArgument(selectedArgument!, argumentValue)}
/>
@@ -183,12 +202,12 @@ function ArgumentsTab({ state, schema, partialUpdate }: ArgumentsTabProps) {
title='Откатить значение'
disabled={!isModified}
onClick={handleReset}
- icon={}
+ icon={}
/>
}
+ icon={}
onClick={() => (selectedArgument ? handleClearArgument(selectedArgument) : undefined)}
/>
diff --git a/rsconcept/frontend/src/dialogs/DlgEditWordForms/DlgEditWordForms.tsx b/rsconcept/frontend/src/dialogs/DlgEditWordForms/DlgEditWordForms.tsx
index a65da25c..c7c8c67a 100644
--- a/rsconcept/frontend/src/dialogs/DlgEditWordForms/DlgEditWordForms.tsx
+++ b/rsconcept/frontend/src/dialogs/DlgEditWordForms/DlgEditWordForms.tsx
@@ -158,14 +158,14 @@ function DlgEditWordForms({ hideWindow, target, onSave }: DlgEditWordFormsProps)
}
+ icon={
}
disabled={textProcessor.loading || !inputText}
onClick={handleParse}
/>
}
+ icon={
}
disabled={textProcessor.loading || inputGrams.length == 0}
onClick={handleInflect}
/>
@@ -182,14 +182,14 @@ function DlgEditWordForms({ hideWindow, target, onSave }: DlgEditWordFormsProps)
}
+ icon={
}
disabled={textProcessor.loading || !inputText || inputGrams.length == 0}
onClick={handleAddForm}
/>
}
+ icon={
}
disabled={textProcessor.loading || !inputText}
onClick={handleGenerateLexeme}
/>
@@ -200,7 +200,7 @@ function DlgEditWordForms({ hideWindow, target, onSave }: DlgEditWordFormsProps)
}
+ icon={
}
disabled={textProcessor.loading || forms.length === 0}
onClick={handleResetAll}
/>
diff --git a/rsconcept/frontend/src/dialogs/DlgSubstituteCst.tsx b/rsconcept/frontend/src/dialogs/DlgSubstituteCst.tsx
index ad6e946f..be5082c0 100644
--- a/rsconcept/frontend/src/dialogs/DlgSubstituteCst.tsx
+++ b/rsconcept/frontend/src/dialogs/DlgSubstituteCst.tsx
@@ -50,9 +50,9 @@ function DlgSubstituteCst({ hideWindow, onSubstitute }: DlgSubstituteCstProps) {
-
-
-
+
+
+
diff --git a/rsconcept/frontend/src/pages/CreateRSFormPage.tsx b/rsconcept/frontend/src/pages/CreateRSFormPage.tsx
index 4b4135ee..8aa51030 100644
--- a/rsconcept/frontend/src/pages/CreateRSFormPage.tsx
+++ b/rsconcept/frontend/src/pages/CreateRSFormPage.tsx
@@ -93,7 +93,7 @@ function CreateRSFormPage() {
/>
}
+ icon={}
onClick={() => inputRef.current?.click()}
/>
diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ConstituentaToolbar.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ConstituentaToolbar.tsx
index 327b0de6..067aaa75 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ConstituentaToolbar.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ConstituentaToolbar.tsx
@@ -55,7 +55,7 @@ function ConstituentaToolbar({
/>
}
/>
diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ControlsOverlay.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ControlsOverlay.tsx
index 739d5ae7..eeafc0e0 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ControlsOverlay.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta/ControlsOverlay.tsx
@@ -7,16 +7,17 @@ import { IConstituenta } from '@/models/rsform';
interface ControlsOverlayProps {
constituenta?: IConstituenta;
- isMutable?: boolean;
+ isMutable: boolean;
+ processing: boolean;
onRename: () => void;
onEditTerm: () => void;
}
-function ControlsOverlay({ constituenta, isMutable, onRename, onEditTerm }: ControlsOverlayProps) {
+function ControlsOverlay({ constituenta, isMutable, processing, onRename, onEditTerm }: ControlsOverlayProps) {
return (
- {isMutable ? (
+ {isMutable || processing ? (
Имя
{constituenta?.alias ?? ''}
- {isMutable ? (
+ {isMutable || processing ? (
- {controller.isContentEditable ? (
+ {controller.isContentEditable || controller.isProcessing ? (
-
+
}
disabled={!controller.isMutable || nothingSelected}
onClick={controller.deleteCst}
/>
diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/EditorTermGraph.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/EditorTermGraph.tsx
index 218d94d9..0c75048b 100644
--- a/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/EditorTermGraph.tsx
+++ b/rsconcept/frontend/src/pages/RSFormPage/EditorTermGraph/EditorTermGraph.tsx
@@ -195,7 +195,6 @@ function EditorTermGraph({ selected, setSelected, onOpenEdit }: EditorTermGraphP
/>