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
@@ -1,17 +1,17 @@
|
||||
// Components
|
||||
import { Box, Stack, Tooltip, Typography, Button, ButtonGroup } from "@mui/material";
|
||||
import ConfigBox from "../../../../Components/ConfigBox/index.jsx";
|
||||
import Select from "../../../../Components/Inputs/Select/index.jsx";
|
||||
import TextInput from "../../../../Components/Inputs/TextInput/index.jsx";
|
||||
import ConfigBox from "@/Components/v1/ConfigBox/index.jsx";
|
||||
import Select from "@/Components/v1/Inputs/Select/index.jsx";
|
||||
import TextInput from "@/Components/v1/Inputs/TextInput/index.jsx";
|
||||
import PauseCircleOutlineIcon from "@mui/icons-material/PauseCircleOutline";
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import PulseDot from "../../../../Components/Animated/PulseDot.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import PulseDot from "@/Components/v1/Animated/PulseDot.jsx";
|
||||
import PlayCircleOutlineRoundedIcon from "@mui/icons-material/PlayCircleOutlineRounded";
|
||||
import SkeletonLayout from "./skeleton.jsx";
|
||||
import NotificationsConfig from "../../../../Components/NotificationConfig/index.jsx";
|
||||
import Dialog from "../../../../Components/Dialog/index.jsx";
|
||||
import { HttpAdornment } from "../../../../Components/Inputs/TextInput/Adornments/index.jsx";
|
||||
import Radio from "../../../../Components/Inputs/Radio/index.jsx";
|
||||
import NotificationsConfig from "@/Components/v1/NotificationConfig/index.jsx";
|
||||
import Dialog from "@/Components/v1/Dialog/index.jsx";
|
||||
import { HttpAdornment } from "@/Components/v1/Inputs/TextInput/Adornments/index.jsx";
|
||||
import Radio from "@/Components/v1/Inputs/Radio/index.jsx";
|
||||
|
||||
// Utils
|
||||
import { useState, useEffect } from "react";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import { Box, Typography, Divider } from "@mui/material";
|
||||
import Checkbox from "../../../../../../Components/Inputs/Checkbox/index.jsx";
|
||||
import Checkbox from "@/Components/v1/Inputs/Checkbox/index.jsx";
|
||||
import MetricsIcon from "../../../../../../assets/icons/ruler-icon.svg?react";
|
||||
import LegendBox from "../../../../../../Components/Charts/LegendBox/index.jsx";
|
||||
import LegendBox from "@/Components/v1/Charts/LegendBox/index.jsx";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { useTheme } from "@emotion/react";
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { Stack, Box, Typography } from "@mui/material";
|
||||
import { useTheme } from "@emotion/react";
|
||||
import LegendBox from "../../../../../../Components/Charts/LegendBox/index.jsx";
|
||||
import LegendBox from "@/Components/v1/Charts/LegendBox/index.jsx";
|
||||
import SpeedometerIcon from "../../../../../../assets/icons/speedometer-icon.svg?react";
|
||||
import PropTypes from "prop-types";
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import ChartBox from "../../../../../../Components/Charts/ChartBox/index.jsx";
|
||||
import ChartBox from "@/Components/v1/Charts/ChartBox/index.jsx";
|
||||
import AreaChart from "../Charts/AreaChart.jsx";
|
||||
import AreaChartLegend from "../Charts/AreaChartLegend.jsx";
|
||||
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 { Typography } from "@mui/material";
|
||||
import { getHumanReadableDuration } from "../../../../../../Utils/timeUtils.js";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
import ChartBox from "../../../../../../Components/Charts/ChartBox/index.jsx";
|
||||
import ChartBox from "@/Components/v1/Charts/ChartBox/index.jsx";
|
||||
import PerformanceIcon from "../../../../../../assets/icons/performance-report.svg?react";
|
||||
import PieChart from "../Charts/PieChart.jsx";
|
||||
import { Typography } from "@mui/material";
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Components
|
||||
import { Stack, Typography } from "@mui/material";
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import MonitorTimeFrameHeader from "../../../../Components/MonitorTimeFrameHeader/index.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import MonitorTimeFrameHeader from "@/Components/v1/MonitorTimeFrameHeader/index.jsx";
|
||||
import PageSpeedStatusBoxes from "./Components/PageSpeedStatusBoxes/index.jsx";
|
||||
import MonitorDetailsControlHeader from "../../../../Components/MonitorDetailsControlHeader/index.jsx";
|
||||
import MonitorDetailsControlHeader from "@/Components/v1/MonitorDetailsControlHeader/index.jsx";
|
||||
import PageSpeedAreaChart from "./Components/PageSpeedAreaChart/index.jsx";
|
||||
import PerformanceReport from "./Components/PerformanceReport/index.jsx";
|
||||
import GenericFallback from "../../../../Components/GenericFallback/index.jsx";
|
||||
import GenericFallback from "@/Components/v1/GenericFallback/index.jsx";
|
||||
// Utils
|
||||
import { useTheme } from "@emotion/react";
|
||||
import { useIsAdmin } from "../../../../Hooks/v1/useIsAdmin.js";
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
import PropTypes from "prop-types";
|
||||
// import PageSpeedIcon from "../../../../assets/icons/page-speed.svg?react";
|
||||
import PageSpeedIcon from "../../../../../../assets/icons/page-speed.svg?react";
|
||||
import { StatusLabel } from "../../../../../../Components/Label/index.jsx";
|
||||
import { StatusLabel } from "@/Components/v1/Label/index.jsx";
|
||||
import { Box, Grid, Stack, Typography } from "@mui/material";
|
||||
import { useNavigate } from "react-router-dom";
|
||||
import { useTheme } from "@emotion/react";
|
||||
@@ -14,7 +14,7 @@ import {
|
||||
import { useMonitorUtils } from "../../../../../../Hooks/v1/useMonitorUtils.js";
|
||||
import { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import IconBox from "../../../../../../Components/IconBox/index.jsx";
|
||||
import IconBox from "@/Components/v1/IconBox/index.jsx";
|
||||
/**
|
||||
* CustomToolTip displays a tooltip with formatted date and score information.
|
||||
* @param {Object} props
|
||||
|
||||
@@ -1,12 +1,12 @@
|
||||
// Components
|
||||
import { useState } from "react";
|
||||
import Breadcrumbs from "../../../../Components/Breadcrumbs/index.jsx";
|
||||
import Breadcrumbs from "@/Components/v1/Breadcrumbs/index.jsx";
|
||||
import { Stack } from "@mui/material";
|
||||
import CreateMonitorHeader from "../../../../Components/MonitorCreateHeader/index.jsx";
|
||||
import MonitorCountHeader from "../../../../Components/MonitorCountHeader/index.jsx";
|
||||
import CreateMonitorHeader from "@/Components/v1/MonitorCreateHeader/index.jsx";
|
||||
import MonitorCountHeader from "@/Components/v1/MonitorCountHeader/index.jsx";
|
||||
import MonitorGrid from "./Components/MonitorGrid/index.jsx";
|
||||
import PageStateWrapper from "../../../../Components/PageStateWrapper/index.jsx";
|
||||
import FallbackPageSpeedWarning from "../../../../Components/Fallback/FallbackPageSpeedWarning.jsx";
|
||||
import PageStateWrapper from "@/Components/v1/PageStateWrapper/index.jsx";
|
||||
import FallbackPageSpeedWarning from "@/Components/v1/Fallback/FallbackPageSpeedWarning.jsx";
|
||||
|
||||
// Utils
|
||||
import { useTheme } from "@emotion/react";
|
||||
|
||||
Reference in new issue
Block a user