work-flow-master 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (47) hide show
  1. package/lib/App.css +92 -0
  2. package/lib/App.js +19 -0
  3. package/lib/api/index.js +83 -0
  4. package/lib/assets/images/add-close.png +0 -0
  5. package/lib/assets/images/add-close1.png +0 -0
  6. package/lib/assets/images/cancel.png +0 -0
  7. package/lib/assets/images/check_box.png +0 -0
  8. package/lib/assets/images/icon_file.png +0 -0
  9. package/lib/assets/images/icon_people.png +0 -0
  10. package/lib/assets/images/icon_role.png +0 -0
  11. package/lib/assets/images/jiaojiao.png +0 -0
  12. package/lib/assets/images/list_search.png +0 -0
  13. package/lib/assets/images/loading.gif +0 -0
  14. package/lib/assets/images/next_level.png +0 -0
  15. package/lib/assets/images/next_level_active.png +0 -0
  16. package/lib/assets/logo.svg +1 -0
  17. package/lib/components/AddNode/index.js +120 -0
  18. package/lib/components/AddNode/index.scss +120 -0
  19. package/lib/components/Dialog/ErrorDialog/index.js +61 -0
  20. package/lib/components/Dialog/ErrorDialog/index.scss +60 -0
  21. package/lib/components/Dialog/SelectDialog/index.js +336 -0
  22. package/lib/components/Dialog/SelectDialog/index.scss +34 -0
  23. package/lib/components/Drawer/ApproverDrawer/index.js +260 -0
  24. package/lib/components/Drawer/ApproverDrawer/index.scss +62 -0
  25. package/lib/components/Drawer/ConditionDrawer/index.js +431 -0
  26. package/lib/components/Drawer/ConditionDrawer/index.scss +113 -0
  27. package/lib/components/Drawer/CopyerDrawer/index.js +111 -0
  28. package/lib/components/Drawer/CopyerDrawer/index.scss +12 -0
  29. package/lib/components/Drawer/PromoterDrawer/index.js +82 -0
  30. package/lib/components/Drawer/PromoterDrawer/index.scss +16 -0
  31. package/lib/components/NodeWrap/index.js +383 -0
  32. package/lib/components/NodeWrap/index.scss +32 -0
  33. package/lib/components/SelectBox/index.js +72 -0
  34. package/lib/components/SelectBox/index.scss +27 -0
  35. package/lib/components/SelectResult/index.js +67 -0
  36. package/lib/components/SelectResult/index.scss +37 -0
  37. package/lib/components/setting/index.css +4 -0
  38. package/lib/components/setting/index.js +342 -0
  39. package/lib/css/override-element-ui.scss +119 -0
  40. package/lib/css/workflow.css +952 -0
  41. package/lib/index.js +0 -0
  42. package/lib/store/index.js +21 -0
  43. package/lib/store/models.js +91 -0
  44. package/lib/utils/axios.js +43 -0
  45. package/lib/utils/const.js +74 -0
  46. package/lib/utils/index.js +158 -0
  47. package/package.json +7 -5
@@ -0,0 +1,952 @@
1
+
2
+ @font-face {
3
+ font-family: anticon;
4
+ font-display: fallback;
5
+ src: url("https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.eot");
6
+ src: url("https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.woff") format("woff"), url("https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.ttf") format("truetype"), url("https://at.alicdn.com/t/font_148784_v4ggb6wrjmkotj4i.svg#iconfont") format("svg")
7
+ }
8
+
9
+ @font-face {
10
+ font-family: IconFont;
11
+ src: url("//at.alicdn.com/t/font_135284_ph2thxxbzgf.eot");
12
+ src: url("//at.alicdn.com/t/font_135284_ph2thxxbzgf.eot?#iefix") format("embedded-opentype"), url("//at.alicdn.com/t/font_135284_ph2thxxbzgf.woff") format("woff"), url("//at.alicdn.com/t/font_135284_ph2thxxbzgf.ttf") format("truetype"), url("//at.alicdn.com/t/font_135284_ph2thxxbzgf.svg#IconFont") format("svg")
13
+ }
14
+
15
+ a,
16
+ abbr,
17
+ acronym,
18
+ address,
19
+ applet,
20
+ article,
21
+ aside,
22
+ audio,
23
+ b,
24
+ big,
25
+ blockquote,
26
+ body,
27
+ canvas,
28
+ caption,
29
+ center,
30
+ cite,
31
+ code,
32
+ dd,
33
+ del,
34
+ details,
35
+ dfn,
36
+ div,
37
+ dl,
38
+ dt,
39
+ em,
40
+ fieldset,
41
+ figcaption,
42
+ figure,
43
+ footer,
44
+ form,
45
+ h1,
46
+ h2,
47
+ h3,
48
+ h4,
49
+ h5,
50
+ h6,
51
+ header,
52
+ hgroup,
53
+ html,
54
+ i,
55
+ iframe,
56
+ img,
57
+ ins,
58
+ kbd,
59
+ label,
60
+ legend,
61
+ li,
62
+ mark,
63
+ menu,
64
+ nav,
65
+ object,
66
+ ol,
67
+ p,
68
+ pre,
69
+ q,
70
+ s,
71
+ samp,
72
+ section,
73
+ small,
74
+ span,
75
+ strike,
76
+ strong,
77
+ sub,
78
+ summary,
79
+ sup,
80
+ table,
81
+ tbody,
82
+ td,
83
+ tfoot,
84
+ th,
85
+ thead,
86
+ time,
87
+ tr,
88
+ tt,
89
+ u,
90
+ ul,
91
+ var,
92
+ video {
93
+ margin: 0;
94
+ padding: 0;
95
+ border: 0;
96
+ outline: 0;
97
+ font-size: 100%;
98
+ font: inherit;
99
+ vertical-align: baseline
100
+ }
101
+
102
+ *,
103
+ :after,
104
+ :before {
105
+ box-sizing: border-box
106
+ }
107
+
108
+ body,
109
+ html {
110
+ width: 100%;
111
+ font-size: 12px!important;
112
+ color: #191f25!important;
113
+ background: #f6f6f6!important
114
+ }
115
+
116
+ html {
117
+ font-family: sans-serif;
118
+ -ms-text-size-adjust: 100%;
119
+ -webkit-text-size-adjust: 100%
120
+ }
121
+
122
+ body {
123
+ font-family: Microsoft Yahei, Lucida Grande, Lucida Sans Unicode, Helvetica, Arial, Verdana, sans-serif;
124
+ line-height: 1.6;
125
+ background-color: #eee;
126
+ position: static!important;
127
+ -webkit-tap-highlight-color: rgba(0, 0, 0, 0)
128
+ }
129
+
130
+ a:active,
131
+ a:hover {
132
+ outline: 0;
133
+ color: #3296fa
134
+ }
135
+
136
+ .iconfont {
137
+ font-family: IconFont!important;
138
+ font-size: 16px;
139
+ font-style: normal;
140
+ -webkit-font-smoothing: antialiased;
141
+ -webkit-text-stroke-width: .2px;
142
+ -moz-osx-font-smoothing: grayscale
143
+ }
144
+
145
+ h1,
146
+ h2,
147
+ h3,
148
+ h4,
149
+ h5,
150
+ h6 {
151
+ margin-top: 0;
152
+ margin-bottom: .5em;
153
+ color: rgba(0, 0, 0, .85);
154
+ font-weight: 500
155
+ }
156
+
157
+
158
+ a {
159
+ color: #1890ff;
160
+ background-color: transparent;
161
+ text-decoration: none;
162
+ outline: none;
163
+ cursor: pointer;
164
+ transition: color .3s;
165
+ -webkit-text-decoration-skip: objects
166
+ }
167
+
168
+ a:focus {
169
+ text-decoration: underline;
170
+ text-decoration-skip: auto
171
+ }
172
+
173
+ a:hover {
174
+ color: #40a9ff
175
+ }
176
+
177
+ a:active {
178
+ color: #096dd9
179
+ }
180
+
181
+ a:active,
182
+ a:hover {
183
+ outline: 0;
184
+ text-decoration: none
185
+ }
186
+
187
+ img {
188
+ vertical-align: middle;
189
+ border-style: none
190
+ }
191
+
192
+ ul,li{
193
+ list-style: none;
194
+ }
195
+
196
+ button,
197
+ input,
198
+ optgroup,
199
+ select,
200
+ textarea {
201
+ margin: 0;
202
+ font-family: inherit;
203
+ font-size: inherit;
204
+ line-height: inherit;
205
+ color: inherit
206
+ }
207
+
208
+ button,
209
+ input {
210
+ overflow: visible
211
+ }
212
+
213
+ button,
214
+ select {
215
+ text-transform: none
216
+ }
217
+
218
+ .anticon {
219
+ display: inline-block;
220
+ font-style: normal;
221
+ vertical-align: baseline;
222
+ text-align: center;
223
+ text-transform: none;
224
+ line-height: 1;
225
+ text-rendering: optimizeLegibility;
226
+ -webkit-font-smoothing: antialiased;
227
+ -moz-osx-font-smoothing: grayscale
228
+ }
229
+
230
+ .anticon:before {
231
+ display: block;
232
+ font-family: anticon!important
233
+ }
234
+ .anticon-close:before {
235
+ content: "\E633"
236
+ }
237
+ .anticon-right:before {
238
+ content: "\E61F"
239
+ }
240
+ .anticon-exclamation-circle{
241
+ color: rgb(242, 86, 67)
242
+ }
243
+ .anticon-exclamation-circle:before {
244
+ content: "\E62C"
245
+ }
246
+
247
+ .anticon-left:before {
248
+ content: "\E620"
249
+ }
250
+
251
+ .anticon-close-circle:before {
252
+ content: "\E62E"
253
+ }
254
+
255
+ .fd-nav {
256
+ position: fixed;
257
+ top: 0;
258
+ left: 0;
259
+ right: 0;
260
+ z-index: 997;
261
+ width: 100%;
262
+ height: 60px;
263
+ font-size: 14px;
264
+ color: #fff;
265
+ background: #3296fa;
266
+ display: flex;
267
+ align-items: center
268
+ }
269
+
270
+ .fd-nav>* {
271
+ flex: 1;
272
+ width: 100%
273
+ }
274
+
275
+ .fd-nav .fd-nav-left {
276
+ display: -webkit-box;
277
+ display: flex;
278
+ align-items: center
279
+ }
280
+
281
+ .fd-nav .fd-nav-right {
282
+ display: flex;
283
+ align-items: center;
284
+ justify-content: flex-end;
285
+ text-align: right
286
+ }
287
+
288
+ .fd-nav .fd-nav-back {
289
+ display: inline-block;
290
+ width: 60px;
291
+ height: 60px;
292
+ font-size: 22px;
293
+ border-right: 1px solid #1583f2;
294
+ text-align: center;
295
+ cursor: pointer
296
+ }
297
+
298
+ .fd-nav .fd-nav-back:hover {
299
+ background: #5af
300
+ }
301
+
302
+ .fd-nav .fd-nav-back:active {
303
+ background: #1583f2
304
+ }
305
+
306
+ .fd-nav .fd-nav-back .anticon {
307
+ line-height: 60px
308
+ }
309
+
310
+ .fd-nav .fd-nav-title {
311
+ width: 0;
312
+ flex: 1;
313
+ overflow: hidden;
314
+ white-space: nowrap;
315
+ text-overflow: ellipsis;
316
+ padding: 0 15px
317
+ }
318
+
319
+ .fd-nav a {
320
+ color: #fff;
321
+ margin-left: 12px
322
+ }
323
+
324
+ .fd-nav .button-publish {
325
+ min-width: 80px;
326
+ margin-left: 4px;
327
+ margin-right: 15px;
328
+ font-size: 14px !important;
329
+ color: #3296fa !important;
330
+ border-color: #fff
331
+ }
332
+
333
+ .fd-nav-content {
334
+ position: fixed;
335
+ top: 60px;
336
+ left: 0;
337
+ right: 0;
338
+ bottom: 0;
339
+ z-index: 1;
340
+ overflow-x: hidden;
341
+ overflow-y: auto;
342
+ padding-bottom: 30px
343
+ }
344
+
345
+ #body.blur {
346
+ -webkit-filter: blur(3px);
347
+ filter: blur(3px)
348
+ }
349
+
350
+ .zoom {
351
+ display: flex;
352
+ position: fixed;
353
+ -webkit-box-align: center;
354
+ -ms-flex-align: center;
355
+ align-items: center;
356
+ -webkit-box-pack: justify;
357
+ -ms-flex-pack: justify;
358
+ justify-content: space-between;
359
+ height: 40px;
360
+ width: 125px;
361
+ right: 40px;
362
+ margin-top: 30px;
363
+ z-index: 10
364
+ }
365
+
366
+ .zoom .zoom-in,
367
+ .zoom .zoom-out {
368
+ width: 30px;
369
+ height: 30px;
370
+ background: #fff;
371
+ color: #c1c1cd;
372
+ cursor: pointer;
373
+ background-size: 100%;
374
+ background-repeat: no-repeat
375
+ }
376
+
377
+ .zoom .zoom-out {
378
+ background-image: url(https://gw.alicdn.com/tfs/TB1s0qhBHGYBuNjy0FoXXciBFXa-90-90.png)
379
+ }
380
+
381
+ .zoom .zoom-out.disabled {
382
+ opacity: .5
383
+ }
384
+
385
+ .zoom .zoom-in {
386
+ background-image: url(https://gw.alicdn.com/tfs/TB1UIgJBTtYBeNjy1XdXXXXyVXa-90-90.png)
387
+ }
388
+
389
+ .zoom .zoom-in.disabled {
390
+ opacity: .5
391
+ }
392
+
393
+ .auto-judge:hover .editable-title,
394
+ .node-wrap-box:hover .editable-title {
395
+ border-bottom: 1px dashed #fff
396
+ }
397
+
398
+ .auto-judge:hover .editable-title.editing,
399
+ .node-wrap-box:hover .editable-title.editing {
400
+ text-decoration: none;
401
+ border: 1px solid #d9d9d9
402
+ }
403
+
404
+ .auto-judge:hover .editable-title {
405
+ border-color: #15bc83
406
+ }
407
+
408
+ .editable-title {
409
+ line-height: 15px;
410
+ overflow: hidden;
411
+ white-space: nowrap;
412
+ text-overflow: ellipsis;
413
+ border-bottom: 1px dashed transparent
414
+ }
415
+
416
+ .editable-title:before {
417
+ content: "";
418
+ position: absolute;
419
+ top: 0;
420
+ left: 0;
421
+ bottom: 0;
422
+ right: 40px
423
+ }
424
+
425
+ .editable-title:hover {
426
+ border-bottom: 1px dashed #fff
427
+ }
428
+
429
+ .editable-title-input {
430
+ flex: none;
431
+ height: 18px;
432
+ padding-left: 4px;
433
+ text-indent: 0;
434
+ font-size: 12px;
435
+ line-height: 18px;
436
+ z-index: 1
437
+ }
438
+
439
+ .editable-title-input:hover {
440
+ text-decoration: none
441
+ }
442
+
443
+ .ant-btn {
444
+ position: relative
445
+ }
446
+
447
+ .node-wrap-box {
448
+ display: -webkit-inline-box;
449
+ display: -ms-inline-flexbox;
450
+ display: inline-flex;
451
+ -webkit-box-orient: vertical;
452
+ -webkit-box-direction: normal;
453
+ -ms-flex-direction: column;
454
+ flex-direction: column;
455
+ position: relative;
456
+ width: 220px;
457
+ min-height: 72px;
458
+ -ms-flex-negative: 0;
459
+ flex-shrink: 0;
460
+ background: #fff;
461
+ border-radius: 4px;
462
+ cursor: pointer
463
+ }
464
+
465
+ .node-wrap-box:after {
466
+ pointer-events: none;
467
+ content: "";
468
+ position: absolute;
469
+ top: 0;
470
+ bottom: 0;
471
+ left: 0;
472
+ right: 0;
473
+ z-index: 2;
474
+ border-radius: 4px;
475
+ border: 1px solid transparent;
476
+ transition: all .1s cubic-bezier(.645, .045, .355, 1);
477
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1)
478
+ }
479
+
480
+ .node-wrap-box.active:after,
481
+ .node-wrap-box:active:after,
482
+ .node-wrap-box:hover:after {
483
+ border: 1px solid #3296fa;
484
+ box-shadow: 0 0 6px 0 rgba(50, 150, 250, .3)
485
+ }
486
+
487
+ .node-wrap-box.active .close,
488
+ .node-wrap-box:active .close,
489
+ .node-wrap-box:hover .close {
490
+ display: block
491
+ }
492
+
493
+ .node-wrap-box.error:after {
494
+ border: 1px solid #f25643;
495
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1)
496
+ }
497
+
498
+ .node-wrap-box .title {
499
+ position: relative;
500
+ display: flex;
501
+ align-items: center;
502
+ padding-left: 16px;
503
+ padding-right: 30px;
504
+ width: 100%;
505
+ height: 24px;
506
+ line-height: 24px;
507
+ font-size: 12px;
508
+ color: #fff;
509
+ text-align: left;
510
+ background: #576a95;
511
+ border-radius: 4px 4px 0 0
512
+ }
513
+
514
+ .node-wrap-box .title .iconfont {
515
+ font-size: 12px;
516
+ margin-right: 5px
517
+ }
518
+
519
+ .node-wrap-box .placeholder {
520
+ color: #bfbfbf
521
+ }
522
+
523
+ .node-wrap-box .close {
524
+ display: none;
525
+ position: absolute;
526
+ right: 10px;
527
+ top: 50%;
528
+ transform: translateY(-50%);
529
+ width: 20px;
530
+ height: 20px;
531
+ font-size: 14px;
532
+ color: #fff;
533
+ border-radius: 50%;
534
+ text-align: center;
535
+ line-height: 20px
536
+ }
537
+
538
+ .node-wrap-box .content {
539
+ position: relative;
540
+ font-size: 14px;
541
+ padding: 16px;
542
+ padding-right: 30px
543
+ }
544
+
545
+ .node-wrap-box .content .text {
546
+ overflow: hidden;
547
+ text-overflow: ellipsis;
548
+ display: -webkit-box;
549
+ -webkit-line-clamp: 3;
550
+ -webkit-box-orient: vertical
551
+ }
552
+
553
+ .node-wrap-box .content .arrow {
554
+ position: absolute;
555
+ right: 10px;
556
+ top: 50%;
557
+ transform: translateY(-50%);
558
+ width: 20px;
559
+ height: 14px;
560
+ font-size: 14px;
561
+ color: #979797
562
+ }
563
+
564
+ .start-node.node-wrap-box .content .text {
565
+ display: block;
566
+ white-space: nowrap
567
+ }
568
+
569
+ .node-wrap-box:before {
570
+ content: "";
571
+ position: absolute;
572
+ top: -12px;
573
+ left: 50%;
574
+ -webkit-transform: translateX(-50%);
575
+ transform: translateX(-50%);
576
+ width: 0;
577
+ height: 4px;
578
+ border-style: solid;
579
+ border-width: 8px 6px 4px;
580
+ border-color: #cacaca transparent transparent;
581
+ background: #f5f5f7
582
+ }
583
+
584
+ .node-wrap-box.start-node:before {
585
+ content: none
586
+ }
587
+
588
+ .top-left-cover-line {
589
+ left: -1px
590
+ }
591
+
592
+ .top-left-cover-line,
593
+ .top-right-cover-line {
594
+ position: absolute;
595
+ height: 8px;
596
+ width: 50%;
597
+ background-color: #f5f5f7;
598
+ top: -4px
599
+ }
600
+
601
+ .top-right-cover-line {
602
+ right: -1px
603
+ }
604
+
605
+ .bottom-left-cover-line {
606
+ left: -1px
607
+ }
608
+
609
+ .bottom-left-cover-line,
610
+ .bottom-right-cover-line {
611
+ position: absolute;
612
+ height: 8px;
613
+ width: 50%;
614
+ background-color: #f5f5f7;
615
+ bottom: -4px
616
+ }
617
+
618
+ .bottom-right-cover-line {
619
+ right: -1px
620
+ }
621
+
622
+ .dingflow-design {
623
+ width: 100%;
624
+ background-color: #f5f5f7;
625
+ overflow: auto;
626
+ position: absolute;
627
+ bottom: 0;
628
+ left: 0;
629
+ right: 0;
630
+ top: 0
631
+ }
632
+
633
+ .dingflow-design .box-scale {
634
+ transform: scale(1);
635
+ display: inline-block;
636
+ position: relative;
637
+ width: 100%;
638
+ padding: 54.5px 0;
639
+ -webkit-box-align: start;
640
+ -ms-flex-align: start;
641
+ align-items: flex-start;
642
+ -webkit-box-pack: center;
643
+ -ms-flex-pack: center;
644
+ justify-content: center;
645
+ -ms-flex-wrap: wrap;
646
+ flex-wrap: wrap;
647
+ min-width: -webkit-min-content;
648
+ min-width: -moz-min-content;
649
+ min-width: min-content;
650
+ background-color: #f5f5f7;
651
+ transform-origin: 50% 0px 0px;
652
+ }
653
+
654
+ .dingflow-design .node-wrap {
655
+ flex-direction: column;
656
+ -webkit-box-pack: start;
657
+ -ms-flex-pack: start;
658
+ justify-content: flex-start;
659
+ -webkit-box-align: center;
660
+ -ms-flex-align: center;
661
+ align-items: center;
662
+ -ms-flex-wrap: wrap;
663
+ flex-wrap: wrap;
664
+ -webkit-box-flex: 1;
665
+ -ms-flex-positive: 1;
666
+ padding: 0 50px;
667
+ position: relative
668
+ }
669
+
670
+ .dingflow-design .branch-wrap,
671
+ .dingflow-design .node-wrap {
672
+ display: inline-flex;
673
+ width: 100%
674
+ }
675
+
676
+ .dingflow-design .branch-box-wrap {
677
+ display: flex;
678
+ -webkit-box-orient: vertical;
679
+ -webkit-box-direction: normal;
680
+ -ms-flex-direction: column;
681
+ flex-direction: column;
682
+ -ms-flex-wrap: wrap;
683
+ flex-wrap: wrap;
684
+ -webkit-box-align: center;
685
+ -ms-flex-align: center;
686
+ align-items: center;
687
+ min-height: 270px;
688
+ width: 100%;
689
+ -ms-flex-negative: 0;
690
+ flex-shrink: 0
691
+ }
692
+
693
+ .dingflow-design .branch-box {
694
+ display: flex;
695
+ overflow: visible;
696
+ min-height: 180px;
697
+ height: auto;
698
+ border-bottom: 2px solid #ccc;
699
+ border-top: 2px solid #ccc;
700
+ position: relative;
701
+ margin-top: 15px
702
+ }
703
+
704
+ .dingflow-design .branch-box .col-box {
705
+ background: #f5f5f7
706
+ }
707
+
708
+ .dingflow-design .branch-box .col-box:before {
709
+ content: "";
710
+ position: absolute;
711
+ top: 0;
712
+ left: 0;
713
+ right: 0;
714
+ bottom: 0;
715
+ z-index: 0;
716
+ margin: auto;
717
+ width: 2px;
718
+ height: 100%;
719
+ background-color: #cacaca
720
+ }
721
+
722
+ .dingflow-design .add-branch {
723
+ border: none;
724
+ outline: none;
725
+ user-select: none;
726
+ justify-content: center;
727
+ font-size: 12px;
728
+ padding: 0 10px;
729
+ height: 30px;
730
+ line-height: 30px;
731
+ border-radius: 15px;
732
+ color: #3296fa;
733
+ background: #fff;
734
+ box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .1);
735
+ position: absolute;
736
+ top: -16px;
737
+ left: 50%;
738
+ transform: translateX(-50%);
739
+ transform-origin: center center;
740
+ cursor: pointer;
741
+ z-index: 1;
742
+ display: inline-flex;
743
+ align-items: center;
744
+ -webkit-transition: all .3s cubic-bezier(.645, .045, .355, 1);
745
+ transition: all .3s cubic-bezier(.645, .045, .355, 1)
746
+ }
747
+
748
+ .dingflow-design .add-branch:hover {
749
+ transform: translateX(-50%) scale(1.1);
750
+ box-shadow: 0 8px 16px 0 rgba(0, 0, 0, .1)
751
+ }
752
+
753
+ .dingflow-design .add-branch:active {
754
+ transform: translateX(-50%);
755
+ box-shadow: none
756
+ }
757
+
758
+ .dingflow-design .col-box {
759
+ display: inline-flex;
760
+ -webkit-box-orient: vertical;
761
+ -webkit-box-direction: normal;
762
+ flex-direction: column;
763
+ -webkit-box-align: center;
764
+ align-items: center;
765
+ position: relative
766
+ }
767
+
768
+ .dingflow-design .condition-node {
769
+ min-height: 220px
770
+ }
771
+
772
+ .dingflow-design .condition-node,
773
+ .dingflow-design .condition-node-box {
774
+ display: inline-flex;
775
+ -webkit-box-orient: vertical;
776
+ -webkit-box-direction: normal;
777
+ flex-direction: column;
778
+ -webkit-box-flex: 1
779
+ }
780
+
781
+ .dingflow-design .condition-node-box {
782
+ padding-top: 30px;
783
+ padding-right: 50px;
784
+ padding-left: 50px;
785
+ -webkit-box-pack: center;
786
+ justify-content: center;
787
+ -webkit-box-align: center;
788
+ align-items: center;
789
+ flex-grow: 1;
790
+ position: relative
791
+ }
792
+
793
+ .dingflow-design .condition-node-box:before {
794
+ content: "";
795
+ position: absolute;
796
+ top: 0;
797
+ left: 0;
798
+ right: 0;
799
+ bottom: 0;
800
+ margin: auto;
801
+ width: 2px;
802
+ height: 100%;
803
+ background-color: #cacaca
804
+ }
805
+
806
+ .dingflow-design .auto-judge {
807
+ position: relative;
808
+ width: 220px;
809
+ min-height: 72px;
810
+ background: #fff;
811
+ border-radius: 4px;
812
+ padding: 14px 19px;
813
+ cursor: pointer
814
+ }
815
+
816
+ .dingflow-design .auto-judge:after {
817
+ pointer-events: none;
818
+ content: "";
819
+ position: absolute;
820
+ top: 0;
821
+ bottom: 0;
822
+ left: 0;
823
+ right: 0;
824
+ z-index: 2;
825
+ border-radius: 4px;
826
+ border: 1px solid transparent;
827
+ transition: all .1s cubic-bezier(.645, .045, .355, 1);
828
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1)
829
+ }
830
+
831
+ .dingflow-design .auto-judge.active:after,
832
+ .dingflow-design .auto-judge:active:after,
833
+ .dingflow-design .auto-judge:hover:after {
834
+ border: 1px solid #3296fa;
835
+ box-shadow: 0 0 6px 0 rgba(50, 150, 250, .3)
836
+ }
837
+
838
+ .dingflow-design .auto-judge.active .close,
839
+ .dingflow-design .auto-judge:active .close,
840
+ .dingflow-design .auto-judge:hover .close {
841
+ display: block
842
+ }
843
+
844
+ .dingflow-design .auto-judge.error:after {
845
+ border: 1px solid #f25643;
846
+ box-shadow: 0 2px 5px 0 rgba(0, 0, 0, .1)
847
+ }
848
+
849
+ .dingflow-design .auto-judge .title-wrapper {
850
+ position: relative;
851
+ font-size: 12px;
852
+ color: #15bc83;
853
+ text-align: left;
854
+ line-height: 16px
855
+ }
856
+
857
+ .dingflow-design .auto-judge .title-wrapper .editable-title {
858
+ display: inline-block;
859
+ max-width: 120px;
860
+ overflow: hidden;
861
+ white-space: nowrap;
862
+ text-overflow: ellipsis
863
+ }
864
+
865
+ .dingflow-design .auto-judge .title-wrapper .priority-title {
866
+ display: inline-block;
867
+ float: right;
868
+ margin-right: 10px;
869
+ color: rgba(25, 31, 37, .56)
870
+ }
871
+
872
+ .dingflow-design .auto-judge .placeholder {
873
+ color: #bfbfbf
874
+ }
875
+
876
+ .dingflow-design .auto-judge .close {
877
+ display: none;
878
+ position: absolute;
879
+ right: -10px;
880
+ top: -10px;
881
+ width: 20px;
882
+ height: 20px;
883
+ font-size: 14px;
884
+ color: rgba(0, 0, 0, .25);
885
+ border-radius: 50%;
886
+ text-align: center;
887
+ line-height: 20px;
888
+ z-index: 2
889
+ }
890
+
891
+ .dingflow-design .auto-judge .content {
892
+ font-size: 14px;
893
+ color: #191f25;
894
+ text-align: left;
895
+ margin-top: 6px;
896
+ overflow: hidden;
897
+ text-overflow: ellipsis;
898
+ display: -webkit-box;
899
+ -webkit-line-clamp: 3;
900
+ -webkit-box-orient: vertical
901
+ }
902
+
903
+ .dingflow-design .auto-judge .sort-left,
904
+ .dingflow-design .auto-judge .sort-right {
905
+ position: absolute;
906
+ top: 0;
907
+ bottom: 0;
908
+ display: none;
909
+ z-index: 1
910
+ }
911
+
912
+ .dingflow-design .auto-judge .sort-left {
913
+ left: 0;
914
+ border-right: 1px solid #f6f6f6
915
+ }
916
+
917
+ .dingflow-design .auto-judge .sort-right {
918
+ right: 0;
919
+ border-left: 1px solid #f6f6f6
920
+ }
921
+
922
+ .dingflow-design .auto-judge:hover .sort-left,
923
+ .dingflow-design .auto-judge:hover .sort-right {
924
+ display: flex;
925
+ align-items: center
926
+ }
927
+
928
+ .dingflow-design .auto-judge .sort-left:hover,
929
+ .dingflow-design .auto-judge .sort-right:hover {
930
+ background: #efefef
931
+ }
932
+
933
+ .dingflow-design .end-node {
934
+ border-radius: 50%;
935
+ font-size: 14px;
936
+ color: rgba(25, 31, 37, .4);
937
+ text-align: left
938
+ }
939
+
940
+ .dingflow-design .end-node .end-node-circle {
941
+ width: 10px;
942
+ height: 10px;
943
+ margin: auto;
944
+ border-radius: 50%;
945
+ background: #dbdcdc
946
+ }
947
+
948
+ .dingflow-design .end-node .end-node-text {
949
+ margin-top: 5px;
950
+ text-align: center
951
+ }
952
+