mirror of
https://github.com/IRBorisov/ConceptPortal.git
synced 2025-06-26 13:00:39 +03:00
This commit is contained in:
parent
99ed81bba2
commit
0e8e6487da
|
@ -64,6 +64,7 @@ export { IoLibrary as IconLibrary2 } from 'react-icons/io5';
|
|||
export { BiDiamond as IconTemplates } from 'react-icons/bi';
|
||||
export { TbHexagons as IconOSS } from 'react-icons/tb';
|
||||
export { TbHexagon as IconRSForm } from 'react-icons/tb';
|
||||
export { TbTopologyRing as IconConsolidation } from 'react-icons/tb';
|
||||
export { GrInherit as IconChild } from 'react-icons/gr';
|
||||
export { RiParentLine as IconParent } from 'react-icons/ri';
|
||||
export { BiSpa as IconPredecessor } from 'react-icons/bi';
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import { Handle, Position } from 'reactflow';
|
||||
|
||||
import { IconAlert, IconRSForm } from '@/components/Icons';
|
||||
import { IconConsolidation, IconRSForm } from '@/components/Icons';
|
||||
import TooltipOperation from '@/components/info/TooltipOperation';
|
||||
import MiniButton from '@/components/ui/MiniButton.tsx';
|
||||
import Overlay from '@/components/ui/Overlay';
|
||||
|
@ -39,11 +39,11 @@ function OperationNode(node: OssNodeInternal) {
|
|||
/>
|
||||
{node.data.operation.is_consolidation ? (
|
||||
<MiniButton
|
||||
icon={<IconAlert className='clr-text-primary' size='0.6rem' />}
|
||||
icon={<IconConsolidation className='clr-text-primary' size='0.6rem' />}
|
||||
disabled
|
||||
noPadding
|
||||
noHover
|
||||
title='Внимание! Ромбовидный синтез'
|
||||
titleHtml='<b>Внимание!</b><br />Ромбовидный синтез</br/>Возможны дубликаты конституент'
|
||||
hideTitle={!controller.showTooltip}
|
||||
/>
|
||||
) : null}
|
||||
|
|
|
@ -124,7 +124,11 @@ function MenuOssTabs({ onDestroy }: MenuOssTabsProps) {
|
|||
onClick={editMenu.toggle}
|
||||
/>
|
||||
<Dropdown isOpen={editMenu.isOpen}>
|
||||
<div>операции над ОСС</div>
|
||||
<DropdownButton
|
||||
text='см. Граф синтеза'
|
||||
titleHtml='Редактирование доступно <br/>через Граф синтеза'
|
||||
disabled
|
||||
/>
|
||||
</Dropdown>
|
||||
</div>
|
||||
) : null}
|
||||
|
|
Loading…
Reference in New Issue
Block a user