|  |  |  | 
|---|
|  |  |  | AutocompleteInput, | 
|---|
|  |  |  | DeleteButton, | 
|---|
|  |  |  | Button, | 
|---|
|  |  |  | Pagination, | 
|---|
|  |  |  | } from 'react-admin'; | 
|---|
|  |  |  | import { Box, Typography, Card, Stack } from '@mui/material'; | 
|---|
|  |  |  | import { styled } from '@mui/material/styles'; | 
|---|
|  |  |  | 
|---|
|  |  |  | import CorporateFareIcon from '@mui/icons-material/CorporateFare'; | 
|---|
|  |  |  | import LocInit from "./LocInit"; | 
|---|
|  |  |  | import rowSx from "./rowSx"; | 
|---|
|  |  |  | import BulkUpdateButton from "./BulkUpdateButton"; | 
|---|
|  |  |  | import BulkUpdateButton from "../components/BulkUpdateButton"; | 
|---|
|  |  |  | import LocBulkUpdateContent from './LocBulkUpdateContent'; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const StyledDatagrid = styled(DatagridConfigurable)(({ theme }) => ({ | 
|---|
|  |  |  | '& .css-1vooibu-MuiSvgIcon-root': { | 
|---|
|  |  |  | 
|---|
|  |  |  | />, | 
|---|
|  |  |  | ] | 
|---|
|  |  |  |  | 
|---|
|  |  |  | const LocBulkActionButtons = (props) => { | 
|---|
|  |  |  | const LocBulkActionButtons = () => { | 
|---|
|  |  |  | return ( | 
|---|
|  |  |  | <> | 
|---|
|  |  |  | <BulkUpdateButton | 
|---|
|  |  |  | {...props} | 
|---|
|  |  |  | resource="loc" | 
|---|
|  |  |  | /> | 
|---|
|  |  |  | <BulkUpdateButton> | 
|---|
|  |  |  | <LocBulkUpdateContent /> | 
|---|
|  |  |  | </BulkUpdateButton> | 
|---|
|  |  |  | <BulkDeleteButton mutationMode={OPERATE_MODE} /> | 
|---|
|  |  |  | </> | 
|---|
|  |  |  | ); | 
|---|
|  |  |  | 
|---|
|  |  |  | <MyExportButton /> | 
|---|
|  |  |  | </TopToolbar> | 
|---|
|  |  |  | )} | 
|---|
|  |  |  | perPage={DEFAULT_PAGE_SIZE} | 
|---|
|  |  |  | pagination={<Pagination rowsPerPageOptions={[10, 20, 50, 100, 300, 500]} />} | 
|---|
|  |  |  | perPage={20} | 
|---|
|  |  |  | > | 
|---|
|  |  |  | <StyledDatagrid | 
|---|
|  |  |  | preferenceKey='loc' | 
|---|