Automatic code mods.
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import { useMutation, useQuery } from "@apollo/client";
|
||||
import { Button, Form, PageHeader, Popconfirm, Space } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Form, Popconfirm, Space } from "antd";
|
||||
import moment from "moment";
|
||||
import queryString from "query-string";
|
||||
import React, { useState } from "react";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { WarningFilled } from "@ant-design/icons";
|
||||
import { useApolloClient } from "@apollo/client";
|
||||
import { Button, Form, Input, InputNumber, PageHeader, Space } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Form, Input, InputNumber, Space } from "antd";
|
||||
import moment from "moment";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import Icon, { SyncOutlined } from "@ant-design/icons";
|
||||
import { gql, useMutation, useQuery } from "@apollo/client";
|
||||
import { Button, Dropdown, Menu, notification, PageHeader, Space } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Dropdown, Menu, notification, Space } from "antd";
|
||||
import i18next from "i18next";
|
||||
import _ from "lodash";
|
||||
import moment from "moment";
|
||||
|
||||
@@ -9,7 +9,8 @@ import {
|
||||
WarningFilled,
|
||||
} from "@ant-design/icons";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { Button, Dropdown, Input, PageHeader, Space, Table, Tag } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Dropdown, Input, Space, Table, Tag } from "antd";
|
||||
import axios from "axios";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, Form, notification, PageHeader } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Form, notification } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,17 +1,7 @@
|
||||
import { DeleteFilled, EyeFilled, SyncOutlined } from "@ant-design/icons";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import {
|
||||
Button,
|
||||
Card,
|
||||
Checkbox,
|
||||
Drawer,
|
||||
Grid,
|
||||
Input,
|
||||
PageHeader,
|
||||
Popconfirm,
|
||||
Space,
|
||||
Table,
|
||||
} from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Card, Checkbox, Drawer, Grid, Input, Popconfirm, Space, Table } from "antd";
|
||||
import queryString from "query-string";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, Form, Input, PageHeader, Space } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Form, Input, Space } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import FormFieldsChanged from "../form-fields-changed-alert/form-fields-changed-alert.component";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, List, PageHeader } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, List } from "antd";
|
||||
import React, { useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import { SyncOutlined } from "@ant-design/icons";
|
||||
import { useApolloClient } from "@apollo/client";
|
||||
import Board, { moveCard } from "@asseinfo/react-kanban";
|
||||
import { Button, Grid, notification, PageHeader, Space, Statistic } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Grid, notification, Space, Statistic } from "antd";
|
||||
import React, { useEffect, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { useQuery } from "@apollo/client";
|
||||
import { Descriptions, Drawer, Space, PageHeader, Button } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Descriptions, Drawer, Space, Button } from "antd";
|
||||
import queryString from "query-string";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,14 +1,7 @@
|
||||
import { SyncOutlined } from "@ant-design/icons";
|
||||
import { useTreatments } from "@splitsoftware/splitio-react";
|
||||
import {
|
||||
Button,
|
||||
Dropdown,
|
||||
Input,
|
||||
PageHeader,
|
||||
Space,
|
||||
Statistic,
|
||||
Table,
|
||||
} from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Dropdown, Input, Space, Statistic, Table } from "antd";
|
||||
import React, { useMemo, useState } from "react";
|
||||
import ReactDragListView from "react-drag-listview";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { SyncOutlined } from "@ant-design/icons";
|
||||
import { Button, Card, Checkbox, Col, PageHeader, Row, Space } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Card, Checkbox, Col, Row, Space } from "antd";
|
||||
import { t } from "i18next";
|
||||
import React, { useMemo } from "react";
|
||||
import useLocalStorage from "../../utils/useLocalStorage";
|
||||
|
||||
@@ -35,7 +35,7 @@ export default function ShopTemplatesListContainer({ visibleState }) {
|
||||
};
|
||||
|
||||
return (
|
||||
<Drawer
|
||||
(<Drawer
|
||||
placement="left"
|
||||
width="25%"
|
||||
open={visible}
|
||||
@@ -64,7 +64,7 @@ export default function ShopTemplatesListContainer({ visibleState }) {
|
||||
]}
|
||||
>
|
||||
<Skeleton title={false} loading={item.loading} active>
|
||||
<div style={{ display: "flex", flexDirection: "column" }}>
|
||||
<div rootStyle={{ display: "flex", flexDirection: "column" }}>
|
||||
<div>{TemplateList()[item.name].title}</div>
|
||||
<div>{TemplateList()[item.name].description}</div>
|
||||
<div>{TemplateList()[item.name].drivingid}</div>
|
||||
@@ -74,6 +74,6 @@ export default function ShopTemplatesListContainer({ visibleState }) {
|
||||
)}
|
||||
/>
|
||||
</div>
|
||||
</Drawer>
|
||||
</Drawer>)
|
||||
);
|
||||
}
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
import { PrinterFilled } from "@ant-design/icons";
|
||||
import { useQuery } from "@apollo/client";
|
||||
import { Button, Divider, Drawer, Grid, PageHeader, Tabs } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Divider, Drawer, Grid, Tabs } from "antd";
|
||||
import queryString from "query-string";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import React, { useState } from "react";
|
||||
import { Button, Form, notification, PageHeader } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Form, notification } from "antd";
|
||||
import { useMutation } from "@apollo/client";
|
||||
import VehicleDetailFormComponent from "./vehicle-detail-form.component";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,16 +1,8 @@
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
import { useApolloClient } from "@apollo/client";
|
||||
import { useTreatments } from "@splitsoftware/splitio-react";
|
||||
import {
|
||||
Button,
|
||||
Divider,
|
||||
Form,
|
||||
Input,
|
||||
InputNumber,
|
||||
PageHeader,
|
||||
Space,
|
||||
Switch,
|
||||
} from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Divider, Form, Input, InputNumber, Space, Switch } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { CHECK_VENDOR_NAME } from "../../graphql/vendors.queries";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
@import "~antd/lib/style/themes/default.less";
|
||||
/* @import "~antd/lib/style/themes/default.less";
|
||||
*/
|
||||
|
||||
@line-color: #e9e9e9;
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, Col, PageHeader, Row, Space, Form, Switch } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Col, Row, Space, Form, Switch } from "antd";
|
||||
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
|
||||
@@ -1,13 +1,5 @@
|
||||
import {
|
||||
Button,
|
||||
Col,
|
||||
Dropdown,
|
||||
Form,
|
||||
PageHeader,
|
||||
Row,
|
||||
Space,
|
||||
Typography
|
||||
} from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Col, Dropdown, Form, Row, Space, Typography } from "antd";
|
||||
import React from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, PageHeader } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button } from "antd";
|
||||
import React, { useEffect } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { connect } from "react-redux";
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { DeleteFilled } from "@ant-design/icons";
|
||||
import { useApolloClient, useMutation } from "@apollo/client";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import {
|
||||
Alert,
|
||||
Button,
|
||||
@@ -9,7 +10,6 @@ import {
|
||||
Input,
|
||||
InputNumber,
|
||||
notification,
|
||||
PageHeader,
|
||||
Popconfirm,
|
||||
Row,
|
||||
Select,
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import { Button, PageHeader, Result, Space, Steps } from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Result, Space, Steps } from "antd";
|
||||
import React, { useContext, useState } from "react";
|
||||
import { useTranslation } from "react-i18next";
|
||||
import { Link } from "react-router-dom";
|
||||
|
||||
@@ -8,15 +8,8 @@ import Icon, {
|
||||
HistoryOutlined,
|
||||
SyncOutlined,
|
||||
} from "@ant-design/icons";
|
||||
import {
|
||||
Button,
|
||||
Divider,
|
||||
Form,
|
||||
notification,
|
||||
PageHeader,
|
||||
Space,
|
||||
Tabs,
|
||||
} from "antd";
|
||||
import { PageHeader } from '@ant-design/pro-layout';
|
||||
import { Button, Divider, Form, notification, Space, Tabs } from "antd";
|
||||
import Axios from "axios";
|
||||
import moment from "moment";
|
||||
import queryString from "query-string";
|
||||
|
||||
@@ -249,7 +249,7 @@ export function Manage({ match, conflict, bodyshop }) {
|
||||
/>
|
||||
<Route
|
||||
exact
|
||||
path={`${match.path}/courtesycars/`}
|
||||
path={`${match.path}/courtesycars`}
|
||||
component={CourtesyCarsPage}
|
||||
/>
|
||||
<Switch>
|
||||
|
||||
Reference in New Issue
Block a user