| | |
| | | import React, { useState, useRef, useEffect, useMemo } from "react"; |
| | | import { useNavigate } from 'react-router-dom'; |
| | | import { |
| | | Edit, |
| | | SimpleForm, |
| | | FormDataConsumer, |
| | | useTranslate, |
| | | TextInput, |
| | | NumberInput, |
| | | BooleanInput, |
| | | SaveButton, |
| | | SelectInput, |
| | | Toolbar, |
| | | Labeled, |
| | | NumberField, |
| | | required, |
| | | useRecordContext, |
| | | useTheme, |
| | | useAuthProvider, |
| | | } from 'react-admin'; |
| | | import { useWatch, useFormContext } from "react-hook-form"; |
| | | import { Stack, Grid, Box, Typography, Card, CardContent, Tabs, Tab } from '@mui/material'; |
| | | import { Stack, Grid, Box, Typography, Card, CardContent, Tabs, Tab, useTheme } from '@mui/material'; |
| | | import * as Common from '@/utils/common'; |
| | | import BaseSettings from "./BaseSettings"; |
| | | import SecuritySettings from "./SecuritySettings" |
| | |
| | | flexGrow: 1, |
| | | bgcolor: 'background.paper', |
| | | display: 'flex', |
| | | border: `1px solid #${theme[0] === 'light' ? 'ddd' : '333'}`, |
| | | border: `1px solid #${theme.palette.mode === 'light' ? 'ddd' : '333'}`, |
| | | borderRadius: 2, |
| | | pt: 1, |
| | | pb: 1, |
| | |
| | | FilterLiveSearch, |
| | | FilterList, |
| | | FilterListItem, |
| | | useTheme, |
| | | useStore, |
| | | } from 'react-admin'; |
| | | import { Box, Typography, Card, CardContent } from '@mui/material'; |
| | | import { Box, Typography, Card, CardContent, useTheme } from '@mui/material'; |
| | | import * as Common from '@/utils/common'; |
| | | import WcIcon from '@mui/icons-material/Wc'; |
| | | import BookmarkIcon from '@mui/icons-material/BookmarkBorder'; |
| | |
| | | mr: 2, |
| | | mt: 8, |
| | | alignSelf: 'flex-start', |
| | | border: theme[0] === 'light' && '1px solid #e0e0e3', |
| | | border: theme.palette.mode === 'light' && '1px solid #e0e0e3', |
| | | // width: 200 |
| | | }} |
| | | > |