@zgfe/modules-interval 1.0.0-interval.23 → 1.0.0-interval.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/components/common/index.js +7 -12
- package/dist/esm/components/common/styles/index.less +3 -3
- package/dist/esm/components/table/styles/index.less +7 -7
- package/dist/esm/modules/chart/index.less +6 -6
- package/dist/esm/modules/chart/intervalChart.js +5 -1
- package/dist/esm/modules/content/index.js +1 -1
- package/dist/esm/modules/home/styles/index.less +1 -1
- package/dist/esm/modules/topPanel/index.js +1 -0
- package/dist/esm/modules/topPanel/styles/index.less +14 -15
- package/package.json +2 -2
|
@@ -1,16 +1,13 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import "./styles/index.less";
|
|
3
|
-
import {
|
|
3
|
+
import { BizLoading } from '@zgfe/business-lib';
|
|
4
|
+
import { Empty } from 'antd';
|
|
4
5
|
var classPrefix = 'mi-common-interval';
|
|
5
6
|
|
|
6
7
|
// 加载按钮
|
|
7
8
|
export var MiSpin = function MiSpin() {
|
|
8
|
-
return /*#__PURE__*/React.createElement(
|
|
9
|
-
|
|
10
|
-
className: "mi-common-interval-content",
|
|
11
|
-
style: {
|
|
12
|
-
width: '100%'
|
|
13
|
-
}
|
|
9
|
+
return /*#__PURE__*/React.createElement(BizLoading, {
|
|
10
|
+
className: "mi-common-interval-content"
|
|
14
11
|
}, /*#__PURE__*/React.createElement("div", null));
|
|
15
12
|
};
|
|
16
13
|
|
|
@@ -18,9 +15,7 @@ export var MiSpin = function MiSpin() {
|
|
|
18
15
|
export var MiNone = function MiNone(props) {
|
|
19
16
|
return /*#__PURE__*/React.createElement("div", {
|
|
20
17
|
className: "".concat(classPrefix, "-none-container")
|
|
21
|
-
}, /*#__PURE__*/React.createElement(
|
|
22
|
-
|
|
23
|
-
})
|
|
24
|
-
className: "".concat(classPrefix, "-none-text")
|
|
25
|
-
}, " ", props.label));
|
|
18
|
+
}, /*#__PURE__*/React.createElement(Empty, {
|
|
19
|
+
image: Empty.PRESENTED_IMAGE_SIMPLE
|
|
20
|
+
}));
|
|
26
21
|
};
|
|
@@ -29,12 +29,12 @@
|
|
|
29
29
|
align-items: center;
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
.mi-common-interval-content{
|
|
32
|
+
.mi-common-interval-content {
|
|
33
33
|
width: 100%;
|
|
34
|
-
.ant-spin-text{
|
|
34
|
+
.ant-spin-text {
|
|
35
35
|
color: #ccc;
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
.ant-spin-nested-loading{
|
|
38
|
+
.ant-spin-nested-loading {
|
|
39
39
|
width: 100%;
|
|
40
40
|
}
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
.ant-table {
|
|
6
6
|
border-radius: 8px;
|
|
7
7
|
}
|
|
8
|
-
.ant-table-cell-with-append .ant-table-row-expand-icon{
|
|
9
|
-
border: 1px solid #9AA1A9;
|
|
8
|
+
.ant-table-cell-with-append .ant-table-row-expand-icon {
|
|
10
9
|
left: 16px !important;
|
|
11
|
-
color: #
|
|
10
|
+
color: #9aa1a9;
|
|
11
|
+
border: 1px solid #9aa1a9;
|
|
12
12
|
}
|
|
13
|
-
.ant-table-row-expand-icon::before{
|
|
13
|
+
.ant-table-row-expand-icon::before {
|
|
14
14
|
height: 1.4px !important;
|
|
15
15
|
}
|
|
16
|
-
.ant-table-row-expand-icon::after{
|
|
16
|
+
.ant-table-row-expand-icon::after {
|
|
17
17
|
width: 1.4px !important;
|
|
18
18
|
}
|
|
19
19
|
.ant-table-cell {
|
|
@@ -61,9 +61,9 @@
|
|
|
61
61
|
vertical-align: -2px;
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
|
-
div:hover{
|
|
65
|
-
border: 1px solid #165dff;
|
|
64
|
+
div:hover {
|
|
66
65
|
color: #165dff;
|
|
66
|
+
border: 1px solid #165dff;
|
|
67
67
|
}
|
|
68
68
|
}
|
|
69
69
|
}
|
|
@@ -6,21 +6,21 @@
|
|
|
6
6
|
align-items: flex-start;
|
|
7
7
|
width: 146px;
|
|
8
8
|
height: 100%;
|
|
9
|
+
padding: 8px;
|
|
9
10
|
color: var(--io-n, #021429);
|
|
10
11
|
font-weight: 500;
|
|
11
12
|
font-size: 12px;
|
|
12
13
|
font-style: normal;
|
|
14
|
+
background: rgba(250, 251, 253, 0.8);
|
|
13
15
|
border-radius: 10px;
|
|
14
|
-
padding: 8px;
|
|
15
16
|
box-shadow: 0px 4px 10px 0px #0000001a;
|
|
16
|
-
background: rgba(250, 251, 253, 0.80);
|
|
17
17
|
|
|
18
18
|
.custom-tooltip-name {
|
|
19
19
|
color: var(--io-n, #021429);
|
|
20
|
-
font-
|
|
20
|
+
font-weight: 500;
|
|
21
21
|
font-size: 12px;
|
|
22
|
+
font-family: PingFang SC;
|
|
22
23
|
font-style: normal;
|
|
23
|
-
font-weight: 500;
|
|
24
24
|
line-height: normal;
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
line-height: normal;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
>div {
|
|
48
|
+
> div {
|
|
49
49
|
display: flex;
|
|
50
50
|
align-items: center;
|
|
51
51
|
justify-content: space-between;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
>div:nth-child(1) {
|
|
54
|
+
> div:nth-child(1) {
|
|
55
55
|
justify-content: flex-start;
|
|
56
56
|
}
|
|
57
57
|
}
|
|
@@ -31,8 +31,12 @@ var IntervalChart = function IntervalChart(props) {
|
|
|
31
31
|
legend: {
|
|
32
32
|
bottom: 0,
|
|
33
33
|
icon: 'circle',
|
|
34
|
-
type: 'scroll'
|
|
34
|
+
type: 'scroll',
|
|
35
|
+
itemWidth: 10,
|
|
36
|
+
// 设置图例的宽度为10px
|
|
37
|
+
itemHeight: 10 // 设置图例的高度为10px
|
|
35
38
|
},
|
|
39
|
+
|
|
36
40
|
grid: {
|
|
37
41
|
top: '10',
|
|
38
42
|
left: '0',
|
|
@@ -148,7 +148,7 @@ var EventContent = function EventContent(props) {
|
|
|
148
148
|
setEventData(result);
|
|
149
149
|
setFinalSearchData(_objectSpread({}, searchData));
|
|
150
150
|
setTimeout(function () {
|
|
151
|
-
setLoading(
|
|
151
|
+
setLoading(false);
|
|
152
152
|
}, 0);
|
|
153
153
|
}).catch(function () {
|
|
154
154
|
setLoading(false);
|
|
@@ -60,9 +60,6 @@
|
|
|
60
60
|
}
|
|
61
61
|
|
|
62
62
|
.collapseRefs {
|
|
63
|
-
.biz-attr-condition-group-container {
|
|
64
|
-
margin-top: 6px;
|
|
65
|
-
}
|
|
66
63
|
|
|
67
64
|
.ant-form-item {
|
|
68
65
|
margin-bottom: 12px;
|
|
@@ -74,32 +71,31 @@
|
|
|
74
71
|
}
|
|
75
72
|
|
|
76
73
|
.ant-form-item-label {
|
|
74
|
+
font-weight: 500;
|
|
77
75
|
padding-left: 24px;
|
|
78
76
|
}
|
|
79
77
|
|
|
80
78
|
.interval-box {
|
|
81
|
-
>div:nth-child(1) {
|
|
79
|
+
> div:nth-child(1) {
|
|
82
80
|
padding: 4px 24px;
|
|
83
81
|
}
|
|
84
82
|
|
|
85
|
-
>div:nth-child(1):hover {
|
|
83
|
+
> div:nth-child(1):hover {
|
|
86
84
|
background-color: #e8efff;
|
|
87
85
|
}
|
|
88
86
|
|
|
89
87
|
.biz-attr-condition-group-handle {
|
|
90
88
|
margin-right: 0;
|
|
91
|
-
margin-left:
|
|
89
|
+
margin-left: 32px;
|
|
92
90
|
}
|
|
93
91
|
|
|
94
92
|
.biz-attr-condition-group-container {
|
|
95
93
|
gap: 4px !important;
|
|
96
94
|
}
|
|
97
95
|
|
|
98
|
-
.
|
|
99
|
-
max-width: calc(100% +
|
|
100
|
-
|
|
101
|
-
padding: 4px 54px;
|
|
102
|
-
|
|
96
|
+
.biz-attr-condition-group-container-item {
|
|
97
|
+
max-width: calc(100% + 32px) !important;
|
|
98
|
+
padding: 4px 56px;
|
|
103
99
|
.ant-space-item {
|
|
104
100
|
width: auto;
|
|
105
101
|
max-width: auto;
|
|
@@ -128,16 +124,19 @@
|
|
|
128
124
|
width: 208px;
|
|
129
125
|
}
|
|
130
126
|
|
|
131
|
-
|
|
132
|
-
margin-bottom:
|
|
127
|
+
> .ant-form-item {
|
|
128
|
+
margin-bottom: 14px;
|
|
129
|
+
.biz-user-group-val{
|
|
130
|
+
color: #021429;
|
|
131
|
+
}
|
|
133
132
|
}
|
|
134
133
|
|
|
135
134
|
.associated {
|
|
136
|
-
margin-top: -
|
|
135
|
+
margin-top: -10px;
|
|
137
136
|
margin-bottom: 12px;
|
|
138
137
|
|
|
139
138
|
.qingchu {
|
|
140
|
-
color: #
|
|
139
|
+
color: #9aa1a9;
|
|
141
140
|
}
|
|
142
141
|
|
|
143
142
|
.qingchu:hover {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zgfe/modules-interval",
|
|
3
|
-
"version": "1.0.0-interval.
|
|
3
|
+
"version": "1.0.0-interval.25",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"start": "dumi dev",
|
|
6
6
|
"docs:build": "dumi build",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"@types/uuid": "^9.0.2",
|
|
44
44
|
"@umijs/fabric": "^2.8.1",
|
|
45
45
|
"@umijs/test": "^3.0.5",
|
|
46
|
-
"@zgfe/business-lib": "1.1.
|
|
46
|
+
"@zgfe/business-lib": "1.1.84-panel.6",
|
|
47
47
|
"@zgfe/modules-demo-manage": "^1.0.1",
|
|
48
48
|
"antd": "^4.22.6",
|
|
49
49
|
"dumi": "^1.1.0",
|