{"version":3,"file":"ChatActionsBar.mjs","names":[],"sources":["../../../../src/chat/ChatList/components/ChatActionsBar.tsx"],"sourcesContent":["import { type FC } from 'react';\n\nimport ActionIconGroup from '@/ActionIconGroup';\n\nimport type { ChatActionsBarProps } from '../type';\nimport { useChatListActionsBar } from './useChatListActionsBar';\n\nconst ChatActionsBar: FC<ChatActionsBarProps> = ({ text, ref, ...rest }) => {\n  const { regenerate, edit, copy, divider, del } = useChatListActionsBar(text);\n  return (\n    <ActionIconGroup\n      items={[regenerate, edit]}\n      menu={[edit, copy, regenerate, divider, del]}\n      ref={ref}\n      {...rest}\n    />\n  );\n};\n\nexport default ChatActionsBar;\n"],"mappings":";;;;AAOA,MAAM,kBAA2C,EAAE,MAAM,KAAK,GAAG,WAAW;CAC1E,MAAM,EAAE,YAAY,MAAM,MAAM,SAAS,QAAQ,sBAAsB,KAAK;AAC5E,QACE,oBAAC,iBAAD;EACE,OAAO,CAAC,YAAY,KAAK;EACzB,MAAM;GAAC;GAAM;GAAM;GAAY;GAAS;GAAI;EACvC;EACL,GAAI;EACJ,CAAA"}