@zgfe/modules-dm 1.0.56-zhongyuan.9 → 1.0.57-alpha.0
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/es/constants/api.d.ts +29 -0
- package/es/constants/api.js +34 -1
- package/es/index.d.ts +3 -1
- package/es/index.js +3 -1
- package/es/modules/CutsModal.d.ts +81 -34
- package/es/modules/clear-rule/addRule.d.ts +10 -0
- package/es/modules/clear-rule/addRule.js +614 -0
- package/es/modules/clear-rule/css/index.css +256 -0
- package/es/modules/clear-rule/css/index.less +270 -0
- package/es/modules/clear-rule/demo/index.d.ts +3 -0
- package/es/modules/clear-rule/demo/index.js +6 -0
- package/es/modules/clear-rule/importMetaDialog/demo/index.d.ts +3 -0
- package/es/modules/clear-rule/importMetaDialog/demo/index.js +28 -0
- package/es/modules/clear-rule/importMetaDialog/index.d.ts +7 -0
- package/es/modules/clear-rule/importMetaDialog/index.js +165 -0
- package/es/modules/clear-rule/importMetaDialog/styles/index.less +91 -0
- package/es/modules/clear-rule/index.d.ts +4 -0
- package/es/modules/clear-rule/index.js +529 -0
- package/es/modules/dataManage/collectionAttributeList.js +424 -43
- package/es/modules/dataManage/collectionEventList.js +1 -1
- package/es/modules/dataManage/components/createMetaDrawer.js +5 -6
- package/es/modules/dataManage/components/eventGroupingDrawer.js +13 -4
- package/es/modules/dataManage/components/panelList.d.ts +6 -0
- package/es/modules/dataManage/components/panelList.js +172 -0
- package/es/modules/dataManage/components/tablePlus.d.ts +1 -0
- package/es/modules/dataManage/components/tablePlus.js +160 -46
- package/es/modules/dataManage/components/virtualTablePlus.js +4 -0
- package/es/modules/dataManage/demo/index.js +1 -2
- package/es/modules/dataManage/styles/index.less +10 -0
- package/es/modules/dataMap/component/drawerAdd.js +2 -0
- package/es/modules/dataMap/component/leftTree.js +4 -1
- package/es/modules/dataMap/component/rightDetail.js +42 -87
- package/es/modules/dataMap/component/selectAttr.d.ts +7 -0
- package/es/modules/dataMap/component/selectAttr.js +91 -0
- package/es/modules/dataMap/component/viewMapSetting.d.ts +24 -0
- package/es/modules/dataMap/component/viewMapSetting.js +161 -0
- package/es/modules/dataMap/css/index.css +196 -168
- package/es/modules/dataMap/css/index.less +213 -185
- package/es/modules/dataMap/mapSetting.js +21 -4
- package/es/modules/dataReal/css/index.css +50 -48
- package/es/modules/dataReal/css/index.less +53 -51
- package/es/modules/dataReal/index1.js +84 -57
- package/es/modules/dataReal/table.js +40 -7
- package/es/modules/formulate-rule/addFormulate.d.ts +20 -0
- package/es/modules/formulate-rule/addFormulate.js +328 -0
- package/es/modules/formulate-rule/addRule.d.ts +19 -0
- package/es/modules/formulate-rule/addRule.js +553 -0
- package/es/modules/formulate-rule/data.d.ts +16 -0
- package/es/modules/formulate-rule/data.js +46 -0
- package/es/modules/formulate-rule/demo/index.d.ts +3 -0
- package/es/modules/formulate-rule/demo/index.js +6 -0
- package/es/modules/formulate-rule/index.d.ts +4 -0
- package/es/modules/formulate-rule/index.js +448 -0
- package/package.json +2 -2
|
@@ -0,0 +1,256 @@
|
|
|
1
|
+
.clearRule {
|
|
2
|
+
height: 100%;
|
|
3
|
+
padding: 24px;
|
|
4
|
+
background: #fff;
|
|
5
|
+
border-radius: 8px;
|
|
6
|
+
}
|
|
7
|
+
.clearRule-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
|
+
.clearRule-modal .ant-modal-body {
|
|
15
|
+
height: 350px;
|
|
16
|
+
}
|
|
17
|
+
.clearRule-modal .ant-picker-dropdown {
|
|
18
|
+
left: 13px !important;
|
|
19
|
+
top: 133px !important;
|
|
20
|
+
}
|
|
21
|
+
.clearRule-content {
|
|
22
|
+
display: flex;
|
|
23
|
+
align-items: center;
|
|
24
|
+
justify-content: space-between;
|
|
25
|
+
}
|
|
26
|
+
.clearRule-importModal-tip {
|
|
27
|
+
margin: 0px 0px 10px;
|
|
28
|
+
padding: 5px 0px 5px 15px;
|
|
29
|
+
background-color: #e7f3fe;
|
|
30
|
+
border: 1px solid #b8e4ff;
|
|
31
|
+
border-radius: 4px;
|
|
32
|
+
}
|
|
33
|
+
.clearRule-importModal-tip .icon {
|
|
34
|
+
margin: 0px 10px;
|
|
35
|
+
color: #165dff;
|
|
36
|
+
}
|
|
37
|
+
.clearRule-importModal-list {
|
|
38
|
+
height: 160px;
|
|
39
|
+
padding: 10px;
|
|
40
|
+
overflow-y: scroll;
|
|
41
|
+
border: 1px solid #e5e5e5;
|
|
42
|
+
border-radius: 4px;
|
|
43
|
+
}
|
|
44
|
+
.clearRule-openRuleModal-list {
|
|
45
|
+
height: 160px;
|
|
46
|
+
padding: 10px;
|
|
47
|
+
overflow-y: scroll;
|
|
48
|
+
border: 1px solid #e5e5e5;
|
|
49
|
+
border-radius: 4px;
|
|
50
|
+
}
|
|
51
|
+
.clearRule-openRuleModal-closeTip {
|
|
52
|
+
margin: 10px 0px;
|
|
53
|
+
color: red;
|
|
54
|
+
}
|
|
55
|
+
.openRuleModal-icon {
|
|
56
|
+
margin: 0px 10px 0px 0px;
|
|
57
|
+
color: #faad14;
|
|
58
|
+
}
|
|
59
|
+
.addRuleForm .selectVent {
|
|
60
|
+
display: grid;
|
|
61
|
+
grid-gap: 20px;
|
|
62
|
+
grid-template-columns: 1fr 1fr;
|
|
63
|
+
align-items: center;
|
|
64
|
+
width: 100%;
|
|
65
|
+
margin: 20px 0px;
|
|
66
|
+
}
|
|
67
|
+
.addRuleForm .ant-checkbox-wrapper {
|
|
68
|
+
position: relative;
|
|
69
|
+
margin-right: 8px;
|
|
70
|
+
padding: 4px 15px;
|
|
71
|
+
color: #333;
|
|
72
|
+
vertical-align: middle;
|
|
73
|
+
background-color: #efefef;
|
|
74
|
+
border: 1px solid #e5e5e5;
|
|
75
|
+
border-radius: 4px;
|
|
76
|
+
cursor: pointer;
|
|
77
|
+
transition: all 0.2s ease;
|
|
78
|
+
}
|
|
79
|
+
.addRuleForm .ant-checkbox-wrapper::after {
|
|
80
|
+
position: absolute;
|
|
81
|
+
bottom: -1px;
|
|
82
|
+
left: 6px;
|
|
83
|
+
z-index: 10;
|
|
84
|
+
width: 17px;
|
|
85
|
+
font-size: 23px;
|
|
86
|
+
content: '+';
|
|
87
|
+
}
|
|
88
|
+
.addRuleForm .ant-checkbox-wrapper-checked {
|
|
89
|
+
position: relative;
|
|
90
|
+
color: #165dff;
|
|
91
|
+
background-color: transparent;
|
|
92
|
+
border: 1px solid #165dff;
|
|
93
|
+
}
|
|
94
|
+
.addRuleForm .ant-checkbox-wrapper-checked::after {
|
|
95
|
+
position: absolute;
|
|
96
|
+
bottom: -1px;
|
|
97
|
+
left: 6px;
|
|
98
|
+
z-index: 10;
|
|
99
|
+
width: 17px;
|
|
100
|
+
font-size: 23px;
|
|
101
|
+
content: '+';
|
|
102
|
+
}
|
|
103
|
+
.addRuleForm .ant-checkbox-wrapper::after {
|
|
104
|
+
display: inline;
|
|
105
|
+
}
|
|
106
|
+
.addRuleForm .ant-checkbox,
|
|
107
|
+
.addRuleForm .ant-checkbox-inner {
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
.addRuleForm .drawerCloseIcon {
|
|
111
|
+
float: right;
|
|
112
|
+
cursor: pointer;
|
|
113
|
+
}
|
|
114
|
+
.addRuleForm .ant-drawer-close {
|
|
115
|
+
display: none;
|
|
116
|
+
}
|
|
117
|
+
.addRuleForm .ant-drawer-footer {
|
|
118
|
+
display: flex;
|
|
119
|
+
justify-content: end;
|
|
120
|
+
}
|
|
121
|
+
.addRuleForm .attrValue {
|
|
122
|
+
position: relative;
|
|
123
|
+
padding-left: 30px;
|
|
124
|
+
}
|
|
125
|
+
.addRuleForm .attrValue-list {
|
|
126
|
+
display: grid;
|
|
127
|
+
grid-gap: 20px;
|
|
128
|
+
grid-template-columns: 80px 1fr;
|
|
129
|
+
align-items: center;
|
|
130
|
+
justify-content: space-between;
|
|
131
|
+
margin: 20px 0px;
|
|
132
|
+
}
|
|
133
|
+
.addRuleForm .attrValue-styleLine {
|
|
134
|
+
position: absolute;
|
|
135
|
+
top: 50%;
|
|
136
|
+
left: -1px;
|
|
137
|
+
z-index: 10;
|
|
138
|
+
width: 20px;
|
|
139
|
+
color: white;
|
|
140
|
+
text-align: center;
|
|
141
|
+
background: #165dff;
|
|
142
|
+
border-radius: 4px 4px 0px 0px;
|
|
143
|
+
transform: translate(0, -50%);
|
|
144
|
+
}
|
|
145
|
+
.addRuleForm .attrValue::after {
|
|
146
|
+
position: absolute;
|
|
147
|
+
top: 0;
|
|
148
|
+
left: 8px;
|
|
149
|
+
z-index: 1;
|
|
150
|
+
width: 1px;
|
|
151
|
+
height: 100%;
|
|
152
|
+
background: #e8efff;
|
|
153
|
+
content: '';
|
|
154
|
+
}
|
|
155
|
+
.addRuleForm .attrValue .attrValue-list-right {
|
|
156
|
+
display: grid;
|
|
157
|
+
grid-gap: 20px;
|
|
158
|
+
grid-template-columns: 3px 80px 10px 80px 3px;
|
|
159
|
+
align-items: center;
|
|
160
|
+
justify-content: start;
|
|
161
|
+
}
|
|
162
|
+
.columnsActionClass {
|
|
163
|
+
cursor: pointer;
|
|
164
|
+
}
|
|
165
|
+
.formulateDetail-title {
|
|
166
|
+
display: flex;
|
|
167
|
+
align-items: center;
|
|
168
|
+
justify-content: space-between;
|
|
169
|
+
}
|
|
170
|
+
.addRule-formulate-tip {
|
|
171
|
+
margin: 10px 0px 0px;
|
|
172
|
+
color: red;
|
|
173
|
+
}
|
|
174
|
+
.formulateDetailClass {
|
|
175
|
+
margin: 10px 0px 0px;
|
|
176
|
+
border: 1px solid #ecedf0;
|
|
177
|
+
border-radius: 5px;
|
|
178
|
+
}
|
|
179
|
+
.formulateDetailClass-time {
|
|
180
|
+
color: #5f6085;
|
|
181
|
+
}
|
|
182
|
+
.formulateDetailClass-title {
|
|
183
|
+
display: grid;
|
|
184
|
+
grid-gap: 16px;
|
|
185
|
+
grid-template-columns: 200px 1fr;
|
|
186
|
+
align-items: center;
|
|
187
|
+
justify-content: space-between;
|
|
188
|
+
background-color: #f2f3f4;
|
|
189
|
+
border-bottom: 1px solid #ecedf0;
|
|
190
|
+
}
|
|
191
|
+
.formulateDetailClass-title-left {
|
|
192
|
+
padding: 10px 0px 10px 10px;
|
|
193
|
+
border-right: 1px solid #ecedf0;
|
|
194
|
+
}
|
|
195
|
+
.formulateDetailClass-title-right {
|
|
196
|
+
display: flex;
|
|
197
|
+
align-items: center;
|
|
198
|
+
justify-content: space-between;
|
|
199
|
+
padding: 10px 10px 10px 10px;
|
|
200
|
+
}
|
|
201
|
+
.formulateDetailClass-content {
|
|
202
|
+
display: grid;
|
|
203
|
+
grid-gap: 16px;
|
|
204
|
+
grid-template-columns: 200px 1fr;
|
|
205
|
+
align-items: flex-start;
|
|
206
|
+
justify-content: space-between;
|
|
207
|
+
height: 300px;
|
|
208
|
+
}
|
|
209
|
+
.formulateDetailClass-content-left {
|
|
210
|
+
height: 100%;
|
|
211
|
+
overflow: auto;
|
|
212
|
+
border-right: 1px solid #ecedf0;
|
|
213
|
+
}
|
|
214
|
+
.formulateDetailClass-content-left-tip {
|
|
215
|
+
margin: 0px 5px 0px 0px;
|
|
216
|
+
color: red;
|
|
217
|
+
}
|
|
218
|
+
.formulateDetailClass-content-left-item {
|
|
219
|
+
padding: 10px;
|
|
220
|
+
cursor: pointer;
|
|
221
|
+
}
|
|
222
|
+
.formulateDetailClass-content-left-itemContent {
|
|
223
|
+
margin: 0px 0px 0px 5px;
|
|
224
|
+
padding: 5px;
|
|
225
|
+
border: 1px solid #5f6085;
|
|
226
|
+
border-radius: 4px;
|
|
227
|
+
}
|
|
228
|
+
.formulateDetailClass-content-left .active {
|
|
229
|
+
position: relative;
|
|
230
|
+
background-color: #e8efff;
|
|
231
|
+
}
|
|
232
|
+
.formulateDetailClass-content-left .active::after {
|
|
233
|
+
position: absolute;
|
|
234
|
+
top: 0;
|
|
235
|
+
left: 0;
|
|
236
|
+
width: 2px;
|
|
237
|
+
height: 100%;
|
|
238
|
+
background-color: #6b8ffd;
|
|
239
|
+
content: '';
|
|
240
|
+
}
|
|
241
|
+
.formulateDetailClass-content-left .activeTime {
|
|
242
|
+
color: #2467fc;
|
|
243
|
+
}
|
|
244
|
+
.formulateDetailClass-content-left .activeTime .formulateDetailClass-content-left-tip {
|
|
245
|
+
color: #2467fc;
|
|
246
|
+
}
|
|
247
|
+
.formulateDetailClass-content-right {
|
|
248
|
+
display: flex;
|
|
249
|
+
align-items: center;
|
|
250
|
+
justify-content: space-between;
|
|
251
|
+
margin: 15px;
|
|
252
|
+
line-height: 2;
|
|
253
|
+
}
|
|
254
|
+
.addRule-errorTip {
|
|
255
|
+
color: red;
|
|
256
|
+
}
|
|
@@ -0,0 +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
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ClearRule } from '@zgfe/modules-dm';
|
|
3
|
+
import DemoWrapper2 from '../../../components/demo';
|
|
4
|
+
export default (function () {
|
|
5
|
+
return /*#__PURE__*/React.createElement(DemoWrapper2, null, /*#__PURE__*/React.createElement(ClearRule, null));
|
|
6
|
+
});
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
function _slicedToArray(r, e) { return _arrayWithHoles(r) || _iterableToArrayLimit(r, e) || _unsupportedIterableToArray(r, e) || _nonIterableRest(); }
|
|
2
|
+
function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
|
|
3
|
+
function _unsupportedIterableToArray(r, a) { if (r) { if ("string" == typeof r) return _arrayLikeToArray(r, a); var t = {}.toString.call(r).slice(8, -1); return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0; } }
|
|
4
|
+
function _arrayLikeToArray(r, a) { (null == a || a > r.length) && (a = r.length); for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e]; return n; }
|
|
5
|
+
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
|
+
function _arrayWithHoles(r) { if (Array.isArray(r)) return r; }
|
|
7
|
+
import { IconFont } from '@zgfe/business-lib';
|
|
8
|
+
import React, { useState } from 'react';
|
|
9
|
+
import ImportModal from '..';
|
|
10
|
+
import { Button } from 'antd';
|
|
11
|
+
export default (function () {
|
|
12
|
+
var _useState = useState(false),
|
|
13
|
+
_useState2 = _slicedToArray(_useState, 2),
|
|
14
|
+
openImportModal = _useState2[0],
|
|
15
|
+
setOpenImportModal = _useState2[1];
|
|
16
|
+
return /*#__PURE__*/React.createElement("div", null, /*#__PURE__*/React.createElement(Button, {
|
|
17
|
+
icon: /*#__PURE__*/React.createElement(IconFont, {
|
|
18
|
+
type: "tianjia1"
|
|
19
|
+
}),
|
|
20
|
+
onClick: function onClick() {
|
|
21
|
+
return setOpenImportModal(true);
|
|
22
|
+
}
|
|
23
|
+
}, "\u5BFC\u5165"), openImportModal ? /*#__PURE__*/React.createElement(ImportModal, {
|
|
24
|
+
onCancel: function onCancel() {
|
|
25
|
+
return setOpenImportModal(false);
|
|
26
|
+
}
|
|
27
|
+
}) : null);
|
|
28
|
+
});
|