mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 21:00:58 +03:00
- fixed new files that should be .jsx
This commit is contained in:
+15
-15
@@ -19,19 +19,19 @@ import {
|
|||||||
Typography
|
Typography
|
||||||
} from '@mui/material'
|
} from '@mui/material'
|
||||||
|
|
||||||
import { CheckboxInput } from 'ui-component/checkbox/Checkbox'
|
import { CheckboxInput } from '@/ui-component/checkbox/Checkbox'
|
||||||
import { BackdropLoader } from 'ui-component/loading/BackdropLoader'
|
import { BackdropLoader } from '@/ui-component/loading/BackdropLoader'
|
||||||
import { TableViewOnly } from 'ui-component/table/Table'
|
import { TableViewOnly } from '@/ui-component/table/Table'
|
||||||
|
|
||||||
import { IconX } from '@tabler/icons'
|
import { IconX } from '@tabler/icons'
|
||||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
||||||
import pythonSVG from 'assets/images/python.svg'
|
import pythonSVG from '@/assets/images/python.svg'
|
||||||
import javascriptSVG from 'assets/images/javascript.svg'
|
import javascriptSVG from '@/assets/images/javascript.svg'
|
||||||
import cURLSVG from 'assets/images/cURL.svg'
|
import cURLSVG from '@/assets/images/cURL.svg'
|
||||||
|
|
||||||
import useApi from 'hooks/useApi'
|
import useApi from '@/hooks/useApi'
|
||||||
import configApi from 'api/config'
|
import configApi from '@/api/config'
|
||||||
import vectorstoreApi from 'api/vectorstore'
|
import vectorstoreApi from '@/api/vectorstore'
|
||||||
|
|
||||||
// Utils
|
// Utils
|
||||||
import {
|
import {
|
||||||
@@ -41,14 +41,14 @@ import {
|
|||||||
getConfigExamplesForJS,
|
getConfigExamplesForJS,
|
||||||
getConfigExamplesForPython,
|
getConfigExamplesForPython,
|
||||||
getConfigExamplesForCurl
|
getConfigExamplesForCurl
|
||||||
} from 'utils/genericHelper'
|
} from '@/utils/genericHelper'
|
||||||
import useNotifier from 'utils/useNotifier'
|
import useNotifier from '@/utils/useNotifier'
|
||||||
|
|
||||||
// Store
|
// Store
|
||||||
import { flowContext } from 'store/context/ReactFlowContext'
|
import { flowContext } from '@/store/context/ReactFlowContext'
|
||||||
import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from 'store/actions'
|
import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
|
||||||
import { baseURL } from 'store/constant'
|
import { baseURL } from '@/store/constant'
|
||||||
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from 'store/actions'
|
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions'
|
||||||
|
|
||||||
function TabPanel(props) {
|
function TabPanel(props) {
|
||||||
const { children, value, index, ...other } = props
|
const { children, value, index, ...other } = props
|
||||||
+4
-4
@@ -6,17 +6,17 @@ import { Button } from '@mui/material'
|
|||||||
import { IconDatabaseImport, IconX } from '@tabler/icons'
|
import { IconDatabaseImport, IconX } from '@tabler/icons'
|
||||||
|
|
||||||
// project import
|
// project import
|
||||||
import { StyledFab } from 'ui-component/button/StyledFab'
|
import { StyledFab } from '@/ui-component/button/StyledFab'
|
||||||
import VectorStoreDialog from './VectorStoreDialog'
|
import VectorStoreDialog from './VectorStoreDialog'
|
||||||
|
|
||||||
// api
|
// api
|
||||||
import vectorstoreApi from 'api/vectorstore'
|
import vectorstoreApi from '@/api/vectorstore'
|
||||||
|
|
||||||
// Hooks
|
// Hooks
|
||||||
import useNotifier from 'utils/useNotifier'
|
import useNotifier from '@/utils/useNotifier'
|
||||||
|
|
||||||
// Const
|
// Const
|
||||||
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from 'store/actions'
|
import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackbarAction } from '@/store/actions'
|
||||||
|
|
||||||
export const VectorStorePopUp = ({ chatflowid }) => {
|
export const VectorStorePopUp = ({ chatflowid }) => {
|
||||||
const dispatch = useDispatch()
|
const dispatch = useDispatch()
|
||||||
Reference in New Issue
Block a user