@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.
@@ -1,16 +1,13 @@
1
1
  import React from 'react';
2
2
  import "./styles/index.less";
3
- import { Spin } from 'antd';
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(Spin, {
9
- tip: "\u6570\u636E\u6B63\u5728\u52AA\u529B\u52A0\u8F7D\u4E2D,\u8BF7\u7A0D\u540E",
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("div", {
22
- className: "".concat(classPrefix, "-none-empty")
23
- }), /*#__PURE__*/React.createElement("span", {
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: #9AA1A9;
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-family: PingFang SC;
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(true);
151
+ setLoading(false);
152
152
  }, 0);
153
153
  }).catch(function () {
154
154
  setLoading(false);
@@ -9,7 +9,7 @@
9
9
  height: 100%;
10
10
  background: #fafafb;
11
11
  .interval-layout {
12
- .biz-layout-collapse-container{
12
+ .biz-layout-collapse-container {
13
13
  height: 24px;
14
14
  }
15
15
  .biz-layout-collapse-handle {
@@ -87,6 +87,7 @@ var TopPanel = function TopPanel(props) {
87
87
  associatedPreAttr: undefined,
88
88
  associatedNextAttr: undefined
89
89
  });
90
+ setRelevancy(false);
90
91
  props.onChange({
91
92
  userGroup: [0],
92
93
  start: undefined,
@@ -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: 28px;
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
- .ant-space-item {
99
- max-width: calc(100% + 30px) !important;
100
- margin-left: -30px;
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
- >.ant-form-item {
132
- margin-bottom: 10px;
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: -8px;
135
+ margin-top: -10px;
137
136
  margin-bottom: 12px;
138
137
 
139
138
  .qingchu {
140
- color: #9AA1A9;
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.23",
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.81-page.9",
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",