@zgfe/modules-dm 1.0.57-alpha.0 → 1.0.57-zhongyuan.2

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.
Files changed (26) hide show
  1. package/es/index.d.ts +2 -2
  2. package/es/index.js +2 -2
  3. package/es/modules/{clear-rule → clearRule}/css/index.less +270 -270
  4. package/es/modules/{clear-rule → clearRule}/importMetaDialog/styles/index.less +91 -91
  5. package/es/modules/{clear-rule → clearRule}/index.js +0 -1
  6. package/package.json +1 -1
  7. /package/es/modules/{clear-rule → clearRule}/addRule.d.ts +0 -0
  8. /package/es/modules/{clear-rule → clearRule}/addRule.js +0 -0
  9. /package/es/modules/{clear-rule → clearRule}/css/index.css +0 -0
  10. /package/es/modules/{clear-rule → clearRule}/demo/index.d.ts +0 -0
  11. /package/es/modules/{clear-rule → clearRule}/demo/index.js +0 -0
  12. /package/es/modules/{clear-rule → clearRule}/importMetaDialog/demo/index.d.ts +0 -0
  13. /package/es/modules/{clear-rule → clearRule}/importMetaDialog/demo/index.js +0 -0
  14. /package/es/modules/{clear-rule → clearRule}/importMetaDialog/index.d.ts +0 -0
  15. /package/es/modules/{clear-rule → clearRule}/importMetaDialog/index.js +0 -0
  16. /package/es/modules/{clear-rule → clearRule}/index.d.ts +0 -0
  17. /package/es/modules/{formulate-rule → formulateRule}/addFormulate.d.ts +0 -0
  18. /package/es/modules/{formulate-rule → formulateRule}/addFormulate.js +0 -0
  19. /package/es/modules/{formulate-rule → formulateRule}/addRule.d.ts +0 -0
  20. /package/es/modules/{formulate-rule → formulateRule}/addRule.js +0 -0
  21. /package/es/modules/{formulate-rule → formulateRule}/data.d.ts +0 -0
  22. /package/es/modules/{formulate-rule → formulateRule}/data.js +0 -0
  23. /package/es/modules/{formulate-rule → formulateRule}/demo/index.d.ts +0 -0
  24. /package/es/modules/{formulate-rule → formulateRule}/demo/index.js +0 -0
  25. /package/es/modules/{formulate-rule → formulateRule}/index.d.ts +0 -0
  26. /package/es/modules/{formulate-rule → formulateRule}/index.js +0 -0
package/es/index.d.ts CHANGED
@@ -3,6 +3,6 @@ import DataManage from './modules/dataManage';
3
3
  import PlanList from './modules/dataPlan';
4
4
  import DataRealView from './modules/dataReal/index1';
5
5
  import DataMapView from './modules/dataMap';
6
- import ClearRule from './modules/clear-rule';
7
- import FormulateRule from './modules/formulate-rule';
6
+ import ClearRule from './modules/clearRule';
7
+ import FormulateRule from './modules/formulateRule';
8
8
  export { PlanList, DataManage, DataRealView, DataMapView, ClearRule, FormulateRule };
package/es/index.js CHANGED
@@ -3,6 +3,6 @@ import DataManage from './modules/dataManage';
3
3
  import PlanList from './modules/dataPlan';
4
4
  import DataRealView from './modules/dataReal/index1';
5
5
  import DataMapView from './modules/dataMap';
6
- import ClearRule from './modules/clear-rule';
7
- import FormulateRule from './modules/formulate-rule';
6
+ import ClearRule from './modules/clearRule';
7
+ import FormulateRule from './modules/formulateRule';
8
8
  export { PlanList, DataManage, DataRealView, DataMapView, ClearRule, FormulateRule };
@@ -1,270 +1,270 @@
1
- .clearRule {
2
- height: 100%;
3
- padding: 24px;
4
- background: #fff;
5
- border-radius: 8px;
6
- border-radius: 8px;
7
- &-searchTop {
8
- display: grid;
9
- grid-template-columns: 320px 1fr;
10
- align-items: center;
11
- justify-items: self-end;
12
- margin-bottom: 20px;
13
- }
14
- &-modal {
15
- .ant-modal-body {
16
- height: 350px;
17
- }
18
- .ant-picker-dropdown {
19
- top: 133px !important;
20
- left: 13px !important;
21
- }
22
- }
23
- &-content {
24
- display: flex;
25
- align-items: center;
26
- justify-content: space-between;
27
- }
28
- &-importModal {
29
- &-content {
30
- }
31
- &-tip {
32
- margin: 0px 0px 10px;
33
- padding: 5px 0px 5px 15px;
34
- background-color: #e7f3fe;
35
- border: 1px solid #b8e4ff;
36
- border-radius: 4px;
37
- .icon {
38
- margin: 0px 10px;
39
- color: #165dff;
40
- }
41
- }
42
- &-list {
43
- height: 160px;
44
- padding: 10px;
45
- overflow-y: scroll;
46
- border: 1px solid #e5e5e5;
47
- border-radius: 4px;
48
- }
49
- }
50
- &-openRuleModal {
51
- &-list {
52
- height: 160px;
53
- padding: 10px;
54
- overflow-y: scroll;
55
- border: 1px solid #e5e5e5;
56
- border-radius: 4px;
57
- }
58
- &-closeTip {
59
- margin: 10px 0px;
60
- color: red;
61
- }
62
- }
63
- }
64
- .openRuleModal-icon {
65
- margin: 0px 10px 0px 0px;
66
- color: #faad14;
67
- }
68
-
69
- .addRuleForm {
70
- .selectVent {
71
- display: grid;
72
- grid-gap: 20px;
73
- grid-template-columns: 1fr 1fr;
74
- align-items: center;
75
- width: 100%;
76
- margin: 20px 0px;
77
- }
78
- .ant-checkbox-wrapper {
79
- position: relative;
80
- margin-right: 8px;
81
- padding: 4px 15px;
82
- color: #333;
83
- vertical-align: middle;
84
- background-color: #efefef;
85
- border: 1px solid #e5e5e5;
86
- border-radius: 4px;
87
- cursor: pointer;
88
- transition: all 0.2s ease;
89
- &::after {
90
- position: absolute;
91
- bottom: -1px;
92
- left: 6px;
93
- z-index: 10;
94
- width: 17px;
95
- font-size: 23px;
96
- content: '+';
97
- }
98
- }
99
- .ant-checkbox-wrapper-checked {
100
- position: relative;
101
- color: #165dff;
102
- background-color: transparent;
103
- border: 1px solid #165dff;
104
- &::after {
105
- position: absolute;
106
- bottom: -1px;
107
- left: 6px;
108
- z-index: 10;
109
- width: 17px;
110
- font-size: 23px;
111
- content: '+';
112
- }
113
- }
114
- .ant-checkbox-wrapper::after {
115
- display: inline;
116
- }
117
- .ant-checkbox,
118
- .ant-checkbox-inner {
119
- display: none;
120
- }
121
- .drawerCloseIcon {
122
- float: right;
123
- cursor: pointer;
124
- }
125
- .ant-drawer-close {
126
- display: none;
127
- }
128
- .ant-drawer-footer {
129
- display: flex;
130
- justify-content: end;
131
- }
132
- .attrValue {
133
- &-list {
134
- display: grid;
135
- grid-gap: 20px;
136
- grid-template-columns: 80px 1fr;
137
- align-items: center;
138
- justify-content: space-between;
139
- margin: 20px 0px;
140
- }
141
- position: relative;
142
- padding-left: 30px;
143
- &-styleLine {
144
- position: absolute;
145
- top: 50%;
146
- left: -1px;
147
- z-index: 10;
148
- width: 20px;
149
- color: white;
150
- text-align: center;
151
- background: #165dff;
152
- border-radius: 4px 4px 0px 0px;
153
- transform: translate(0, -50%);
154
- }
155
- &::after {
156
- position: absolute;
157
- top: 0;
158
- left: 8px;
159
- z-index: 1;
160
- width: 1px;
161
- height: 100%;
162
- background: #e8efff;
163
- content: '';
164
- }
165
- .attrValue-list-right {
166
- display: grid;
167
- grid-gap: 20px;
168
- grid-template-columns: 3px 80px 10px 80px 3px;
169
- align-items: center;
170
- justify-content: start;
171
- }
172
- }
173
- }
174
- .columnsActionClass {
175
- cursor: pointer;
176
- }
177
- .formulateDetail {
178
- &-title {
179
- display: flex;
180
- align-items: center;
181
- justify-content: space-between;
182
- }
183
- }
184
- .addRule-formulate-tip {
185
- margin: 10px 0px 0px;
186
- color: red;
187
- }
188
- .formulateDetailClass {
189
- margin: 10px 0px 0px;
190
- border: 1px solid #ecedf0;
191
- border-radius: 5px;
192
- &-time {
193
- color: #5f6085;
194
- }
195
- &-title {
196
- display: grid;
197
- grid-gap: 16px;
198
- grid-template-columns: 200px 1fr;
199
- align-items: center;
200
- justify-content: space-between;
201
- background-color: #f2f3f4;
202
- border-bottom: 1px solid #ecedf0;
203
- &-left {
204
- padding: 10px 0px 10px 10px;
205
- border-right: 1px solid #ecedf0;
206
- }
207
- &-right {
208
- display: flex;
209
- align-items: center;
210
- justify-content: space-between;
211
- padding: 10px 10px 10px 10px;
212
- }
213
- }
214
- &-content {
215
- display: grid;
216
- grid-gap: 16px;
217
- grid-template-columns: 200px 1fr;
218
- align-items: flex-start;
219
- justify-content: space-between;
220
- height: 300px;
221
- &-left {
222
- height: 100%;
223
- overflow: auto;
224
- border-right: 1px solid #ecedf0;
225
- &-tip {
226
- margin: 0px 5px 0px 0px;
227
- color: red;
228
- }
229
- &-item {
230
- padding: 10px;
231
- cursor: pointer;
232
- }
233
- &-itemContent {
234
- margin: 0px 0px 0px 5px;
235
- padding: 5px;
236
- border: 1px solid #5f6085;
237
- border-radius: 4px;
238
- }
239
- .active {
240
- position: relative;
241
- background-color: #e8efff;
242
- &::after {
243
- position: absolute;
244
- top: 0;
245
- left: 0;
246
- width: 2px;
247
- height: 100%;
248
- background-color: #6b8ffd;
249
- content: '';
250
- }
251
- }
252
- .activeTime {
253
- color: #2467fc;
254
- .formulateDetailClass-content-left-tip {
255
- color: #2467fc;
256
- }
257
- }
258
- }
259
- &-right {
260
- display: flex;
261
- align-items: center;
262
- justify-content: space-between;
263
- margin: 15px;
264
- line-height: 2;
265
- }
266
- }
267
- }
268
- .addRule-errorTip {
269
- color: red;
270
- }
1
+ .clearRule {
2
+ height: 100%;
3
+ padding: 24px;
4
+ background: #fff;
5
+ border-radius: 8px;
6
+ border-radius: 8px;
7
+ &-searchTop {
8
+ display: grid;
9
+ grid-template-columns: 320px 1fr;
10
+ align-items: center;
11
+ justify-items: self-end;
12
+ margin-bottom: 20px;
13
+ }
14
+ &-modal {
15
+ .ant-modal-body {
16
+ height: 350px;
17
+ }
18
+ .ant-picker-dropdown {
19
+ top: 133px !important;
20
+ left: 13px !important;
21
+ }
22
+ }
23
+ &-content {
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: space-between;
27
+ }
28
+ &-importModal {
29
+ &-content {
30
+ }
31
+ &-tip {
32
+ margin: 0px 0px 10px;
33
+ padding: 5px 0px 5px 15px;
34
+ background-color: #e7f3fe;
35
+ border: 1px solid #b8e4ff;
36
+ border-radius: 4px;
37
+ .icon {
38
+ margin: 0px 10px;
39
+ color: #165dff;
40
+ }
41
+ }
42
+ &-list {
43
+ height: 160px;
44
+ padding: 10px;
45
+ overflow-y: scroll;
46
+ border: 1px solid #e5e5e5;
47
+ border-radius: 4px;
48
+ }
49
+ }
50
+ &-openRuleModal {
51
+ &-list {
52
+ height: 160px;
53
+ padding: 10px;
54
+ overflow-y: scroll;
55
+ border: 1px solid #e5e5e5;
56
+ border-radius: 4px;
57
+ }
58
+ &-closeTip {
59
+ margin: 10px 0px;
60
+ color: red;
61
+ }
62
+ }
63
+ }
64
+ .openRuleModal-icon {
65
+ margin: 0px 10px 0px 0px;
66
+ color: #faad14;
67
+ }
68
+
69
+ .addRuleForm {
70
+ .selectVent {
71
+ display: grid;
72
+ grid-gap: 20px;
73
+ grid-template-columns: 1fr 1fr;
74
+ align-items: center;
75
+ width: 100%;
76
+ margin: 20px 0px;
77
+ }
78
+ .ant-checkbox-wrapper {
79
+ position: relative;
80
+ margin-right: 8px;
81
+ padding: 4px 15px;
82
+ color: #333;
83
+ vertical-align: middle;
84
+ background-color: #efefef;
85
+ border: 1px solid #e5e5e5;
86
+ border-radius: 4px;
87
+ cursor: pointer;
88
+ transition: all 0.2s ease;
89
+ &::after {
90
+ position: absolute;
91
+ bottom: -1px;
92
+ left: 6px;
93
+ z-index: 10;
94
+ width: 17px;
95
+ font-size: 23px;
96
+ content: '+';
97
+ }
98
+ }
99
+ .ant-checkbox-wrapper-checked {
100
+ position: relative;
101
+ color: #165dff;
102
+ background-color: transparent;
103
+ border: 1px solid #165dff;
104
+ &::after {
105
+ position: absolute;
106
+ bottom: -1px;
107
+ left: 6px;
108
+ z-index: 10;
109
+ width: 17px;
110
+ font-size: 23px;
111
+ content: '+';
112
+ }
113
+ }
114
+ .ant-checkbox-wrapper::after {
115
+ display: inline;
116
+ }
117
+ .ant-checkbox,
118
+ .ant-checkbox-inner {
119
+ display: none;
120
+ }
121
+ .drawerCloseIcon {
122
+ float: right;
123
+ cursor: pointer;
124
+ }
125
+ .ant-drawer-close {
126
+ display: none;
127
+ }
128
+ .ant-drawer-footer {
129
+ display: flex;
130
+ justify-content: end;
131
+ }
132
+ .attrValue {
133
+ &-list {
134
+ display: grid;
135
+ grid-gap: 20px;
136
+ grid-template-columns: 80px 1fr;
137
+ align-items: center;
138
+ justify-content: space-between;
139
+ margin: 20px 0px;
140
+ }
141
+ position: relative;
142
+ padding-left: 30px;
143
+ &-styleLine {
144
+ position: absolute;
145
+ top: 50%;
146
+ left: -1px;
147
+ z-index: 10;
148
+ width: 20px;
149
+ color: white;
150
+ text-align: center;
151
+ background: #165dff;
152
+ border-radius: 4px 4px 0px 0px;
153
+ transform: translate(0, -50%);
154
+ }
155
+ &::after {
156
+ position: absolute;
157
+ top: 0;
158
+ left: 8px;
159
+ z-index: 1;
160
+ width: 1px;
161
+ height: 100%;
162
+ background: #e8efff;
163
+ content: '';
164
+ }
165
+ .attrValue-list-right {
166
+ display: grid;
167
+ grid-gap: 20px;
168
+ grid-template-columns: 3px 80px 10px 80px 3px;
169
+ align-items: center;
170
+ justify-content: start;
171
+ }
172
+ }
173
+ }
174
+ .columnsActionClass {
175
+ cursor: pointer;
176
+ }
177
+ .formulateDetail {
178
+ &-title {
179
+ display: flex;
180
+ align-items: center;
181
+ justify-content: space-between;
182
+ }
183
+ }
184
+ .addRule-formulate-tip {
185
+ margin: 10px 0px 0px;
186
+ color: red;
187
+ }
188
+ .formulateDetailClass {
189
+ margin: 10px 0px 0px;
190
+ border: 1px solid #ecedf0;
191
+ border-radius: 5px;
192
+ &-time {
193
+ color: #5f6085;
194
+ }
195
+ &-title {
196
+ display: grid;
197
+ grid-gap: 16px;
198
+ grid-template-columns: 200px 1fr;
199
+ align-items: center;
200
+ justify-content: space-between;
201
+ background-color: #f2f3f4;
202
+ border-bottom: 1px solid #ecedf0;
203
+ &-left {
204
+ padding: 10px 0px 10px 10px;
205
+ border-right: 1px solid #ecedf0;
206
+ }
207
+ &-right {
208
+ display: flex;
209
+ align-items: center;
210
+ justify-content: space-between;
211
+ padding: 10px 10px 10px 10px;
212
+ }
213
+ }
214
+ &-content {
215
+ display: grid;
216
+ grid-gap: 16px;
217
+ grid-template-columns: 200px 1fr;
218
+ align-items: flex-start;
219
+ justify-content: space-between;
220
+ height: 300px;
221
+ &-left {
222
+ height: 100%;
223
+ overflow: auto;
224
+ border-right: 1px solid #ecedf0;
225
+ &-tip {
226
+ margin: 0px 5px 0px 0px;
227
+ color: red;
228
+ }
229
+ &-item {
230
+ padding: 10px;
231
+ cursor: pointer;
232
+ }
233
+ &-itemContent {
234
+ margin: 0px 0px 0px 5px;
235
+ padding: 5px;
236
+ border: 1px solid #5f6085;
237
+ border-radius: 4px;
238
+ }
239
+ .active {
240
+ position: relative;
241
+ background-color: #e8efff;
242
+ &::after {
243
+ position: absolute;
244
+ top: 0;
245
+ left: 0;
246
+ width: 2px;
247
+ height: 100%;
248
+ background-color: #6b8ffd;
249
+ content: '';
250
+ }
251
+ }
252
+ .activeTime {
253
+ color: #2467fc;
254
+ .formulateDetailClass-content-left-tip {
255
+ color: #2467fc;
256
+ }
257
+ }
258
+ }
259
+ &-right {
260
+ display: flex;
261
+ align-items: center;
262
+ justify-content: space-between;
263
+ margin: 15px;
264
+ line-height: 2;
265
+ }
266
+ }
267
+ }
268
+ .addRule-errorTip {
269
+ color: red;
270
+ }
@@ -1,91 +1,91 @@
1
- @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
-
3
- .import-meta-modal {
4
- &-icon-file {
5
- color: @primary-color;
6
- font-size: 48px !important;
7
- }
8
- &-icon-export {
9
- margin-right: @margin-xss;
10
- }
11
- &-export-btn {
12
- display: block;
13
- width: fit-content;
14
- // margin-top: @margin-md;
15
- }
16
- .ant-upload.ant-upload-drag {
17
- background: #fafafb;
18
- /* io/中性/N2-置灰信息 */
19
- border: 1px dashed #ccd0d4;
20
- }
21
- .ant-upload.ant-upload-drag .ant-upload {
22
- padding: 40px 0;
23
- }
24
- &-export-container {
25
- border-radius: 4px;
26
- &-h1 {
27
- margin-top: -8px;
28
- margin-bottom: 4px;
29
- }
30
- &-h2 {
31
- color: @text-color-secondary;
32
- font-size: 12px;
33
- }
34
- }
35
-
36
- &-show-container {
37
- display: flex;
38
- align-items: center;
39
- justify-content: space-between;
40
- padding: 24px;
41
- background: #fafafb;
42
- /* io/中性/N1-按钮边框 线色 */
43
- border: 1px solid #e6e7ea;
44
- border-radius: 4px;
45
- &-content {
46
- display: flex;
47
- align-items: center;
48
- &-icon {
49
- margin-right: 12px;
50
- color: @primary-color;
51
- font-size: 40px !important;
52
- }
53
- &-file {
54
- &-title {
55
- font-size: 16px;
56
- }
57
- &-size {
58
- color: @text-color-secondary;
59
- font-size: 12px;
60
- }
61
- }
62
- }
63
- }
64
-
65
- &-spin {
66
- background: #fafafb;
67
- border: 1px solid #e6e7ea;
68
- border-radius: 4px;
69
- &-icon.anticon {
70
- color: @primary-color;
71
- font-size: 24px;
72
- }
73
- .ant-spin-text {
74
- margin-top: @margin-xs;
75
- }
76
- }
77
-
78
- &-upload-txt {
79
- font-size: 16px;
80
- }
81
-
82
- .ant-modal-body {
83
- padding-top: 8px !important;
84
- }
85
- &-footer {
86
- display: flex;
87
- flex-direction: row;
88
- align-items: center;
89
- justify-content: space-between;
90
- }
91
- }
1
+ @import '~@zgfe/business-lib/es/assets/styles/inner.less';
2
+
3
+ .import-meta-modal {
4
+ &-icon-file {
5
+ color: @primary-color;
6
+ font-size: 48px !important;
7
+ }
8
+ &-icon-export {
9
+ margin-right: @margin-xss;
10
+ }
11
+ &-export-btn {
12
+ display: block;
13
+ width: fit-content;
14
+ // margin-top: @margin-md;
15
+ }
16
+ .ant-upload.ant-upload-drag {
17
+ background: #fafafb;
18
+ /* io/中性/N2-置灰信息 */
19
+ border: 1px dashed #ccd0d4;
20
+ }
21
+ .ant-upload.ant-upload-drag .ant-upload {
22
+ padding: 40px 0;
23
+ }
24
+ &-export-container {
25
+ border-radius: 4px;
26
+ &-h1 {
27
+ margin-top: -8px;
28
+ margin-bottom: 4px;
29
+ }
30
+ &-h2 {
31
+ color: @text-color-secondary;
32
+ font-size: 12px;
33
+ }
34
+ }
35
+
36
+ &-show-container {
37
+ display: flex;
38
+ align-items: center;
39
+ justify-content: space-between;
40
+ padding: 24px;
41
+ background: #fafafb;
42
+ /* io/中性/N1-按钮边框 线色 */
43
+ border: 1px solid #e6e7ea;
44
+ border-radius: 4px;
45
+ &-content {
46
+ display: flex;
47
+ align-items: center;
48
+ &-icon {
49
+ margin-right: 12px;
50
+ color: @primary-color;
51
+ font-size: 40px !important;
52
+ }
53
+ &-file {
54
+ &-title {
55
+ font-size: 16px;
56
+ }
57
+ &-size {
58
+ color: @text-color-secondary;
59
+ font-size: 12px;
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ &-spin {
66
+ background: #fafafb;
67
+ border: 1px solid #e6e7ea;
68
+ border-radius: 4px;
69
+ &-icon.anticon {
70
+ color: @primary-color;
71
+ font-size: 24px;
72
+ }
73
+ .ant-spin-text {
74
+ margin-top: @margin-xs;
75
+ }
76
+ }
77
+
78
+ &-upload-txt {
79
+ font-size: 16px;
80
+ }
81
+
82
+ .ant-modal-body {
83
+ padding-top: 8px !important;
84
+ }
85
+ &-footer {
86
+ display: flex;
87
+ flex-direction: row;
88
+ align-items: center;
89
+ justify-content: space-between;
90
+ }
91
+ }
@@ -177,7 +177,6 @@ var ClearRule = function ClearRule() {
177
177
  downloadDate = _useState14[0],
178
178
  setDownloadDate = _useState14[1];
179
179
  var handleSelectDate = function handleSelectDate(date) {
180
- console.log(date);
181
180
  setDownloadDate(date);
182
181
  };
183
182
  var handleOk = function handleOk() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zgfe/modules-dm",
3
- "version": "1.0.57-alpha.0",
3
+ "version": "1.0.57-zhongyuan.2",
4
4
  "license": "ISC",
5
5
  "module": "es/index.js",
6
6
  "typings": "es/index.d.ts",
File without changes
File without changes