workflow-editor 0.0.81-up-tmp5 → 0.0.81-up-tmp7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/es/style.css +170 -170
- package/lib/style.css +148 -148
- package/package.json +1 -1
- package/vite.config.js +27 -45
package/es/style.css
CHANGED
|
@@ -1,65 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8"
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
.canvas-container[data-v-6658e14b] {
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
section[data-v-6658e14b] {
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
.canvas[data-v-6658e14b] {
|
|
19
|
-
overflow: auto;
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding: 0;
|
|
22
|
-
min-height: 500px;
|
|
23
|
-
}
|
|
24
|
-
.canvas[data-v-6658e14b] .draggable {
|
|
25
|
-
cursor: default;
|
|
26
|
-
}li[data-v-7e8a1cf6] {
|
|
27
|
-
color: #333;
|
|
28
|
-
}
|
|
29
|
-
.context-menu[data-v-7e8a1cf6] {
|
|
30
|
-
position: fixed;
|
|
31
|
-
background: #fff;
|
|
32
|
-
z-index: 999;
|
|
33
|
-
padding: 5px;
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
|
-
.context-menu li[data-v-7e8a1cf6] {
|
|
37
|
-
min-width: 75px;
|
|
38
|
-
height: 28px;
|
|
39
|
-
line-height: 28px;
|
|
40
|
-
text-align: left;
|
|
41
|
-
color: #1a1a1a;
|
|
42
|
-
}
|
|
43
|
-
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
44
|
-
background: #42b983;
|
|
45
|
-
color: #fff;
|
|
46
|
-
}
|
|
47
|
-
.context-menu[data-v-7e8a1cf6] {
|
|
48
|
-
border: 1px solid #eee;
|
|
49
|
-
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
50
|
-
border-radius: 5px;
|
|
51
|
-
}
|
|
52
|
-
li[data-v-7e8a1cf6] {
|
|
53
|
-
list-style-type: none;
|
|
54
|
-
}
|
|
55
|
-
.svg-icon {
|
|
56
|
-
width: 1em;
|
|
57
|
-
height: 1em;
|
|
58
|
-
vertical-align: -0.15em;
|
|
59
|
-
fill: currentColor;
|
|
60
|
-
overflow: hidden;
|
|
61
|
-
}
|
|
62
|
-
|
|
1
|
+
@charset "UTF-8";
|
|
63
2
|
.button-area[data-v-865cb4ee] {
|
|
64
3
|
padding: 5px 0 5px 5px;
|
|
65
4
|
height: 50px;
|
|
@@ -161,20 +100,31 @@ pre[data-v-865cb4ee] {
|
|
|
161
100
|
/* 去掉卡片和tab表头的距离 */
|
|
162
101
|
[data-v-865cb4ee] .el-tabs__header {
|
|
163
102
|
margin: 0;
|
|
164
|
-
}
|
|
165
|
-
|
|
166
|
-
|
|
103
|
+
}.main[data-v-6658e14b] {
|
|
104
|
+
position: relative;
|
|
105
|
+
display: flex;
|
|
106
|
+
height: 100%;
|
|
107
|
+
width: 100%;
|
|
108
|
+
}
|
|
109
|
+
.canvas-container[data-v-6658e14b] {
|
|
110
|
+
position: relative;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: 100%;
|
|
113
|
+
}
|
|
114
|
+
section[data-v-6658e14b] {
|
|
115
|
+
overflow: hidden;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 100%;
|
|
167
118
|
padding: 0;
|
|
168
|
-
font-weight: bold;
|
|
169
|
-
font-size: 18px;
|
|
170
119
|
}
|
|
171
|
-
.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
padding:
|
|
120
|
+
.canvas[data-v-6658e14b] {
|
|
121
|
+
overflow: auto;
|
|
122
|
+
height: 100%;
|
|
123
|
+
padding: 0;
|
|
124
|
+
min-height: 500px;
|
|
175
125
|
}
|
|
176
|
-
.
|
|
177
|
-
|
|
126
|
+
.canvas[data-v-6658e14b] .draggable {
|
|
127
|
+
cursor: default;
|
|
178
128
|
}
|
|
179
129
|
#svg{
|
|
180
130
|
/* border:1px solid red; */
|
|
@@ -205,8 +155,74 @@ g text{
|
|
|
205
155
|
fill: #fff;
|
|
206
156
|
stroke: #666;
|
|
207
157
|
stroke-width: 2;
|
|
158
|
+
}
|
|
159
|
+
.passed-tache .task-tache{
|
|
160
|
+
fill: green;
|
|
161
|
+
stroke: green;
|
|
162
|
+
stroke-width: 2;
|
|
163
|
+
}
|
|
164
|
+
.current-tache .task-tache{
|
|
165
|
+
fill: red;
|
|
166
|
+
stroke: red;
|
|
167
|
+
stroke-width: 2;
|
|
168
|
+
}
|
|
169
|
+
.passed-tache text{
|
|
170
|
+
fill:white;
|
|
171
|
+
}
|
|
172
|
+
.current-tache text{
|
|
173
|
+
fill: white
|
|
208
174
|
}
|
|
209
175
|
|
|
176
|
+
.svg-icon {
|
|
177
|
+
width: 1em;
|
|
178
|
+
height: 1em;
|
|
179
|
+
vertical-align: -0.15em;
|
|
180
|
+
fill: currentColor;
|
|
181
|
+
overflow: hidden;
|
|
182
|
+
}
|
|
183
|
+
h3[data-v-0d941719] {
|
|
184
|
+
color: #999999;
|
|
185
|
+
margin: 0;
|
|
186
|
+
padding: 0;
|
|
187
|
+
font-weight: bold;
|
|
188
|
+
font-size: 18px;
|
|
189
|
+
}
|
|
190
|
+
.el-button[data-v-0d941719] {
|
|
191
|
+
margin: 6px 0;
|
|
192
|
+
min-width: 110px;
|
|
193
|
+
padding: 9px 15px;
|
|
194
|
+
}
|
|
195
|
+
.el-button i[data-v-0d941719] {
|
|
196
|
+
padding-right: 4px;
|
|
197
|
+
}li[data-v-7e8a1cf6] {
|
|
198
|
+
color: #333;
|
|
199
|
+
}
|
|
200
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
201
|
+
position: fixed;
|
|
202
|
+
background: #fff;
|
|
203
|
+
z-index: 999;
|
|
204
|
+
padding: 5px;
|
|
205
|
+
margin: 0;
|
|
206
|
+
}
|
|
207
|
+
.context-menu li[data-v-7e8a1cf6] {
|
|
208
|
+
min-width: 75px;
|
|
209
|
+
height: 28px;
|
|
210
|
+
line-height: 28px;
|
|
211
|
+
text-align: left;
|
|
212
|
+
color: #1a1a1a;
|
|
213
|
+
}
|
|
214
|
+
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
215
|
+
background: #42b983;
|
|
216
|
+
color: #fff;
|
|
217
|
+
}
|
|
218
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
219
|
+
border: 1px solid #eee;
|
|
220
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
221
|
+
border-radius: 5px;
|
|
222
|
+
}
|
|
223
|
+
li[data-v-7e8a1cf6] {
|
|
224
|
+
list-style-type: none;
|
|
225
|
+
}
|
|
210
226
|
#svg{
|
|
211
227
|
/* border:1px solid red; */
|
|
212
228
|
background: white;
|
|
@@ -236,27 +252,6 @@ g text{
|
|
|
236
252
|
fill: #fff;
|
|
237
253
|
stroke: #666;
|
|
238
254
|
stroke-width: 2;
|
|
239
|
-
}
|
|
240
|
-
.passed-tache .task-tache{
|
|
241
|
-
fill: green;
|
|
242
|
-
stroke: green;
|
|
243
|
-
stroke-width: 2;
|
|
244
|
-
}
|
|
245
|
-
.current-tache .task-tache{
|
|
246
|
-
fill: red;
|
|
247
|
-
stroke: red;
|
|
248
|
-
stroke-width: 2;
|
|
249
|
-
}
|
|
250
|
-
.passed-tache text{
|
|
251
|
-
fill:white;
|
|
252
|
-
}
|
|
253
|
-
.current-tache text{
|
|
254
|
-
fill: white
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
.end{
|
|
258
|
-
stroke-width: 0;
|
|
259
|
-
fill:#fff;
|
|
260
255
|
}
|
|
261
256
|
|
|
262
257
|
.start{
|
|
@@ -298,6 +293,33 @@ g text{
|
|
|
298
293
|
pointer-events: none;
|
|
299
294
|
}
|
|
300
295
|
|
|
296
|
+
.human-decision{
|
|
297
|
+
stroke-width: 0;
|
|
298
|
+
fill:#fff;
|
|
299
|
+
}
|
|
300
|
+
#_subprocess-content[data-v-2b195c05] {
|
|
301
|
+
width: 100%;
|
|
302
|
+
height: calc(100vh - 200px);
|
|
303
|
+
}.tooltip[data-v-ac799913] {
|
|
304
|
+
position: absolute;
|
|
305
|
+
background: #fff;
|
|
306
|
+
min-width: 150px;
|
|
307
|
+
border-radius: 4px;
|
|
308
|
+
border: 1px solid #ebeef5;
|
|
309
|
+
padding: 12px;
|
|
310
|
+
z-index: 2000;
|
|
311
|
+
color: #606266;
|
|
312
|
+
line-height: 1.4;
|
|
313
|
+
text-align: justify;
|
|
314
|
+
font-size: 14px;
|
|
315
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
316
|
+
word-break: break-all;
|
|
317
|
+
}
|
|
318
|
+
.end{
|
|
319
|
+
stroke-width: 0;
|
|
320
|
+
fill:#fff;
|
|
321
|
+
}
|
|
322
|
+
|
|
301
323
|
.virtual-transition{
|
|
302
324
|
stroke-width: 2;
|
|
303
325
|
stroke:#000;
|
|
@@ -305,11 +327,6 @@ g text{
|
|
|
305
327
|
fill: none;
|
|
306
328
|
}
|
|
307
329
|
|
|
308
|
-
.human-decision{
|
|
309
|
-
stroke-width: 0;
|
|
310
|
-
fill:#fff;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
330
|
.selection-region{
|
|
314
331
|
stroke: blue;
|
|
315
332
|
stroke-width: 1;
|
|
@@ -340,32 +357,15 @@ g text{
|
|
|
340
357
|
}
|
|
341
358
|
|
|
342
359
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
343
|
-
.properties-editor[data-v-
|
|
360
|
+
.properties-editor[data-v-adb7c2ff] .el-dialog__body{
|
|
344
361
|
padding-top: 0
|
|
345
362
|
}
|
|
346
363
|
|
|
347
364
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
348
|
-
.properties-editor[data-v-
|
|
365
|
+
.properties-editor[data-v-bd66d235] .el-dialog__body{
|
|
349
366
|
padding-top: 0
|
|
350
367
|
}
|
|
351
|
-
|
|
352
|
-
position: absolute;
|
|
353
|
-
background: #fff;
|
|
354
|
-
min-width: 150px;
|
|
355
|
-
border-radius: 4px;
|
|
356
|
-
border: 1px solid #ebeef5;
|
|
357
|
-
padding: 12px;
|
|
358
|
-
z-index: 2000;
|
|
359
|
-
color: #606266;
|
|
360
|
-
line-height: 1.4;
|
|
361
|
-
text-align: justify;
|
|
362
|
-
font-size: 14px;
|
|
363
|
-
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
364
|
-
word-break: break-all;
|
|
365
|
-
}#_subprocess-content[data-v-2b195c05] {
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: calc(100vh - 200px);
|
|
368
|
-
}
|
|
368
|
+
|
|
369
369
|
.joint-container{
|
|
370
370
|
stroke-width: 0;
|
|
371
371
|
fill: #fff;
|
|
@@ -381,14 +381,6 @@ g text{
|
|
|
381
381
|
fill-opacity: 1;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
-
.control-point[data-v-0ff53a0a]{
|
|
385
|
-
fill: #fff;
|
|
386
|
-
cursor: move;
|
|
387
|
-
}
|
|
388
|
-
.control-line[data-v-0ff53a0a] {
|
|
389
|
-
stroke-dasharray: 2 2
|
|
390
|
-
}
|
|
391
|
-
|
|
392
384
|
.resizer{
|
|
393
385
|
stroke: blue;
|
|
394
386
|
stroke-width: 1;
|
|
@@ -402,6 +394,24 @@ g text{
|
|
|
402
394
|
.control-line[data-v-788fb0ae] {
|
|
403
395
|
stroke-dasharray: 2 2
|
|
404
396
|
}
|
|
397
|
+
|
|
398
|
+
.control-point[data-v-0ff53a0a]{
|
|
399
|
+
fill: #fff;
|
|
400
|
+
cursor: move;
|
|
401
|
+
}
|
|
402
|
+
.control-line[data-v-0ff53a0a] {
|
|
403
|
+
stroke-dasharray: 2 2
|
|
404
|
+
}
|
|
405
|
+
|
|
406
|
+
.percent[data-v-a219b06d] {
|
|
407
|
+
margin-left: 10px;
|
|
408
|
+
color: red;
|
|
409
|
+
font-size: 1.2em;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.el-checkbox[data-v-c019538f]{
|
|
413
|
+
margin-left: 20px;
|
|
414
|
+
}
|
|
405
415
|
ul[data-v-39fac73c] {
|
|
406
416
|
margin: 0;
|
|
407
417
|
padding: 0;
|
|
@@ -412,14 +422,10 @@ ul li[data-v-39fac73c] {
|
|
|
412
422
|
.sub-li[data-v-39fac73c] {
|
|
413
423
|
padding-left: 10px;
|
|
414
424
|
}
|
|
415
|
-
.percent[data-v-
|
|
425
|
+
.percent[data-v-6aef99ff]{
|
|
416
426
|
margin-left: 10px;
|
|
417
|
-
color:
|
|
418
|
-
font-size:
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.el-checkbox[data-v-c019538f]{
|
|
422
|
-
margin-left: 20px;
|
|
427
|
+
color:red;
|
|
428
|
+
font-size:1.2em;
|
|
423
429
|
}
|
|
424
430
|
|
|
425
431
|
.percent[data-v-c1c7385b]{
|
|
@@ -431,7 +437,21 @@ ul li[data-v-39fac73c] {
|
|
|
431
437
|
.el-checkbox[data-v-5fb29fef]{
|
|
432
438
|
margin-left: 20px;
|
|
433
439
|
}
|
|
434
|
-
|
|
440
|
+
.group[data-v-98300543] {
|
|
441
|
+
font-size: 14px;
|
|
442
|
+
width: 100%;
|
|
443
|
+
}
|
|
444
|
+
.item[data-v-98300543] {
|
|
445
|
+
float: left;
|
|
446
|
+
list-style-type: none;
|
|
447
|
+
width: 33.33%;
|
|
448
|
+
margin-bottom: 18px;
|
|
449
|
+
}
|
|
450
|
+
.item-content[data-v-98300543] {
|
|
451
|
+
height: calc(100vh - 300px);
|
|
452
|
+
padding-left: 20px;
|
|
453
|
+
overflow: auto;
|
|
454
|
+
}
|
|
435
455
|
.el-tag + .el-tag[data-v-aaf48aff] {
|
|
436
456
|
margin-left: 10px;
|
|
437
457
|
}
|
|
@@ -454,30 +474,29 @@ select[data-v-aaf48aff]{
|
|
|
454
474
|
line-height: 32px;
|
|
455
475
|
}
|
|
456
476
|
|
|
457
|
-
.percent[data-v-6aef99ff]{
|
|
458
|
-
margin-left: 10px;
|
|
459
|
-
color:red;
|
|
460
|
-
font-size:1.2em;
|
|
461
|
-
}
|
|
462
|
-
|
|
463
477
|
span[data-v-4e29ea06] {
|
|
464
478
|
margin: 0 10px;
|
|
465
479
|
}
|
|
466
|
-
|
|
467
|
-
|
|
480
|
+
|
|
481
|
+
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
482
|
+
height: 500px;
|
|
483
|
+
}
|
|
484
|
+
.group[data-v-7feaa2da] {
|
|
485
|
+
font-size: 14px;
|
|
468
486
|
width: 100%;
|
|
469
487
|
}
|
|
470
|
-
.item[data-v-
|
|
471
|
-
float: left;
|
|
472
|
-
list-style-type: none;
|
|
473
|
-
width: 33.33%;
|
|
488
|
+
.item[data-v-7feaa2da] {
|
|
489
|
+
float: left;
|
|
490
|
+
list-style-type: none;
|
|
491
|
+
width: 33.33%;
|
|
474
492
|
margin-bottom: 18px;
|
|
475
493
|
}
|
|
476
|
-
.item-content[data-v-
|
|
477
|
-
height: calc(100vh - 300px);
|
|
478
|
-
padding-left: 20px;
|
|
494
|
+
.item-content[data-v-7feaa2da] {
|
|
495
|
+
height: calc(100vh - 300px);
|
|
496
|
+
padding-left: 20px;
|
|
479
497
|
overflow: auto;
|
|
480
|
-
}
|
|
498
|
+
}
|
|
499
|
+
|
|
481
500
|
.searchResult {
|
|
482
501
|
color:red
|
|
483
502
|
}
|
|
@@ -498,25 +517,6 @@ span[data-v-4e29ea06] {
|
|
|
498
517
|
word-break: keep-all;
|
|
499
518
|
width: 55%;
|
|
500
519
|
}
|
|
501
|
-
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
502
|
-
height: 500px;
|
|
503
|
-
}
|
|
504
|
-
.group[data-v-7feaa2da] {
|
|
505
|
-
font-size: 14px;
|
|
506
|
-
width: 100%;
|
|
507
|
-
}
|
|
508
|
-
.item[data-v-7feaa2da] {
|
|
509
|
-
float: left;
|
|
510
|
-
list-style-type: none;
|
|
511
|
-
width: 33.33%;
|
|
512
|
-
margin-bottom: 18px;
|
|
513
|
-
}
|
|
514
|
-
.item-content[data-v-7feaa2da] {
|
|
515
|
-
height: calc(100vh - 300px);
|
|
516
|
-
padding-left: 20px;
|
|
517
|
-
overflow: auto;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
520
|
.searchResult {
|
|
521
521
|
color:red
|
|
522
522
|
}
|
package/lib/style.css
CHANGED
|
@@ -1,57 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8"
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
.canvas-container[data-v-6658e14b] {
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
section[data-v-6658e14b] {
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
.canvas[data-v-6658e14b] {
|
|
19
|
-
overflow: auto;
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding: 0;
|
|
22
|
-
min-height: 500px;
|
|
23
|
-
}
|
|
24
|
-
.canvas[data-v-6658e14b] .draggable {
|
|
25
|
-
cursor: default;
|
|
26
|
-
}li[data-v-7e8a1cf6] {
|
|
27
|
-
color: #333;
|
|
28
|
-
}
|
|
29
|
-
.context-menu[data-v-7e8a1cf6] {
|
|
30
|
-
position: fixed;
|
|
31
|
-
background: #fff;
|
|
32
|
-
z-index: 999;
|
|
33
|
-
padding: 5px;
|
|
34
|
-
margin: 0;
|
|
35
|
-
}
|
|
36
|
-
.context-menu li[data-v-7e8a1cf6] {
|
|
37
|
-
min-width: 75px;
|
|
38
|
-
height: 28px;
|
|
39
|
-
line-height: 28px;
|
|
40
|
-
text-align: left;
|
|
41
|
-
color: #1a1a1a;
|
|
42
|
-
}
|
|
43
|
-
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
44
|
-
background: #42b983;
|
|
45
|
-
color: #fff;
|
|
46
|
-
}
|
|
47
|
-
.context-menu[data-v-7e8a1cf6] {
|
|
48
|
-
border: 1px solid #eee;
|
|
49
|
-
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
50
|
-
border-radius: 5px;
|
|
51
|
-
}
|
|
52
|
-
li[data-v-7e8a1cf6] {
|
|
53
|
-
list-style-type: none;
|
|
54
|
-
}
|
|
1
|
+
@charset "UTF-8";
|
|
55
2
|
.button-area[data-v-865cb4ee] {
|
|
56
3
|
padding: 5px 0 5px 5px;
|
|
57
4
|
height: 50px;
|
|
@@ -153,28 +100,31 @@ pre[data-v-865cb4ee] {
|
|
|
153
100
|
/* 去掉卡片和tab表头的距离 */
|
|
154
101
|
[data-v-865cb4ee] .el-tabs__header {
|
|
155
102
|
margin: 0;
|
|
103
|
+
}.main[data-v-6658e14b] {
|
|
104
|
+
position: relative;
|
|
105
|
+
display: flex;
|
|
106
|
+
height: 100%;
|
|
107
|
+
width: 100%;
|
|
156
108
|
}
|
|
157
|
-
.
|
|
158
|
-
|
|
159
|
-
height:
|
|
160
|
-
|
|
161
|
-
|
|
109
|
+
.canvas-container[data-v-6658e14b] {
|
|
110
|
+
position: relative;
|
|
111
|
+
height: 100%;
|
|
112
|
+
width: 100%;
|
|
113
|
+
}
|
|
114
|
+
section[data-v-6658e14b] {
|
|
162
115
|
overflow: hidden;
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
color: #999999;
|
|
166
|
-
margin: 0;
|
|
116
|
+
width: 100%;
|
|
117
|
+
height: 100%;
|
|
167
118
|
padding: 0;
|
|
168
|
-
font-weight: bold;
|
|
169
|
-
font-size: 18px;
|
|
170
119
|
}
|
|
171
|
-
.
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
padding:
|
|
120
|
+
.canvas[data-v-6658e14b] {
|
|
121
|
+
overflow: auto;
|
|
122
|
+
height: 100%;
|
|
123
|
+
padding: 0;
|
|
124
|
+
min-height: 500px;
|
|
175
125
|
}
|
|
176
|
-
.
|
|
177
|
-
|
|
126
|
+
.canvas[data-v-6658e14b] .draggable {
|
|
127
|
+
cursor: default;
|
|
178
128
|
}
|
|
179
129
|
#svg{
|
|
180
130
|
/* border:1px solid red; */
|
|
@@ -223,11 +173,56 @@ g text{
|
|
|
223
173
|
fill: white
|
|
224
174
|
}
|
|
225
175
|
|
|
226
|
-
.
|
|
227
|
-
|
|
228
|
-
|
|
176
|
+
.svg-icon {
|
|
177
|
+
width: 1em;
|
|
178
|
+
height: 1em;
|
|
179
|
+
vertical-align: -0.15em;
|
|
180
|
+
fill: currentColor;
|
|
181
|
+
overflow: hidden;
|
|
229
182
|
}
|
|
230
|
-
|
|
183
|
+
h3[data-v-0d941719] {
|
|
184
|
+
color: #999999;
|
|
185
|
+
margin: 0;
|
|
186
|
+
padding: 0;
|
|
187
|
+
font-weight: bold;
|
|
188
|
+
font-size: 18px;
|
|
189
|
+
}
|
|
190
|
+
.el-button[data-v-0d941719] {
|
|
191
|
+
margin: 6px 0;
|
|
192
|
+
min-width: 110px;
|
|
193
|
+
padding: 9px 15px;
|
|
194
|
+
}
|
|
195
|
+
.el-button i[data-v-0d941719] {
|
|
196
|
+
padding-right: 4px;
|
|
197
|
+
}li[data-v-7e8a1cf6] {
|
|
198
|
+
color: #333;
|
|
199
|
+
}
|
|
200
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
201
|
+
position: fixed;
|
|
202
|
+
background: #fff;
|
|
203
|
+
z-index: 999;
|
|
204
|
+
padding: 5px;
|
|
205
|
+
margin: 0;
|
|
206
|
+
}
|
|
207
|
+
.context-menu li[data-v-7e8a1cf6] {
|
|
208
|
+
min-width: 75px;
|
|
209
|
+
height: 28px;
|
|
210
|
+
line-height: 28px;
|
|
211
|
+
text-align: left;
|
|
212
|
+
color: #1a1a1a;
|
|
213
|
+
}
|
|
214
|
+
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
215
|
+
background: #42b983;
|
|
216
|
+
color: #fff;
|
|
217
|
+
}
|
|
218
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
219
|
+
border: 1px solid #eee;
|
|
220
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
221
|
+
border-radius: 5px;
|
|
222
|
+
}
|
|
223
|
+
li[data-v-7e8a1cf6] {
|
|
224
|
+
list-style-type: none;
|
|
225
|
+
}
|
|
231
226
|
#svg{
|
|
232
227
|
/* border:1px solid red; */
|
|
233
228
|
background: white;
|
|
@@ -259,7 +254,7 @@ g text{
|
|
|
259
254
|
stroke-width: 2;
|
|
260
255
|
}
|
|
261
256
|
|
|
262
|
-
.
|
|
257
|
+
.start{
|
|
263
258
|
stroke-width: 0;
|
|
264
259
|
fill:#fff;
|
|
265
260
|
}
|
|
@@ -274,7 +269,7 @@ g text{
|
|
|
274
269
|
fill:#fff;
|
|
275
270
|
}
|
|
276
271
|
|
|
277
|
-
.
|
|
272
|
+
.decision{
|
|
278
273
|
stroke-width: 0;
|
|
279
274
|
fill:#fff;
|
|
280
275
|
}
|
|
@@ -303,6 +298,28 @@ g text{
|
|
|
303
298
|
fill:#fff;
|
|
304
299
|
}
|
|
305
300
|
|
|
301
|
+
.end{
|
|
302
|
+
stroke-width: 0;
|
|
303
|
+
fill:#fff;
|
|
304
|
+
}
|
|
305
|
+
.tooltip[data-v-ac799913] {
|
|
306
|
+
position: absolute;
|
|
307
|
+
background: #fff;
|
|
308
|
+
min-width: 150px;
|
|
309
|
+
border-radius: 4px;
|
|
310
|
+
border: 1px solid #ebeef5;
|
|
311
|
+
padding: 12px;
|
|
312
|
+
z-index: 2000;
|
|
313
|
+
color: #606266;
|
|
314
|
+
line-height: 1.4;
|
|
315
|
+
text-align: justify;
|
|
316
|
+
font-size: 14px;
|
|
317
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
318
|
+
word-break: break-all;
|
|
319
|
+
}#_subprocess-content[data-v-2b195c05] {
|
|
320
|
+
width: 100%;
|
|
321
|
+
height: calc(100vh - 200px);
|
|
322
|
+
}
|
|
306
323
|
.virtual-transition{
|
|
307
324
|
stroke-width: 2;
|
|
308
325
|
stroke:#000;
|
|
@@ -340,32 +357,15 @@ g text{
|
|
|
340
357
|
}
|
|
341
358
|
|
|
342
359
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
343
|
-
.properties-editor[data-v-
|
|
360
|
+
.properties-editor[data-v-adb7c2ff] .el-dialog__body{
|
|
344
361
|
padding-top: 0
|
|
345
362
|
}
|
|
346
363
|
|
|
347
364
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
348
|
-
.properties-editor[data-v-
|
|
365
|
+
.properties-editor[data-v-bd66d235] .el-dialog__body{
|
|
349
366
|
padding-top: 0
|
|
350
367
|
}
|
|
351
|
-
|
|
352
|
-
position: absolute;
|
|
353
|
-
background: #fff;
|
|
354
|
-
min-width: 150px;
|
|
355
|
-
border-radius: 4px;
|
|
356
|
-
border: 1px solid #ebeef5;
|
|
357
|
-
padding: 12px;
|
|
358
|
-
z-index: 2000;
|
|
359
|
-
color: #606266;
|
|
360
|
-
line-height: 1.4;
|
|
361
|
-
text-align: justify;
|
|
362
|
-
font-size: 14px;
|
|
363
|
-
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
364
|
-
word-break: break-all;
|
|
365
|
-
}#_subprocess-content[data-v-2b195c05] {
|
|
366
|
-
width: 100%;
|
|
367
|
-
height: calc(100vh - 200px);
|
|
368
|
-
}
|
|
368
|
+
|
|
369
369
|
.joint-container{
|
|
370
370
|
stroke-width: 0;
|
|
371
371
|
fill: #fff;
|
|
@@ -381,6 +381,12 @@ g text{
|
|
|
381
381
|
fill-opacity: 1;
|
|
382
382
|
}
|
|
383
383
|
|
|
384
|
+
.resizer{
|
|
385
|
+
stroke: blue;
|
|
386
|
+
stroke-width: 1;
|
|
387
|
+
fill: white;
|
|
388
|
+
}
|
|
389
|
+
|
|
384
390
|
.control-point[data-v-0ff53a0a]{
|
|
385
391
|
fill: #fff;
|
|
386
392
|
cursor: move;
|
|
@@ -389,12 +395,6 @@ g text{
|
|
|
389
395
|
stroke-dasharray: 2 2
|
|
390
396
|
}
|
|
391
397
|
|
|
392
|
-
.resizer{
|
|
393
|
-
stroke: blue;
|
|
394
|
-
stroke-width: 1;
|
|
395
|
-
fill: white;
|
|
396
|
-
}
|
|
397
|
-
|
|
398
398
|
.control-point[data-v-788fb0ae]{
|
|
399
399
|
fill: #fff;
|
|
400
400
|
cursor: move;
|
|
@@ -402,6 +402,16 @@ g text{
|
|
|
402
402
|
.control-line[data-v-788fb0ae] {
|
|
403
403
|
stroke-dasharray: 2 2
|
|
404
404
|
}
|
|
405
|
+
|
|
406
|
+
.percent[data-v-a219b06d] {
|
|
407
|
+
margin-left: 10px;
|
|
408
|
+
color: red;
|
|
409
|
+
font-size: 1.2em;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
.el-checkbox[data-v-c019538f]{
|
|
413
|
+
margin-left: 20px;
|
|
414
|
+
}
|
|
405
415
|
ul[data-v-39fac73c] {
|
|
406
416
|
margin: 0;
|
|
407
417
|
padding: 0;
|
|
@@ -412,32 +422,36 @@ ul li[data-v-39fac73c] {
|
|
|
412
422
|
.sub-li[data-v-39fac73c] {
|
|
413
423
|
padding-left: 10px;
|
|
414
424
|
}
|
|
415
|
-
.percent[data-v-
|
|
416
|
-
margin-left: 10px;
|
|
417
|
-
color: red;
|
|
418
|
-
font-size: 1.2em;
|
|
419
|
-
}
|
|
420
|
-
|
|
421
|
-
.el-checkbox[data-v-c019538f]{
|
|
422
|
-
margin-left: 20px;
|
|
423
|
-
}
|
|
424
|
-
|
|
425
|
-
.el-checkbox[data-v-5fb29fef]{
|
|
426
|
-
margin-left: 20px;
|
|
427
|
-
}
|
|
428
|
-
|
|
429
|
-
.percent[data-v-c1c7385b]{
|
|
425
|
+
.percent[data-v-6aef99ff]{
|
|
430
426
|
margin-left: 10px;
|
|
431
427
|
color:red;
|
|
432
428
|
font-size:1.2em;
|
|
433
429
|
}
|
|
434
430
|
|
|
435
|
-
.percent[data-v-
|
|
431
|
+
.percent[data-v-c1c7385b]{
|
|
436
432
|
margin-left: 10px;
|
|
437
433
|
color:red;
|
|
438
434
|
font-size:1.2em;
|
|
439
435
|
}
|
|
440
436
|
|
|
437
|
+
.el-checkbox[data-v-5fb29fef]{
|
|
438
|
+
margin-left: 20px;
|
|
439
|
+
}
|
|
440
|
+
.group[data-v-98300543] {
|
|
441
|
+
font-size: 14px;
|
|
442
|
+
width: 100%;
|
|
443
|
+
}
|
|
444
|
+
.item[data-v-98300543] {
|
|
445
|
+
float: left;
|
|
446
|
+
list-style-type: none;
|
|
447
|
+
width: 33.33%;
|
|
448
|
+
margin-bottom: 18px;
|
|
449
|
+
}
|
|
450
|
+
.item-content[data-v-98300543] {
|
|
451
|
+
height: calc(100vh - 300px);
|
|
452
|
+
padding-left: 20px;
|
|
453
|
+
overflow: auto;
|
|
454
|
+
}
|
|
441
455
|
.el-tag + .el-tag[data-v-aaf48aff] {
|
|
442
456
|
margin-left: 10px;
|
|
443
457
|
}
|
|
@@ -463,21 +477,26 @@ select[data-v-aaf48aff]{
|
|
|
463
477
|
span[data-v-4e29ea06] {
|
|
464
478
|
margin: 0 10px;
|
|
465
479
|
}
|
|
466
|
-
|
|
467
|
-
|
|
480
|
+
|
|
481
|
+
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
482
|
+
height: 500px;
|
|
483
|
+
}
|
|
484
|
+
.group[data-v-7feaa2da] {
|
|
485
|
+
font-size: 14px;
|
|
468
486
|
width: 100%;
|
|
469
487
|
}
|
|
470
|
-
.item[data-v-
|
|
471
|
-
float: left;
|
|
472
|
-
list-style-type: none;
|
|
473
|
-
width: 33.33%;
|
|
488
|
+
.item[data-v-7feaa2da] {
|
|
489
|
+
float: left;
|
|
490
|
+
list-style-type: none;
|
|
491
|
+
width: 33.33%;
|
|
474
492
|
margin-bottom: 18px;
|
|
475
493
|
}
|
|
476
|
-
.item-content[data-v-
|
|
477
|
-
height: calc(100vh - 300px);
|
|
478
|
-
padding-left: 20px;
|
|
494
|
+
.item-content[data-v-7feaa2da] {
|
|
495
|
+
height: calc(100vh - 300px);
|
|
496
|
+
padding-left: 20px;
|
|
479
497
|
overflow: auto;
|
|
480
|
-
}
|
|
498
|
+
}
|
|
499
|
+
|
|
481
500
|
.searchResult {
|
|
482
501
|
color:red
|
|
483
502
|
}
|
|
@@ -498,25 +517,6 @@ span[data-v-4e29ea06] {
|
|
|
498
517
|
word-break: keep-all;
|
|
499
518
|
width: 55%;
|
|
500
519
|
}
|
|
501
|
-
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
502
|
-
height: 500px;
|
|
503
|
-
}
|
|
504
|
-
.group[data-v-7feaa2da] {
|
|
505
|
-
font-size: 14px;
|
|
506
|
-
width: 100%;
|
|
507
|
-
}
|
|
508
|
-
.item[data-v-7feaa2da] {
|
|
509
|
-
float: left;
|
|
510
|
-
list-style-type: none;
|
|
511
|
-
width: 33.33%;
|
|
512
|
-
margin-bottom: 18px;
|
|
513
|
-
}
|
|
514
|
-
.item-content[data-v-7feaa2da] {
|
|
515
|
-
height: calc(100vh - 300px);
|
|
516
|
-
padding-left: 20px;
|
|
517
|
-
overflow: auto;
|
|
518
|
-
}
|
|
519
|
-
|
|
520
520
|
.searchResult {
|
|
521
521
|
color:red
|
|
522
522
|
}
|
package/package.json
CHANGED
package/vite.config.js
CHANGED
|
@@ -17,21 +17,8 @@ const devDependencies = Object.keys(packageJson.devDependencies)
|
|
|
17
17
|
|
|
18
18
|
const arr = [...dependencies, ...devDependencies]
|
|
19
19
|
|
|
20
|
-
//https://vitejs.dev/config/
|
|
20
|
+
// https://vitejs.dev/config/
|
|
21
21
|
export default defineConfig(({ mode }) => ({
|
|
22
|
-
plugins: [
|
|
23
|
-
vue(),
|
|
24
|
-
vueJsx(),
|
|
25
|
-
terser({
|
|
26
|
-
compress: {
|
|
27
|
-
drop_debugger: ['production'].includes(mode),
|
|
28
|
-
pure_funcs: ['production'].includes(mode) ? ['console.log', 'console.info', 'console.warn', 'console.debug'] : [],
|
|
29
|
-
},
|
|
30
|
-
output: {
|
|
31
|
-
// 对于console.error,不做任何处理
|
|
32
|
-
comments: (node, comment) => comment.type === 'error'
|
|
33
|
-
}
|
|
34
|
-
})],
|
|
35
22
|
build: {
|
|
36
23
|
target: 'modules',
|
|
37
24
|
// //打包文件目录
|
|
@@ -40,20 +27,10 @@ export default defineConfig(({ mode }) => ({
|
|
|
40
27
|
minify: false,
|
|
41
28
|
//css分离
|
|
42
29
|
cssCodeSplit: false,
|
|
43
|
-
outDir: 'lib',
|
|
44
|
-
// 开启vite打包的库模式
|
|
45
|
-
lib: {
|
|
46
|
-
entry: './packages/index.js'
|
|
47
|
-
},
|
|
48
|
-
// outDir: "lib",//输出文件名称
|
|
49
|
-
// lib: {
|
|
50
|
-
// entry: path.resolve(__dirname, "./packages/index.js"),//指定组件编译入口文件
|
|
51
|
-
// name: "workflow-editor",//打包js名称
|
|
52
|
-
// fileName: "workflow-editor",
|
|
53
|
-
// },//库编译模式配置
|
|
54
30
|
rollupOptions: {
|
|
55
|
-
|
|
56
|
-
|
|
31
|
+
//忽略打包vue文件
|
|
32
|
+
// external: ['vue', 'jsx', 'tsx'],
|
|
33
|
+
external: (id) => {
|
|
57
34
|
for (let i = 0; i < arr.length; i++) {
|
|
58
35
|
if (id.startsWith(arr[i])) {
|
|
59
36
|
// console.log('id===', id)
|
|
@@ -62,8 +39,7 @@ export default defineConfig(({ mode }) => ({
|
|
|
62
39
|
}
|
|
63
40
|
},
|
|
64
41
|
input: ['./packages/index.js'],
|
|
65
|
-
output:
|
|
66
|
-
[
|
|
42
|
+
output:[
|
|
67
43
|
{
|
|
68
44
|
format: 'umd',
|
|
69
45
|
name: 'wfEditor',
|
|
@@ -96,26 +72,32 @@ export default defineConfig(({ mode }) => ({
|
|
|
96
72
|
preserveModulesRoot: 'packages'
|
|
97
73
|
}
|
|
98
74
|
]
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
// assetFileNames: (assetInfo) => {
|
|
106
|
-
// if (assetInfo.name == 'style.css')
|
|
107
|
-
// return 'workflow-editor.css';//打包的css名称
|
|
108
|
-
// return assetInfo.name;
|
|
109
|
-
// },
|
|
110
|
-
// },
|
|
111
|
-
},//rollup打包配置
|
|
75
|
+
},
|
|
76
|
+
outDir: 'lib',
|
|
77
|
+
// 开启vite打包的库模式
|
|
78
|
+
lib: {
|
|
79
|
+
entry: './packages/index.js'
|
|
80
|
+
}
|
|
112
81
|
},
|
|
113
|
-
|
|
82
|
+
plugins: [
|
|
83
|
+
vue(),
|
|
84
|
+
vueJsx(),
|
|
85
|
+
terser({
|
|
86
|
+
compress: {
|
|
87
|
+
drop_debugger: ['production'].includes(mode),
|
|
88
|
+
pure_funcs: ['production'].includes(mode) ? ['console.log', 'console.info', 'console.warn', 'console.debug'] : [],
|
|
89
|
+
},
|
|
90
|
+
output: {
|
|
91
|
+
// 对于console.error,不做任何处理
|
|
92
|
+
comments: (node, comment) => comment.type === 'error'
|
|
93
|
+
}
|
|
94
|
+
})
|
|
95
|
+
],
|
|
114
96
|
resolve: {
|
|
115
|
-
//忽略后缀名的配置选项,添加.vue选项时要记得原本默认忽略的选项也要手动写入
|
|
116
97
|
extensions: ['.mjs', '.js', '.ts', '.jsx', '.tsx', '.json', '.vue'],
|
|
117
98
|
alias: {
|
|
118
99
|
'@': fileURLToPath(new URL('./src', import.meta.url))
|
|
119
100
|
}
|
|
120
101
|
}
|
|
121
|
-
}));
|
|
102
|
+
}));
|
|
103
|
+
|