move components to v1 and v2 dirs
This commit is contained in:
1 parent
ca84c60614
commit
5cab842f0a
222 files changed
+370
-370
No files matched your search
@@ -6,8 +6,8 @@ import { Box, Stack, Typography, Button, Link } from "@mui/material";
|
||||
|
||||
//Components
|
||||
import { createToast } from "../../../../Utils/toastUtils.jsx";
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import ConfigBox from "../../../../Components/ConfigBox/index.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import ConfigBox from "@/Components/v1/ConfigBox/index.jsx";
|
||||
import UploadFile from "./Upload.jsx";
|
||||
import { useSelector } from "react-redux";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
|
||||
@@ -9,16 +9,16 @@ import {
|
||||
Tooltip,
|
||||
Typography,
|
||||
} from "@mui/material";
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import TextInput from "../../../../Components/Inputs/TextInput/index.jsx";
|
||||
import { HttpAdornment } from "../../../../Components/Inputs/TextInput/Adornments/index.jsx";
|
||||
import Radio from "../../../../Components/Inputs/Radio/index.jsx";
|
||||
import Select from "../../../../Components/Inputs/Select/index.jsx";
|
||||
import ConfigBox from "../../../../Components/ConfigBox/index.jsx";
|
||||
import NotificationsConfig from "../../../../Components/NotificationConfig/index.jsx";
|
||||
import Checkbox from "../../../../Components/Inputs/Checkbox/index.jsx";
|
||||
import Dialog from "../../../../Components/Dialog/index.jsx";
|
||||
import PulseDot from "../../../../Components/Animated/PulseDot.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import TextInput from "@/Components/v1/Inputs/TextInput/index.jsx";
|
||||
import { HttpAdornment } from "@/Components/v1/Inputs/TextInput/Adornments/index.jsx";
|
||||
import Radio from "@/Components/v1/Inputs/Radio/index.jsx";
|
||||
import Select from "@/Components/v1/Inputs/Select/index.jsx";
|
||||
import ConfigBox from "@/Components/v1/ConfigBox/index.jsx";
|
||||
import NotificationsConfig from "@/Components/v1/NotificationConfig/index.jsx";
|
||||
import Checkbox from "@/Components/v1/Inputs/Checkbox/index.jsx";
|
||||
import Dialog from "@/Components/v1/Dialog/index.jsx";
|
||||
import PulseDot from "@/Components/v1/Animated/PulseDot.jsx";
|
||||
import SkeletonLayout from "./skeleton.jsx";
|
||||
|
||||
// Utils
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
// Components
|
||||
import { Stack, Typography, Box } from "@mui/material";
|
||||
import ChartBox from "../../../../../../Components/Charts/ChartBox/index.jsx";
|
||||
import ChartBox from "@/Components/v1/Charts/ChartBox/index.jsx";
|
||||
import UptimeIcon from "../../../../../../assets/icons/uptime-icon.svg?react";
|
||||
import IncidentsIcon from "../../../../../../assets/icons/incidents.svg?react";
|
||||
import AverageResponseIcon from "../../../../../../assets/icons/average-response-icon.svg?react";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import ChartBox from "../../../../../../Components/Charts/ChartBox/index.jsx";
|
||||
import MonitorDetailsAreaChart from "../../../../../../Components/Charts/MonitorDetailsAreaChart/index.jsx";
|
||||
import ChartBox from "@/Components/v1/Charts/ChartBox/index.jsx";
|
||||
import MonitorDetailsAreaChart from "@/Components/v1/Charts/MonitorDetailsAreaChart/index.jsx";
|
||||
import ResponseTimeIcon from "../../../../../../assets/icons/response-time-icon.svg?react";
|
||||
import SkeletonLayout from "./ResponseTimeChartSkeleton.jsx";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
import ChartBox from "../../../../../../Components/Charts/ChartBox/index.jsx";
|
||||
import ChartBox from "@/Components/v1/Charts/ChartBox/index.jsx";
|
||||
import PropTypes from "prop-types";
|
||||
import HistoryIcon from "../../../../../../assets/icons/history-icon.svg?react";
|
||||
import Table from "../../../../../../Components/Table/index.jsx";
|
||||
import TablePagination from "../../../../../../Components/Table/TablePagination/index.jsx";
|
||||
import { StatusLabel } from "../../../../../../Components/Label/index.jsx";
|
||||
import Table from "@/Components/v1/Table/index.jsx";
|
||||
import TablePagination from "@/Components/v1/Table/TablePagination/index.jsx";
|
||||
import { StatusLabel } from "@/Components/v1/Label/index.jsx";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { formatDateWithTz } from "../../../../../../Utils/timeUtils.js";
|
||||
import SkeletonLayout from "./skeleton.jsx";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import StatusBoxes from "../../../../../../Components/StatusBoxes/index.jsx";
|
||||
import StatBox from "../../../../../../Components/StatBox/index.jsx";
|
||||
import StatusBoxes from "@/Components/v1/StatusBoxes/index.jsx";
|
||||
import StatBox from "@/Components/v1/StatBox/index.jsx";
|
||||
|
||||
import PropTypes from "prop-types";
|
||||
import { getHumanReadableDuration } from "../../../../../../Utils/timeUtils.js";
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Components
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import MonitorDetailsControlHeader from "../../../../Components/MonitorDetailsControlHeader/index.jsx";
|
||||
import MonitorTimeFrameHeader from "../../../../Components/MonitorTimeFrameHeader/index.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import MonitorDetailsControlHeader from "@/Components/v1/MonitorDetailsControlHeader/index.jsx";
|
||||
import MonitorTimeFrameHeader from "@/Components/v1/MonitorTimeFrameHeader/index.jsx";
|
||||
import ChartBoxes from "./Components/ChartBoxes/index.jsx";
|
||||
import ResponseTimeChart from "./Components/Charts/ResponseTimeChart.jsx";
|
||||
import ResponseTable from "./Components/ResponseTable/index.jsx";
|
||||
import UptimeStatusBoxes from "./Components/UptimeStatusBoxes/index.jsx";
|
||||
import GenericFallback from "../../../../Components/GenericFallback/index.jsx";
|
||||
import GenericFallback from "@/Components/v1/GenericFallback/index.jsx";
|
||||
import Stack from "@mui/material/Stack";
|
||||
import Typography from "@mui/material/Typography";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { useTheme } from "@emotion/react";
|
||||
import PropTypes from "prop-types";
|
||||
import FilterHeader from "../../../../../../Components/FilterHeader/index.jsx";
|
||||
import FilterHeader from "@/Components/v1/FilterHeader/index.jsx";
|
||||
import { useMemo } from "react";
|
||||
import { Box, Button } from "@mui/material";
|
||||
import ClearIcon from "@mui/icons-material/Clear";
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import { useState } from "react";
|
||||
import Search from "../../../../../../Components/Inputs/Search/index.jsx";
|
||||
import Search from "@/Components/v1/Inputs/Search/index.jsx";
|
||||
import { Box } from "@mui/material";
|
||||
import useDebounce from "../../Hooks/useDebounce.jsx";
|
||||
import { useEffect, useRef } from "react";
|
||||
|
||||
@@ -1,15 +1,15 @@
|
||||
// Components
|
||||
import { Box, Stack } from "@mui/material";
|
||||
import DataTable from "../../../../../../Components/Table/index.jsx";
|
||||
import DataTable from "@/Components/v1/Table/index.jsx";
|
||||
import ArrowDownwardRoundedIcon from "@mui/icons-material/ArrowDownwardRounded";
|
||||
import ArrowUpwardRoundedIcon from "@mui/icons-material/ArrowUpwardRounded";
|
||||
import Host from "../../../../../../Components/Host/index.jsx";
|
||||
import { StatusLabel } from "../../../../../../Components/Label/index.jsx";
|
||||
import BarChart from "../../../../../../Components/Charts/BarChart/index.jsx";
|
||||
import ActionsMenu from "../../../../../../Components/ActionsMenu/index.jsx";
|
||||
import Host from "@/Components/v1/Host/index.jsx";
|
||||
import { StatusLabel } from "@/Components/v1/Label/index.jsx";
|
||||
import BarChart from "@/Components/v1/Charts/BarChart/index.jsx";
|
||||
import ActionsMenu from "@/Components/v1/ActionsMenu/index.jsx";
|
||||
|
||||
import LoadingSpinner from "../LoadingSpinner/index.jsx";
|
||||
import TableSkeleton from "../../../../../../Components/Table/skeleton.jsx";
|
||||
import TableSkeleton from "@/Components/v1/Table/skeleton.jsx";
|
||||
|
||||
// Utils
|
||||
import { useTheme } from "@emotion/react";
|
||||
|
||||
@@ -4,17 +4,17 @@
|
||||
// 2a.List of monitors must have the total number of monitors that match.
|
||||
|
||||
// Components
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import Greeting from "../../../../Utils/greeting.jsx";
|
||||
import StatusBoxes from "./Components/StatusBoxes/index.jsx";
|
||||
import UptimeDataTable from "./Components/UptimeDataTable/index.jsx";
|
||||
import Pagination from "../../../../Components/Table/TablePagination/index.jsx";
|
||||
import CreateMonitorHeader from "../../../../Components/MonitorCreateHeader/index.jsx";
|
||||
import Pagination from "@/Components/v1/Table/TablePagination/index.jsx";
|
||||
import CreateMonitorHeader from "@/Components/v1/MonitorCreateHeader/index.jsx";
|
||||
import SearchComponent from "./Components/SearchComponent/index.jsx";
|
||||
import Filter from "./Components/Filter/index.jsx";
|
||||
import PageStateWrapper from "../../../../Components/PageStateWrapper/index.jsx";
|
||||
import PageStateWrapper from "@/Components/v1/PageStateWrapper/index.jsx";
|
||||
|
||||
import MonitorCountHeader from "../../../../Components/MonitorCountHeader/index.jsx";
|
||||
import MonitorCountHeader from "@/Components/v1/MonitorCountHeader/index.jsx";
|
||||
|
||||
// MUI Components
|
||||
import { Stack, Box, Button } from "@mui/material";
|
||||
|
||||
Reference in new issue
Block a user