import './styles.scss'; import { ExclamationCircleOutlined, PlusOutlined } from '@ant-design/icons'; import { Card, Modal, Table, Typography } from 'antd'; import { ExpandableConfig } from 'antd/es/table/interface'; import logEvent from 'api/common/logEvent'; import savePipeline from 'api/pipeline/post'; import useAnalytics from 'hooks/analytics/useAnalytics'; import { useNotifications } from 'hooks/useNotifications'; import { isUndefined } from 'lodash-es'; import cloneDeep from 'lodash-es/cloneDeep'; import React, { useCallback, useEffect, useMemo, useRef, useState, } from 'react'; import { DndProvider } from 'react-dnd'; import { HTML5Backend } from 'react-dnd-html5-backend'; import { useTranslation } from 'react-i18next'; import { ActionMode, ActionType, Pipeline, PipelineData, ProcessorData, } from 'types/api/pipeline/def'; import { v4 } from 'uuid'; import { tableComponents } from '../config'; import PipelinesSearchSection from '../Layouts/Pipeline/PipelinesSearchSection'; import AddNewPipeline from './AddNewPipeline'; import AddNewProcessor from './AddNewProcessor'; import { pipelineColumns } from './config'; import ModeAndConfiguration from './ModeAndConfiguration'; import PipelineExpanView from './PipelineExpandView'; import SaveConfigButton from './SaveConfigButton'; import { AlertContentWrapper, AlertModalTitle, Container, FooterButton, } from './styles'; import DragAction from './TableComponents/DragAction'; import PipelineActions from './TableComponents/PipelineActions'; import PreviewAction from './TableComponents/PipelineActions/components/PreviewAction'; import TableExpandIcon from './TableComponents/TableExpandIcon'; import { getDataOnSearch, getEditedDataSource, getElementFromArray, getRecordIndex, getTableColumn, getUpdatedRow, } from './utils'; function PipelinesListEmptyState(): JSX.Element { const { t } = useTranslation(['pipeline']); return (