Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
A
ant-design-pro
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
duanledexianxianxian
ant-design-pro
Commits
c76d911e
Commit
c76d911e
authored
May 06, 2019
by
ιεΈ
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sort package.json
parent
dafdb9c1
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
66 deletions
+6
-66
package.json
package.json
+6
-7
src/typings.d.ts
src/typings.d.ts
+0
-59
No files found.
package.json
View file @
c76d911e
...
@@ -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"
...
...
src/typings.d.ts
View file @
c76d911e
...
@@ -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
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment