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