Commit c76d911e authored by ι™ˆεΈ…'s avatar ι™ˆεΈ…

sort package.json

parent dafdb9c1
...@@ -56,7 +56,6 @@ ...@@ -56,7 +56,6 @@
"dependencies": { "dependencies": {
"@ant-design/pro-layout": "^4.1.0", "@ant-design/pro-layout": "^4.1.0",
"@antv/data-set": "^0.10.1", "@antv/data-set": "^0.10.1",
"ant-design-pro": "^2.1.1",
"antd": "^3.16.1", "antd": "^3.16.1",
"bizcharts": "3.5.2-beta.1", "bizcharts": "3.5.2-beta.1",
"bizcharts-plugin-slider": "^2.1.1-beta.1", "bizcharts-plugin-slider": "^2.1.1-beta.1",
...@@ -79,11 +78,7 @@ ...@@ -79,11 +78,7 @@
"react-dom": "^16.7.0", "react-dom": "^16.7.0",
"react-fittext": "^1.0.0", "react-fittext": "^1.0.0",
"react-media": "^1.9.2", "react-media": "^1.9.2",
"react-media-hook2": "^1.0.2", "react-media-hook2": "^1.0.2"
"umi": "^2.6.17",
"umi-plugin-pro-block": "^1.3.0",
"umi-plugin-react": "^1.7.2",
"umi-request": "^1.0.5"
}, },
"devDependencies": { "devDependencies": {
"@types/classnames": "^2.2.7", "@types/classnames": "^2.2.7",
...@@ -132,7 +127,11 @@ ...@@ -132,7 +127,11 @@
"tslint-config-prettier": "^1.17.0", "tslint-config-prettier": "^1.17.0",
"tslint-eslint-rules": "^5.4.0", "tslint-eslint-rules": "^5.4.0",
"tslint-react": "^3.6.0", "tslint-react": "^3.6.0",
"umi-plugin-ga": "^1.1.3" "umi": "^2.6.17",
"umi-plugin-ga": "^1.1.3",
"umi-plugin-pro-block": "^1.3.0",
"umi-plugin-react": "^1.7.2",
"umi-request": "^1.0.5"
}, },
"optionalDependencies": { "optionalDependencies": {
"puppeteer": "^1.12.1" "puppeteer": "^1.12.1"
......
...@@ -23,62 +23,3 @@ declare module 'memoize-one' { ...@@ -23,62 +23,3 @@ declare module 'memoize-one' {
): T; ): T;
export default memoizeOne; export default memoizeOne;
} }
declare module 'ant-design-pro' {
import { Component } from 'react';
export interface NoticeIconTabProps<T extends NoticeIconData = NoticeIconData> {
className?: string;
count?: number;
emptyText?: React.ReactNode;
emptyImage?: string;
list?: T[];
showClear?: boolean;
showViewMore?: boolean;
style?: React.CSSProperties;
title?: string;
}
export type NoticeIconTabComponent<T extends NoticeIconData = NoticeIconData> = React.FC<
NoticeIconTabProps<T>
>;
export interface NoticeIconData {
avatar?: string | React.ReactNode;
clickClose?: boolean;
description?: React.ReactNode;
datetime?: React.ReactNode;
extra?: React.ReactNode;
key?: string | number;
read?: boolean;
style?: React.CSSProperties;
title?: React.ReactNode;
[key: string]: any;
}
export interface NoticeIconProps<T extends NoticeIconData = NoticeIconData> {
count?: number;
bell?: React.ReactNode;
className?: string;
loading?: boolean;
onClear?: (tabTitle?: string) => void;
onItemClick?: (item: T, tabProps: NoticeIconProps<T>) => void;
onViewMore?: (tabProps: NoticeIconProps<T>, e: React.MouseEvent) => void;
onTabChange?: (tabTile?: string) => void;
style?: React.CSSProperties;
onPopupVisibleChange?: (visible: boolean) => void;
popupVisible?: boolean;
locale?: {
emptyText: string;
clear: string;
viewMore: string;
[key: string]: string;
};
clearClose?: boolean;
}
export default class NoticeIcon<T extends NoticeIconData = NoticeIconData> extends Component<
NoticeIconProps<T>
> {
static Tab: NoticeIconTabComponent;
}
}
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