ronds-metadata 1.3.85 → 1.3.87
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +25 -25
- package/es/api/index.js +5 -7
- package/es/comps/CodeEdit/index.d.ts +1 -2
- package/es/comps/CodeEdit/index.less +6 -6
- package/es/comps/DataMine/Line.d.ts +1 -2
- package/es/comps/DataMine/Line.js +1 -0
- package/es/comps/DataMine/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/ContextMenu.less +8 -8
- package/es/comps/DynamicPorts/comps/DragNode.d.ts +1 -1
- package/es/comps/DynamicPorts/comps/GraphHandler/index.less +39 -39
- package/es/comps/DynamicPorts/comps/NodeElementForm.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/NodeElementNormal.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/EdgeContextMenu/index.less +5 -5
- package/es/comps/DynamicPorts/comps/contextMenu/GraphContextMenu/index.less +40 -40
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.d.ts +1 -2
- package/es/comps/DynamicPorts/comps/contextMenu/NodeContextMenu/index.less +42 -42
- package/es/comps/DynamicPorts/comps/shape/edge.js +7 -7
- package/es/comps/DynamicPorts/comps/shape/edge.less +8 -8
- package/es/comps/DynamicPorts/comps/shape/node.js +9 -8
- package/es/comps/DynamicPorts/graph.js +4 -5
- package/es/comps/DynamicPorts/index.d.ts +1 -2
- package/es/comps/DynamicPorts/index.less +307 -307
- package/es/comps/Editable/DataCell/ButtonCell.d.ts +1 -1
- package/es/comps/Editable/DataCell/ColorPicker.d.ts +1 -1
- package/es/comps/Editable/DataCell/Input.d.ts +1 -1
- package/es/comps/Editable/DataCell/Number.d.ts +1 -1
- package/es/comps/Editable/DataCell/Select.d.ts +1 -1
- package/es/comps/Editable/DataCell/Switch.d.ts +1 -1
- package/es/comps/Editable/DataCell/TreeSelect.d.ts +1 -1
- package/es/comps/Editable/comps/EditableAction.d.ts +1 -2
- package/es/comps/Editable/comps/Texty.d.ts +1 -1
- package/es/comps/Editable/comps/Texty.js +4 -5
- package/es/comps/Editable/comps/Texty.less +43 -43
- package/es/comps/Editable/comps/index.less +38 -38
- package/es/comps/Editable/index.d.ts +1 -2
- package/es/comps/Editable/index.less +97 -97
- package/es/comps/Editable/utils.d.ts +1 -2
- package/es/comps/FileView/index.d.ts +1 -2
- package/es/comps/FileView/index.js +3 -2
- package/es/comps/FormGenerator/comps/Canvas/Preview.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Checkbox.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Color.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Date.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Input.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/List.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/MutiSelect.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Number.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/NumberRange.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Obj.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Password.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Radio.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Select.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Switch.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Table.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/TextArea.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/Cell/Upload.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/HOC/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/RenderField/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Canvas/core/index.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Canvas/core/index.less +23 -23
- package/es/comps/FormGenerator/comps/Canvas/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Settings/index.js +2 -1
- package/es/comps/FormGenerator/comps/Sidebar/Elements.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/JsonSchema.d.ts +1 -1
- package/es/comps/FormGenerator/comps/Sidebar/index.d.ts +1 -2
- package/es/comps/FormGenerator/comps/Sidebar/index.less +21 -21
- package/es/comps/FormGenerator/index.d.ts +1 -2
- package/es/comps/FormGenerator/index.less +20 -20
- package/es/comps/JsonEdit/index.d.ts +1 -2
- package/es/comps/JsonEdit/index.js +1 -0
- package/es/comps/JsonEdit/index.less +64 -64
- package/es/comps/JsonView/index.d.ts +1 -2
- package/es/comps/JsonView/index.less +41 -41
- package/es/comps/MdEdit/index.d.ts +1 -2
- package/es/comps/MdEdit/index.less +6 -6
- package/es/comps/MdEditPro/index.d.ts +1 -2
- package/es/comps/MdEditPro/index.less +166 -166
- package/es/comps/MdEditPro/index2.d.ts +1 -1
- package/es/comps/MdNavbar/index.d.ts +1 -2
- package/es/comps/MdNavbar/index.less +77 -77
- package/es/comps/MdView/index.d.ts +1 -1
- package/es/comps/MdView/index.less +376 -376
- package/es/comps/MetadataEdit/components/MetaFieldsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/components/MetaPropsEdit.d.ts +1 -2
- package/es/comps/MetadataEdit/constant/index.js +2 -0
- package/es/comps/MetadataEdit/index.d.ts +1 -2
- package/es/comps/MetadataEdit/index.less +10 -10
- package/es/comps/MetadataEdit/type.d.ts +20 -20
- package/es/comps/MetadataForm/DataCell/Array.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Input.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Number.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Ref.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Select.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/Switch.d.ts +1 -1
- package/es/comps/MetadataForm/DataCell/business/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/layout/TableArray.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Cassandra.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/Kafka.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/PostgreSQL.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/SqlServer.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/Datasource/index.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/MapTable.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/NumberRange.js +2 -1
- package/es/comps/MetadataForm/DataCell/plugin/RefreshSelect.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.d.ts +1 -2
- package/es/comps/MetadataForm/DataCell/plugin/SparkSqlTable.js +17 -2
- package/es/comps/MetadataForm/HOC/index.d.ts +1 -2
- package/es/comps/MetadataForm/HOC/index.less +41 -41
- package/es/comps/MetadataForm/index.d.ts +1 -2
- package/es/comps/MetadataForm/utils.d.ts +2 -3
- package/es/comps/Split/index.d.ts +1 -1
- package/es/comps/Split/index.less +29 -29
- package/es/config.js +0 -1
- package/es/framework/RxStore/demo/index.d.ts +1 -2
- package/es/framework/graph/index.less +15 -15
- package/es/framework/http/msgpack5/lib/helpers.js +1 -0
- package/es/framework/libs/jquery.min.js +4 -4
- package/es/framework/locale/dil8/di18n.js +3 -5
- package/es/framework/metadata/MetadataService.js +14 -14
- package/es/framework/metadata/index.js +15 -14
- package/es/framework/metadata/types.d.ts +103 -103
- package/es/theme.less +81 -81
- package/package.json +116 -116
@@ -1,307 +1,307 @@
|
|
1
|
-
.node-element {
|
2
|
-
display: flex;
|
3
|
-
align-items: center;
|
4
|
-
box-sizing: border-box;
|
5
|
-
width: 180px;
|
6
|
-
height: 32px;
|
7
|
-
overflow: hidden;
|
8
|
-
background-color: var(--ronds-metadata-color-bg-4);
|
9
|
-
color: var(--ronds-metadata-color-text-1);
|
10
|
-
border-radius: 4px;
|
11
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
12
|
-
|
13
|
-
&.selected,
|
14
|
-
&:hover {
|
15
|
-
background-color: var(--ronds-metadata-color-bg-4);
|
16
|
-
color: var(--ronds-metadata-color-text-1);
|
17
|
-
border: 1px solid #1890ff;
|
18
|
-
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
19
|
-
|
20
|
-
.icon {
|
21
|
-
width: 32px;
|
22
|
-
height: 30px;
|
23
|
-
margin: 0 1px 0 -1px;
|
24
|
-
}
|
25
|
-
}
|
26
|
-
|
27
|
-
& > * {
|
28
|
-
flex-grow: 1;
|
29
|
-
}
|
30
|
-
|
31
|
-
.icon {
|
32
|
-
display: inline-flex;
|
33
|
-
flex-grow: 0;
|
34
|
-
align-items: center;
|
35
|
-
justify-content: center;
|
36
|
-
width: 32px;
|
37
|
-
height: 32px;
|
38
|
-
background-color: var(--ronds-metadata-color-bg-6);
|
39
|
-
border-radius: 4px 0 0 4px;
|
40
|
-
}
|
41
|
-
|
42
|
-
.notation {
|
43
|
-
display: inline-flex;
|
44
|
-
align-items: center;
|
45
|
-
width: calc(100% - 32px);
|
46
|
-
padding: 0 8px;
|
47
|
-
user-select: none;
|
48
|
-
|
49
|
-
& > * {
|
50
|
-
flex-grow: 1;
|
51
|
-
}
|
52
|
-
|
53
|
-
.name {
|
54
|
-
overflow-x: hidden;
|
55
|
-
color: var(--ronds-metadata-color-text-1);
|
56
|
-
font-size: 12px;
|
57
|
-
white-space: nowrap;
|
58
|
-
text-overflow: ellipsis;
|
59
|
-
vertical-align: middle;
|
60
|
-
}
|
61
|
-
|
62
|
-
.statusIcon {
|
63
|
-
display: inline-flex;
|
64
|
-
flex-grow: 0;
|
65
|
-
align-items: center;
|
66
|
-
font-size: 14px;
|
67
|
-
cursor: pointer;
|
68
|
-
transform: translateZ(0);
|
69
|
-
z-index: 1000;
|
70
|
-
}
|
71
|
-
}
|
72
|
-
}
|
73
|
-
|
74
|
-
.dynamic-ports {
|
75
|
-
position: relative;
|
76
|
-
.x6-node [magnet='true'] {
|
77
|
-
cursor: crosshair;
|
78
|
-
transition: none;
|
79
|
-
}
|
80
|
-
|
81
|
-
.x6-node [magnet='true']:hover {
|
82
|
-
opacity: 1;
|
83
|
-
}
|
84
|
-
|
85
|
-
.x6-node [magnet='true'][port-group='in'] {
|
86
|
-
cursor: move;
|
87
|
-
stroke: none;
|
88
|
-
}
|
89
|
-
|
90
|
-
.x6-port-body > span {
|
91
|
-
display: block;
|
92
|
-
}
|
93
|
-
|
94
|
-
.x6-node-selected {
|
95
|
-
.node-element,
|
96
|
-
.node-element-form {
|
97
|
-
background-color: var(--ronds-metadata-color-bg-4);
|
98
|
-
border: 1px solid #1890ff;
|
99
|
-
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
100
|
-
}
|
101
|
-
}
|
102
|
-
|
103
|
-
.dp-port {
|
104
|
-
width: 100%;
|
105
|
-
height: 100%;
|
106
|
-
border: 1px solid #808080;
|
107
|
-
border-radius: 100%;
|
108
|
-
background: #fff;
|
109
|
-
display: block;
|
110
|
-
}
|
111
|
-
|
112
|
-
.dp-port.connected {
|
113
|
-
width: 0;
|
114
|
-
height: 0;
|
115
|
-
margin-top: 3px;
|
116
|
-
margin-left: -1px;
|
117
|
-
border-width: 5px 4px 0;
|
118
|
-
border-style: solid;
|
119
|
-
border-color: #808080 transparent transparent;
|
120
|
-
border-radius: 0;
|
121
|
-
background-color: transparent;
|
122
|
-
}
|
123
|
-
|
124
|
-
.node-element-form {
|
125
|
-
.dp-port.connected {
|
126
|
-
width: 0;
|
127
|
-
height: 0;
|
128
|
-
margin-top: 3px;
|
129
|
-
margin-left: -1px;
|
130
|
-
border-width: 5px 4px 0;
|
131
|
-
border-style: solid;
|
132
|
-
border-color: #808080 transparent transparent;
|
133
|
-
border-radius: 0;
|
134
|
-
background-color: transparent;
|
135
|
-
transform: rotate(-90deg);
|
136
|
-
}
|
137
|
-
}
|
138
|
-
|
139
|
-
.x6-port-body.available {
|
140
|
-
overflow: visible;
|
141
|
-
}
|
142
|
-
|
143
|
-
.x6-port-body.available body {
|
144
|
-
overflow: visible;
|
145
|
-
}
|
146
|
-
|
147
|
-
.x6-port-body.available span {
|
148
|
-
overflow: visible;
|
149
|
-
display: block;
|
150
|
-
}
|
151
|
-
|
152
|
-
.x6-port-body.available body > span::before {
|
153
|
-
content: ' ';
|
154
|
-
float: left;
|
155
|
-
width: 20px;
|
156
|
-
height: 20px;
|
157
|
-
margin-top: -6px;
|
158
|
-
margin-left: -6px;
|
159
|
-
border-radius: 50%;
|
160
|
-
background-color: rgba(57, 202, 116, 0.6);
|
161
|
-
box-sizing: border-box;
|
162
|
-
}
|
163
|
-
|
164
|
-
.x6-port-body.available body > span::after {
|
165
|
-
content: ' ';
|
166
|
-
float: left;
|
167
|
-
clear: both;
|
168
|
-
width: 10px;
|
169
|
-
height: 10px;
|
170
|
-
margin-top: -15px;
|
171
|
-
margin-left: -1px;
|
172
|
-
border-radius: 50%;
|
173
|
-
background-color: #fff;
|
174
|
-
border: 1px solid #39ca74;
|
175
|
-
// position: relative;
|
176
|
-
z-index: 10;
|
177
|
-
box-sizing: border-box;
|
178
|
-
// transform: translateZ(0);
|
179
|
-
// position: relative
|
180
|
-
}
|
181
|
-
|
182
|
-
.x6-port-body.adsorbed {
|
183
|
-
overflow: visible;
|
184
|
-
}
|
185
|
-
|
186
|
-
.x6-port-body.adsorbed body {
|
187
|
-
overflow: visible;
|
188
|
-
}
|
189
|
-
|
190
|
-
.x6-port-body.adsorbed body > span::before {
|
191
|
-
content: ' ';
|
192
|
-
float: left;
|
193
|
-
width: 28px;
|
194
|
-
height: 28px;
|
195
|
-
margin-top: -9px;
|
196
|
-
margin-left: -10px;
|
197
|
-
border-radius: 50%;
|
198
|
-
background-color: rgba(57, 202, 116, 0.6);
|
199
|
-
box-sizing: border-box;
|
200
|
-
}
|
201
|
-
|
202
|
-
.x6-port-body.adsorbed body > span::after {
|
203
|
-
content: ' ';
|
204
|
-
float: left;
|
205
|
-
clear: both;
|
206
|
-
width: 10px;
|
207
|
-
height: 10px;
|
208
|
-
margin-top: -19px;
|
209
|
-
border-radius: 50%;
|
210
|
-
background-color: #fff;
|
211
|
-
border: 1px solid #39ca74;
|
212
|
-
// position: relative;
|
213
|
-
z-index: 10;
|
214
|
-
box-sizing: border-box;
|
215
|
-
}
|
216
|
-
|
217
|
-
.error {
|
218
|
-
stroke-width: 2px;
|
219
|
-
path:nth-child(2) {
|
220
|
-
stroke: rgba(245, 34, 45, 0.45) !important;
|
221
|
-
stroke-width: 2px;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
.edgeProcessing {
|
225
|
-
path:nth-child(2) {
|
226
|
-
// stroke: rgba(57, 202, 116, 0.8);
|
227
|
-
stroke-width: 2px;
|
228
|
-
stroke-dasharray: 8px, 2px;
|
229
|
-
animation: processing-line 30s infinite linear;
|
230
|
-
}
|
231
|
-
}
|
232
|
-
|
233
|
-
@keyframes processing-line {
|
234
|
-
to {
|
235
|
-
stroke-dashoffset: -1000;
|
236
|
-
}
|
237
|
-
}
|
238
|
-
}
|
239
|
-
|
240
|
-
.node-element-form {
|
241
|
-
box-sizing: border-box;
|
242
|
-
overflow: hidden;
|
243
|
-
min-height: 32px;
|
244
|
-
background-color: var(--ronds-metadata-color-bg-4);
|
245
|
-
color: var(--ronds-metadata-color-text-1);
|
246
|
-
border-radius: 4px;
|
247
|
-
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
248
|
-
|
249
|
-
&.selected,
|
250
|
-
&:hover {
|
251
|
-
background-color: var(--ronds-metadata-color-bg-4);
|
252
|
-
color: var(--ronds-metadata-color-text-1);
|
253
|
-
border: 1px solid #1890ff;
|
254
|
-
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
255
|
-
|
256
|
-
.icon {
|
257
|
-
width: 32px;
|
258
|
-
height: 30px;
|
259
|
-
margin: 0 1px 0 -1px;
|
260
|
-
}
|
261
|
-
}
|
262
|
-
|
263
|
-
& > * {
|
264
|
-
flex-grow: 1;
|
265
|
-
}
|
266
|
-
.icon {
|
267
|
-
display: inline-flex;
|
268
|
-
flex-grow: 0;
|
269
|
-
align-items: center;
|
270
|
-
justify-content: center;
|
271
|
-
width: 32px;
|
272
|
-
height: 32px;
|
273
|
-
background-color: var(--ronds-metadata-color-bg-6);
|
274
|
-
border-radius: 4px 0 0 4px;
|
275
|
-
}
|
276
|
-
|
277
|
-
.notation {
|
278
|
-
display: inline-flex;
|
279
|
-
align-items: center;
|
280
|
-
width: calc(100% - 32px);
|
281
|
-
padding: 0 8px;
|
282
|
-
user-select: none;
|
283
|
-
|
284
|
-
& > * {
|
285
|
-
flex-grow: 1;
|
286
|
-
}
|
287
|
-
|
288
|
-
.name {
|
289
|
-
overflow-x: hidden;
|
290
|
-
color: var(--ronds-metadata-color-text-1);
|
291
|
-
font-size: 12px;
|
292
|
-
white-space: nowrap;
|
293
|
-
text-overflow: ellipsis;
|
294
|
-
vertical-align: middle;
|
295
|
-
}
|
296
|
-
|
297
|
-
.statusIcon {
|
298
|
-
display: inline-flex;
|
299
|
-
flex-grow: 0;
|
300
|
-
align-items: center;
|
301
|
-
font-size: 14px;
|
302
|
-
cursor: pointer;
|
303
|
-
transform: translateZ(0);
|
304
|
-
z-index: 1000;
|
305
|
-
}
|
306
|
-
}
|
307
|
-
}
|
1
|
+
.node-element {
|
2
|
+
display: flex;
|
3
|
+
align-items: center;
|
4
|
+
box-sizing: border-box;
|
5
|
+
width: 180px;
|
6
|
+
height: 32px;
|
7
|
+
overflow: hidden;
|
8
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
9
|
+
color: var(--ronds-metadata-color-text-1);
|
10
|
+
border-radius: 4px;
|
11
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
12
|
+
|
13
|
+
&.selected,
|
14
|
+
&:hover {
|
15
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
16
|
+
color: var(--ronds-metadata-color-text-1);
|
17
|
+
border: 1px solid #1890ff;
|
18
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
19
|
+
|
20
|
+
.icon {
|
21
|
+
width: 32px;
|
22
|
+
height: 30px;
|
23
|
+
margin: 0 1px 0 -1px;
|
24
|
+
}
|
25
|
+
}
|
26
|
+
|
27
|
+
& > * {
|
28
|
+
flex-grow: 1;
|
29
|
+
}
|
30
|
+
|
31
|
+
.icon {
|
32
|
+
display: inline-flex;
|
33
|
+
flex-grow: 0;
|
34
|
+
align-items: center;
|
35
|
+
justify-content: center;
|
36
|
+
width: 32px;
|
37
|
+
height: 32px;
|
38
|
+
background-color: var(--ronds-metadata-color-bg-6);
|
39
|
+
border-radius: 4px 0 0 4px;
|
40
|
+
}
|
41
|
+
|
42
|
+
.notation {
|
43
|
+
display: inline-flex;
|
44
|
+
align-items: center;
|
45
|
+
width: calc(100% - 32px);
|
46
|
+
padding: 0 8px;
|
47
|
+
user-select: none;
|
48
|
+
|
49
|
+
& > * {
|
50
|
+
flex-grow: 1;
|
51
|
+
}
|
52
|
+
|
53
|
+
.name {
|
54
|
+
overflow-x: hidden;
|
55
|
+
color: var(--ronds-metadata-color-text-1);
|
56
|
+
font-size: 12px;
|
57
|
+
white-space: nowrap;
|
58
|
+
text-overflow: ellipsis;
|
59
|
+
vertical-align: middle;
|
60
|
+
}
|
61
|
+
|
62
|
+
.statusIcon {
|
63
|
+
display: inline-flex;
|
64
|
+
flex-grow: 0;
|
65
|
+
align-items: center;
|
66
|
+
font-size: 14px;
|
67
|
+
cursor: pointer;
|
68
|
+
transform: translateZ(0);
|
69
|
+
z-index: 1000;
|
70
|
+
}
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
.dynamic-ports {
|
75
|
+
position: relative;
|
76
|
+
.x6-node [magnet='true'] {
|
77
|
+
cursor: crosshair;
|
78
|
+
transition: none;
|
79
|
+
}
|
80
|
+
|
81
|
+
.x6-node [magnet='true']:hover {
|
82
|
+
opacity: 1;
|
83
|
+
}
|
84
|
+
|
85
|
+
.x6-node [magnet='true'][port-group='in'] {
|
86
|
+
cursor: move;
|
87
|
+
stroke: none;
|
88
|
+
}
|
89
|
+
|
90
|
+
.x6-port-body > span {
|
91
|
+
display: block;
|
92
|
+
}
|
93
|
+
|
94
|
+
.x6-node-selected {
|
95
|
+
.node-element,
|
96
|
+
.node-element-form {
|
97
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
98
|
+
border: 1px solid #1890ff;
|
99
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
100
|
+
}
|
101
|
+
}
|
102
|
+
|
103
|
+
.dp-port {
|
104
|
+
width: 100%;
|
105
|
+
height: 100%;
|
106
|
+
border: 1px solid #808080;
|
107
|
+
border-radius: 100%;
|
108
|
+
background: #fff;
|
109
|
+
display: block;
|
110
|
+
}
|
111
|
+
|
112
|
+
.dp-port.connected {
|
113
|
+
width: 0;
|
114
|
+
height: 0;
|
115
|
+
margin-top: 3px;
|
116
|
+
margin-left: -1px;
|
117
|
+
border-width: 5px 4px 0;
|
118
|
+
border-style: solid;
|
119
|
+
border-color: #808080 transparent transparent;
|
120
|
+
border-radius: 0;
|
121
|
+
background-color: transparent;
|
122
|
+
}
|
123
|
+
|
124
|
+
.node-element-form {
|
125
|
+
.dp-port.connected {
|
126
|
+
width: 0;
|
127
|
+
height: 0;
|
128
|
+
margin-top: 3px;
|
129
|
+
margin-left: -1px;
|
130
|
+
border-width: 5px 4px 0;
|
131
|
+
border-style: solid;
|
132
|
+
border-color: #808080 transparent transparent;
|
133
|
+
border-radius: 0;
|
134
|
+
background-color: transparent;
|
135
|
+
transform: rotate(-90deg);
|
136
|
+
}
|
137
|
+
}
|
138
|
+
|
139
|
+
.x6-port-body.available {
|
140
|
+
overflow: visible;
|
141
|
+
}
|
142
|
+
|
143
|
+
.x6-port-body.available body {
|
144
|
+
overflow: visible;
|
145
|
+
}
|
146
|
+
|
147
|
+
.x6-port-body.available span {
|
148
|
+
overflow: visible;
|
149
|
+
display: block;
|
150
|
+
}
|
151
|
+
|
152
|
+
.x6-port-body.available body > span::before {
|
153
|
+
content: ' ';
|
154
|
+
float: left;
|
155
|
+
width: 20px;
|
156
|
+
height: 20px;
|
157
|
+
margin-top: -6px;
|
158
|
+
margin-left: -6px;
|
159
|
+
border-radius: 50%;
|
160
|
+
background-color: rgba(57, 202, 116, 0.6);
|
161
|
+
box-sizing: border-box;
|
162
|
+
}
|
163
|
+
|
164
|
+
.x6-port-body.available body > span::after {
|
165
|
+
content: ' ';
|
166
|
+
float: left;
|
167
|
+
clear: both;
|
168
|
+
width: 10px;
|
169
|
+
height: 10px;
|
170
|
+
margin-top: -15px;
|
171
|
+
margin-left: -1px;
|
172
|
+
border-radius: 50%;
|
173
|
+
background-color: #fff;
|
174
|
+
border: 1px solid #39ca74;
|
175
|
+
// position: relative;
|
176
|
+
z-index: 10;
|
177
|
+
box-sizing: border-box;
|
178
|
+
// transform: translateZ(0);
|
179
|
+
// position: relative
|
180
|
+
}
|
181
|
+
|
182
|
+
.x6-port-body.adsorbed {
|
183
|
+
overflow: visible;
|
184
|
+
}
|
185
|
+
|
186
|
+
.x6-port-body.adsorbed body {
|
187
|
+
overflow: visible;
|
188
|
+
}
|
189
|
+
|
190
|
+
.x6-port-body.adsorbed body > span::before {
|
191
|
+
content: ' ';
|
192
|
+
float: left;
|
193
|
+
width: 28px;
|
194
|
+
height: 28px;
|
195
|
+
margin-top: -9px;
|
196
|
+
margin-left: -10px;
|
197
|
+
border-radius: 50%;
|
198
|
+
background-color: rgba(57, 202, 116, 0.6);
|
199
|
+
box-sizing: border-box;
|
200
|
+
}
|
201
|
+
|
202
|
+
.x6-port-body.adsorbed body > span::after {
|
203
|
+
content: ' ';
|
204
|
+
float: left;
|
205
|
+
clear: both;
|
206
|
+
width: 10px;
|
207
|
+
height: 10px;
|
208
|
+
margin-top: -19px;
|
209
|
+
border-radius: 50%;
|
210
|
+
background-color: #fff;
|
211
|
+
border: 1px solid #39ca74;
|
212
|
+
// position: relative;
|
213
|
+
z-index: 10;
|
214
|
+
box-sizing: border-box;
|
215
|
+
}
|
216
|
+
|
217
|
+
.error {
|
218
|
+
stroke-width: 2px;
|
219
|
+
path:nth-child(2) {
|
220
|
+
stroke: rgba(245, 34, 45, 0.45) !important;
|
221
|
+
stroke-width: 2px;
|
222
|
+
}
|
223
|
+
}
|
224
|
+
.edgeProcessing {
|
225
|
+
path:nth-child(2) {
|
226
|
+
// stroke: rgba(57, 202, 116, 0.8);
|
227
|
+
stroke-width: 2px;
|
228
|
+
stroke-dasharray: 8px, 2px;
|
229
|
+
animation: processing-line 30s infinite linear;
|
230
|
+
}
|
231
|
+
}
|
232
|
+
|
233
|
+
@keyframes processing-line {
|
234
|
+
to {
|
235
|
+
stroke-dashoffset: -1000;
|
236
|
+
}
|
237
|
+
}
|
238
|
+
}
|
239
|
+
|
240
|
+
.node-element-form {
|
241
|
+
box-sizing: border-box;
|
242
|
+
overflow: hidden;
|
243
|
+
min-height: 32px;
|
244
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
245
|
+
color: var(--ronds-metadata-color-text-1);
|
246
|
+
border-radius: 4px;
|
247
|
+
box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.08);
|
248
|
+
|
249
|
+
&.selected,
|
250
|
+
&:hover {
|
251
|
+
background-color: var(--ronds-metadata-color-bg-4);
|
252
|
+
color: var(--ronds-metadata-color-text-1);
|
253
|
+
border: 1px solid #1890ff;
|
254
|
+
box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
|
255
|
+
|
256
|
+
.icon {
|
257
|
+
width: 32px;
|
258
|
+
height: 30px;
|
259
|
+
margin: 0 1px 0 -1px;
|
260
|
+
}
|
261
|
+
}
|
262
|
+
|
263
|
+
& > * {
|
264
|
+
flex-grow: 1;
|
265
|
+
}
|
266
|
+
.icon {
|
267
|
+
display: inline-flex;
|
268
|
+
flex-grow: 0;
|
269
|
+
align-items: center;
|
270
|
+
justify-content: center;
|
271
|
+
width: 32px;
|
272
|
+
height: 32px;
|
273
|
+
background-color: var(--ronds-metadata-color-bg-6);
|
274
|
+
border-radius: 4px 0 0 4px;
|
275
|
+
}
|
276
|
+
|
277
|
+
.notation {
|
278
|
+
display: inline-flex;
|
279
|
+
align-items: center;
|
280
|
+
width: calc(100% - 32px);
|
281
|
+
padding: 0 8px;
|
282
|
+
user-select: none;
|
283
|
+
|
284
|
+
& > * {
|
285
|
+
flex-grow: 1;
|
286
|
+
}
|
287
|
+
|
288
|
+
.name {
|
289
|
+
overflow-x: hidden;
|
290
|
+
color: var(--ronds-metadata-color-text-1);
|
291
|
+
font-size: 12px;
|
292
|
+
white-space: nowrap;
|
293
|
+
text-overflow: ellipsis;
|
294
|
+
vertical-align: middle;
|
295
|
+
}
|
296
|
+
|
297
|
+
.statusIcon {
|
298
|
+
display: inline-flex;
|
299
|
+
flex-grow: 0;
|
300
|
+
align-items: center;
|
301
|
+
font-size: 14px;
|
302
|
+
cursor: pointer;
|
303
|
+
transform: translateZ(0);
|
304
|
+
z-index: 1000;
|
305
|
+
}
|
306
|
+
}
|
307
|
+
}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { EditableCellProps } from '../interface';
|
3
|
-
declare function Index(props: EditableCellProps):
|
3
|
+
declare function Index(props: EditableCellProps): JSX.Element;
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Index>;
|
5
5
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { EditableCellProps } from '../interface';
|
3
|
-
declare function Index(props: EditableCellProps):
|
3
|
+
declare function Index(props: EditableCellProps): JSX.Element;
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Index>;
|
5
5
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { EditableCellProps } from '../interface';
|
3
|
-
declare function Index(props: EditableCellProps):
|
3
|
+
declare function Index(props: EditableCellProps): JSX.Element;
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Index>;
|
5
5
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { EditableCellProps } from '../interface';
|
3
|
-
declare function Index(props: EditableCellProps):
|
3
|
+
declare function Index(props: EditableCellProps): JSX.Element;
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Index>;
|
5
5
|
export default _default;
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import React from 'react';
|
2
2
|
import { EditableCellProps } from '../interface';
|
3
|
-
declare function Index(props: EditableCellProps):
|
3
|
+
declare function Index(props: EditableCellProps): JSX.Element;
|
4
4
|
declare const _default: React.MemoExoticComponent<typeof Index>;
|
5
5
|
export default _default;
|
@@ -1,7 +1,6 @@
|
|
1
|
-
import React from 'react';
|
2
1
|
interface IEditableActionProps {
|
3
2
|
type: 'single' | 'multiple' | 'freedom';
|
4
3
|
record: any;
|
5
4
|
}
|
6
|
-
declare const EditableAction: (props: IEditableActionProps) =>
|
5
|
+
declare const EditableAction: (props: IEditableActionProps) => JSX.Element;
|
7
6
|
export default EditableAction;
|
@@ -69,7 +69,7 @@ declare class Texty extends React.PureComponent<ITextyProps, any> {
|
|
69
69
|
private showTimer;
|
70
70
|
componentDidUpdate(): void;
|
71
71
|
componentWillUnmount(): void;
|
72
|
-
render():
|
72
|
+
render(): JSX.Element;
|
73
73
|
renderTooltip: ({ ref, style, placement, arrowProps }: any) => React.ReactPortal;
|
74
74
|
setTargetRef: (ref: any) => void;
|
75
75
|
handleMouseEvent: (e: any) => void;
|