workflow-editor 0.0.81-up-tmp5 → 0.0.81-up-tmp6
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/dist/index.full.min.js +1 -1
- package/es/style.css +169 -169
- package/lib/style.css +149 -149
- package/package.json +1 -1
- package/vite.config.js +28 -46
package/dist/index.full.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
!function(e, t) {
|
|
2
|
-
"object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("xml-js"), require("file-saver"), require("prismjs")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "xml-js", "file-saver", "prismjs"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).
|
|
2
|
+
"object" == typeof exports && "undefined" != typeof module ? t(exports, require("vuex"), require("agilebuilder-ui"), require("vue-i18n"), require("vue"), require("xml-js"), require("file-saver"), require("prismjs")) : "function" == typeof define && define.amd ? define(["exports", "vuex", "agilebuilder-ui", "vue-i18n", "vue", "xml-js", "file-saver", "prismjs"], t) : t((e = "undefined" != typeof globalThis ? globalThis : e || self).AgilebuilderUi = {}, e.vuex, e.agilebuilderUi, e.vueI18n, e.vue, e.convert, e.FileSaver, e.Prism);
|
|
3
3
|
}(this, function(e, t, o, l, r, n, i, a) {
|
|
4
4
|
"use strict";
|
|
5
5
|
!function(e2) {
|
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,38 @@ 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
|
+
h3[data-v-0d941719] {
|
|
176
|
+
color: #999999;
|
|
177
|
+
margin: 0;
|
|
178
|
+
padding: 0;
|
|
179
|
+
font-weight: bold;
|
|
180
|
+
font-size: 18px;
|
|
181
|
+
}
|
|
182
|
+
.el-button[data-v-0d941719] {
|
|
183
|
+
margin: 6px 0;
|
|
184
|
+
min-width: 110px;
|
|
185
|
+
padding: 9px 15px;
|
|
186
|
+
}
|
|
187
|
+
.el-button i[data-v-0d941719] {
|
|
188
|
+
padding-right: 4px;
|
|
189
|
+
}
|
|
210
190
|
#svg{
|
|
211
191
|
/* border:1px solid red; */
|
|
212
192
|
background: white;
|
|
@@ -236,22 +216,47 @@ g text{
|
|
|
236
216
|
fill: #fff;
|
|
237
217
|
stroke: #666;
|
|
238
218
|
stroke-width: 2;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.svg-icon {
|
|
222
|
+
width: 1em;
|
|
223
|
+
height: 1em;
|
|
224
|
+
vertical-align: -0.15em;
|
|
225
|
+
fill: currentColor;
|
|
226
|
+
overflow: hidden;
|
|
227
|
+
}
|
|
228
|
+
li[data-v-7e8a1cf6] {
|
|
229
|
+
color: #333;
|
|
239
230
|
}
|
|
240
|
-
.
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
231
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
232
|
+
position: fixed;
|
|
233
|
+
background: #fff;
|
|
234
|
+
z-index: 999;
|
|
235
|
+
padding: 5px;
|
|
236
|
+
margin: 0;
|
|
244
237
|
}
|
|
245
|
-
.
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
238
|
+
.context-menu li[data-v-7e8a1cf6] {
|
|
239
|
+
min-width: 75px;
|
|
240
|
+
height: 28px;
|
|
241
|
+
line-height: 28px;
|
|
242
|
+
text-align: left;
|
|
243
|
+
color: #1a1a1a;
|
|
249
244
|
}
|
|
250
|
-
.
|
|
251
|
-
|
|
245
|
+
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
246
|
+
background: #42b983;
|
|
247
|
+
color: #fff;
|
|
252
248
|
}
|
|
253
|
-
.
|
|
254
|
-
|
|
249
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
250
|
+
border: 1px solid #eee;
|
|
251
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
252
|
+
border-radius: 5px;
|
|
253
|
+
}
|
|
254
|
+
li[data-v-7e8a1cf6] {
|
|
255
|
+
list-style-type: none;
|
|
256
|
+
}
|
|
257
|
+
.start{
|
|
258
|
+
stroke-width: 0;
|
|
259
|
+
fill:#fff;
|
|
255
260
|
}
|
|
256
261
|
|
|
257
262
|
.end{
|
|
@@ -259,7 +264,7 @@ g text{
|
|
|
259
264
|
fill:#fff;
|
|
260
265
|
}
|
|
261
266
|
|
|
262
|
-
.
|
|
267
|
+
.decision{
|
|
263
268
|
stroke-width: 0;
|
|
264
269
|
fill:#fff;
|
|
265
270
|
}
|
|
@@ -273,8 +278,25 @@ g text{
|
|
|
273
278
|
stroke-width: 0;
|
|
274
279
|
fill:#fff;
|
|
275
280
|
}
|
|
276
|
-
|
|
277
|
-
|
|
281
|
+
.tooltip[data-v-ac799913] {
|
|
282
|
+
position: absolute;
|
|
283
|
+
background: #fff;
|
|
284
|
+
min-width: 150px;
|
|
285
|
+
border-radius: 4px;
|
|
286
|
+
border: 1px solid #ebeef5;
|
|
287
|
+
padding: 12px;
|
|
288
|
+
z-index: 2000;
|
|
289
|
+
color: #606266;
|
|
290
|
+
line-height: 1.4;
|
|
291
|
+
text-align: justify;
|
|
292
|
+
font-size: 14px;
|
|
293
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
294
|
+
word-break: break-all;
|
|
295
|
+
}#_subprocess-content[data-v-2b195c05] {
|
|
296
|
+
width: 100%;
|
|
297
|
+
height: calc(100vh - 200px);
|
|
298
|
+
}
|
|
299
|
+
.human-decision{
|
|
278
300
|
stroke-width: 0;
|
|
279
301
|
fill:#fff;
|
|
280
302
|
}
|
|
@@ -297,6 +319,11 @@ g text{
|
|
|
297
319
|
.no-events[data-v-a1576cad] {
|
|
298
320
|
pointer-events: none;
|
|
299
321
|
}
|
|
322
|
+
|
|
323
|
+
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
324
|
+
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
325
|
+
padding-top: 0;
|
|
326
|
+
}
|
|
300
327
|
|
|
301
328
|
.virtual-transition{
|
|
302
329
|
stroke-width: 2;
|
|
@@ -305,11 +332,6 @@ g text{
|
|
|
305
332
|
fill: none;
|
|
306
333
|
}
|
|
307
334
|
|
|
308
|
-
.human-decision{
|
|
309
|
-
stroke-width: 0;
|
|
310
|
-
fill:#fff;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
335
|
.selection-region{
|
|
314
336
|
stroke: blue;
|
|
315
337
|
stroke-width: 1;
|
|
@@ -324,11 +346,6 @@ g text{
|
|
|
324
346
|
pointer-events:none;
|
|
325
347
|
}
|
|
326
348
|
|
|
327
|
-
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
328
|
-
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
329
|
-
padding-top: 0;
|
|
330
|
-
}
|
|
331
|
-
|
|
332
349
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
333
350
|
.properties-editor[data-v-0e44fe8c] .el-dialog__body{
|
|
334
351
|
padding-top: 0
|
|
@@ -348,24 +365,7 @@ g text{
|
|
|
348
365
|
.properties-editor[data-v-adb7c2ff] .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,20 +381,22 @@ 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;
|
|
395
387
|
fill: white;
|
|
396
388
|
}
|
|
397
389
|
|
|
390
|
+
.el-checkbox[data-v-c019538f]{
|
|
391
|
+
margin-left: 20px;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.percent[data-v-a219b06d] {
|
|
395
|
+
margin-left: 10px;
|
|
396
|
+
color: red;
|
|
397
|
+
font-size: 1.2em;
|
|
398
|
+
}
|
|
399
|
+
|
|
398
400
|
.control-point[data-v-788fb0ae]{
|
|
399
401
|
fill: #fff;
|
|
400
402
|
cursor: move;
|
|
@@ -412,13 +414,15 @@ ul li[data-v-39fac73c] {
|
|
|
412
414
|
.sub-li[data-v-39fac73c] {
|
|
413
415
|
padding-left: 10px;
|
|
414
416
|
}
|
|
415
|
-
.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
417
|
+
.control-point[data-v-0ff53a0a]{
|
|
418
|
+
fill: #fff;
|
|
419
|
+
cursor: move;
|
|
420
|
+
}
|
|
421
|
+
.control-line[data-v-0ff53a0a] {
|
|
422
|
+
stroke-dasharray: 2 2
|
|
419
423
|
}
|
|
420
424
|
|
|
421
|
-
.el-checkbox[data-v-
|
|
425
|
+
.el-checkbox[data-v-5fb29fef]{
|
|
422
426
|
margin-left: 20px;
|
|
423
427
|
}
|
|
424
428
|
|
|
@@ -428,10 +432,26 @@ ul li[data-v-39fac73c] {
|
|
|
428
432
|
font-size:1.2em;
|
|
429
433
|
}
|
|
430
434
|
|
|
431
|
-
.
|
|
432
|
-
|
|
435
|
+
.percent[data-v-6aef99ff]{
|
|
436
|
+
margin-left: 10px;
|
|
437
|
+
color:red;
|
|
438
|
+
font-size:1.2em;
|
|
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,50 +474,17 @@ 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
|
-
font-size: 14px;
|
|
468
|
-
width: 100%;
|
|
469
|
-
}
|
|
470
|
-
.item[data-v-98300543] {
|
|
471
|
-
float: left;
|
|
472
|
-
list-style-type: none;
|
|
473
|
-
width: 33.33%;
|
|
474
|
-
margin-bottom: 18px;
|
|
475
|
-
}
|
|
476
|
-
.item-content[data-v-98300543] {
|
|
477
|
-
height: calc(100vh - 300px);
|
|
478
|
-
padding-left: 20px;
|
|
479
|
-
overflow: auto;
|
|
480
|
-
}
|
|
480
|
+
|
|
481
481
|
.searchResult {
|
|
482
482
|
color:red
|
|
483
483
|
}
|
|
484
484
|
.inline-input-custom {
|
|
485
485
|
width : 90%
|
|
486
486
|
}
|
|
487
|
-
|
|
488
|
-
display: block;
|
|
489
|
-
}
|
|
490
|
-
#appContainer[data-v-9458f3bf] .el-transfer-panel {
|
|
491
|
-
width: 400px;
|
|
492
|
-
}
|
|
493
|
-
#appContainer[data-v-9458f3bf] .ellipsis {
|
|
494
|
-
display: inline-block;
|
|
495
|
-
overflow: hidden;
|
|
496
|
-
text-overflow: ellipsis;
|
|
497
|
-
white-space: nowrap;
|
|
498
|
-
word-break: keep-all;
|
|
499
|
-
width: 55%;
|
|
500
|
-
}
|
|
487
|
+
|
|
501
488
|
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
502
489
|
height: 500px;
|
|
503
490
|
}
|
|
@@ -516,7 +503,20 @@ span[data-v-4e29ea06] {
|
|
|
516
503
|
padding-left: 20px;
|
|
517
504
|
overflow: auto;
|
|
518
505
|
}
|
|
519
|
-
|
|
506
|
+
#appContainer[data-v-9458f3bf] .el-checkbox {
|
|
507
|
+
display: block;
|
|
508
|
+
}
|
|
509
|
+
#appContainer[data-v-9458f3bf] .el-transfer-panel {
|
|
510
|
+
width: 400px;
|
|
511
|
+
}
|
|
512
|
+
#appContainer[data-v-9458f3bf] .ellipsis {
|
|
513
|
+
display: inline-block;
|
|
514
|
+
overflow: hidden;
|
|
515
|
+
text-overflow: ellipsis;
|
|
516
|
+
white-space: nowrap;
|
|
517
|
+
word-break: keep-all;
|
|
518
|
+
width: 55%;
|
|
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; */
|
|
@@ -222,12 +172,21 @@ g text{
|
|
|
222
172
|
.current-tache text{
|
|
223
173
|
fill: white
|
|
224
174
|
}
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
175
|
+
h3[data-v-0d941719] {
|
|
176
|
+
color: #999999;
|
|
177
|
+
margin: 0;
|
|
178
|
+
padding: 0;
|
|
179
|
+
font-weight: bold;
|
|
180
|
+
font-size: 18px;
|
|
181
|
+
}
|
|
182
|
+
.el-button[data-v-0d941719] {
|
|
183
|
+
margin: 6px 0;
|
|
184
|
+
min-width: 110px;
|
|
185
|
+
padding: 9px 15px;
|
|
186
|
+
}
|
|
187
|
+
.el-button i[data-v-0d941719] {
|
|
188
|
+
padding-right: 4px;
|
|
189
|
+
}
|
|
231
190
|
#svg{
|
|
232
191
|
/* border:1px solid red; */
|
|
233
192
|
background: white;
|
|
@@ -258,8 +217,44 @@ g text{
|
|
|
258
217
|
stroke: #666;
|
|
259
218
|
stroke-width: 2;
|
|
260
219
|
}
|
|
220
|
+
li[data-v-7e8a1cf6] {
|
|
221
|
+
color: #333;
|
|
222
|
+
}
|
|
223
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
224
|
+
position: fixed;
|
|
225
|
+
background: #fff;
|
|
226
|
+
z-index: 999;
|
|
227
|
+
padding: 5px;
|
|
228
|
+
margin: 0;
|
|
229
|
+
}
|
|
230
|
+
.context-menu li[data-v-7e8a1cf6] {
|
|
231
|
+
min-width: 75px;
|
|
232
|
+
height: 28px;
|
|
233
|
+
line-height: 28px;
|
|
234
|
+
text-align: left;
|
|
235
|
+
color: #1a1a1a;
|
|
236
|
+
}
|
|
237
|
+
.context-menu li[data-v-7e8a1cf6]:hover {
|
|
238
|
+
background: #42b983;
|
|
239
|
+
color: #fff;
|
|
240
|
+
}
|
|
241
|
+
.context-menu[data-v-7e8a1cf6] {
|
|
242
|
+
border: 1px solid #eee;
|
|
243
|
+
box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
|
|
244
|
+
border-radius: 5px;
|
|
245
|
+
}
|
|
246
|
+
li[data-v-7e8a1cf6] {
|
|
247
|
+
list-style-type: none;
|
|
248
|
+
}
|
|
249
|
+
.svg-icon {
|
|
250
|
+
width: 1em;
|
|
251
|
+
height: 1em;
|
|
252
|
+
vertical-align: -0.15em;
|
|
253
|
+
fill: currentColor;
|
|
254
|
+
overflow: hidden;
|
|
255
|
+
}
|
|
261
256
|
|
|
262
|
-
.
|
|
257
|
+
.start{
|
|
263
258
|
stroke-width: 0;
|
|
264
259
|
fill:#fff;
|
|
265
260
|
}
|
|
@@ -274,11 +269,38 @@ g text{
|
|
|
274
269
|
fill:#fff;
|
|
275
270
|
}
|
|
276
271
|
|
|
277
|
-
.
|
|
272
|
+
.end{
|
|
273
|
+
stroke-width: 0;
|
|
274
|
+
fill:#fff;
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.human-decision{
|
|
278
278
|
stroke-width: 0;
|
|
279
279
|
fill:#fff;
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
+
.decision{
|
|
283
|
+
stroke-width: 0;
|
|
284
|
+
fill:#fff;
|
|
285
|
+
}
|
|
286
|
+
.tooltip[data-v-ac799913] {
|
|
287
|
+
position: absolute;
|
|
288
|
+
background: #fff;
|
|
289
|
+
min-width: 150px;
|
|
290
|
+
border-radius: 4px;
|
|
291
|
+
border: 1px solid #ebeef5;
|
|
292
|
+
padding: 12px;
|
|
293
|
+
z-index: 2000;
|
|
294
|
+
color: #606266;
|
|
295
|
+
line-height: 1.4;
|
|
296
|
+
text-align: justify;
|
|
297
|
+
font-size: 14px;
|
|
298
|
+
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
299
|
+
word-break: break-all;
|
|
300
|
+
}#_subprocess-content[data-v-2b195c05] {
|
|
301
|
+
width: 100%;
|
|
302
|
+
height: calc(100vh - 200px);
|
|
303
|
+
}
|
|
282
304
|
.transition[data-v-a1576cad] {
|
|
283
305
|
stroke-width: 2;
|
|
284
306
|
stroke: #666;
|
|
@@ -298,11 +320,6 @@ g text{
|
|
|
298
320
|
pointer-events: none;
|
|
299
321
|
}
|
|
300
322
|
|
|
301
|
-
.human-decision{
|
|
302
|
-
stroke-width: 0;
|
|
303
|
-
fill:#fff;
|
|
304
|
-
}
|
|
305
|
-
|
|
306
323
|
.virtual-transition{
|
|
307
324
|
stroke-width: 2;
|
|
308
325
|
stroke:#000;
|
|
@@ -348,24 +365,7 @@ g text{
|
|
|
348
365
|
.properties-editor[data-v-adb7c2ff] .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,20 +381,22 @@ 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;
|
|
395
387
|
fill: white;
|
|
396
388
|
}
|
|
397
389
|
|
|
390
|
+
.el-checkbox[data-v-c019538f]{
|
|
391
|
+
margin-left: 20px;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
.percent[data-v-a219b06d] {
|
|
395
|
+
margin-left: 10px;
|
|
396
|
+
color: red;
|
|
397
|
+
font-size: 1.2em;
|
|
398
|
+
}
|
|
399
|
+
|
|
398
400
|
.control-point[data-v-788fb0ae]{
|
|
399
401
|
fill: #fff;
|
|
400
402
|
cursor: move;
|
|
@@ -412,14 +414,12 @@ ul li[data-v-39fac73c] {
|
|
|
412
414
|
.sub-li[data-v-39fac73c] {
|
|
413
415
|
padding-left: 10px;
|
|
414
416
|
}
|
|
415
|
-
.
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
.el-checkbox[data-v-c019538f]{
|
|
422
|
-
margin-left: 20px;
|
|
417
|
+
.control-point[data-v-0ff53a0a]{
|
|
418
|
+
fill: #fff;
|
|
419
|
+
cursor: move;
|
|
420
|
+
}
|
|
421
|
+
.control-line[data-v-0ff53a0a] {
|
|
422
|
+
stroke-dasharray: 2 2
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
.el-checkbox[data-v-5fb29fef]{
|
|
@@ -437,7 +437,21 @@ ul li[data-v-39fac73c] {
|
|
|
437
437
|
color:red;
|
|
438
438
|
font-size:1.2em;
|
|
439
439
|
}
|
|
440
|
-
|
|
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,41 +477,14 @@ select[data-v-aaf48aff]{
|
|
|
463
477
|
span[data-v-4e29ea06] {
|
|
464
478
|
margin: 0 10px;
|
|
465
479
|
}
|
|
466
|
-
|
|
467
|
-
font-size: 14px;
|
|
468
|
-
width: 100%;
|
|
469
|
-
}
|
|
470
|
-
.item[data-v-98300543] {
|
|
471
|
-
float: left;
|
|
472
|
-
list-style-type: none;
|
|
473
|
-
width: 33.33%;
|
|
474
|
-
margin-bottom: 18px;
|
|
475
|
-
}
|
|
476
|
-
.item-content[data-v-98300543] {
|
|
477
|
-
height: calc(100vh - 300px);
|
|
478
|
-
padding-left: 20px;
|
|
479
|
-
overflow: auto;
|
|
480
|
-
}
|
|
480
|
+
|
|
481
481
|
.searchResult {
|
|
482
482
|
color:red
|
|
483
483
|
}
|
|
484
484
|
.inline-input-custom {
|
|
485
485
|
width : 90%
|
|
486
486
|
}
|
|
487
|
-
|
|
488
|
-
display: block;
|
|
489
|
-
}
|
|
490
|
-
#appContainer[data-v-9458f3bf] .el-transfer-panel {
|
|
491
|
-
width: 400px;
|
|
492
|
-
}
|
|
493
|
-
#appContainer[data-v-9458f3bf] .ellipsis {
|
|
494
|
-
display: inline-block;
|
|
495
|
-
overflow: hidden;
|
|
496
|
-
text-overflow: ellipsis;
|
|
497
|
-
white-space: nowrap;
|
|
498
|
-
word-break: keep-all;
|
|
499
|
-
width: 55%;
|
|
500
|
-
}
|
|
487
|
+
|
|
501
488
|
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
502
489
|
height: 500px;
|
|
503
490
|
}
|
|
@@ -516,7 +503,20 @@ span[data-v-4e29ea06] {
|
|
|
516
503
|
padding-left: 20px;
|
|
517
504
|
overflow: auto;
|
|
518
505
|
}
|
|
519
|
-
|
|
506
|
+
#appContainer[data-v-9458f3bf] .el-checkbox {
|
|
507
|
+
display: block;
|
|
508
|
+
}
|
|
509
|
+
#appContainer[data-v-9458f3bf] .el-transfer-panel {
|
|
510
|
+
width: 400px;
|
|
511
|
+
}
|
|
512
|
+
#appContainer[data-v-9458f3bf] .ellipsis {
|
|
513
|
+
display: inline-block;
|
|
514
|
+
overflow: hidden;
|
|
515
|
+
text-overflow: ellipsis;
|
|
516
|
+
white-space: nowrap;
|
|
517
|
+
word-break: keep-all;
|
|
518
|
+
width: 55%;
|
|
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,11 +39,10 @@ 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
|
-
name: '
|
|
45
|
+
name: 'AgilebuilderUi',
|
|
70
46
|
//不用打包成.es.js,这里我们想把它打包成.js
|
|
71
47
|
entryFileNames: 'index.full.min.js',
|
|
72
48
|
//让打包目录和源码目录对应,如果为false就会只生成一个js文件包含所有内容
|
|
@@ -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
|
+
|