@sunspirytus/xflow 1.0.52

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 (42) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +21 -0
  3. package/dist/index.css +1458 -0
  4. package/dist/index.umd.js +72 -0
  5. package/dist/index.umd.js.map +1 -0
  6. package/es/core/index.d.ts +84 -0
  7. package/es/core/index.js +92 -0
  8. package/es/core/index.js.map +1 -0
  9. package/es/core/style/index.css +108 -0
  10. package/es/core/style/index.less +4 -0
  11. package/es/extensions/index.d.ts +28 -0
  12. package/es/extensions/index.js +29 -0
  13. package/es/extensions/index.js.map +1 -0
  14. package/es/extensions/style/index.css +1350 -0
  15. package/es/extensions/style/index.less +2 -0
  16. package/es/hook/index.d.ts +1 -0
  17. package/es/hook/index.js +2 -0
  18. package/es/hook/index.js.map +1 -0
  19. package/es/index.d.ts +3 -0
  20. package/es/index.js +4 -0
  21. package/es/index.js.map +1 -0
  22. package/es/style/components.css +1458 -0
  23. package/es/style/components.less +2 -0
  24. package/lib/core/index.d.ts +84 -0
  25. package/lib/core/index.js +150 -0
  26. package/lib/core/index.js.map +1 -0
  27. package/lib/core/style/index.css +108 -0
  28. package/lib/core/style/index.less +4 -0
  29. package/lib/extensions/index.d.ts +28 -0
  30. package/lib/extensions/index.js +68 -0
  31. package/lib/extensions/index.js.map +1 -0
  32. package/lib/extensions/style/index.css +1350 -0
  33. package/lib/extensions/style/index.less +2 -0
  34. package/lib/hook/index.d.ts +1 -0
  35. package/lib/hook/index.js +7 -0
  36. package/lib/hook/index.js.map +1 -0
  37. package/lib/index.d.ts +3 -0
  38. package/lib/index.js +7 -0
  39. package/lib/index.js.map +1 -0
  40. package/lib/style/components.css +1458 -0
  41. package/lib/style/components.less +2 -0
  42. package/package.json +88 -0
package/dist/index.css ADDED
@@ -0,0 +1,1458 @@
1
+ .xflow-default-node {
2
+ z-index: 10;
3
+ display: flex;
4
+ width: 180px;
5
+ height: 36px;
6
+ line-height: 36px;
7
+ text-align: center;
8
+ background-color: #fff;
9
+ border: 1px solid #1890ff;
10
+ border-radius: 2px;
11
+ box-shadow: -1px -1px 4px 0 rgba(223,223,223,0.50), -2px 2px 4px 0 rgba(244,244,244,0.50), 2px 3px 8px 2px rgba(151,151,151,0.05);
12
+ transition: all ease-in-out 0.15s;
13
+ }
14
+ .xflow-default-node:hover {
15
+ background-color: #fff;
16
+ border: 1px solid #3057e3;
17
+ box-shadow: 0 0 3px 3px rgba(48, 86, 227, 0.15);
18
+ cursor: move;
19
+ }
20
+ .xflow-default-node .icon {
21
+ width: 36px;
22
+ }
23
+ .xflow-default-node .label {
24
+ width: 108px;
25
+ overflow: hidden;
26
+ text-overflow: ellipsis;
27
+ }
28
+ .xflow-default-node .status {
29
+ width: 36px;
30
+ }
31
+ .xflow-default-node.panel-node {
32
+ border: 0;
33
+ }
34
+ .x6-node-selected .xflow-default-node {
35
+ background-color: rgba(48, 86, 227, 0.05);
36
+ border: 1px solid #3057e3;
37
+ box-shadow: 0 0 3px 3px rgba(48, 86, 227, 0.15);
38
+ }
39
+ .x6-node-selected .xflow-default-node:hover {
40
+ background-color: #fff;
41
+ box-shadow: 0 0 5px 5px rgba(48, 86, 227, 0.15);
42
+ }
43
+ .xflow-default-group-node {
44
+ z-index: 9;
45
+ width: 100%;
46
+ height: 100%;
47
+ background-color: rgba(255, 255, 255, 0.65);
48
+ border: 1px solid rgba(255, 255, 255, 0.25);
49
+ border-radius: 4px;
50
+ box-shadow: rgb(17 49 96 / 12%) 0px 1px 3px 0px, rgb(17 49 96 / 4%) 0px 0px 0px 1px;
51
+ cursor: grab;
52
+ }
53
+ .xflow-default-group-node:hover {
54
+ background-color: rgba(227, 244, 255, 0.45);
55
+ border: 1px solid #1890ff;
56
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
57
+ cursor: move;
58
+ }
59
+ .xflow-default-group-node .xflow-group-header {
60
+ display: flex;
61
+ justify-content: space-between;
62
+ padding: 0 12px;
63
+ font-size: 14px;
64
+ line-height: 38px;
65
+ }
66
+ .xflow-default-group-node .xflow-group-header .header-left {
67
+ width: 80%;
68
+ overflow: hidden;
69
+ white-space: nowrap;
70
+ text-overflow: ellipsis;
71
+ }
72
+ .xflow-default-group-node .xflow-group-header .header-right {
73
+ display: inline-flex;
74
+ align-items: center;
75
+ }
76
+ .xflow-default-group-node .xflow-group-header .header-right span.anticon {
77
+ margin-left: 8px;
78
+ }
79
+ .x6-node-selected .xflow-default-group-node {
80
+ background-color: rgba(243, 249, 255, 0.92);
81
+ border: 1px solid #1890ff;
82
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
83
+ }
84
+ .x6-node-selected .xflow-default-group-node:hover {
85
+ background-color: rgba(243, 249, 255, 0.6);
86
+ }
87
+ .xflow-canvas-root {
88
+ position: absolute;
89
+ top: 0;
90
+ right: 0;
91
+ bottom: 0;
92
+ left: 0;
93
+ }
94
+ .xflow-x6-canvas {
95
+ width: 100%;
96
+ height: 100%;
97
+ }
98
+ .xflow-app-workspace {
99
+ position: relative;
100
+ width: 100%;
101
+ height: 100%;
102
+ }
103
+ .xflow-hide {
104
+ display: none;
105
+ }
106
+ .x6-widget-dnd.dragging {
107
+ cursor: grabbing !important;
108
+ }
109
+ /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
110
+ /* stylelint-disable no-duplicate-selectors */
111
+ /* stylelint-disable */
112
+ /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
113
+ .xflow-collapse-panel {
114
+ border-right: 1px solid #d9d9d9;
115
+ }
116
+ .xflow-collapse-panel .disabled {
117
+ position: relative;
118
+ opacity: 0.45;
119
+ }
120
+ .xflow-collapse-panel .disabled::before {
121
+ position: absolute;
122
+ top: 0;
123
+ right: 0;
124
+ bottom: 0;
125
+ left: 0;
126
+ z-index: 999;
127
+ cursor: not-allowed;
128
+ content: '';
129
+ }
130
+ .xflow-collapse-panel-node-wrapper {
131
+ display: flex;
132
+ align-items: center;
133
+ justify-content: center;
134
+ width: 100%;
135
+ cursor: grab;
136
+ }
137
+ .xflow-collapse-panel-header {
138
+ display: flex;
139
+ justify-content: space-evenly;
140
+ background: #fff;
141
+ border-bottom: 1px solid #d9d9d9;
142
+ }
143
+ .xflow-collapse-panel-header-title {
144
+ font-size: 16px;
145
+ }
146
+ .xflow-collapse-panel-header-search {
147
+ width: 100%;
148
+ padding: 0 12px;
149
+ }
150
+ .xflow-collapse-panel-body {
151
+ padding: 0;
152
+ overflow-x: hidden;
153
+ overflow-y: auto;
154
+ background: #fff;
155
+ }
156
+ .xflow-collapse-panel-footer {
157
+ display: flex;
158
+ justify-content: space-evenly;
159
+ background: #fff;
160
+ border-top: 1px solid #d9d9d9;
161
+ }
162
+ .xflow-collapse-panel-footer-title {
163
+ font-size: 16px;
164
+ }
165
+ .xflow-collapse-panel .xflow-collapse-search-list {
166
+ height: 100%;
167
+ margin: 0;
168
+ padding: 8px 0;
169
+ overflow-y: auto;
170
+ list-style: none;
171
+ }
172
+ .xflow-collapse-panel .xflow-collapse-search-list-item {
173
+ margin: 0;
174
+ padding: 4px 0;
175
+ }
176
+ .xflow-collapse-panel .xflow-collapse-list {
177
+ height: 100%;
178
+ margin: 0;
179
+ padding: 0;
180
+ overflow-y: auto;
181
+ list-style: none;
182
+ }
183
+ .xflow-collapse-panel .xflow-collapse-list-item {
184
+ margin: 0;
185
+ padding: 0;
186
+ }
187
+ .xflow-collapse-panel .xflow-collapse-list-item.close .xflow-collapse-content {
188
+ height: 0;
189
+ transform: scaleY(0);
190
+ }
191
+ .xflow-collapse-panel .xflow-collapse-header {
192
+ display: flex;
193
+ justify-content: space-between;
194
+ padding: 8px 16px;
195
+ color: rgba(0, 0, 0, 0.65);
196
+ line-height: 1.5;
197
+ cursor: pointer;
198
+ transition: all 0.3s;
199
+ user-select: none;
200
+ }
201
+ .xflow-collapse-panel .xflow-collapse-header:hover {
202
+ background: #f5f5f5;
203
+ }
204
+ .xflow-collapse-panel .xflow-collapse-header-icon {
205
+ display: flex;
206
+ align-items: center;
207
+ justify-content: center;
208
+ width: 24px;
209
+ }
210
+ .xflow-collapse-panel .xflow-collapse-header-icon svg {
211
+ transition: all 0.5s;
212
+ }
213
+ .xflow-collapse-panel .xflow-collapse-header-label {
214
+ flex: 1;
215
+ }
216
+ .xflow-collapse-panel .xflow-collapse-header-extra {
217
+ width: auto;
218
+ }
219
+ .xflow-collapse-panel .xflow-collapse-content {
220
+ height: 100%;
221
+ height: auto;
222
+ overflow: hidden;
223
+ transform: scaleY(1);
224
+ transition: scale 0.15s ease-in-out;
225
+ }
226
+ .xflow-collapse-panel .xflow-collapse-content-item {
227
+ padding: 4px 0;
228
+ transition: all 0.5s;
229
+ }
230
+ .xflow-collapse-panel .xflow-collapse-content-item:hover {
231
+ background: #f5f5f5;
232
+ }
233
+ .x6-menu {
234
+ position: relative;
235
+ display: inline-block;
236
+ min-width: 160px;
237
+ min-height: 32px;
238
+ margin: 0;
239
+ padding: 4px 0;
240
+ background-color: #fff;
241
+ outline: 0;
242
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
243
+ }
244
+ .x6-menu-item {
245
+ position: relative;
246
+ }
247
+ .x6-menu-item-active > .x6-menu-item-button,
248
+ .x6-menu-item:hover > .x6-menu-item-button {
249
+ color: #262626;
250
+ background: #f5f5f5;
251
+ }
252
+ .x6-menu-item-divider {
253
+ display: block;
254
+ width: 100%;
255
+ height: 1px;
256
+ margin: 4px 0;
257
+ background: rgba(150, 150, 150, 0.2);
258
+ pointer-events: none;
259
+ }
260
+ .x6-menu-item-button {
261
+ position: relative;
262
+ display: flex;
263
+ align-content: center;
264
+ align-items: center;
265
+ justify-content: space-between;
266
+ width: 100%;
267
+ height: 28px;
268
+ padding: 0 12px;
269
+ color: #595959;
270
+ text-align: left;
271
+ background: transparent;
272
+ border: none;
273
+ outline: none;
274
+ box-shadow: none;
275
+ cursor: pointer;
276
+ }
277
+ .x6-menu-item-hidden {
278
+ display: none;
279
+ }
280
+ .x6-menu-item-disabled > .x6-menu-item-button,
281
+ .x6-menu-item-disabled:hover > .x6-menu-item-button {
282
+ color: #595959;
283
+ background-color: transparent;
284
+ cursor: not-allowed;
285
+ opacity: 0.4;
286
+ }
287
+ .x6-menu-item-icon {
288
+ position: absolute;
289
+ top: 50%;
290
+ left: 6px;
291
+ display: none;
292
+ width: 24px;
293
+ height: 24px;
294
+ margin-top: -12px;
295
+ font-size: 13px;
296
+ }
297
+ .x6-menu-item-text {
298
+ padding-right: 56px;
299
+ overflow: hidden;
300
+ font-size: 13px;
301
+ white-space: nowrap;
302
+ text-overflow: ellipsis;
303
+ }
304
+ .x6-menu-item-hotkey {
305
+ font-size: 13px;
306
+ opacity: 0.75;
307
+ }
308
+ .x6-menu-submenu-arrow,
309
+ .x6-menu-submenu.x6-menu-item-disabled:hover > .x6-menu-item-button > .x6-menu-submenu-arrow {
310
+ position: absolute;
311
+ top: 10px;
312
+ right: 12px;
313
+ width: 0;
314
+ height: 0;
315
+ border-top: 4px solid rgba(0, 0, 0, 0);
316
+ border-bottom: 4px solid rgba(0, 0, 0, 0);
317
+ border-left: 5px solid #262626;
318
+ opacity: 0.4;
319
+ pointer-events: none;
320
+ }
321
+ .x6-menu-submenu-menu,
322
+ .x6-menu-submenu.x6-menu-item-disabled:hover > .x6-menu-submenu-menu {
323
+ position: absolute;
324
+ top: -5px;
325
+ left: 100%;
326
+ z-index: 9999;
327
+ min-width: 200px;
328
+ margin-left: -4px;
329
+ padding: 5px 0;
330
+ background: #fff;
331
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
332
+ transform: translateX(-10px);
333
+ visibility: hidden;
334
+ opacity: 0;
335
+ transition: all 0.25s cubic-bezier(0.3, 1.2, 0.2, 1);
336
+ }
337
+ .x6-menu-submenu.x6-menu-item-active > .x6-menu-item-button > .x6-menu-submenu-arrow,
338
+ .x6-menu-submenu:hover > .x6-menu-item-button > .x6-menu-submenu-arrow {
339
+ opacity: 0.75;
340
+ }
341
+ .x6-menu-submenu.x6-menu-item-active > .x6-menu-submenu-menu,
342
+ .x6-menu-submenu:hover > .x6-menu-submenu-menu {
343
+ transform: translateX(0);
344
+ visibility: visible;
345
+ opacity: 1;
346
+ }
347
+ .x6-menu.x6-menu-has-icon .x6-menu-item-button {
348
+ padding-left: 30px;
349
+ }
350
+ .x6-menu.x6-menu-has-icon .x6-menu-item-button .x6-menu-item-icon {
351
+ display: flex;
352
+ align-items: center;
353
+ justify-content: center;
354
+ }
355
+ .x6-menu.x6-menu-has-icon .x6-menu-item-button .x6-menu-item-text {
356
+ padding-left: 2px;
357
+ }
358
+ .xflow-menu-mask {
359
+ position: absolute;
360
+ top: 0;
361
+ right: 0;
362
+ bottom: 0;
363
+ left: 0;
364
+ z-index: 1000;
365
+ }
366
+ .xflow-menu-mask .x6-dropdown {
367
+ overflow: visible;
368
+ pointer-events: all;
369
+ }
370
+ .xflow-menu-mask .xflow-context-menu-anchor {
371
+ position: absolute;
372
+ z-index: 1;
373
+ background-color: #fff;
374
+ }
375
+ @keyframes xflow-processing-line {
376
+ to {
377
+ stroke-dashoffset: -1000;
378
+ }
379
+ }
380
+ .dag-extension-container .x6-edge {
381
+ stroke-width: 1px;
382
+ }
383
+ .dag-extension-container .x6-edge.success path:nth-child(2) {
384
+ stroke: #d5d5d5 !important;
385
+ }
386
+ .dag-extension-container .x6-edge.success path:nth-child(3) {
387
+ fill: #d5d5d5 !important;
388
+ stroke: #d5d5d5 !important;
389
+ }
390
+ .dag-extension-container .x6-edge.error {
391
+ stroke-width: 2px;
392
+ }
393
+ .dag-extension-container .x6-edge.error path:nth-child(2) {
394
+ stroke: rgba(245, 34, 45, 0.45) !important;
395
+ stroke-width: 2px;
396
+ }
397
+ .dag-extension-container .x6-edge.processing path:nth-child(2) {
398
+ animation: xflow-processing-line 30s infinite linear;
399
+ stroke: rgba(57, 202, 116, 0.8);
400
+ stroke-width: 2px;
401
+ stroke-dasharray: 8px, 2px;
402
+ }
403
+ .dag-extension-container .x6-edge.x6-edge-selected path:nth-child(2) {
404
+ stroke: #1890ff;
405
+ stroke-width: 2px;
406
+ }
407
+ .dag-extension-container .x6-edge:hover path:nth-child(2) {
408
+ stroke: #1890ff;
409
+ stroke-width: 2px;
410
+ }
411
+ .dag-extension-container .x6-edge.hoverHighlight path:nth-child(2) {
412
+ stroke: #1890ff;
413
+ stroke-width: 2px;
414
+ }
415
+ .dag-extension-container .x6-port .xflow-port-group .xflow-port-arrow {
416
+ display: none;
417
+ }
418
+ .dag-extension-container .x6-port .xflow-port-group.available .xflow-port {
419
+ stroke: rgba(57, 202, 116, 0.6);
420
+ r: 8;
421
+ stroke-width: 8px;
422
+ }
423
+ .dag-extension-container .x6-port .xflow-port-group.connected .xflow-port-arrow {
424
+ display: block;
425
+ }
426
+ .dag-extension-container .x6-port .xflow-port-group.connected .xflow-port {
427
+ display: none;
428
+ }
429
+ .dag-extension-container .x6-port .xflow-port-group.adsorbed .xflow-port {
430
+ stroke: rgba(57, 202, 116, 0.85);
431
+ r: 10;
432
+ stroke-width: 10px;
433
+ }
434
+ .layout-top-bottom .x6-port .xflow-port-group .xflow-port-arrow {
435
+ display: none;
436
+ }
437
+ .layout-top-bottom .x6-port .xflow-port-group.connected .xflow-port-arrow {
438
+ display: block;
439
+ }
440
+ .layout-top-bottom .x6-port .xflow-port-group.connected .xflow-port {
441
+ display: none;
442
+ }
443
+ .layout-left-right .x6-port .xflow-port-group .xflow-port-arrow {
444
+ display: none;
445
+ }
446
+ .layout-left-right .x6-port .xflow-port-group.connected .xflow-port-arrow {
447
+ display: block;
448
+ transform: translate(0, 5px) rotate(270deg) !important;
449
+ }
450
+ .layout-left-right .x6-port .xflow-port-group.connected .xflow-port {
451
+ display: none;
452
+ }
453
+ .flow-extension-container .x6-edge {
454
+ stroke-width: 1px;
455
+ }
456
+ .flow-extension-container .x6-edge.success path:nth-child(2) {
457
+ stroke: #888 !important;
458
+ }
459
+ .flow-extension-container .x6-edge.success path:nth-child(3) {
460
+ fill: #888 !important;
461
+ stroke: #888 !important;
462
+ }
463
+ .flow-extension-container .x6-edge.error {
464
+ stroke-width: 2px;
465
+ }
466
+ .flow-extension-container .x6-edge.error path:nth-child(2) {
467
+ stroke: rgba(245, 34, 45, 0.45) !important;
468
+ stroke-width: 2px;
469
+ }
470
+ .flow-extension-container .x6-edge.guideProcessing path:nth-child(2) {
471
+ stroke: rgba(57, 202, 116, 0.8);
472
+ stroke-width: 2px;
473
+ stroke-dasharray: 8px, 2px;
474
+ }
475
+ .flow-extension-container .x6-edge.guideProcessing path:nth-child(2):local {
476
+ animation: processing-line 30s infinite linear;
477
+ }
478
+ .flow-extension-container .x6-edge.x6-edge-selected path:nth-child(2) {
479
+ stroke: #1890ff;
480
+ stroke-width: 2px;
481
+ }
482
+ .flow-extension-container .x6-edge:hover path:nth-child(2) {
483
+ stroke: #1890ff;
484
+ stroke-width: 2px;
485
+ }
486
+ .flow-extension-container .x6-edge.hoverHighlight path:nth-child(2) {
487
+ stroke: #1890ff;
488
+ stroke-width: 2px;
489
+ }
490
+ @keyframes processing-line {
491
+ to {
492
+ stroke-dashoffset: -1000;
493
+ }
494
+ }
495
+ .flow-extension-container .x6-widget-transform {
496
+ margin: -1px 0 0 -1px;
497
+ padding: 0;
498
+ border: 1px solid #239edd;
499
+ }
500
+ .flow-extension-container .x6-widget-transform > div {
501
+ border: 1px solid #239edd;
502
+ }
503
+ .flow-extension-container .x6-widget-transform > div:hover {
504
+ background-color: #3dafe4;
505
+ }
506
+ .flow-extension-container .x6-widget-transform-active-handle {
507
+ background-color: #3dafe4;
508
+ }
509
+ .flow-extension-container .x6-widget-transform-resize {
510
+ border-radius: 0;
511
+ }
512
+ .flow-extension-container .x6-widget-selection-inner {
513
+ border: 1px solid #239edd;
514
+ }
515
+ .flow-extension-container .x6-widget-selection-box {
516
+ opacity: 0;
517
+ }
518
+ .xflow-form-checkbox {
519
+ margin-bottom: 2px !important;
520
+ }
521
+ .xflow-form-checkbox :global .ant-checkbox-wrapper {
522
+ width: 100%;
523
+ overflow: hidden;
524
+ }
525
+ .xflow-form-input :global .ant-input-clear-icon {
526
+ color: rgba(0, 0, 0, 0.25);
527
+ }
528
+ .xflow-json-form {
529
+ height: 100%;
530
+ }
531
+ .xflow-json-form label {
532
+ font-size: 12px;
533
+ }
534
+ .xflow-json-form .ant-form-item {
535
+ margin-bottom: 12px;
536
+ }
537
+ .xflow-json-form .ant-form-item .ant-form-item-label {
538
+ padding-bottom: 4px;
539
+ }
540
+ .xflow-json-form .ant-form-item .ant-form-item-label > label {
541
+ color: #666;
542
+ }
543
+ .xflow-json-form .ant-form-item .ant-form-item-control .ant-checkbox-wrapper {
544
+ color: #666;
545
+ }
546
+ .xflow-json-form .ant-form-item-explain,
547
+ .xflow-json-form .ant-form-item-extra {
548
+ font-size: 12px;
549
+ }
550
+ .xflow-json-form .ant-form-item-explain-error > div {
551
+ word-break: break-all;
552
+ }
553
+ .xflow-json-form .ant-form-item-extra {
554
+ margin-top: 4px;
555
+ }
556
+ .xflow-json-form .tabs {
557
+ flex-direction: column;
558
+ height: 100%;
559
+ }
560
+ .xflow-json-form .tabs .ant-tabs-nav {
561
+ box-shadow: 0 0 16px -5px rgba(0, 0, 0, 0.2);
562
+ }
563
+ .xflow-json-form .tabs .ant-tabs-nav .ant-tabs-nav-list {
564
+ width: 100%;
565
+ }
566
+ .xflow-json-form .tabs .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab {
567
+ font-size: 12px;
568
+ }
569
+ .xflow-json-form .tabs .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab-active {
570
+ border-bottom-width: 0;
571
+ }
572
+ .xflow-json-form .tabs .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab .ant-tabs-tab-btn {
573
+ font-weight: normal;
574
+ text-align: center;
575
+ }
576
+ .xflow-json-form .tabs .ant-tabs-content-holder {
577
+ padding: 0 16px;
578
+ overflow-y: auto;
579
+ }
580
+ .xflow-json-form .tabs.xTab .ant-tabs-nav .ant-tabs-nav-list {
581
+ box-sizing: border-box;
582
+ height: 40px;
583
+ background-color: #fff;
584
+ border-bottom: 1px solid #d9d9d9;
585
+ }
586
+ .xflow-json-form .tabs.xTab .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab {
587
+ background-color: #fff;
588
+ }
589
+ .xflow-json-form .tabs.xTab .ant-tabs-nav .ant-tabs-nav-list .ant-tabs-tab .ant-tabs-tab-btn {
590
+ width: 100%;
591
+ }
592
+ .xflow-json-form .tabs.singleTab .ant-tabs-tab {
593
+ width: 100%;
594
+ }
595
+ .xflow-json-form .tabs.coupleTab .ant-tabs-tab {
596
+ width: 50%;
597
+ margin-right: 0;
598
+ border-right-width: 0;
599
+ }
600
+ .xflow-json-form .tabs.coupleTab .ant-tabs-tab:last-of-type {
601
+ border-right-width: 1px;
602
+ }
603
+ .xflow-json-form .tabs.ternateTab .ant-tabs-tab {
604
+ width: 33%;
605
+ margin-right: 0;
606
+ border-right-width: 0;
607
+ }
608
+ .xflow-json-form .tabs.ternateTab .ant-tabs-tab:last-of-type {
609
+ border-right-width: 1px;
610
+ }
611
+ .xflow-json-schema-form {
612
+ border-left: 1px solid #d9d9d9;
613
+ }
614
+ .xflow-json-schema-form-body {
615
+ position: relative;
616
+ width: 100%;
617
+ height: 100%;
618
+ }
619
+ .xflow-json-schema-form-header {
620
+ display: flex;
621
+ justify-content: space-evenly;
622
+ background: #fff;
623
+ border-bottom: 1px solid #d9d9d9;
624
+ }
625
+ .xflow-json-schema-form-header-title {
626
+ font-size: 16px;
627
+ }
628
+ .xflow-json-schema-form-footer {
629
+ display: flex;
630
+ justify-content: space-evenly;
631
+ background: #fff;
632
+ border-top: 1px solid #d9d9d9;
633
+ }
634
+ .xflow-json-schema-form-footer-title {
635
+ font-size: 16px;
636
+ }
637
+ .text-truncate {
638
+ overflow: hidden;
639
+ white-space: nowrap;
640
+ text-overflow: ellipsis;
641
+ }
642
+ .xflow-minimap {
643
+ z-index: 999;
644
+ background: #fff;
645
+ box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
646
+ }
647
+ .xflow-minimap .x6-widget-minimap .x6-graph {
648
+ background: rgba(255, 255, 255, 0.9);
649
+ }
650
+ .xflow-minimap .x6-widget-minimap {
651
+ background: rgba(34, 34, 34, 0.05);
652
+ }
653
+ .xflow-node-dnd-panel {
654
+ border-right: 1px solid #d9d9d9;
655
+ }
656
+ .xflow-node-dnd-panel-header {
657
+ display: flex;
658
+ justify-content: space-evenly;
659
+ background: #fff;
660
+ border-bottom: 1px solid #d9d9d9;
661
+ }
662
+ .xflow-node-dnd-panel-header-title {
663
+ font-size: 16px;
664
+ }
665
+ .xflow-node-dnd-panel-header-search {
666
+ width: 100%;
667
+ padding: 0 12px;
668
+ }
669
+ .xflow-node-dnd-panel-body {
670
+ padding: 0;
671
+ padding: 8px 0;
672
+ overflow-x: hidden;
673
+ overflow-y: auto;
674
+ background: #fff;
675
+ }
676
+ .xflow-node-dnd-panel-body .ant-tree-iconEle.ant-tree-icon__customize {
677
+ display: none !important;
678
+ width: auto;
679
+ margin-right: 0;
680
+ color: rgba(0, 0, 0, 0.45);
681
+ }
682
+ .xflow-node-dnd-panel-body .ant-tree {
683
+ background: unset;
684
+ }
685
+ .xflow-node-dnd-panel-body .ant-tree-switcher {
686
+ display: flex;
687
+ align-items: center;
688
+ justify-content: center;
689
+ }
690
+ .xflow-node-dnd-panel-body .ant-tree-node-content-wrapper {
691
+ display: flex;
692
+ align-items: center;
693
+ padding-left: 0;
694
+ overflow: hidden;
695
+ }
696
+ .xflow-node-dnd-panel-body-list {
697
+ margin: 0;
698
+ padding: 0;
699
+ }
700
+ .xflow-node-dnd-panel-body-list-item {
701
+ margin: 0;
702
+ padding: 4px 12px;
703
+ overflow: hidden;
704
+ list-style-type: none;
705
+ }
706
+ .xflow-node-dnd-panel-body-list-item .xflow-node-dnd-panel-node-wrapper {
707
+ justify-content: center;
708
+ }
709
+ .xflow-node-dnd-panel-tree-leaf {
710
+ position: relative;
711
+ }
712
+ .xflow-node-dnd-panel-tree-leaf .ant-tree-iconEle {
713
+ display: none;
714
+ }
715
+ .xflow-node-dnd-panel-tree-leaf .ant-tree-title {
716
+ padding: 2px;
717
+ }
718
+ .xflow-node-dnd-panel-node-wrapper {
719
+ display: flex;
720
+ align-items: center;
721
+ width: 100%;
722
+ }
723
+ .xflow-node-dnd-panel-footer {
724
+ display: flex;
725
+ justify-content: space-evenly;
726
+ background: #fff;
727
+ border-top: 1px solid #d9d9d9;
728
+ }
729
+ .xflow-node-dnd-panel-footer-title {
730
+ font-size: 16px;
731
+ }
732
+ .xflow-dnd-node {
733
+ width: 100%;
734
+ height: 40px;
735
+ }
736
+ .x6-dropdown {
737
+ position: absolute;
738
+ top: -9999px;
739
+ left: -9999px;
740
+ z-index: 9999;
741
+ display: block;
742
+ max-height: 320px;
743
+ overflow-y: scroll;
744
+ border-radius: 3px;
745
+ box-shadow: 0 1px 6px rgba(0, 0, 0, 0.2);
746
+ }
747
+ .x6-dropdown-hidden {
748
+ display: none;
749
+ }
750
+ .x6-dropdown-overlay {
751
+ display: inline-block;
752
+ }
753
+ .x6-dropdown.slide-down-enter.slide-down-enter-active.x6-dropdown-placement-bottomLeft,
754
+ .x6-dropdown.slide-down-appear.slide-down-appear-active.x6-dropdown-placement-bottomLeft,
755
+ .x6-dropdown.slide-down-enter.slide-down-enter-active.x6-dropdown-placement-bottomCenter,
756
+ .x6-dropdown.slide-down-appear.slide-down-appear-active.x6-dropdown-placement-bottomCenter,
757
+ .x6-dropdown.slide-down-enter.slide-down-enter-active.x6-dropdown-placement-bottomRight,
758
+ .x6-dropdown.slide-down-appear.slide-down-appear-active.x6-dropdown-placement-bottomRight {
759
+ animation-name: x6SlideUpIn;
760
+ }
761
+ .x6-dropdown.slide-up-enter.slide-up-enter-active.x6-dropdown-placement-topLeft,
762
+ .x6-dropdown.slide-up-appear.slide-up-appear-active.x6-dropdown-placement-topLeft,
763
+ .x6-dropdown.slide-up-enter.slide-up-enter-active.x6-dropdown-placement-topCenter,
764
+ .x6-dropdown.slide-up-appear.slide-up-appear-active.x6-dropdown-placement-topCenter,
765
+ .x6-dropdown.slide-up-enter.slide-up-enter-active.x6-dropdown-placement-topRight,
766
+ .x6-dropdown.slide-up-appear.slide-up-appear-active.x6-dropdown-placement-topRight {
767
+ animation-name: x6SlideDownIn;
768
+ }
769
+ .x6-dropdown.slide-down-leave.slide-down-leave-active.x6-dropdown-placement-bottomLeft,
770
+ .x6-dropdown.slide-down-leave.slide-down-leave-active.x6-dropdown-placement-bottomCenter,
771
+ .x6-dropdown.slide-down-leave.slide-down-leave-active.x6-dropdown-placement-bottomRight {
772
+ animation-name: x6SlideUpOut;
773
+ }
774
+ .x6-dropdown.slide-up-leave.slide-up-leave-active.x6-dropdown-placement-topLeft,
775
+ .x6-dropdown.slide-up-leave.slide-up-leave-active.x6-dropdown-placement-topCenter,
776
+ .x6-dropdown.slide-up-leave.slide-up-leave-active.x6-dropdown-placement-topRight {
777
+ animation-name: x6SlideDownOut;
778
+ }
779
+ @keyframes x6SlideUpIn {
780
+ 0% {
781
+ transform: scaleY(0.8);
782
+ transform-origin: 0% 0%;
783
+ opacity: 0;
784
+ }
785
+ 100% {
786
+ transform: scaleY(1);
787
+ transform-origin: 0% 0%;
788
+ opacity: 1;
789
+ }
790
+ }
791
+ @keyframes x6SlideUpOut {
792
+ 0% {
793
+ transform: scaleY(1);
794
+ transform-origin: 0% 0%;
795
+ opacity: 1;
796
+ }
797
+ 100% {
798
+ transform: scaleY(0.8);
799
+ transform-origin: 0% 0%;
800
+ opacity: 0;
801
+ }
802
+ }
803
+ @keyframes x6SlideDownIn {
804
+ 0% {
805
+ transform: scaleY(0.8);
806
+ transform-origin: 100% 100%;
807
+ opacity: 0;
808
+ }
809
+ 100% {
810
+ transform: scaleY(1);
811
+ transform-origin: 100% 100%;
812
+ opacity: 1;
813
+ }
814
+ }
815
+ @keyframes x6SlideDownOut {
816
+ 0% {
817
+ transform: scaleY(1);
818
+ transform-origin: 100% 100%;
819
+ opacity: 1;
820
+ }
821
+ 100% {
822
+ transform: scaleY(0.8);
823
+ transform-origin: 100% 100%;
824
+ opacity: 0;
825
+ }
826
+ }
827
+ .x6-toolbar {
828
+ display: flex;
829
+ flex-direction: row;
830
+ height: 28px;
831
+ margin: 0;
832
+ padding: 0;
833
+ padding-left: 4px;
834
+ overflow: hidden;
835
+ }
836
+ .x6-toolbar-content {
837
+ display: flex;
838
+ flex: 1;
839
+ flex-direction: row;
840
+ justify-content: space-between;
841
+ overflow: hidden;
842
+ }
843
+ .x6-toolbar-content-inner,
844
+ .x6-toolbar-content-extras,
845
+ .x6-toolbar-group,
846
+ .x6-toolbar-item,
847
+ .x6-toolbar-item-icon,
848
+ .x6-toolbar-item-text {
849
+ display: flex;
850
+ flex-direction: row;
851
+ }
852
+ .x6-toolbar-content-extras {
853
+ align-content: center;
854
+ align-items: center;
855
+ font-size: 14px;
856
+ }
857
+ .x6-toolbar-group::before {
858
+ align-self: center;
859
+ width: 1px;
860
+ height: 40%;
861
+ margin: 0 6px;
862
+ background-color: rgba(0, 0, 0, 0.15);
863
+ content: ' ';
864
+ pointer-events: none;
865
+ }
866
+ .x6-toolbar-group:first-child::before {
867
+ content: none;
868
+ }
869
+ .x6-toolbar-item {
870
+ align-content: center;
871
+ align-items: center;
872
+ margin: 0;
873
+ padding: 0 4px;
874
+ color: #595959;
875
+ background-color: transparent;
876
+ border: 0;
877
+ border-radius: 2px;
878
+ outline: none;
879
+ box-shadow: none;
880
+ cursor: pointer;
881
+ user-select: none;
882
+ }
883
+ .x6-toolbar-item.x6-toolbar-item-hidden {
884
+ display: none;
885
+ }
886
+ .x6-toolbar-item.x6-toolbar-item-disabled,
887
+ .x6-toolbar-item.x6-toolbar-item-disabled:hover {
888
+ cursor: not-allowed;
889
+ opacity: 0.4;
890
+ }
891
+ .x6-toolbar-item.x6-toolbar-item-disabled .x6-toolbar-item-icon .x6-toolbar-item:active {
892
+ transform: none;
893
+ }
894
+ .x6-toolbar-item-icon,
895
+ .x6-toolbar-item-text {
896
+ align-content: center;
897
+ align-items: center;
898
+ }
899
+ .x6-toolbar-item-icon {
900
+ font-size: 14px;
901
+ transition: transform 50ms ease;
902
+ }
903
+ .x6-toolbar-item-icon:active {
904
+ transform: scale(1.27201965);
905
+ }
906
+ .x6-toolbar-item-text {
907
+ padding-left: 4px;
908
+ font-size: 12px;
909
+ }
910
+ .x6-toolbar-item-dropdown-wrap {
911
+ margin-top: -13px;
912
+ }
913
+ .x6-toolbar-item-dropdown-arrow {
914
+ width: 0;
915
+ height: 0;
916
+ margin-left: 6px;
917
+ border-color: #262626 transparent transparent transparent;
918
+ border-style: solid;
919
+ border-width: 5px 4px 0 4px;
920
+ opacity: 0.4;
921
+ }
922
+ .x6-toolbar.x6-toolbar-hover-effect {
923
+ height: 32px;
924
+ }
925
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item {
926
+ margin: 4px 2px 4px 0;
927
+ padding: 0 6px;
928
+ color: #595959;
929
+ }
930
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item-disabled.x6-toolbar-item:hover {
931
+ color: #595959;
932
+ background-color: transparent;
933
+ }
934
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item-disabled.x6-toolbar-item:hover .x6-toolbar-item-dropdown-arrow {
935
+ opacity: 0.4;
936
+ }
937
+ .x6-toolbar-item.x6-toolbar-item-active,
938
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item.x6-toolbar-item-active,
939
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item:hover {
940
+ color: #262626;
941
+ background-color: #e0e0e0;
942
+ }
943
+ .x6-toolbar-item.x6-toolbar-item-active .x6-toolbar-item-dropdown-arrow,
944
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item.x6-toolbar-item-active .x6-toolbar-item-dropdown-arrow,
945
+ .x6-toolbar.x6-toolbar-hover-effect .x6-toolbar-item:hover .x6-toolbar-item-dropdown-arrow {
946
+ opacity: 0.75;
947
+ }
948
+ .x6-toolbar-item.x6-toolbar-item-active {
949
+ margin: 4px 0;
950
+ }
951
+ .x6-toolbar.x6-toolbar-big {
952
+ height: 32px;
953
+ }
954
+ .x6-toolbar.x6-toolbar-big .x6-toolbar-content-extras {
955
+ font-size: 16px;
956
+ }
957
+ .x6-toolbar.x6-toolbar-big .x6-toolbar-item {
958
+ margin: 4px 4px 4px 0;
959
+ padding: 0 5px;
960
+ border-radius: 3px;
961
+ }
962
+ .x6-toolbar.x6-toolbar-big .x6-toolbar-item-text {
963
+ font-size: 14px;
964
+ }
965
+ .x6-toolbar.x6-toolbar-big .x6-toolbar-item-icon {
966
+ font-size: 16px;
967
+ }
968
+ .x6-toolbar.x6-toolbar-hover-effect.x6-toolbar-big {
969
+ height: 40px;
970
+ }
971
+ .x6-toolbar.x6-toolbar-hover-effect.x6-toolbar-big .x6-toolbar-item {
972
+ padding: 0 10px;
973
+ }
974
+ .x6-toolbar.x6-toolbar-small {
975
+ height: 22px;
976
+ }
977
+ .x6-toolbar.x6-toolbar-small .x6-toolbar-content-extras {
978
+ font-size: 12px;
979
+ }
980
+ .x6-toolbar.x6-toolbar-small .x6-toolbar-item {
981
+ padding: 0 3px;
982
+ }
983
+ .x6-toolbar.x6-toolbar-small .x6-toolbar-item-text {
984
+ margin-right: 2px;
985
+ padding-left: 2px;
986
+ font-size: 10px;
987
+ }
988
+ .x6-toolbar.x6-toolbar-small .x6-toolbar-item-icon {
989
+ font-size: 12px;
990
+ }
991
+ .x6-toolbar.x6-toolbar-small .x6-toolbar-item.x6-toolbar-item-active {
992
+ margin: 2px 0;
993
+ }
994
+ .x6-toolbar.x6-toolbar-hover-effect.x6-toolbar-small {
995
+ height: 28px;
996
+ }
997
+ .x6-toolbar.x6-toolbar-hover-effect.x6-toolbar-small .x6-toolbar-item {
998
+ margin: 4px 2px 4px 0;
999
+ padding: 0 5px;
1000
+ }
1001
+ .x6-toolbar.x6-toolbar-hover-effect.x6-toolbar-small .x6-toolbar-item.x6-toolbar-item-active {
1002
+ margin: 4px 2px 4px 0;
1003
+ }
1004
+ .x6-toolbar.x6-toolbar-align-right .x6-toolbar-content {
1005
+ flex-direction: row-reverse;
1006
+ }
1007
+ .xflow-toolbar {
1008
+ position: absolute;
1009
+ z-index: 99;
1010
+ display: flex;
1011
+ height: 40px;
1012
+ background: #fff;
1013
+ }
1014
+ .xflow-toolbar-root {
1015
+ display: flex;
1016
+ justify-content: space-between;
1017
+ width: 100%;
1018
+ }
1019
+ .xflow-toolbar-root.horizontal-center {
1020
+ justify-content: center;
1021
+ }
1022
+ .xflow-toolbar-root.vertical {
1023
+ flex-direction: column;
1024
+ }
1025
+ .xflow-toolbar-root .x6-toolbar.x6-toolbar-hover-effect {
1026
+ align-items: center;
1027
+ height: 100%;
1028
+ }
1029
+ .xflow-toolbar-root .x6-toolbar-content {
1030
+ height: 100%;
1031
+ }
1032
+ .xflow-toolbar.vertical {
1033
+ right: unset;
1034
+ left: unset;
1035
+ width: 32px;
1036
+ height: auto;
1037
+ border: 1px solid rgba(0, 0, 0, 0.04);
1038
+ border-radius: 4px;
1039
+ box-shadow: 0 0 20px rgb(0 0 0 / 1%);
1040
+ }
1041
+ .xflow-toolbar.vertical .x6-toolbar.x6-toolbar-hover-effect {
1042
+ height: auto;
1043
+ padding: 8px 0;
1044
+ }
1045
+ .xflow-toolbar.vertical .x6-toolbar-content-inner,
1046
+ .xflow-toolbar.vertical .x6-toolbar-group {
1047
+ flex-direction: column;
1048
+ }
1049
+ .xflow-toolbar.vertical .x6-toolbar-item {
1050
+ margin: 0;
1051
+ padding: 6px 8px;
1052
+ color: #595959;
1053
+ }
1054
+ .xflow-toolbar.horizontal {
1055
+ right: 0;
1056
+ left: 0;
1057
+ }
1058
+ .xflow-toolbar.horizontal .x6-toolbar.x6-toolbar-hover-effect {
1059
+ height: 40px;
1060
+ line-height: 40px;
1061
+ }
1062
+ .flowchart-extension-container .x6-edge {
1063
+ stroke-width: 1px;
1064
+ }
1065
+ .flowchart-extension-container .x6-edge.success path:nth-child(2) {
1066
+ stroke: #888 !important;
1067
+ }
1068
+ .flowchart-extension-container .x6-edge.success path:nth-child(3) {
1069
+ fill: #888 !important;
1070
+ stroke: #888 !important;
1071
+ }
1072
+ .flowchart-extension-container .x6-edge.error {
1073
+ stroke-width: 2px;
1074
+ }
1075
+ .flowchart-extension-container .x6-edge.error path:nth-child(2) {
1076
+ stroke: rgba(245, 34, 45, 0.45) !important;
1077
+ stroke-width: 2px;
1078
+ }
1079
+ .flowchart-extension-container .x6-edge.guideProcessing path:nth-child(2) {
1080
+ stroke: rgba(57, 202, 116, 0.8);
1081
+ stroke-width: 2px;
1082
+ stroke-dasharray: 8px, 2px;
1083
+ }
1084
+ .flowchart-extension-container .x6-edge.guideProcessing path:nth-child(2):local {
1085
+ animation: processing-line 30s infinite linear;
1086
+ }
1087
+ .flowchart-extension-container .x6-edge.x6-edge-selected path:nth-child(2) {
1088
+ stroke: #1890ff;
1089
+ stroke-width: 2px;
1090
+ }
1091
+ .flowchart-extension-container .x6-edge:hover path:nth-child(2) {
1092
+ stroke: #1890ff;
1093
+ stroke-width: 2px;
1094
+ }
1095
+ .flowchart-extension-container .x6-edge.hoverHighlight path:nth-child(2) {
1096
+ stroke: #1890ff;
1097
+ stroke-width: 2px;
1098
+ }
1099
+ @keyframes processing-line {
1100
+ to {
1101
+ stroke-dashoffset: -1000;
1102
+ }
1103
+ }
1104
+ .flowchart-extension-container .x6-widget-transform {
1105
+ margin: -1px 0 0 -1px;
1106
+ padding: 0;
1107
+ border: 1px solid #239edd;
1108
+ }
1109
+ .flowchart-extension-container .x6-widget-transform > div {
1110
+ border: 1px solid #239edd;
1111
+ }
1112
+ .flowchart-extension-container .x6-widget-transform > div:hover {
1113
+ background-color: #3dafe4;
1114
+ }
1115
+ .flowchart-extension-container .x6-widget-transform-active-handle {
1116
+ background-color: #3dafe4;
1117
+ }
1118
+ .flowchart-extension-container .x6-widget-transform-resize {
1119
+ border-radius: 0;
1120
+ }
1121
+ .flowchart-extension-container .x6-widget-selection-inner {
1122
+ border: 1px solid #239edd;
1123
+ }
1124
+ .flowchart-extension-container .x6-widget-selection-box {
1125
+ opacity: 0;
1126
+ }
1127
+ .flowchart-extension-container.xflow-app-workspace {
1128
+ overflow: hidden;
1129
+ border: 1px solid #d9d9d9;
1130
+ }
1131
+ .flowchart-extension-container.xflow-app-workspace .xflow-workspace-panel {
1132
+ z-index: 1;
1133
+ background: #fff;
1134
+ }
1135
+ .flowchart-extension-container.xflow-app-workspace svg {
1136
+ overflow: visible !important;
1137
+ }
1138
+ .flowchart-extension-container.xflow-app-workspace .x6-edge {
1139
+ stroke-width: 1px;
1140
+ }
1141
+ .flowchart-extension-container.xflow-app-workspace .x6-edge.x6-edge-selected path:nth-child(2) {
1142
+ stroke: #1890ff;
1143
+ }
1144
+ .flowchart-extension-container.xflow-app-workspace .x6-edge:hover path:nth-child(2) {
1145
+ stroke: #1890ff;
1146
+ }
1147
+ .flowchart-extension-container.xflow-app-workspace .x6-edge.hoverHighlight path:nth-child(2) {
1148
+ stroke: #1890ff;
1149
+ }
1150
+ .flowchart-extension-container.xflow-app-workspace .x6-port > circle {
1151
+ stroke: #69c0ff;
1152
+ }
1153
+ .flowchart-extension-container.xflow-app-workspace .x6-widget-transform {
1154
+ box-sizing: border-box !important;
1155
+ margin: 0;
1156
+ padding: 0;
1157
+ border: 2px solid #3572f9;
1158
+ box-shadow: 0 4px 4px 0 #dbe6ff;
1159
+ }
1160
+ .flowchart-extension-container.xflow-app-workspace .x6-widget-transform > div {
1161
+ width: 8px;
1162
+ height: 8px;
1163
+ background-color: #fff;
1164
+ border: 1px solid #3572f9;
1165
+ }
1166
+ .flowchart-extension-container.xflow-app-workspace .xflow-json-form .ant-tabs-content-holder {
1167
+ padding: 0 !important;
1168
+ }
1169
+ .flowchart-container-collpase {
1170
+ transition: left 0.5s;
1171
+ }
1172
+ .flowchart-container-collpase-wrapper {
1173
+ position: relative;
1174
+ width: 100%;
1175
+ height: 100%;
1176
+ }
1177
+ .flowchart-container-collpase-nodes {
1178
+ border-right: 1px solid #d9d9d9;
1179
+ }
1180
+ .flowchart-container-collpase-icon {
1181
+ position: absolute;
1182
+ z-index: 99;
1183
+ width: 20px;
1184
+ color: #aaa;
1185
+ font-size: 12px;
1186
+ text-align: center;
1187
+ background: #fff;
1188
+ border: 1px solid #ccc;
1189
+ transform: translate(0, -50%);
1190
+ cursor: pointer;
1191
+ }
1192
+ .flowchart-container-collpase-icon:hover {
1193
+ color: #2b84c0;
1194
+ }
1195
+ .flowchart-container-collpase .xflow-workspace-panel {
1196
+ transition: left 0.5s;
1197
+ }
1198
+ .flowchart-editor-panel-body {
1199
+ padding: 12px;
1200
+ }
1201
+ .flowchart-editor-panel-body .flowchart-editor-color-container {
1202
+ width: 24px;
1203
+ height: 24px;
1204
+ padding: 4px;
1205
+ border: 1px solid #eee;
1206
+ border-radius: 2px;
1207
+ }
1208
+ .flowchart-editor-panel-body .flowchart-editor-panel-group {
1209
+ display: flex;
1210
+ flex-direction: column;
1211
+ grid-gap: 8px;
1212
+ margin-bottom: 12px;
1213
+ padding-bottom: 12px;
1214
+ font-size: 12px;
1215
+ }
1216
+ .flowchart-editor-panel-body .flowchart-editor-panel-group:first-child {
1217
+ border-bottom: 1px solid #ccc;
1218
+ }
1219
+ .flowchart-editor-panel-body .flowchart-editor-panel-group:last-child {
1220
+ margin-bottom: 0;
1221
+ }
1222
+ .flowchart-editor-panel-body .flowchart-editor-panel-group input,
1223
+ .flowchart-editor-panel-body .flowchart-editor-panel-group select {
1224
+ height: 24px;
1225
+ }
1226
+ .flowchart-editor-panel-body .flowchart-editor-panel-group h5 {
1227
+ margin: 0;
1228
+ color: rgba(0, 0, 0, 0.85);
1229
+ }
1230
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .group {
1231
+ display: flex;
1232
+ flex-direction: row;
1233
+ align-items: center;
1234
+ }
1235
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .group > label {
1236
+ margin-right: 8px;
1237
+ color: rgba(0, 0, 0, 0.45);
1238
+ word-break: keep-all;
1239
+ }
1240
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .split {
1241
+ display: flex;
1242
+ grid-gap: 8px;
1243
+ }
1244
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .addon-before-group {
1245
+ position: relative;
1246
+ display: flex;
1247
+ flex-direction: row;
1248
+ width: 100%;
1249
+ height: 100%;
1250
+ overflow: hidden;
1251
+ vertical-align: center;
1252
+ border: 1px solid #d9d9d9;
1253
+ border-radius: 2px;
1254
+ }
1255
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .addon-before-group > span {
1256
+ position: absolute;
1257
+ top: 0;
1258
+ right: 0;
1259
+ display: block;
1260
+ width: 20px;
1261
+ color: #000000d9;
1262
+ line-height: 24px;
1263
+ text-align: center;
1264
+ background-color: #fafafa;
1265
+ cursor: pointer;
1266
+ }
1267
+ .flowchart-editor-panel-body .flowchart-editor-panel-group .addon-before-group:hover > span {
1268
+ display: none;
1269
+ }
1270
+ .flowchart-editor-panel-body .flowchart-editor-node-text-style,
1271
+ .flowchart-editor-panel-body .flowchart-editor-edge-text-style,
1272
+ .flowchart-editor-panel-body .flowchart-editor-edge-stroke-style {
1273
+ display: flex;
1274
+ flex-direction: row;
1275
+ grid-gap: 8px;
1276
+ }
1277
+ .flowchart-editor-panel-body .ant-input-number {
1278
+ width: 100%;
1279
+ }
1280
+ .flowchart-editor-canvas-panel {
1281
+ display: flex;
1282
+ justify-content: center;
1283
+ padding-top: 60px;
1284
+ color: #aaa;
1285
+ }
1286
+ .flowchart-editor-pick-color-container {
1287
+ position: fixed;
1288
+ top: 0;
1289
+ right: 0;
1290
+ bottom: 0;
1291
+ left: 0;
1292
+ z-index: 999;
1293
+ background: rgba(0, 0, 0, 0.25);
1294
+ }
1295
+ .flowchart-editor-pick-color-container .flowchart-editor-popover {
1296
+ position: absolute;
1297
+ top: 50%;
1298
+ left: 50%;
1299
+ padding: 12px;
1300
+ background: #fff;
1301
+ transform: translate(-50%, -50%);
1302
+ }
1303
+ .flowchart-editor-pick-color-container .sketch-picker {
1304
+ box-sizing: border-box !important;
1305
+ padding: 0 !important;
1306
+ border-radius: none !important;
1307
+ box-shadow: none !important;
1308
+ }
1309
+ .flowchart-editor-pick-color-container .foolter {
1310
+ display: flex;
1311
+ flex-direction: row;
1312
+ justify-content: space-between;
1313
+ margin-top: 12px;
1314
+ }
1315
+ .flowchart-extension-container .xflow-editor-panel-collpase {
1316
+ color: rgba(0, 0, 0, 0.85);
1317
+ font-size: 12px;
1318
+ transition: right 0.5s;
1319
+ }
1320
+ .flowchart-extension-container .xflow-editor-panel-collpase-wrapper {
1321
+ position: relative;
1322
+ width: 100%;
1323
+ height: 100%;
1324
+ }
1325
+ .flowchart-extension-container .xflow-editor-panel-collpase-icon {
1326
+ position: absolute;
1327
+ z-index: 99;
1328
+ width: 20px;
1329
+ color: #aaa;
1330
+ text-align: center;
1331
+ background: #fff;
1332
+ border: 1px solid #ccc;
1333
+ transform: translate(0, -50%);
1334
+ cursor: pointer;
1335
+ }
1336
+ .flowchart-extension-container .xflow-editor-panel-collpase-icon:hover {
1337
+ color: #2b84c0;
1338
+ }
1339
+ .flowchart-extension-container .xflow-editor-panel-collpase .xflow-workspace-panel {
1340
+ transition: left 0.5s;
1341
+ }
1342
+ .xflow-group-node {
1343
+ z-index: 9;
1344
+ width: 100%;
1345
+ height: 100%;
1346
+ background-color: rgba(255, 255, 255, 0.65);
1347
+ border: 1px solid rgba(255, 255, 255, 0.25);
1348
+ border-radius: 4px;
1349
+ box-shadow: rgb(17 49 96 / 12%) 0px 1px 3px 0px, rgb(17 49 96 / 4%) 0px 0px 0px 1px;
1350
+ cursor: grab;
1351
+ }
1352
+ .xflow-group-node:hover {
1353
+ background-color: rgba(227, 244, 255, 0.45);
1354
+ border: 1px solid #1890ff;
1355
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
1356
+ cursor: move;
1357
+ }
1358
+ .xflow-group-node .xflow-group-header {
1359
+ display: flex;
1360
+ justify-content: space-between;
1361
+ padding: 0 12px;
1362
+ line-height: 38px;
1363
+ }
1364
+ .xflow-group-node .xflow-group-header .header-left {
1365
+ width: 80%;
1366
+ overflow: hidden;
1367
+ white-space: nowrap;
1368
+ text-overflow: ellipsis;
1369
+ }
1370
+ .xflow-group-node .xflow-group-header .header-right {
1371
+ display: inline-flex;
1372
+ align-items: center;
1373
+ }
1374
+ .xflow-group-node .xflow-group-header .header-right span.anticon {
1375
+ margin-left: 8px;
1376
+ }
1377
+ .x6-node-selected .xflow-group-node {
1378
+ background-color: rgba(243, 249, 255, 0.92);
1379
+ border: 1px solid #1890ff;
1380
+ box-shadow: 0 0 3px 3px rgba(64, 169, 255, 0.2);
1381
+ }
1382
+ .x6-node-selected .xflow-group-node:hover {
1383
+ background-color: rgba(243, 249, 255, 0.6);
1384
+ }
1385
+ .flowchart-extension-container .xflow-node-panel {
1386
+ color: rgba(0, 0, 0, 0.85);
1387
+ font-size: 12px;
1388
+ }
1389
+ .flowchart-extension-container .xflow-node-panel-header {
1390
+ display: flex;
1391
+ justify-content: space-evenly;
1392
+ background: #fff;
1393
+ border-right: 1px solid #d9d9d9;
1394
+ border-bottom: 1px solid #d9d9d9;
1395
+ }
1396
+ .flowchart-extension-container .xflow-node-panel-header-title {
1397
+ font-size: 16px;
1398
+ }
1399
+ .flowchart-extension-container .xflow-node-panel-header-search {
1400
+ width: 100%;
1401
+ padding: 0 12px;
1402
+ }
1403
+ .flowchart-extension-container .xflow-node-panel-custom {
1404
+ display: flex;
1405
+ flex-wrap: wrap;
1406
+ grid-gap: 5px;
1407
+ background: #fff;
1408
+ cursor: grab;
1409
+ }
1410
+ .flowchart-extension-container .xflow-node-panel-official {
1411
+ grid-gap: 5px;
1412
+ background: #fff;
1413
+ cursor: grab;
1414
+ display: grid;
1415
+ grid-template-columns: repeat(auto-fit, minmax(24px, 1fr));
1416
+ }
1417
+ .flowchart-extension-container .xflow-node-panel-node-wrapper {
1418
+ display: flex;
1419
+ justify-content: center;
1420
+ cursor: pointer;
1421
+ }
1422
+ .flowchart-extension-container .xflow-node-panel .ant-collapse-content-box {
1423
+ padding: 12px;
1424
+ }
1425
+ .flowchart-extension-container .xflow-node-panel .ant-collapse-content {
1426
+ border-top: none;
1427
+ }
1428
+ .flowchart-extension-container .xflow-node-panel .ant-collapse-header {
1429
+ color: rgba(0, 0, 0, 0.85);
1430
+ font-size: 12px;
1431
+ }
1432
+ .flowchart-extension-container .xflow-node-panel-collpase {
1433
+ color: rgba(0, 0, 0, 0.85);
1434
+ font-size: 12px;
1435
+ transition: left 0.5s;
1436
+ }
1437
+ .flowchart-extension-container .xflow-node-panel-collpase-wrapper {
1438
+ position: relative;
1439
+ width: 100%;
1440
+ height: 100%;
1441
+ }
1442
+ .flowchart-extension-container .xflow-node-panel-collpase-nodes {
1443
+ border-right: 1px solid #d9d9d9;
1444
+ }
1445
+ .flowchart-extension-container .xflow-node-panel-collpase-icon {
1446
+ position: absolute;
1447
+ z-index: 99;
1448
+ width: 20px;
1449
+ color: #aaa;
1450
+ text-align: center;
1451
+ background: #fff;
1452
+ border: 1px solid #ccc;
1453
+ transform: translate(0, -50%);
1454
+ cursor: pointer;
1455
+ }
1456
+ .flowchart-extension-container .xflow-node-panel-collpase-icon:hover {
1457
+ color: #2b84c0;
1458
+ }