Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wisdom-components
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ReactWeb5
wisdom-components
Commits
98cc2ffa
Commit
98cc2ffa
authored
Apr 20, 2021
by
涂茜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: package
parent
f8b5b157
Pipeline
#26198
failed with stages
in 20 seconds
Changes
10
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
13 additions
and
18 deletions
+13
-18
package.json
packages/BasicTable/package.json
+0
-1
package.json
packages/DeviceTree/package.json
+0
-1
package.json
packages/HistoryInfo/package.json
+0
-3
HistoryInfo.md
packages/HistoryInfo/src/HistoryInfo.md
+9
-8
Basic.tsx
packages/HistoryInfo/src/demos/Basic.tsx
+1
-0
index.js
packages/HistoryInfo/src/index.js
+3
-1
package.json
packages/ImageSelect/package.json
+0
-1
package.json
packages/QuotaSelect/package.json
+0
-1
package.json
packages/RealTimeInfo/package.json
+0
-1
package.json
packages/TimeRangePicker/package.json
+0
-1
No files found.
packages/BasicTable/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.4"
,
"classnames"
:
"^2.2.6"
}
}
packages/DeviceTree/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.3"
,
"classnames"
:
"^2.2.6"
}
}
packages/HistoryInfo/package.json
View file @
98cc2ffa
...
...
@@ -24,9 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.3"
,
"@wisdom-components/basictable"
:
"1.4.0"
,
"@wisdom-components/timerangepicker"
:
"1.3.6"
,
"classnames"
:
"^2.2.6"
,
"highcharts"
:
"^9.0.1"
,
"highcharts-react-official"
:
"^3.0.0"
,
...
...
packages/HistoryInfo/src/HistoryInfo.md
View file @
98cc2ffa
...
...
@@ -28,11 +28,12 @@ group:
api 参考 Antd Table 组件 https://ant.design/components/table-cn/#API
| 参数 | 说明 | 类型 | 默认值 |
| ------------ | ---------------------------------------------- | ------------------ | -------- |
| title | 标题 | string | 指标曲线 |
| columns | 表格列的配置描述 | array |
[
]
|
| dataSource | 表格数据源 | array |
[
]
|
| tableProps | 表格其他 props | object | { } |
| chartOptions | 曲线的 options | object | { } |
| onChange | 选择时间设置或曲线设置的回调,会返回修改后的值 | function(value){ } | - |
| 参数 | 说明 | 类型 | 默认值 |
| -------------- | ---------------------------------------------- | ------------------ | -------- |
| title | 标题 | string | 指标曲线 |
| defaultChecked | 默认选中自定义时间 key | string | oneHour |
| columns | 表格列的配置描述 | array |
[
]
|
| dataSource | 表格数据源 | array |
[
]
|
| tableProps | 表格其他 props | object | { } |
| chartOptions | 曲线的 options | object | { } |
| onChange | 选择时间设置或曲线设置的回调,会返回修改后的值 | function(value){ } | - |
packages/HistoryInfo/src/demos/Basic.tsx
View file @
98cc2ffa
...
...
@@ -99,6 +99,7 @@ const Demo = () => {
chartOptions=
{
{
series
}
}
tableProps=
{
{
bordered
:
true
}
}
onChange=
{
onChangeParams
}
defaultChecked=
{
'roundClock'
}
/>
);
};
...
...
packages/HistoryInfo/src/index.js
View file @
98cc2ffa
...
...
@@ -107,7 +107,7 @@ const HistoryInfo = (props) => {
const
[
timeValue
,
setTimeValue
]
=
useState
(
'customer'
);
const
[
contrastOption
,
setContrastOption
]
=
useState
(
'day'
);
const
[
customerChecked
,
setCustomerChecked
]
=
useState
(
null
);
const
[
customerChecked
,
setCustomerChecked
]
=
useState
(
props
.
defaultChecked
||
'oneHour'
);
const
[
customerTime
,
setCustomerTime
]
=
useState
(
null
);
const
[
datePickerArr
,
setDatePickerArr
]
=
useState
(
DataPickerArr
);
const
[
checkboxData
,
setCheckboxData
]
=
useState
(
CheckboxData
);
...
...
@@ -486,6 +486,7 @@ const HistoryInfo = (props) => {
HistoryInfo
.
defaultProps
=
{
title
:
'指标曲线'
,
defaultChecked
:
'oneHour'
,
columns
:
[],
dataSource
:
[],
tableProps
:
{},
...
...
@@ -495,6 +496,7 @@ HistoryInfo.defaultProps = {
HistoryInfo
.
propTypes
=
{
title
:
PropTypes
.
string
,
defaultChecked
:
PropTypes
.
string
,
columns
:
PropTypes
.
array
,
dataSource
:
PropTypes
.
array
,
tableProps
:
PropTypes
.
object
,
...
...
packages/ImageSelect/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.3"
,
"classnames"
:
"^2.2.6"
}
}
packages/QuotaSelect/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.3"
,
"classnames"
:
"^2.2.6"
}
}
packages/RealTimeInfo/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/basictable"
:
"1.4.0"
,
"classnames"
:
"^2.2.6"
}
}
packages/TimeRangePicker/package.json
View file @
98cc2ffa
...
...
@@ -24,7 +24,6 @@
"test"
:
"echo
\"
Error: run tests from root
\"
&& exit 1"
},
"dependencies"
:
{
"@wisdom-components/Empty"
:
"^1.3.3"
,
"classnames"
:
"^2.2.6"
}
}
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