|
@@ -22,21 +22,6 @@ import { DatePicker } from "@mui/x-date-pickers/DatePicker"; |
|
|
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider"; |
|
|
import { LocalizationProvider } from "@mui/x-date-pickers/LocalizationProvider"; |
|
|
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs"; |
|
|
import { AdapterDayjs } from "@mui/x-date-pickers/AdapterDayjs"; |
|
|
import { Box, FormHelperText } from "@mui/material"; |
|
|
import { Box, FormHelperText } from "@mui/material"; |
|
|
import { DateCalendar } from "@mui/x-date-pickers"; |
|
|
|
|
|
import { fetchLateStartReport } from "@/app/api/reports/actions"; |
|
|
|
|
|
import { LateStartReportRequest } from "@/app/api/reports"; |
|
|
|
|
|
import { fetchTeamCombo } from "@/app/api/team/actions"; |
|
|
|
|
|
import { downloadFile } from "@/app/utils/commonUtil"; |
|
|
|
|
|
import { |
|
|
|
|
|
Unstable_NumberInput as BaseNumberInput, |
|
|
|
|
|
NumberInputProps, |
|
|
|
|
|
numberInputClasses, |
|
|
|
|
|
} from "@mui/base/Unstable_NumberInput"; |
|
|
|
|
|
import { |
|
|
|
|
|
StyledButton, |
|
|
|
|
|
StyledInputElement, |
|
|
|
|
|
StyledInputRoot, |
|
|
|
|
|
} from "@/theme/colorConst"; |
|
|
|
|
|
import { InputAdornment, NumberInput } from "../utils/numberInput"; |
|
|
import { InputAdornment, NumberInput } from "../utils/numberInput"; |
|
|
|
|
|
|
|
|
interface BaseCriterion<T extends string> { |
|
|
interface BaseCriterion<T extends string> { |
|
@@ -216,7 +201,7 @@ function SearchBox<T extends string>({ |
|
|
)} |
|
|
)} |
|
|
{c.type === "number" && ( |
|
|
{c.type === "number" && ( |
|
|
<NumberInput |
|
|
<NumberInput |
|
|
// defaultValue={90} |
|
|
|
|
|
|
|
|
placeholder={c.label} |
|
|
min={50} |
|
|
min={50} |
|
|
max={99} |
|
|
max={99} |
|
|
onChange={makeNumberChangeHandler(c.paramName)} |
|
|
onChange={makeNumberChangeHandler(c.paramName)} |
|
|