Use tabler icons react instead of tabler icons package (#2389)
* Use tabler icons react instead of tabler icons package * Update package.json --------- Co-authored-by: Octavian Cioaca <devtools@domselardi.com>
This commit is contained in:
parent
32ad3b1366
commit
cb0eb67df0
|
|
@ -18,7 +18,7 @@
|
|||
"@mui/lab": "5.0.0-alpha.156",
|
||||
"@mui/material": "5.15.0",
|
||||
"@mui/x-data-grid": "6.8.0",
|
||||
"@tabler/icons": "^1.39.1",
|
||||
"@tabler/icons-react": "^3.3.0",
|
||||
"@uiw/codemirror-theme-sublime": "^4.21.21",
|
||||
"@uiw/codemirror-theme-vscode": "^4.21.21",
|
||||
"@uiw/react-codemirror": "^4.21.21",
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import PropTypes from 'prop-types'
|
||||
|
||||
import { Box, Card, IconButton, Stack, Typography, useTheme } from '@mui/material'
|
||||
import { IconCopy } from '@tabler/icons'
|
||||
import { IconCopy } from '@tabler/icons-react'
|
||||
|
||||
const ErrorBoundary = ({ error }) => {
|
||||
const theme = useTheme()
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ import Transitions from '@/ui-component/extended/Transitions'
|
|||
import AboutDialog from '@/ui-component/dialog/AboutDialog'
|
||||
|
||||
// assets
|
||||
import { IconLogout, IconSettings, IconInfoCircle } from '@tabler/icons'
|
||||
import { IconLogout, IconSettings, IconInfoCircle } from '@tabler/icons-react'
|
||||
|
||||
import './index.css'
|
||||
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ import LogoSection from '../LogoSection'
|
|||
import ProfileSection from './ProfileSection'
|
||||
|
||||
// assets
|
||||
import { IconMenu2 } from '@tabler/icons'
|
||||
import { IconMenu2 } from '@tabler/icons-react'
|
||||
|
||||
// store
|
||||
import { SET_DARKMODE } from '@/store/actions'
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import NavItem from '../NavItem'
|
|||
|
||||
// assets
|
||||
import FiberManualRecordIcon from '@mui/icons-material/FiberManualRecord'
|
||||
import { IconChevronDown, IconChevronUp } from '@tabler/icons'
|
||||
import { IconChevronDown, IconChevronUp } from '@tabler/icons-react'
|
||||
|
||||
// ==============================|| SIDEBAR MENU LIST COLLAPSE ITEMS ||============================== //
|
||||
|
||||
|
|
|
|||
|
|
@ -6,7 +6,7 @@ import { useTheme } from '@mui/material/styles'
|
|||
import { StyledFab } from '@/ui-component/button/StyledFab'
|
||||
|
||||
// icons
|
||||
import { IconSearch, IconArrowLeft, IconEdit } from '@tabler/icons'
|
||||
import { IconSearch, IconArrowLeft, IconEdit } from '@tabler/icons-react'
|
||||
|
||||
const ViewHeader = ({
|
||||
children,
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
// assets
|
||||
import { IconHierarchy, IconBuildingStore, IconKey, IconTool, IconLock, IconRobot, IconVariable, IconFiles } from '@tabler/icons'
|
||||
import { IconHierarchy, IconBuildingStore, IconKey, IconTool, IconLock, IconRobot, IconVariable, IconFiles } from '@tabler/icons-react'
|
||||
|
||||
// constant
|
||||
const icons = { IconHierarchy, IconBuildingStore, IconKey, IconTool, IconLock, IconRobot, IconVariable, IconFiles }
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import {
|
|||
IconDatabaseExport,
|
||||
IconAdjustmentsHorizontal,
|
||||
IconUsers
|
||||
} from '@tabler/icons'
|
||||
} from '@tabler/icons-react'
|
||||
|
||||
// constant
|
||||
const icons = {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import PropTypes from 'prop-types'
|
||||
import { useSelector } from 'react-redux'
|
||||
import { IconButton } from '@mui/material'
|
||||
import { IconClipboard } from '@tabler/icons'
|
||||
import { IconClipboard } from '@tabler/icons-react'
|
||||
|
||||
const CopyToClipboardButton = (props) => {
|
||||
const customization = useSelector((state) => state.customization)
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import VpnLockOutlinedIcon from '@mui/icons-material/VpnLockOutlined'
|
|||
import MicNoneOutlinedIcon from '@mui/icons-material/MicNoneOutlined'
|
||||
import Button from '@mui/material/Button'
|
||||
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
import chatflowsApi from '@/api/chatflows'
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import PropTypes from 'prop-types'
|
||||
import { useSelector } from 'react-redux'
|
||||
import { IconButton } from '@mui/material'
|
||||
import { IconThumbDown } from '@tabler/icons'
|
||||
import { IconThumbDown } from '@tabler/icons-react'
|
||||
|
||||
const ThumbsDownButton = (props) => {
|
||||
const customization = useSelector((state) => state.customization)
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import PropTypes from 'prop-types'
|
||||
import { useSelector } from 'react-redux'
|
||||
import { IconButton } from '@mui/material'
|
||||
import { IconThumbUp } from '@tabler/icons'
|
||||
import { IconThumbUp } from '@tabler/icons-react'
|
||||
|
||||
const ThumbsUpButton = (props) => {
|
||||
const customization = useSelector((state) => state.customization)
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useSelector } from 'react-redux'
|
|||
// material-ui
|
||||
import { styled } from '@mui/material/styles'
|
||||
import { Box, Grid, Typography, useTheme } from '@mui/material'
|
||||
import { IconVectorBezier2, IconLanguage, IconScissors } from '@tabler/icons'
|
||||
import { IconVectorBezier2, IconLanguage, IconScissors } from '@tabler/icons-react'
|
||||
|
||||
// project imports
|
||||
import MainCard from '@/ui-component/cards/MainCard'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import {
|
|||
Stack,
|
||||
Typography
|
||||
} from '@mui/material'
|
||||
import { IconEraser, IconTrash, IconX } from '@tabler/icons'
|
||||
import { IconEraser, IconTrash, IconX } from '@tabler/icons-react'
|
||||
import PerfectScrollbar from 'react-perfect-scrollbar'
|
||||
|
||||
import { BackdropLoader } from '@/ui-component/loading/BackdropLoader'
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import {
|
|||
OutlinedInput
|
||||
} from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconFileExport, IconSearch } from '@tabler/icons'
|
||||
import { IconFileExport, IconSearch } from '@tabler/icons-react'
|
||||
import leadsEmptySVG from '@/assets/images/leads_empty.svg'
|
||||
|
||||
// store
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ import DatePicker from 'react-datepicker'
|
|||
import robotPNG from '@/assets/images/robot.png'
|
||||
import userPNG from '@/assets/images/account.png'
|
||||
import msgEmptySVG from '@/assets/images/message_empty.svg'
|
||||
import { IconFileExport, IconEraser, IconX, IconDownload } from '@tabler/icons'
|
||||
import { IconFileExport, IconEraser, IconX, IconDownload } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import { MemoizedReactMarkdown } from '@/ui-component/markdown/MemoizedReactMarkdown'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackba
|
|||
|
||||
// material-ui
|
||||
import { Button, IconButton, OutlinedInput, Box, List, InputAdornment, Typography } from '@mui/material'
|
||||
import { IconX, IconTrash, IconPlus } from '@tabler/icons'
|
||||
import { IconX, IconTrash, IconPlus } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import {
|
|||
ListItemText
|
||||
} from '@mui/material'
|
||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import CredentialInputHandler from '@/views/canvas/CredentialInputHandler'
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import config from '@/config'
|
|||
import { gridSpacing } from '@/store/constant'
|
||||
|
||||
// assets
|
||||
import { IconTallymark1 } from '@tabler/icons'
|
||||
import { IconTallymark1 } from '@tabler/icons-react'
|
||||
import AccountTreeTwoToneIcon from '@mui/icons-material/AccountTreeTwoTone'
|
||||
import HomeIcon from '@mui/icons-material/Home'
|
||||
import HomeTwoToneIcon from '@mui/icons-material/HomeTwoTone'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import PropTypes from 'prop-types'
|
|||
|
||||
// material-ui
|
||||
import { Button, Box } from '@mui/material'
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import PropTypes from 'prop-types'
|
|||
|
||||
// material-ui
|
||||
import { Button, Box, OutlinedInput, Typography } from '@mui/material'
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
|
|
|||
|
|
@ -10,7 +10,7 @@ import { StyledButton } from '@/ui-component/button/StyledButton'
|
|||
import { TooltipWithParser } from '@/ui-component/tooltip/TooltipWithParser'
|
||||
|
||||
// Icons
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import chatflowsApi from '@/api/chatflows'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackba
|
|||
|
||||
// material-ui
|
||||
import { Typography, Box, Button, FormControl, ListItem, ListItemAvatar, ListItemText, MenuItem, Select } from '@mui/material'
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import CredentialInputHandler from '@/views/canvas/CredentialInputHandler'
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { enqueueSnackbar as enqueueSnackbarAction, closeSnackbar as closeSnackba
|
|||
|
||||
// material-ui
|
||||
import { Button, IconButton, OutlinedInput, Box, List, InputAdornment } from '@mui/material'
|
||||
import { IconX, IconTrash, IconPlus, IconBulb } from '@tabler/icons'
|
||||
import { IconX, IconTrash, IconPlus, IconBulb } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
|
|
|||
|
|
@ -2,7 +2,7 @@ import { useState } from 'react'
|
|||
import PropTypes from 'prop-types'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { FormControl, Button } from '@mui/material'
|
||||
import { IconUpload } from '@tabler/icons'
|
||||
import { IconUpload } from '@tabler/icons-react'
|
||||
import { getFileName } from '@/utils/genericHelper'
|
||||
|
||||
export const File = ({ value, formDataUpload, fileType, onChange, onFormDataChange, disabled = false }) => {
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import PropTypes from 'prop-types'
|
||||
import { useState, useCallback } from 'react'
|
||||
import { DataGrid as MUIDataGrid, GridActionsCellItem } from '@mui/x-data-grid'
|
||||
import { IconPlus } from '@tabler/icons'
|
||||
import { IconPlus } from '@tabler/icons-react'
|
||||
import { Button } from '@mui/material'
|
||||
import DeleteIcon from '@mui/icons-material/Delete'
|
||||
import { cloneDeep } from 'lodash'
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
import { IconClipboard, IconDownload } from '@tabler/icons'
|
||||
import { IconClipboard, IconDownload } from '@tabler/icons-react'
|
||||
import { memo, useState } from 'react'
|
||||
import { Prism as SyntaxHighlighter } from 'react-syntax-highlighter'
|
||||
import { oneDark } from 'react-syntax-highlighter/dist/esm/styles/prism'
|
||||
|
|
|
|||
|
|
@ -21,7 +21,7 @@ import { useTheme } from '@mui/material/styles'
|
|||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconCopy } from '@tabler/icons'
|
||||
import { IconX, IconCopy } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import apikeyApi from '@/api/apikey'
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ import useConfirm from '@/hooks/useConfirm'
|
|||
import useNotifier from '@/utils/useNotifier'
|
||||
|
||||
// Icons
|
||||
import { IconTrash, IconEdit, IconCopy, IconChevronsUp, IconChevronsDown, IconX, IconPlus, IconEye, IconEyeOff } from '@tabler/icons'
|
||||
import { IconTrash, IconEdit, IconCopy, IconChevronsUp, IconChevronsDown, IconX, IconPlus, IconEye, IconEyeOff } from '@tabler/icons-react'
|
||||
import APIEmptySVG from '@/assets/images/api_empty.svg'
|
||||
|
||||
// ==============================|| APIKey ||============================== //
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import DeleteConfirmDialog from './DeleteConfirmDialog'
|
|||
import AssistantVectorStoreDialog from './AssistantVectorStoreDialog'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconPlus } from '@tabler/icons'
|
||||
import { IconX, IconPlus } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import assistantsApi from '@/api/assistants'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import { Dropdown } from '@/ui-component/dropdown/Dropdown'
|
|||
import { BackdropLoader } from '@/ui-component/loading/BackdropLoader'
|
||||
|
||||
// Icons
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import assistantsApi from '@/api/assistants'
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@ import assistantsApi from '@/api/assistants'
|
|||
import useApi from '@/hooks/useApi'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconFileUpload } from '@tabler/icons'
|
||||
import { IconPlus, IconFileUpload } from '@tabler/icons-react'
|
||||
import ViewHeader from '@/layout/MainLayout/ViewHeader'
|
||||
import ErrorBoundary from '@/ErrorBoundary'
|
||||
|
||||
|
|
|
|||
|
|
@ -37,7 +37,7 @@ import Transitions from '@/ui-component/extended/Transitions'
|
|||
import { StyledFab } from '@/ui-component/button/StyledFab'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconSearch, IconMinus, IconX } from '@tabler/icons'
|
||||
import { IconPlus, IconSearch, IconMinus, IconX } from '@tabler/icons-react'
|
||||
import LlamaindexPNG from '@/assets/images/llamaindex.png'
|
||||
import LangChainPNG from '@/assets/images/langchain.png'
|
||||
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { useTheme } from '@mui/material/styles'
|
|||
import { Avatar, Box, ButtonBase, Typography, Stack, TextField } from '@mui/material'
|
||||
|
||||
// icons
|
||||
import { IconSettings, IconChevronLeft, IconDeviceFloppy, IconPencil, IconCheck, IconX, IconCode } from '@tabler/icons'
|
||||
import { IconSettings, IconChevronLeft, IconDeviceFloppy, IconPencil, IconCheck, IconX, IconCode } from '@tabler/icons-react'
|
||||
|
||||
// project imports
|
||||
import Settings from '@/views/settings'
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import NodeInfoDialog from '@/ui-component/dialog/NodeInfoDialog'
|
|||
|
||||
// const
|
||||
import { baseURL } from '@/store/constant'
|
||||
import { IconTrash, IconCopy, IconInfoCircle, IconAlertTriangle } from '@tabler/icons'
|
||||
import { IconTrash, IconCopy, IconInfoCircle, IconAlertTriangle } from '@tabler/icons-react'
|
||||
import { flowContext } from '@/store/context/ReactFlowContext'
|
||||
import LlamaindexPNG from '@/assets/images/llamaindex.png'
|
||||
|
||||
|
|
|
|||
|
|
@ -3,7 +3,7 @@ import { useEffect, useRef, useState } from 'react'
|
|||
|
||||
// material-ui
|
||||
import { IconButton } from '@mui/material'
|
||||
import { IconEdit } from '@tabler/icons'
|
||||
import { IconEdit } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { AsyncDropdown } from '@/ui-component/dropdown/AsyncDropdown'
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import { useTheme, styled } from '@mui/material/styles'
|
|||
import { Box, Typography, Tooltip, IconButton, Button } from '@mui/material'
|
||||
import IconAutoFixHigh from '@mui/icons-material/AutoFixHigh'
|
||||
import { tooltipClasses } from '@mui/material/Tooltip'
|
||||
import { IconArrowsMaximize, IconEdit, IconAlertTriangle } from '@tabler/icons'
|
||||
import { IconArrowsMaximize, IconEdit, IconAlertTriangle } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { Dropdown } from '@/ui-component/dropdown/Dropdown'
|
||||
|
|
|
|||
|
|
@ -9,7 +9,7 @@ import { useTheme } from '@mui/material/styles'
|
|||
import NodeCardWrapper from '@/ui-component/cards/NodeCardWrapper'
|
||||
import NodeTooltip from '@/ui-component/tooltip/NodeTooltip'
|
||||
import { IconButton, Box } from '@mui/material'
|
||||
import { IconCopy, IconTrash } from '@tabler/icons'
|
||||
import { IconCopy, IconTrash } from '@tabler/icons-react'
|
||||
import { Input } from '@/ui-component/input/Input'
|
||||
|
||||
// const
|
||||
|
|
|
|||
|
|
@ -38,7 +38,7 @@ import useApi from '@/hooks/useApi'
|
|||
import useConfirm from '@/hooks/useConfirm'
|
||||
|
||||
// icons
|
||||
import { IconX, IconRefreshAlert } from '@tabler/icons'
|
||||
import { IconX, IconRefreshAlert } from '@tabler/icons-react'
|
||||
|
||||
// utils
|
||||
import {
|
||||
|
|
|
|||
|
|
@ -35,7 +35,7 @@ import cURLSVG from '@/assets/images/cURL.svg'
|
|||
import EmbedSVG from '@/assets/images/embed.svg'
|
||||
import ShareChatbotSVG from '@/assets/images/sharing.png'
|
||||
import settingsSVG from '@/assets/images/settings.svg'
|
||||
import { IconBulb } from '@tabler/icons'
|
||||
import { IconBulb } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import apiKeyApi from '@/api/apikey'
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { StyledButton } from '@/ui-component/button/StyledButton'
|
|||
import { TooltipWithParser } from '@/ui-component/tooltip/TooltipWithParser'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconCopy, IconArrowUpRightCircle } from '@tabler/icons'
|
||||
import { IconX, IconCopy, IconArrowUpRightCircle } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import chatflowsApi from '@/api/chatflows'
|
||||
|
|
|
|||
|
|
@ -27,7 +27,7 @@ import useApi from '@/hooks/useApi'
|
|||
import { baseURL } from '@/store/constant'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconLayoutGrid, IconList } from '@tabler/icons'
|
||||
import { IconPlus, IconLayoutGrid, IconList } from '@tabler/icons-react'
|
||||
|
||||
// ==============================|| CHATFLOWS ||============================== //
|
||||
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ import { useSelector } from 'react-redux'
|
|||
import { Dialog, DialogContent, DialogTitle, Button } from '@mui/material'
|
||||
import { ChatMessage } from './ChatMessage'
|
||||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
import { IconEraser } from '@tabler/icons'
|
||||
import { IconEraser } from '@tabler/icons-react'
|
||||
|
||||
const ChatExpandDialog = ({ show, dialogProps, onClear, onCancel, previews, setPreviews }) => {
|
||||
const portalElement = document.getElementById('portal')
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import {
|
|||
Typography
|
||||
} from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconCircleDot, IconDownload, IconSend, IconMicrophone, IconPhotoPlus, IconTrash, IconX, IconTool } from '@tabler/icons'
|
||||
import { IconCircleDot, IconDownload, IconSend, IconMicrophone, IconPhotoPlus, IconTrash, IconX, IconTool } from '@tabler/icons-react'
|
||||
import robotPNG from '@/assets/images/robot.png'
|
||||
import userPNG from '@/assets/images/account.png'
|
||||
import audioUploadSVG from '@/assets/images/wave-sound.jpg'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import PropTypes from 'prop-types'
|
|||
|
||||
import { ClickAwayListener, Paper, Popper, Button } from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconMessage, IconX, IconEraser, IconArrowsMaximize } from '@tabler/icons'
|
||||
import { IconMessage, IconX, IconEraser, IconArrowsMaximize } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { StyledFab } from '@/ui-component/button/StyledFab'
|
||||
|
|
|
|||
|
|
@ -14,7 +14,7 @@ import ConfirmDialog from '@/ui-component/dialog/ConfirmDialog'
|
|||
import CredentialInputHandler from './CredentialInputHandler'
|
||||
|
||||
// Icons
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import credentialsApi from '@/api/credentials'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useSelector } from 'react-redux'
|
|||
|
||||
// material-ui
|
||||
import { Box, Typography, IconButton } from '@mui/material'
|
||||
import { IconArrowsMaximize, IconAlertTriangle } from '@tabler/icons'
|
||||
import { IconArrowsMaximize, IconAlertTriangle } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { Dropdown } from '@/ui-component/dropdown/Dropdown'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useDispatch } from 'react-redux'
|
|||
import PropTypes from 'prop-types'
|
||||
import { List, ListItemButton, Dialog, DialogContent, DialogTitle, Box, OutlinedInput, InputAdornment, Typography } from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconSearch, IconX } from '@tabler/icons'
|
||||
import { IconSearch, IconX } from '@tabler/icons-react'
|
||||
|
||||
// const
|
||||
import { baseURL } from '@/store/constant'
|
||||
|
|
|
|||
|
|
@ -40,7 +40,7 @@ import useConfirm from '@/hooks/useConfirm'
|
|||
import useNotifier from '@/utils/useNotifier'
|
||||
|
||||
// Icons
|
||||
import { IconTrash, IconEdit, IconX, IconPlus } from '@tabler/icons'
|
||||
import { IconTrash, IconEdit, IconX, IconPlus } from '@tabler/icons-react'
|
||||
import CredentialEmptySVG from '@/assets/images/credential_empty.svg'
|
||||
|
||||
// const
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ import { StyledButton } from '@/ui-component/button/StyledButton'
|
|||
import ConfirmDialog from '@/ui-component/dialog/ConfirmDialog'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconFiles } from '@tabler/icons'
|
||||
import { IconX, IconFiles } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import documentStoreApi from '@/api/documentstore'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useSelector } from 'react-redux'
|
|||
|
||||
// material-ui
|
||||
import { Box, Typography, IconButton, Button } from '@mui/material'
|
||||
import { IconArrowsMaximize, IconAlertTriangle } from '@tabler/icons'
|
||||
import { IconArrowsMaximize, IconAlertTriangle } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { Dropdown } from '@/ui-component/dropdown/Dropdown'
|
||||
|
|
|
|||
|
|
@ -4,7 +4,7 @@ import { useDispatch } from 'react-redux'
|
|||
import PropTypes from 'prop-types'
|
||||
import { List, ListItemButton, Dialog, DialogContent, DialogTitle, Box, OutlinedInput, InputAdornment, Typography } from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconSearch, IconX } from '@tabler/icons'
|
||||
import { IconSearch, IconX } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import documentStoreApi from '@/api/documentstore'
|
||||
|
|
|
|||
|
|
@ -42,7 +42,7 @@ import useConfirm from '@/hooks/useConfirm'
|
|||
import useNotifier from '@/utils/useNotifier'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconRefresh, IconScissors, IconTrash, IconX, IconVectorBezier2 } from '@tabler/icons'
|
||||
import { IconPlus, IconRefresh, IconScissors, IconTrash, IconX, IconVectorBezier2 } from '@tabler/icons-react'
|
||||
import KeyboardArrowDownIcon from '@mui/icons-material/KeyboardArrowDown'
|
||||
import FileDeleteIcon from '@mui/icons-material/Delete'
|
||||
import FileEditIcon from '@mui/icons-material/Edit'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { HIDE_CANVAS_DIALOG, SHOW_CANVAS_DIALOG } from '@/store/actions'
|
|||
|
||||
// Material
|
||||
import { Button, Dialog, IconButton, DialogContent, DialogTitle, Typography } from '@mui/material'
|
||||
import { IconEdit, IconTrash, IconX, IconLanguage } from '@tabler/icons'
|
||||
import { IconEdit, IconTrash, IconX, IconLanguage } from '@tabler/icons-react'
|
||||
|
||||
// Project imports
|
||||
import { CodeEditor } from '@/ui-component/editor/CodeEditor'
|
||||
|
|
|
|||
|
|
@ -11,7 +11,7 @@ import useApi from '@/hooks/useApi'
|
|||
// Material-UI
|
||||
import { Skeleton, Toolbar, Box, Button, Card, CardContent, Grid, OutlinedInput, Stack, Typography } from '@mui/material'
|
||||
import { useTheme, styled } from '@mui/material/styles'
|
||||
import { IconScissors, IconArrowLeft, IconDatabaseImport, IconBook, IconX, IconEye } from '@tabler/icons'
|
||||
import { IconScissors, IconArrowLeft, IconDatabaseImport, IconBook, IconX, IconEye } from '@tabler/icons-react'
|
||||
|
||||
// Project import
|
||||
import MainCard from '@/ui-component/cards/MainCard'
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import ReactJson from 'flowise-react-json-view'
|
|||
import { Box, Card, Button, Grid, IconButton, Stack, Typography } from '@mui/material'
|
||||
import { useTheme, styled } from '@mui/material/styles'
|
||||
import CardContent from '@mui/material/CardContent'
|
||||
import { IconLanguage, IconX, IconChevronLeft, IconChevronRight } from '@tabler/icons'
|
||||
import { IconLanguage, IconX, IconChevronLeft, IconChevronRight } from '@tabler/icons-react'
|
||||
import chunks_emptySVG from '@/assets/images/chunks_empty.svg'
|
||||
|
||||
// project imports
|
||||
|
|
|
|||
|
|
@ -34,7 +34,7 @@ import useApi from '@/hooks/useApi'
|
|||
import documentsApi from '@/api/documentstore'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconLayoutGrid, IconList } from '@tabler/icons'
|
||||
import { IconPlus, IconLayoutGrid, IconList } from '@tabler/icons-react'
|
||||
import doc_store_empty from '@/assets/images/doc_store_empty.svg'
|
||||
|
||||
// const
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ import { Avatar, Box, ButtonBase, Typography, Stack } from '@mui/material'
|
|||
import { StyledButton } from '@/ui-component/button/StyledButton'
|
||||
|
||||
// icons
|
||||
import { IconCopy, IconChevronLeft } from '@tabler/icons'
|
||||
import { IconCopy, IconChevronLeft } from '@tabler/icons-react'
|
||||
|
||||
// ==============================|| CANVAS HEADER ||============================== //
|
||||
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import {
|
|||
Skeleton
|
||||
} from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import { IconLayoutGrid, IconList } from '@tabler/icons'
|
||||
import { IconLayoutGrid, IconList } from '@tabler/icons-react'
|
||||
|
||||
// project imports
|
||||
import MainCard from '@/ui-component/cards/MainCard'
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ import { CodeEditor } from '@/ui-component/editor/CodeEditor'
|
|||
import HowToUseFunctionDialog from './HowToUseFunctionDialog'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconFileDownload, IconPlus } from '@tabler/icons'
|
||||
import { IconX, IconFileDownload, IconPlus } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import toolsApi from '@/api/tools'
|
||||
|
|
|
|||
|
|
@ -18,7 +18,7 @@ import toolsApi from '@/api/tools'
|
|||
import useApi from '@/hooks/useApi'
|
||||
|
||||
// icons
|
||||
import { IconPlus, IconFileUpload } from '@tabler/icons'
|
||||
import { IconPlus, IconFileUpload } from '@tabler/icons-react'
|
||||
import ViewHeader from '@/layout/MainLayout/ViewHeader'
|
||||
import ErrorBoundary from '@/ErrorBoundary'
|
||||
|
||||
|
|
|
|||
|
|
@ -12,7 +12,7 @@ import { StyledButton } from '@/ui-component/button/StyledButton'
|
|||
import ConfirmDialog from '@/ui-component/dialog/ConfirmDialog'
|
||||
|
||||
// Icons
|
||||
import { IconX, IconVariable } from '@tabler/icons'
|
||||
import { IconX, IconVariable } from '@tabler/icons-react'
|
||||
|
||||
// API
|
||||
import variablesApi from '@/api/variables'
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ import useConfirm from '@/hooks/useConfirm'
|
|||
import useNotifier from '@/utils/useNotifier'
|
||||
|
||||
// Icons
|
||||
import { IconTrash, IconEdit, IconX, IconPlus, IconVariable } from '@tabler/icons'
|
||||
import { IconTrash, IconEdit, IconX, IconPlus, IconVariable } from '@tabler/icons-react'
|
||||
import VariablesEmptySVG from '@/assets/images/variables_empty.svg'
|
||||
|
||||
// const
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ import {
|
|||
} from '@mui/material'
|
||||
import { useTheme } from '@mui/material/styles'
|
||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
||||
import { IconChevronsUp, IconChevronsDown, IconTrash, IconX } from '@tabler/icons'
|
||||
import { IconChevronsUp, IconChevronsDown, IconTrash, IconX } from '@tabler/icons-react'
|
||||
|
||||
// Project imports
|
||||
import { TableViewOnly } from '@/ui-component/table/Table'
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ import { CheckboxInput } from '@/ui-component/checkbox/Checkbox'
|
|||
import { BackdropLoader } from '@/ui-component/loading/BackdropLoader'
|
||||
import { TableViewOnly } from '@/ui-component/table/Table'
|
||||
|
||||
import { IconX } from '@tabler/icons'
|
||||
import { IconX } from '@tabler/icons-react'
|
||||
import ExpandMoreIcon from '@mui/icons-material/ExpandMore'
|
||||
import pythonSVG from '@/assets/images/python.svg'
|
||||
import javascriptSVG from '@/assets/images/javascript.svg'
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
import { useState, useRef, useEffect } from 'react'
|
||||
import PropTypes from 'prop-types'
|
||||
|
||||
import { IconDatabaseImport, IconX } from '@tabler/icons'
|
||||
import { IconDatabaseImport, IconX } from '@tabler/icons-react'
|
||||
|
||||
// project import
|
||||
import { StyledFab } from '@/ui-component/button/StyledFab'
|
||||
|
|
|
|||
66502
pnpm-lock.yaml
66502
pnpm-lock.yaml
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue