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
37758b8a
Commit
37758b8a
authored
Nov 02, 2017
by
nikogu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unnecessary dependency of components from scaffold
parent
541128ec
Changes
15
Hide whitespace changes
Inline
Side-by-side
Showing
15 changed files
with
24 additions
and
19 deletions
+24
-19
src/components/ActiveChart/index.js
src/components/ActiveChart/index.js
+4
-1
src/components/ActiveChart/index.less
src/components/ActiveChart/index.less
+0
-3
src/components/Charts/ChartCard/index.less
src/components/Charts/ChartCard/index.less
+7
-1
src/components/Charts/Field/index.less
src/components/Charts/Field/index.less
+0
-1
src/components/Charts/MiniProgress/index.less
src/components/Charts/MiniProgress/index.less
+0
-1
src/components/Charts/Pie/index.js
src/components/Charts/Pie/index.js
+5
-3
src/components/Charts/Pie/index.less
src/components/Charts/Pie/index.less
+0
-1
src/components/Charts/Radar/index.less
src/components/Charts/Radar/index.less
+0
-1
src/components/Charts/WaterWave/index.less
src/components/Charts/WaterWave/index.less
+0
-1
src/components/Exception/index.less
src/components/Exception/index.less
+1
-1
src/components/NumberInfo/index.less
src/components/NumberInfo/index.less
+7
-1
src/components/StandardFormRow/index.less
src/components/StandardFormRow/index.less
+0
-1
src/components/StandardTable/index.less
src/components/StandardTable/index.less
+0
-1
src/components/TagSelect/index.less
src/components/TagSelect/index.less
+0
-1
src/components/Trend/index.less
src/components/Trend/index.less
+0
-1
No files found.
src/components/ActiveChart/index.js
View file @
37758b8a
...
...
@@ -2,10 +2,13 @@ import React, { PureComponent } from 'react';
import
{
MiniArea
}
from
'
../Charts
'
;
import
NumberInfo
from
'
../NumberInfo
'
;
import
{
fixedZero
}
from
'
../../utils/utils
'
;
import
styles
from
'
./index.less
'
;
function
fixedZero
(
val
)
{
return
val
*
1
<
10
?
`0
${
val
}
`
:
val
;
}
function
getActiveData
()
{
const
activeData
=
[];
for
(
let
i
=
0
;
i
<
24
;
i
+=
1
)
{
...
...
src/components/ActiveChart/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.activeChart {
position: relative;
}
...
...
src/components/Charts/ChartCard/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.textOverflow() {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
}
.chartCard {
position: relative;
...
...
src/components/Charts/Field/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.field {
white-space: nowrap;
...
...
src/components/Charts/MiniProgress/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.miniProgress {
padding: 5px 0;
...
...
src/components/Charts/Pie/index.js
View file @
37758b8a
...
...
@@ -45,14 +45,16 @@ class Pie extends Component {
if
(
!
this
.
state
.
legendBlock
)
{
this
.
setState
({
legendBlock
:
true
,
},
()
=>
{
this
.
renderChart
();
});
this
.
renderChart
();
}
}
else
if
(
this
.
state
.
legendBlock
)
{
this
.
setState
({
legendBlock
:
false
,
},
()
=>
{
this
.
renderChart
();
});
this
.
renderChart
();
}
}
...
...
@@ -94,7 +96,7 @@ class Pie extends Component {
animate
=
true
,
colors
,
lineWidth
=
0
,
}
=
this
.
props
;
}
=
this
.
props
;
const
defaultColors
=
colors
;
...
...
src/components/Charts/Pie/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.pie {
position: relative;
...
...
src/components/Charts/Radar/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.radar {
.legend {
...
...
src/components/Charts/WaterWave/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../../utils/utils.less";
.waterWave {
display: inline-block;
...
...
src/components/Exception/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "
../../utils/utils
.less";
@import "
~antd/lib/style/mixins/clearfix
.less";
.exception {
display: flex;
...
...
src/components/NumberInfo/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.textOverflow() {
overflow: hidden;
text-overflow: ellipsis;
word-break: break-all;
white-space: nowrap;
}
.numberInfo {
.suffix {
...
...
src/components/StandardFormRow/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.standardFormRow {
border-bottom: 1px dashed @border-color-split;
...
...
src/components/StandardTable/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.standardTable {
:global {
...
...
src/components/TagSelect/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.tagSelect {
user-select: none;
...
...
src/components/Trend/index.less
View file @
37758b8a
@import "~antd/lib/style/themes/default.less";
@import "../../utils/utils.less";
.trendItem {
display: inline-block;
...
...
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