@zgfe/modules-interval 1.0.23-zhongyuan.0 → 1.0.23-zhongyuan.10
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/README.md +35 -35
- package/dist/esm/components/common/styles/index.less +40 -40
- package/dist/esm/components/eventFilter/index.js +6 -5
- package/dist/esm/components/eventFilter/styles/index.less +39 -39
- package/dist/esm/components/renderContent/styles/index.css +32 -0
- package/dist/esm/components/renderContent/styles/index.less +1 -0
- package/dist/esm/components/searchPanel/index.js +6 -1
- package/dist/esm/components/searchPanel/styles/index.less +71 -71
- package/dist/esm/components/table/index.js +3 -2
- package/dist/esm/components/table/styles/index.less +138 -138
- package/dist/esm/components/topBar/styles/index.less +16 -16
- package/dist/esm/constants/apis.js +4 -4
- package/dist/esm/constants/code.d.ts +13 -0
- package/dist/esm/constants/code.js +13 -0
- package/dist/esm/constants/fields.js +4 -4
- package/dist/esm/modules/chart/customTooltip.js +5 -3
- package/dist/esm/modules/chart/customTooltip1.d.ts +7 -0
- package/dist/esm/modules/chart/customTooltip1.js +46 -0
- package/dist/esm/modules/chart/index.css +52 -0
- package/dist/esm/modules/chart/index.js +19 -8
- package/dist/esm/modules/chart/index.less +1 -1
- package/dist/esm/modules/chart/intervalChart copy.d.ts +4 -0
- package/dist/esm/modules/chart/intervalChart copy.js +299 -0
- package/dist/esm/modules/chart/intervalChart.js +321 -35
- package/dist/esm/modules/chart/types.d.ts +5 -0
- package/dist/esm/modules/content/index.js +50 -20
- package/dist/esm/modules/content/styles/index.less +25 -25
- package/dist/esm/modules/content/utils.js +1 -1
- package/dist/esm/modules/home/demo/create.js +5 -3
- package/dist/esm/modules/home/demo/edit.js +132 -34
- package/dist/esm/modules/home/demo/index.js +1 -1
- package/dist/esm/modules/home/demo/scene.js +1 -1
- package/dist/esm/modules/home/demo/styles/index.less +33 -33
- package/dist/esm/modules/home/index.js +8 -1
- package/dist/esm/modules/home/styles/index.less +69 -69
- package/dist/esm/modules/topPanel/index.js +39 -29
- package/dist/esm/modules/topPanel/styles/index.less +6 -6
- package/dist/esm/modules/topPanel/types.d.ts +1 -0
- package/dist/esm/style/image/empty.png +0 -0
- package/dist/esm/style/image/ring.svg +9 -9
- package/dist/esm/style/index.less +67 -67
- package/dist/esm/types.js +6 -6
- package/dist/esm/utils/ajaxConfig.js +5 -5
- package/dist/esm/utils/formData.d.ts +4 -0
- package/dist/esm/utils/formData.js +36 -30
- package/dist/esm/utils/util.js +28 -28
- package/package.json +6 -6
package/README.md
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
# modules-interval
|
|
2
|
-
|
|
3
|
-
## Getting Started
|
|
4
|
-
|
|
5
|
-
Install dependencies,
|
|
6
|
-
|
|
7
|
-
```bash
|
|
8
|
-
$ npm i
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
Start the dev server,
|
|
12
|
-
|
|
13
|
-
```bash
|
|
14
|
-
$ npm start
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
Build documentation,
|
|
18
|
-
|
|
19
|
-
```bash
|
|
20
|
-
$ npm run docs:build
|
|
21
|
-
```
|
|
22
|
-
|
|
23
|
-
Run test,
|
|
24
|
-
|
|
25
|
-
```bash
|
|
26
|
-
$ npm test
|
|
27
|
-
```
|
|
28
|
-
|
|
29
|
-
Build library via `father`,
|
|
30
|
-
|
|
31
|
-
```bash
|
|
32
|
-
$ npm run build
|
|
33
|
-
```
|
|
34
|
-
|
|
35
|
-
update
|
|
1
|
+
# modules-interval
|
|
2
|
+
|
|
3
|
+
## Getting Started
|
|
4
|
+
|
|
5
|
+
Install dependencies,
|
|
6
|
+
|
|
7
|
+
```bash
|
|
8
|
+
$ npm i
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
Start the dev server,
|
|
12
|
+
|
|
13
|
+
```bash
|
|
14
|
+
$ npm start
|
|
15
|
+
```
|
|
16
|
+
|
|
17
|
+
Build documentation,
|
|
18
|
+
|
|
19
|
+
```bash
|
|
20
|
+
$ npm run docs:build
|
|
21
|
+
```
|
|
22
|
+
|
|
23
|
+
Run test,
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
$ npm test
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
Build library via `father`,
|
|
30
|
+
|
|
31
|
+
```bash
|
|
32
|
+
$ npm run build
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
update
|
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
-
|
|
3
|
-
.mi-common-interval {
|
|
4
|
-
.ant-spin-nested-loading {
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
&-loading-icon {
|
|
8
|
-
z-index: 1000;
|
|
9
|
-
display: inline-block;
|
|
10
|
-
width: 40px;
|
|
11
|
-
height: 40px;
|
|
12
|
-
background: url('../../../style/image/ring.svg') no-repeat;
|
|
13
|
-
background-size: contain;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
&-none-text {
|
|
17
|
-
color: #354354;
|
|
18
|
-
font-size: 14px;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
&-none-empty {
|
|
22
|
-
width: 88px;
|
|
23
|
-
height: 88px;
|
|
24
|
-
background-image: url('../../../style/image/empty.png');
|
|
25
|
-
background-repeat: no-repeat;
|
|
26
|
-
background-size: cover;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
&-none-container {
|
|
30
|
-
display: flex;
|
|
31
|
-
flex-direction: column;
|
|
32
|
-
align-items: center;
|
|
33
|
-
}
|
|
34
|
-
}
|
|
35
|
-
.mi-common-interval-content {
|
|
36
|
-
width: 100%;
|
|
37
|
-
.ant-spin-text {
|
|
38
|
-
color: #ccc;
|
|
39
|
-
}
|
|
40
|
-
}
|
|
1
|
+
@import '~@zgfe/business-lib/es/assets/styles/inner.less';
|
|
2
|
+
|
|
3
|
+
.mi-common-interval {
|
|
4
|
+
.ant-spin-nested-loading {
|
|
5
|
+
width: 100%;
|
|
6
|
+
}
|
|
7
|
+
&-loading-icon {
|
|
8
|
+
z-index: 1000;
|
|
9
|
+
display: inline-block;
|
|
10
|
+
width: 40px;
|
|
11
|
+
height: 40px;
|
|
12
|
+
background: url('../../../style/image/ring.svg') no-repeat;
|
|
13
|
+
background-size: contain;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
&-none-text {
|
|
17
|
+
color: #354354;
|
|
18
|
+
font-size: 14px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
&-none-empty {
|
|
22
|
+
width: 88px;
|
|
23
|
+
height: 88px;
|
|
24
|
+
background-image: url('../../../style/image/empty.png');
|
|
25
|
+
background-repeat: no-repeat;
|
|
26
|
+
background-size: cover;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
&-none-container {
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
align-items: center;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
.mi-common-interval-content {
|
|
36
|
+
width: 100%;
|
|
37
|
+
.ant-spin-text {
|
|
38
|
+
color: #ccc;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -18,7 +18,8 @@ import _ from 'lodash';
|
|
|
18
18
|
var classPrefix = 'interval-box';
|
|
19
19
|
var EventFilter = function EventFilter(props) {
|
|
20
20
|
var _useContext = useContext(BizGlobalDataContext),
|
|
21
|
-
eventIdMap = _useContext.eventIdMap
|
|
21
|
+
eventIdMap = _useContext.eventIdMap,
|
|
22
|
+
envs = _useContext.envs;
|
|
22
23
|
// 筛选条件个数
|
|
23
24
|
var _useState = useState(0),
|
|
24
25
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -95,8 +96,8 @@ var EventFilter = function EventFilter(props) {
|
|
|
95
96
|
return;
|
|
96
97
|
}
|
|
97
98
|
// 最多可添加10条属性筛选
|
|
98
|
-
if (count >= 10) {
|
|
99
|
-
message.error(
|
|
99
|
+
if (count >= ((envs === null || envs === void 0 ? void 0 : envs.propertyNum) || 10)) {
|
|
100
|
+
message.error("\u6700\u591A\u53EF\u6DFB\u52A0 ".concat((envs === null || envs === void 0 ? void 0 : envs.propertyNum) || 10, " \u6761\u5C5E\u6027\u7B5B\u9009"));
|
|
100
101
|
return;
|
|
101
102
|
}
|
|
102
103
|
setIsAdd(true);
|
|
@@ -169,9 +170,9 @@ var EventFilter = function EventFilter(props) {
|
|
|
169
170
|
placeholder: "\u8BF7\u9009\u62E9\u4E8B\u4EF6"
|
|
170
171
|
}), /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(Tooltip, {
|
|
171
172
|
placement: "top",
|
|
172
|
-
title: !eventOverview ? '请先选择目标事件' : count < 10 ? '添加属性筛选' :
|
|
173
|
+
title: !eventOverview ? '请先选择目标事件' : count < ((envs === null || envs === void 0 ? void 0 : envs.propertyNum) || 10) ? '添加属性筛选' : "\u6700\u591A\u53EF\u6DFB\u52A0 ".concat((envs === null || envs === void 0 ? void 0 : envs.propertyNum) || 10, " \u6761\u5C5E\u6027\u7B5B\u9009")
|
|
173
174
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
174
|
-
className: "".concat(count >= 10 || event.id === -1 || !eventOverview ? 'disable' : ''),
|
|
175
|
+
className: "".concat(count >= ((envs === null || envs === void 0 ? void 0 : envs.propertyNum) || 10) || event.id === -1 || !eventOverview ? 'disable' : ''),
|
|
175
176
|
type: "shaixuan",
|
|
176
177
|
onClick: function onClick() {
|
|
177
178
|
return onAdd();
|
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
.interval-box {
|
|
2
|
-
> :nth-child(1) {
|
|
3
|
-
display: flex;
|
|
4
|
-
gap: 16px;
|
|
5
|
-
align-items: center;
|
|
6
|
-
margin-bottom: 0 !important;
|
|
7
|
-
.biz-event-select,
|
|
8
|
-
.biz-attr-select {
|
|
9
|
-
width: 208px;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.shaixuan {
|
|
13
|
-
margin-top: 2px;
|
|
14
|
-
color: #9aa1a9;
|
|
15
|
-
font-size: 20px !important;
|
|
16
|
-
cursor: pointer;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.shaixuan:hover {
|
|
20
|
-
color: #165dff;
|
|
21
|
-
}
|
|
22
|
-
|
|
23
|
-
.disable {
|
|
24
|
-
color: #ccd0d4 !important;
|
|
25
|
-
cursor: not-allowed !important;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.switch-title {
|
|
29
|
-
margin-left: -8px;
|
|
30
|
-
color: var(--io-n-8, #354354);
|
|
31
|
-
font-weight: 400;
|
|
32
|
-
font-size: 14px;
|
|
33
|
-
font-family: PingFang SC;
|
|
34
|
-
font-style: normal;
|
|
35
|
-
line-height: normal;
|
|
36
|
-
letter-spacing: 1px;
|
|
37
|
-
}
|
|
38
|
-
}
|
|
39
|
-
}
|
|
1
|
+
.interval-box {
|
|
2
|
+
> :nth-child(1) {
|
|
3
|
+
display: flex;
|
|
4
|
+
gap: 16px;
|
|
5
|
+
align-items: center;
|
|
6
|
+
margin-bottom: 0 !important;
|
|
7
|
+
.biz-event-select,
|
|
8
|
+
.biz-attr-select {
|
|
9
|
+
width: 208px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.shaixuan {
|
|
13
|
+
margin-top: 2px;
|
|
14
|
+
color: #9aa1a9;
|
|
15
|
+
font-size: 20px !important;
|
|
16
|
+
cursor: pointer;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.shaixuan:hover {
|
|
20
|
+
color: #165dff;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.disable {
|
|
24
|
+
color: #ccd0d4 !important;
|
|
25
|
+
cursor: not-allowed !important;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.switch-title {
|
|
29
|
+
margin-left: -8px;
|
|
30
|
+
color: var(--io-n-8, #354354);
|
|
31
|
+
font-weight: 400;
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
font-family: PingFang SC;
|
|
34
|
+
font-style: normal;
|
|
35
|
+
line-height: normal;
|
|
36
|
+
letter-spacing: 1px;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
.render-content-interval-chart-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
align-items: center;
|
|
5
|
+
justify-content: center;
|
|
6
|
+
min-height: 300px;
|
|
7
|
+
}
|
|
8
|
+
.render-content-interval-chart-container .echarts-for-react {
|
|
9
|
+
width: 100%;
|
|
10
|
+
background: #fff;
|
|
11
|
+
border: 1px solid var(--unnamed, #ecedf0);
|
|
12
|
+
border-radius: 8px;
|
|
13
|
+
}
|
|
14
|
+
.render-content-interval-MiNone {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
justify-content: center;
|
|
18
|
+
width: 100%;
|
|
19
|
+
height: 368px;
|
|
20
|
+
padding: 24px 16px;
|
|
21
|
+
border: 1px solid #ecedf0;
|
|
22
|
+
border-radius: 8px;
|
|
23
|
+
}
|
|
24
|
+
.render-content-interval-spin-container {
|
|
25
|
+
display: flex !important;
|
|
26
|
+
align-items: center;
|
|
27
|
+
justify-content: center;
|
|
28
|
+
min-height: 300px;
|
|
29
|
+
}
|
|
30
|
+
.render-content-interval-spin-container .biz-loading-wrapper {
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
@@ -10,7 +10,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
10
10
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
11
11
|
function _iterableToArrayLimit(arr, i) { var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; if (null != _i) { var _s, _e, _x, _r, _arr = [], _n = !0, _d = !1; try { if (_x = (_i = _i.call(arr)).next, 0 === i) { if (Object(_i) !== _i) return; _n = !1; } else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); } catch (err) { _d = !0, _e = err; } finally { try { if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; } finally { if (_d) throw _e; } } return _arr; } }
|
|
12
12
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
13
|
-
import { BizSelect, IconFont, BizDatePickerV2 } from '@zgfe/business-lib';
|
|
13
|
+
import { BizSelect, IconFont, BizDatePickerV2, BizGlobalDataContext } from '@zgfe/business-lib';
|
|
14
14
|
import { DatePickerTypes } from '@zgfe/business-lib/es/datePickerV2/types';
|
|
15
15
|
import React, { useContext, useEffect, useState } from 'react';
|
|
16
16
|
import { chartTypeOptions, getInitDate } from "../../constants";
|
|
@@ -24,6 +24,8 @@ var SearchPanel = function SearchPanel(props) {
|
|
|
24
24
|
includeToday = _useContext.includeToday,
|
|
25
25
|
searchData = _useContext.searchData,
|
|
26
26
|
refreshLoading = _useContext.refreshLoading;
|
|
27
|
+
var _useContext2 = useContext(BizGlobalDataContext),
|
|
28
|
+
envs = _useContext2.envs;
|
|
27
29
|
// 当前时间段
|
|
28
30
|
var _useState = useState(props.time || getInitDate(includeToday)),
|
|
29
31
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -108,6 +110,9 @@ var SearchPanel = function SearchPanel(props) {
|
|
|
108
110
|
dateTypeList: [DatePickerTypes.Unit.day, DatePickerTypes.Unit.week, DatePickerTypes.Unit.month, DatePickerTypes.Unit.custom],
|
|
109
111
|
value: time,
|
|
110
112
|
includeToday: true,
|
|
113
|
+
selectRange: envs && envs.timeRangeOpen ? envs.timeRangeOpen : 36,
|
|
114
|
+
timeRangeOpen: envs && envs.timeRangeOpen ? envs.timeRangeOpen : 36,
|
|
115
|
+
selectRangeUnit: envs && envs.timeRangeOpen ? 'months' : 'days',
|
|
111
116
|
onChange: onChangeTime
|
|
112
117
|
}), /*#__PURE__*/React.createElement(BizSelect, {
|
|
113
118
|
multiple: true,
|
|
@@ -1,71 +1,71 @@
|
|
|
1
|
-
.search-panel-interval {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
justify-content: space-between;
|
|
5
|
-
height: 32px;
|
|
6
|
-
margin-bottom: 24px;
|
|
7
|
-
&-refresh {
|
|
8
|
-
display: flex !important;
|
|
9
|
-
gap: 4px;
|
|
10
|
-
}
|
|
11
|
-
> :nth-child(1) {
|
|
12
|
-
display: flex;
|
|
13
|
-
gap: 16px;
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.biz-date-picker-wrap-list {
|
|
17
|
-
font-size: 14px;
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
&-search-right {
|
|
21
|
-
display: flex;
|
|
22
|
-
gap: 16px;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
&-select {
|
|
26
|
-
width: 208px;
|
|
27
|
-
.biz-select-handle-input-multiple {
|
|
28
|
-
.ant-tag:not(:nth-child(-n + 3)) {
|
|
29
|
-
display: none;
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
}
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.interval-select-overlay {
|
|
36
|
-
.biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
|
|
37
|
-
color: var(--1, #021429);
|
|
38
|
-
background: var(--io-i-1, #e8efff);
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.biz-select-overlay {
|
|
42
|
-
padding: 0;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
.biz-select-list-panel {
|
|
46
|
-
display: grid;
|
|
47
|
-
gap: 8px;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.biz-select-option {
|
|
51
|
-
padding: 0 16px;
|
|
52
|
-
border-radius: 0;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.biz-select-option.biz-select-option-multiple.active:not(.disabled) {
|
|
56
|
-
color: var(--1, #021429);
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
|
|
60
|
-
color: #ccd0d4;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
|
|
64
|
-
color: #165dff;
|
|
65
|
-
}
|
|
66
|
-
|
|
67
|
-
.biz-select-option.biz-select-option-multiple:active:not(.disabled) {
|
|
68
|
-
color: #165dff;
|
|
69
|
-
background: var(--io-i-1, #e8efff);
|
|
70
|
-
}
|
|
71
|
-
}
|
|
1
|
+
.search-panel-interval {
|
|
2
|
+
display: flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: space-between;
|
|
5
|
+
height: 32px;
|
|
6
|
+
margin-bottom: 24px;
|
|
7
|
+
&-refresh {
|
|
8
|
+
display: flex !important;
|
|
9
|
+
gap: 4px;
|
|
10
|
+
}
|
|
11
|
+
> :nth-child(1) {
|
|
12
|
+
display: flex;
|
|
13
|
+
gap: 16px;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.biz-date-picker-wrap-list {
|
|
17
|
+
font-size: 14px;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&-search-right {
|
|
21
|
+
display: flex;
|
|
22
|
+
gap: 16px;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
&-select {
|
|
26
|
+
width: 208px;
|
|
27
|
+
.biz-select-handle-input-multiple {
|
|
28
|
+
.ant-tag:not(:nth-child(-n + 3)) {
|
|
29
|
+
display: none;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.interval-select-overlay {
|
|
36
|
+
.biz-select-option.biz-select-option-multiple:hover:not(.disabled) {
|
|
37
|
+
color: var(--1, #021429);
|
|
38
|
+
background: var(--io-i-1, #e8efff);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.biz-select-overlay {
|
|
42
|
+
padding: 0;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.biz-select-list-panel {
|
|
46
|
+
display: grid;
|
|
47
|
+
gap: 8px;
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.biz-select-option {
|
|
51
|
+
padding: 0 16px;
|
|
52
|
+
border-radius: 0;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.biz-select-option.biz-select-option-multiple.active:not(.disabled) {
|
|
56
|
+
color: var(--1, #021429);
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.biz-select-option.biz-select-option-multiple:hover:not(.disabled) .biz-select-checkbox {
|
|
60
|
+
color: #ccd0d4;
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
.biz-select-option.biz-select-option-multiple.active:hover:not(.disabled) .biz-select-checkbox {
|
|
64
|
+
color: #165dff;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.biz-select-option.biz-select-option-multiple:active:not(.disabled) {
|
|
68
|
+
color: #165dff;
|
|
69
|
+
background: var(--io-i-1, #e8efff);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
@@ -35,7 +35,8 @@ var EventTable = function EventTable(props) {
|
|
|
35
35
|
eventGroupList = _useContext$eventGrou === void 0 ? [] : _useContext$eventGrou,
|
|
36
36
|
eventEnvList = _useContext.eventEnvList,
|
|
37
37
|
userPropList = _useContext.userPropList,
|
|
38
|
-
authority = _useContext.authority
|
|
38
|
+
authority = _useContext.authority,
|
|
39
|
+
showProdDownload = _useContext.showProdDownload;
|
|
39
40
|
var _useContext2 = useContext(IntervalContext),
|
|
40
41
|
panelName = _useContext2.panelName,
|
|
41
42
|
onUserDrill = _useContext2.onUserDrill;
|
|
@@ -107,7 +108,7 @@ var EventTable = function EventTable(props) {
|
|
|
107
108
|
className: classPrefix
|
|
108
109
|
}, /*#__PURE__*/React.createElement("div", {
|
|
109
110
|
className: "".concat(classPrefix, "-table-header")
|
|
110
|
-
}, /*#__PURE__*/React.createElement("span", null, "\u6307\u6807\u8BE6\u60C5"), authority[100059] && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
111
|
+
}, /*#__PURE__*/React.createElement("span", null, "\u6307\u6807\u8BE6\u60C5"), authority[100059] && showProdDownload && /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement("div", {
|
|
111
112
|
onClick: download
|
|
112
113
|
}, /*#__PURE__*/React.createElement(IconFont, {
|
|
113
114
|
type: "xiazai1"
|