|
|
|
|
@ -23,7 +23,7 @@ import { DataSourceType, ProcessMode } from '@/models/datasets'
|
|
|
|
|
import IndexFailed from '@/app/components/datasets/common/document-status-with-action/index-failed'
|
|
|
|
|
import { useProviderContext } from '@/context/provider-context'
|
|
|
|
|
import cn from '@/utils/classnames'
|
|
|
|
|
import { useDocumentList, useInvalidDocumentList } from '@/service/knowledge/use-document'
|
|
|
|
|
import { useDocumentList, useInvalidDocumentDetailKey, useInvalidDocumentList } from '@/service/knowledge/use-document'
|
|
|
|
|
import { useInvalid } from '@/service/use-base'
|
|
|
|
|
import { useChildSegmentListKey, useSegmentListKey } from '@/service/knowledge/use-segment'
|
|
|
|
|
import useDocumentListQueryState from './hooks/use-document-list-query-state'
|
|
|
|
|
@ -32,7 +32,6 @@ import DatasetMetadataDrawer from '../metadata/metadata-dataset/dataset-metadata
|
|
|
|
|
import StatusWithAction from '../common/document-status-with-action/status-with-action'
|
|
|
|
|
import { useDocLink } from '@/context/i18n'
|
|
|
|
|
import { useFetchDefaultProcessRule } from '@/service/knowledge/use-create-dataset'
|
|
|
|
|
import { useInvalidDocumentDetailKey } from '@/service/knowledge/use-document'
|
|
|
|
|
|
|
|
|
|
const FolderPlusIcon = ({ className }: React.SVGProps<SVGElement>) => {
|
|
|
|
|
return <svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg" className={className ?? ''}>
|
|
|
|
|
|