diff --git a/rsconcept/frontend/src/components/Icons.tsx b/rsconcept/frontend/src/components/Icons.tsx index 7b765df4..6a8f7cf3 100644 --- a/rsconcept/frontend/src/components/Icons.tsx +++ b/rsconcept/frontend/src/components/Icons.tsx @@ -327,6 +327,38 @@ export function ArrowsRotateIcon(props: IconProps) { ); } +export function ArrowsFocusIcon(props: IconProps) { + return ( + + + + ); +} + +export function LetterAIcon(props: IconProps) { + return ( + + + + ); +} + +export function LetterALinesIcon(props: IconProps) { + return ( + + + + ); +} + +export function PlanetIcon(props: IconProps) { + return ( + + + + ); +} + export function SaveIcon(props: IconProps) { return ( diff --git a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx index e2ad4e2f..1a199289 100644 --- a/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx +++ b/rsconcept/frontend/src/pages/RSFormPage/EditorConstituenta.tsx @@ -256,7 +256,7 @@ function EditorConstituenta({ spellCheck onChange={event => setConvention(event.target.value)} /> - + { - return 'calc(100vw - 14.6rem)'; + return 'calc(100vw - 1.1rem)'; }, []); const canvasHeight = useMemo( @@ -374,8 +372,25 @@ function EditorTermGraph({ onOpenEdit, onCreateCst, onDeleteCst }: EditorTermGra onConfirm={handleChangeOptions} />} + { allSelected.length > 0 && + + + Выбор {allSelected.length} из {schema?.stats?.count_all ?? 0} + + } + + } + onClick={() => setShowOptions(true)} + /> + : } + onClick={() => setNoTerms(prev => !prev)} + /> } @@ -389,48 +404,40 @@ function EditorTermGraph({ onOpenEdit, onCreateCst, onDeleteCst }: EditorTermGra onClick={handleDeleteCst} /> } + icon={} tooltip='Восстановить камеру' onClick={handleResetViewpoint} /> + } + tooltip='Анимация вращения' + disabled={!is3D} + onClick={() => setOrbit(prev => !prev) } + /> + + + + + - - - - - - - - - - {hoverCst && - - - } - - - - Выбор {allSelected.length} из {schema?.stats?.count_all ?? 0} - - - - } - dense - tooltip='Настройки фильтрации узлов и связей' - dimensions='min-h-[2.3rem] min-w-[2.3rem]' - onClick={() => setShowOptions(true)} - /> + {hoverCst && + + + } + + + + + handleChangeLayout(data?.value ?? SelectorGraphLayout[0].value)} /> - - setNoTerms(value) } - /> - setNoTransitive(value) } - /> - setOrbit(value) } - /> - {dismissed.length > 0 && - + Скрытые конституенты {dismissed.map(cstID => { @@ -494,8 +483,10 @@ function EditorTermGraph({ onOpenEdit, onCreateCst, onDeleteCst }: EditorTermGra })} } - - + + + + - >); }
Скрытые конституенты