Commit 5ef5a854 authored by 陈帅's avatar 陈帅

change lib to es

parent e4a6ba45
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.avatarHolder {
margin-bottom: 24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.filterCardList {
margin-bottom: -24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.listContent {
.description {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.articleList {
:global {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.avatarList {
display: inline-block;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.coverCardList {
margin-bottom: -24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.baseView {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.row {
.item {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.area_code {
width: 30%;
......
import React, { Component, Fragment } from 'react';
import { formatMessage, FormattedMessage } from 'umi-plugin-react/locale';
import { Form, Input, Upload, Select, Button, message } from 'antd';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { connect } from 'dva';
import styles from './BaseView.less';
import GeographicView from './GeographicView';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.main {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.chartCard {
position: relative;
......
import React from 'react';
import { Card } from 'antd';
import classNames from 'classnames';
import { CardProps } from 'antd/lib/card';
import { CardProps } from 'antd/es/card';
import styles from './index.less';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.field {
margin: 0;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.miniProgress {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.pie {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.timelineChart {
background: @component-background;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.waterWave {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.numberInfo {
.suffix {
......
......@@ -4,7 +4,7 @@ import Charts from './Charts';
import { FormattedMessage } from 'umi-plugin-react/locale';
import styles from '../style.less';
import Yuan from '../utils/Yuan';
import { RadioChangeEvent } from 'antd/lib/radio';
import { RadioChangeEvent } from 'antd/es/radio';
import { ISalesData } from '../data';
const { Pie } = Charts;
......
......@@ -3,7 +3,7 @@ import { Row, Col, Card, Tabs, DatePicker } from 'antd';
import { FormattedMessage, formatMessage } from 'umi-plugin-react/locale';
import numeral from 'numeral';
import Charts from './Charts';
import { RangePickerValue } from 'antd/lib/date-picker/interface';
import { RangePickerValue } from 'antd/es/date-picker/interface';
import { ISalesData } from '../data';
import styles from '../style.less';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.trendItem {
display: inline-block;
......
import React, { Component, Suspense } from 'react';
import { connect } from 'dva';
import { Row, Col, Icon, Menu, Dropdown } from 'antd';
import { RangePickerValue } from 'antd/lib/date-picker/interface';
import { RangePickerValue } from 'antd/es/date-picker/interface';
import { getTimeDistance } from './utils/utils';
import styles from './style.less';
import PageLoading from './components/PageLoading';
import { Dispatch } from 'redux';
import { IAnalysisData } from './data.d';
import { RadioChangeEvent } from 'antd/lib/radio';
import { RadioChangeEvent } from 'antd/es/radio';
import { GridContent } from '@ant-design/pro-layout';
const IntroduceRow = React.lazy(() => import('./components/IntroduceRow'));
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.iconGroup {
i {
......
import moment from 'moment';
import { RangePickerValue } from 'antd/lib/date-picker/interface';
import { RangePickerValue } from 'antd/es/date-picker/interface';
export function fixedZero(val: number) {
return val * 1 < 10 ? `0${val}` : val;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.pie {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.waterWave {
position: relative;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.mapChart {
height: 452px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.linkGroup {
padding: 20px 0 8px 24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.radar {
.legend {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.textOverflow() {
overflow: hidden;
......
import React, { Fragment } from 'react';
import { Card, Form, Input, Select } from 'antd';
import { withPropsAPI } from 'gg-editor';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
const upperFirst = (str: string) => {
return str.toLowerCase().replace(/( |^)[a-z]/g, (l: string) => l.toUpperCase());
......
import React, { Fragment } from 'react';
import { Card, Form, Input, Select } from 'antd';
import { withPropsAPI } from 'gg-editor';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
const upperFirst = (str: string) => {
return str.toLowerCase().replace(/( |^)[a-z]/g, (l: string) => l.toUpperCase());
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
......@@ -2,7 +2,7 @@ import React from 'react';
import { RouteContext, GridContent } from '@ant-design/pro-layout';
import { PageHeader, Tabs, Typography } from 'antd';
import styles from './index.less';
import { TabsProps } from 'antd/lib/tabs';
import { TabsProps } from 'antd/es/tabs';
interface IPageHeaderTabConfig {
tabList?: Array<{
key: string;
......
import React, { Fragment } from 'react';
import { Card, Form, Input, Select } from 'antd';
import { withPropsAPI } from 'gg-editor';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
const upperFirst = (str: string) => {
return str.toLowerCase().replace(/( |^)[a-z]/g, (l: string) => l.toUpperCase());
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
......@@ -2,7 +2,7 @@ import React from 'react';
import { RouteContext, GridContent } from '@ant-design/pro-layout';
import { PageHeader, Tabs, Typography } from 'antd';
import styles from './index.less';
import { TabsProps } from 'antd/lib/tabs';
import { TabsProps } from 'antd/es/tabs';
interface IPageHeaderTabConfig {
tabList?: Array<{
key: string;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.exception {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.exception {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.exception {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.toolbar {
position: fixed;
......
......@@ -15,7 +15,7 @@ import {
import { connect } from 'dva';
import TableForm from './components/TableForm';
import styles from './style.less';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { Dispatch } from 'redux';
import FooterToolbar from './components/FooterToolbar';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.card {
margin-bottom: 24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.content {
margin: 24px 24px 0;
......
......@@ -15,7 +15,7 @@ import {
} from 'antd';
import { PageHeaderWrapper } from '@ant-design/pro-layout';
import styles from './style.less';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { Dispatch } from 'redux';
const FormItem = Form.Item;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.card {
margin-bottom: 24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.result {
width: 72%;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.stepForm {
max-width: 500px;
......
......@@ -2,7 +2,7 @@ import React, { Fragment } from 'react';
import { connect } from 'dva';
import { Form, Input, Button, Select, Divider } from 'antd';
import styles from './index.less';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { IStateType } from '../../model';
import { Dispatch } from 'redux';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.stepForm {
max-width: 500px;
......
......@@ -2,7 +2,7 @@ import React from 'react';
import { connect } from 'dva';
import { Form, Input, Button, Alert, Divider, Statistic } from 'antd';
import styles from './index.less';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { IStateType } from '../../model';
import { Dispatch } from 'redux';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.stepForm {
max-width: 500px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.card {
margin-bottom: 24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.result {
width: 72%;
......
......@@ -20,7 +20,7 @@ import {
DatePicker,
Select,
} from 'antd';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { IStateType } from './model';
import { Dispatch } from 'redux';
import { BasicListItemDataType } from './data';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@import './utils/utils.less';
.standardList {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@import './utils/utils.less';
.cardList {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
......@@ -3,7 +3,7 @@ import { RouteContext } from '@ant-design/pro-layout';
import { PageHeader, Tabs, Typography } from 'antd';
import styles from './index.less';
import { GridContent } from '@ant-design/pro-layout';
import { TabsProps } from 'antd/lib/tabs';
import { TabsProps } from 'antd/es/tabs';
interface IPageHeaderTabConfig {
tabList?: Array<{
key: string;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.children-content {
margin: 24px 24px 0;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.standardFormRow {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.tagSelect {
position: relative;
......
......@@ -7,7 +7,7 @@ import StandardFormRow from './components/StandardFormRow';
import styles from './style.less';
import { IStateType } from './model';
import { Dispatch } from 'redux';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { ListItemDataType } from './data';
const { Option } = Select;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.filterCardList {
margin-bottom: -24px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.listContent {
.description {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.standardFormRow {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.tagSelect {
position: relative;
......
......@@ -7,7 +7,7 @@ import StandardFormRow from './components/StandardFormRow';
import ArticleListContent from './components/ArticleListContent';
import styles from './style.less';
import { Dispatch } from 'redux';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { ListItemDataType } from './data';
import { IStateType } from './model';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
a.listItemMetaTitle {
color: @heading-color;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.avatarList {
display: inline-block;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.standardFormRow {
display: flex;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.tagSelect {
position: relative;
......
......@@ -8,7 +8,7 @@ import AvatarList from './components/AvatarList';
import styles from './style.less';
import { IStateType } from './model';
import { Dispatch } from 'redux';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import { ListItemDataType } from './data';
const { Option } = Select;
const FormItem = Form.Item;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@import './utils/utils.less';
.coverCardList {
......
import React from 'react';
import { Input, Modal, Form } from 'antd';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
const FormItem = Form.Item;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.standardTable {
:global {
......
import React, { Component, Fragment } from 'react';
import { Table, Alert } from 'antd';
import { TableProps, ColumnProps, SorterResult } from 'antd/lib/table';
import { TableProps, ColumnProps, SorterResult } from 'antd/es/table';
import styles from './index.less';
import { TableListItem } from '../../data';
......
import React, { Component } from 'react';
import { Input, Select, Button, DatePicker, Form, Modal, Steps, Radio } from 'antd';
import { TableListItem } from '../data';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
export type IFormValsType = {
target?: string;
......
......@@ -18,8 +18,8 @@ import {
Badge,
Divider,
} from 'antd';
import { FormComponentProps } from 'antd/lib/form';
import { SorterResult } from 'antd/lib/table';
import { FormComponentProps } from 'antd/es/form';
import { SorterResult } from 'antd/es/table';
import StandardTable, { StandardTableColumnProps } from './components/StandardTable';
import { TableListItem, TableListParams, TableListPagination } from './data';
import { Dispatch } from 'redux';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
@import './utils/utils.less';
.tableList {
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.descriptionList {
// offset the padding-bottom of last row
......
......@@ -20,7 +20,7 @@ import {
Typography,
Tabs,
} from 'antd';
import { TabsProps } from 'antd/lib/tabs';
import { TabsProps } from 'antd/es/tabs';
import classNames from 'classnames';
import DescriptionList from './DescriptionList';
import styles from './style.less';
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.headerList {
margin-bottom: 4px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.descriptionList {
// offset the padding-bottom of last row
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.content {
margin: 24px 24px 0;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.title {
margin-bottom: 16px;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.result {
width: 72%;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.error_icon {
color: @highlight-color;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.result {
width: 72%;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.title {
position: relative;
......
......@@ -4,7 +4,7 @@ import omit from 'omit.js';
import styles from './index.less';
import ItemMap from './map';
import LoginContext, { ILoginContext } from './LoginContext';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
type Omit<T, K extends keyof T> = Pick<T, Exclude<keyof T, K>>;
......
......@@ -2,7 +2,7 @@ import React from 'react';
import classNames from 'classnames';
import { Button, Form } from 'antd';
import styles from './index.less';
import { ButtonProps } from 'antd/lib/button';
import { ButtonProps } from 'antd/es/button';
const FormItem = Form.Item;
interface LoginSubmitProps extends ButtonProps {
......
import React, { Component } from 'react';
import { Tabs } from 'antd';
import { TabPaneProps } from 'antd/lib/tabs';
import { TabPaneProps } from 'antd/es/tabs';
import LoginContext, { ILoginContext } from './LoginContext';
const { TabPane } = Tabs;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.login {
:global {
......
......@@ -5,7 +5,7 @@ import LoginItem, { LoginItemType, LoginItemProps } from './LoginItem';
import LoginTab from './LoginTab';
import styles from './index.less';
import LoginContext, { ILoginContext } from './LoginContext';
import { FormComponentProps } from 'antd/lib/form';
import { FormComponentProps } from 'antd/es/form';
import LoginSubmit from './LoginSubmit';
export interface LoginProps {
......
......@@ -7,8 +7,8 @@ import LoginComponents from './components/Login';
import styles from './style.less';
import { Dispatch } from 'redux';
import { IStateType } from './model';
import { FormComponentProps } from 'antd/lib/form';
import { CheckboxChangeEvent } from 'antd/lib/checkbox';
import { FormComponentProps } from 'antd/es/form';
import { CheckboxChangeEvent } from 'antd/es/checkbox';
const { Tab, UserName, Password, Mobile, Captcha, Submit } = LoginComponents;
......
@import '~antd/lib/style/themes/default.less';
@import '~antd/es/style/themes/default.less';
.main {
width: 368px;
......
This diff is collapsed.
This diff is collapsed.
This diff is collapsed.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment