|
|
|
|
@ -15,7 +15,7 @@ import {
|
|
|
|
|
// CommandLineIcon as CommandLineSolidIcon,
|
|
|
|
|
DocumentTextIcon as DocumentTextSolidIcon,
|
|
|
|
|
} from '@heroicons/react/24/solid'
|
|
|
|
|
import { RiApps2AddLine, RiInformation2Line } from '@remixicon/react'
|
|
|
|
|
import { RiApps2AddLine, RiBookOpenLine, RiInformation2Line } from '@remixicon/react'
|
|
|
|
|
import s from './style.module.css'
|
|
|
|
|
import classNames from '@/utils/classnames'
|
|
|
|
|
import { fetchDatasetDetail, fetchDatasetRelatedApps } from '@/service/datasets'
|
|
|
|
|
@ -58,13 +58,6 @@ const TargetSolidIcon = ({ className }: SVGProps<SVGElement>) => {
|
|
|
|
|
</svg>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
const BookOpenIcon = ({ className }: SVGProps<SVGElement>) => {
|
|
|
|
|
return <svg width="12" height="12" viewBox="0 0 12 12" fill="none" xmlns="http://www.w3.org/2000/svg" className={className ?? ''}>
|
|
|
|
|
<path opacity="0.12" d="M1 3.1C1 2.53995 1 2.25992 1.10899 2.04601C1.20487 1.85785 1.35785 1.70487 1.54601 1.60899C1.75992 1.5 2.03995 1.5 2.6 1.5H2.8C3.9201 1.5 4.48016 1.5 4.90798 1.71799C5.28431 1.90973 5.59027 2.21569 5.78201 2.59202C6 3.01984 6 3.5799 6 4.7V10.5L5.94997 10.425C5.60265 9.90398 5.42899 9.64349 5.19955 9.45491C4.99643 9.28796 4.76238 9.1627 4.5108 9.0863C4.22663 9 3.91355 9 3.28741 9H2.6C2.03995 9 1.75992 9 1.54601 8.89101C1.35785 8.79513 1.20487 8.64215 1.10899 8.45399C1 8.24008 1 7.96005 1 7.4V3.1Z" fill="#155EEF" />
|
|
|
|
|
<path d="M6 10.5L5.94997 10.425C5.60265 9.90398 5.42899 9.64349 5.19955 9.45491C4.99643 9.28796 4.76238 9.1627 4.5108 9.0863C4.22663 9 3.91355 9 3.28741 9H2.6C2.03995 9 1.75992 9 1.54601 8.89101C1.35785 8.79513 1.20487 8.64215 1.10899 8.45399C1 8.24008 1 7.96005 1 7.4V3.1C1 2.53995 1 2.25992 1.10899 2.04601C1.20487 1.85785 1.35785 1.70487 1.54601 1.60899C1.75992 1.5 2.03995 1.5 2.6 1.5H2.8C3.9201 1.5 4.48016 1.5 4.90798 1.71799C5.28431 1.90973 5.59027 2.21569 5.78201 2.59202C6 3.01984 6 3.5799 6 4.7M6 10.5V4.7M6 10.5L6.05003 10.425C6.39735 9.90398 6.57101 9.64349 6.80045 9.45491C7.00357 9.28796 7.23762 9.1627 7.4892 9.0863C7.77337 9 8.08645 9 8.71259 9H9.4C9.96005 9 10.2401 9 10.454 8.89101C10.6422 8.79513 10.7951 8.64215 10.891 8.45399C11 8.24008 11 7.96005 11 7.4V3.1C11 2.53995 11 2.25992 10.891 2.04601C10.7951 1.85785 10.6422 1.70487 10.454 1.60899C10.2401 1.5 9.96005 1.5 9.4 1.5H9.2C8.07989 1.5 7.51984 1.5 7.09202 1.71799C6.71569 1.90973 6.40973 2.21569 6.21799 2.59202C6 3.01984 6 3.5799 6 4.7" stroke="#155EEF" strokeLinecap="round" strokeLinejoin="round" />
|
|
|
|
|
</svg>
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
type IExtraInfoProps = {
|
|
|
|
|
isMobile: boolean
|
|
|
|
|
relatedApps?: RelatedAppResponse
|
|
|
|
|
@ -131,7 +124,7 @@ const ExtraInfo = ({ isMobile, relatedApps, expand }: IExtraInfoProps) => {
|
|
|
|
|
}
|
|
|
|
|
target='_blank' rel='noopener noreferrer'
|
|
|
|
|
>
|
|
|
|
|
<BookOpenIcon className='mr-1' />
|
|
|
|
|
<RiBookOpenLine className='mr-1 text-text-accent' />
|
|
|
|
|
{t('common.datasetMenus.viewDoc')}
|
|
|
|
|
</a>
|
|
|
|
|
</div>
|
|
|
|
|
|