@zgfe/modules-interval 1.0.0-interval.23 → 1.0.0-interval.24

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
  }
@@ -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 {
@@ -78,11 +78,11 @@
78
78
  }
79
79
 
80
80
  .interval-box {
81
- >div:nth-child(1) {
81
+ > div:nth-child(1) {
82
82
  padding: 4px 24px;
83
83
  }
84
84
 
85
- >div:nth-child(1):hover {
85
+ > div:nth-child(1):hover {
86
86
  background-color: #e8efff;
87
87
  }
88
88
 
@@ -128,7 +128,7 @@
128
128
  width: 208px;
129
129
  }
130
130
 
131
- >.ant-form-item {
131
+ > .ant-form-item {
132
132
  margin-bottom: 10px;
133
133
  }
134
134
 
@@ -137,7 +137,7 @@
137
137
  margin-bottom: 12px;
138
138
 
139
139
  .qingchu {
140
- color: #9AA1A9;
140
+ color: #9aa1a9;
141
141
  }
142
142
 
143
143
  .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.24",
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.4",
47
47
  "@zgfe/modules-demo-manage": "^1.0.1",
48
48
  "antd": "^4.22.6",
49
49
  "dumi": "^1.1.0",