workflow-editor 0.0.81-up-tmp21 → 0.0.81-up-tmp23
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 +316 -318
- package/dist/style.css +5 -5
- package/es/index.mjs +13 -14
- package/es/style.css +141 -141
- package/es/workflow-editor/index.mjs +6 -4
- package/es/{workflow-history → workflow-editor}/src/workflow-history.vue.mjs +10 -10
- package/lib/index.cjs +7 -7
- package/lib/style.css +144 -144
- package/lib/workflow-editor/index.cjs +4 -4
- package/lib/{workflow-history → workflow-editor}/src/workflow-history.vue.cjs +3 -3
- package/package.json +1 -1
- package/es/workflow-history/index.mjs +0 -8
- package/lib/workflow-history/index.cjs +0 -7
- /package/es/{workflow-history → workflow-editor}/src/workflow-history.vue2.mjs +0 -0
- /package/lib/{workflow-history → workflow-editor}/src/workflow-history.vue2.cjs +0 -0
package/lib/style.css
CHANGED
|
@@ -1,29 +1,4 @@
|
|
|
1
|
-
@charset "UTF-8"
|
|
2
|
-
position: relative;
|
|
3
|
-
display: flex;
|
|
4
|
-
height: 100%;
|
|
5
|
-
width: 100%;
|
|
6
|
-
}
|
|
7
|
-
.canvas-container[data-v-14c5e870] {
|
|
8
|
-
position: relative;
|
|
9
|
-
height: 100%;
|
|
10
|
-
width: 100%;
|
|
11
|
-
}
|
|
12
|
-
section[data-v-14c5e870] {
|
|
13
|
-
overflow: hidden;
|
|
14
|
-
width: 100%;
|
|
15
|
-
height: 100%;
|
|
16
|
-
padding: 0;
|
|
17
|
-
}
|
|
18
|
-
.canvas[data-v-14c5e870] {
|
|
19
|
-
overflow: auto;
|
|
20
|
-
height: 100%;
|
|
21
|
-
padding: 0;
|
|
22
|
-
min-height: 500px;
|
|
23
|
-
}
|
|
24
|
-
.canvas[data-v-14c5e870] .draggable {
|
|
25
|
-
cursor: default;
|
|
26
|
-
}
|
|
1
|
+
@charset "UTF-8";
|
|
27
2
|
.button-area[data-v-865cb4ee] {
|
|
28
3
|
padding: 5px 0 5px 5px;
|
|
29
4
|
height: 50px;
|
|
@@ -125,6 +100,45 @@ pre[data-v-865cb4ee] {
|
|
|
125
100
|
/* 去掉卡片和tab表头的距离 */
|
|
126
101
|
[data-v-865cb4ee] .el-tabs__header {
|
|
127
102
|
margin: 0;
|
|
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%;
|
|
118
|
+
padding: 0;
|
|
119
|
+
}
|
|
120
|
+
.canvas[data-v-6658e14b] {
|
|
121
|
+
overflow: auto;
|
|
122
|
+
height: 100%;
|
|
123
|
+
padding: 0;
|
|
124
|
+
min-height: 500px;
|
|
125
|
+
}
|
|
126
|
+
.canvas[data-v-6658e14b] .draggable {
|
|
127
|
+
cursor: default;
|
|
128
|
+
}h3[data-v-0d941719] {
|
|
129
|
+
color: #999999;
|
|
130
|
+
margin: 0;
|
|
131
|
+
padding: 0;
|
|
132
|
+
font-weight: bold;
|
|
133
|
+
font-size: 18px;
|
|
134
|
+
}
|
|
135
|
+
.el-button[data-v-0d941719] {
|
|
136
|
+
margin: 6px 0;
|
|
137
|
+
min-width: 110px;
|
|
138
|
+
padding: 9px 15px;
|
|
139
|
+
}
|
|
140
|
+
.el-button i[data-v-0d941719] {
|
|
141
|
+
padding-right: 4px;
|
|
128
142
|
}
|
|
129
143
|
#svg{
|
|
130
144
|
/* border:1px solid red; */
|
|
@@ -172,21 +186,15 @@ g text{
|
|
|
172
186
|
.current-tache text{
|
|
173
187
|
fill: white
|
|
174
188
|
}
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
min-width: 110px;
|
|
185
|
-
padding: 9px 15px;
|
|
186
|
-
}
|
|
187
|
-
.el-button i[data-v-0d941719] {
|
|
188
|
-
padding-right: 4px;
|
|
189
|
-
}
|
|
189
|
+
|
|
190
|
+
.svg-icon {
|
|
191
|
+
width: 1em;
|
|
192
|
+
height: 1em;
|
|
193
|
+
vertical-align: -0.15em;
|
|
194
|
+
fill: currentColor;
|
|
195
|
+
overflow: hidden;
|
|
196
|
+
}
|
|
197
|
+
|
|
190
198
|
#svg{
|
|
191
199
|
/* border:1px solid red; */
|
|
192
200
|
background: white;
|
|
@@ -217,14 +225,6 @@ g text{
|
|
|
217
225
|
stroke: #666;
|
|
218
226
|
stroke-width: 2;
|
|
219
227
|
}
|
|
220
|
-
|
|
221
|
-
.svg-icon {
|
|
222
|
-
width: 1em;
|
|
223
|
-
height: 1em;
|
|
224
|
-
vertical-align: -0.15em;
|
|
225
|
-
fill: currentColor;
|
|
226
|
-
overflow: hidden;
|
|
227
|
-
}
|
|
228
228
|
li[data-v-7e8a1cf6] {
|
|
229
229
|
color: #333;
|
|
230
230
|
}
|
|
@@ -273,35 +273,6 @@ li[data-v-7e8a1cf6] {
|
|
|
273
273
|
stroke-width: 0;
|
|
274
274
|
fill:#fff;
|
|
275
275
|
}
|
|
276
|
-
|
|
277
|
-
.human-decision{
|
|
278
|
-
stroke-width: 0;
|
|
279
|
-
fill:#fff;
|
|
280
|
-
}
|
|
281
|
-
|
|
282
|
-
.decision{
|
|
283
|
-
stroke-width: 0;
|
|
284
|
-
fill:#fff;
|
|
285
|
-
}
|
|
286
|
-
|
|
287
|
-
.transition[data-v-a1576cad] {
|
|
288
|
-
stroke-width: 2;
|
|
289
|
-
stroke: #666;
|
|
290
|
-
fill: none;
|
|
291
|
-
cursor: pointer;
|
|
292
|
-
}
|
|
293
|
-
.selected[data-v-a1576cad] {
|
|
294
|
-
stroke: red;
|
|
295
|
-
}
|
|
296
|
-
.transition-dragger[data-v-a1576cad] {
|
|
297
|
-
stroke: red;
|
|
298
|
-
stroke-width: 1;
|
|
299
|
-
fill: white;
|
|
300
|
-
cursor: move;
|
|
301
|
-
}
|
|
302
|
-
.no-events[data-v-a1576cad] {
|
|
303
|
-
pointer-events: none;
|
|
304
|
-
}
|
|
305
276
|
#_subprocess-content[data-v-2b195c05] {
|
|
306
277
|
width: 100%;
|
|
307
278
|
height: calc(100vh - 200px);
|
|
@@ -320,6 +291,30 @@ li[data-v-7e8a1cf6] {
|
|
|
320
291
|
box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
|
|
321
292
|
word-break: break-all;
|
|
322
293
|
}
|
|
294
|
+
.human-decision{
|
|
295
|
+
stroke-width: 0;
|
|
296
|
+
fill:#fff;
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.selection-region{
|
|
300
|
+
stroke: blue;
|
|
301
|
+
stroke-width: 1;
|
|
302
|
+
fill: white;
|
|
303
|
+
fill-opacity: 0;
|
|
304
|
+
opacity: 1;
|
|
305
|
+
cursor: move;
|
|
306
|
+
}
|
|
307
|
+
.dashed{
|
|
308
|
+
stroke-dasharray: 10 2;
|
|
309
|
+
/* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
|
|
310
|
+
pointer-events:none;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.decision{
|
|
314
|
+
stroke-width: 0;
|
|
315
|
+
fill:#fff;
|
|
316
|
+
}
|
|
317
|
+
|
|
323
318
|
.virtual-transition{
|
|
324
319
|
stroke-width: 2;
|
|
325
320
|
stroke:#000;
|
|
@@ -331,31 +326,41 @@ li[data-v-7e8a1cf6] {
|
|
|
331
326
|
.properties-editor[data-v-1651d82a] .el-dialog__body {
|
|
332
327
|
padding-top: 0;
|
|
333
328
|
}
|
|
329
|
+
|
|
330
|
+
.transition[data-v-a1576cad] {
|
|
331
|
+
stroke-width: 2;
|
|
332
|
+
stroke: #666;
|
|
333
|
+
fill: none;
|
|
334
|
+
cursor: pointer;
|
|
335
|
+
}
|
|
336
|
+
.selected[data-v-a1576cad] {
|
|
337
|
+
stroke: red;
|
|
338
|
+
}
|
|
339
|
+
.transition-dragger[data-v-a1576cad] {
|
|
340
|
+
stroke: red;
|
|
341
|
+
stroke-width: 1;
|
|
342
|
+
fill: white;
|
|
343
|
+
cursor: move;
|
|
344
|
+
}
|
|
345
|
+
.no-events[data-v-a1576cad] {
|
|
346
|
+
pointer-events: none;
|
|
347
|
+
}
|
|
334
348
|
|
|
335
349
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
336
350
|
.properties-editor[data-v-0e44fe8c] .el-dialog__body{
|
|
337
351
|
padding-top: 0
|
|
338
352
|
}
|
|
339
|
-
|
|
340
|
-
.selection-region{
|
|
341
|
-
stroke: blue;
|
|
342
|
-
stroke-width: 1;
|
|
343
|
-
fill: white;
|
|
344
|
-
fill-opacity: 0;
|
|
345
|
-
opacity: 1;
|
|
346
|
-
cursor: move;
|
|
347
|
-
}
|
|
348
|
-
.dashed{
|
|
349
|
-
stroke-dasharray: 10 2;
|
|
350
|
-
/* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
|
|
351
|
-
pointer-events:none;
|
|
352
|
-
}
|
|
353
353
|
|
|
354
354
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
355
355
|
.properties-editor[data-v-af76d417] .el-dialog__body{
|
|
356
356
|
padding-top: 0
|
|
357
357
|
}
|
|
358
358
|
|
|
359
|
+
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
360
|
+
.properties-editor[data-v-adb7c2ff] .el-dialog__body{
|
|
361
|
+
padding-top: 0
|
|
362
|
+
}
|
|
363
|
+
|
|
359
364
|
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
360
365
|
.properties-editor[data-v-bd66d235] .el-dialog__body{
|
|
361
366
|
padding-top: 0
|
|
@@ -375,11 +380,6 @@ li[data-v-7e8a1cf6] {
|
|
|
375
380
|
stroke-width:1px;
|
|
376
381
|
fill-opacity: 1;
|
|
377
382
|
}
|
|
378
|
-
|
|
379
|
-
/* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
|
|
380
|
-
.properties-editor[data-v-adb7c2ff] .el-dialog__body{
|
|
381
|
-
padding-top: 0
|
|
382
|
-
}
|
|
383
383
|
|
|
384
384
|
.resizer{
|
|
385
385
|
stroke: blue;
|
|
@@ -387,26 +387,6 @@ li[data-v-7e8a1cf6] {
|
|
|
387
387
|
fill: white;
|
|
388
388
|
}
|
|
389
389
|
|
|
390
|
-
.control-point[data-v-788fb0ae]{
|
|
391
|
-
fill: #fff;
|
|
392
|
-
cursor: move;
|
|
393
|
-
}
|
|
394
|
-
.control-line[data-v-788fb0ae] {
|
|
395
|
-
stroke-dasharray: 2 2
|
|
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
|
-
.el-checkbox[data-v-c019538f]{
|
|
407
|
-
margin-left: 20px;
|
|
408
|
-
}
|
|
409
|
-
|
|
410
390
|
.percent[data-v-a219b06d] {
|
|
411
391
|
margin-left: 10px;
|
|
412
392
|
color: red;
|
|
@@ -422,36 +402,36 @@ ul li[data-v-39fac73c] {
|
|
|
422
402
|
.sub-li[data-v-39fac73c] {
|
|
423
403
|
padding-left: 10px;
|
|
424
404
|
}
|
|
425
|
-
.
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
405
|
+
.el-checkbox[data-v-c019538f]{
|
|
406
|
+
margin-left: 20px;
|
|
407
|
+
}
|
|
408
|
+
|
|
409
|
+
.control-point[data-v-788fb0ae]{
|
|
410
|
+
fill: #fff;
|
|
411
|
+
cursor: move;
|
|
412
|
+
}
|
|
413
|
+
.control-line[data-v-788fb0ae] {
|
|
414
|
+
stroke-dasharray: 2 2
|
|
415
|
+
}
|
|
416
|
+
|
|
417
|
+
.control-point[data-v-0ff53a0a]{
|
|
418
|
+
fill: #fff;
|
|
419
|
+
cursor: move;
|
|
420
|
+
}
|
|
421
|
+
.control-line[data-v-0ff53a0a] {
|
|
422
|
+
stroke-dasharray: 2 2
|
|
429
423
|
}
|
|
430
424
|
|
|
431
425
|
.el-checkbox[data-v-5fb29fef]{
|
|
432
426
|
margin-left: 20px;
|
|
433
427
|
}
|
|
434
428
|
|
|
435
|
-
.percent[data-v-
|
|
429
|
+
.percent[data-v-c1c7385b]{
|
|
436
430
|
margin-left: 10px;
|
|
437
431
|
color:red;
|
|
438
432
|
font-size:1.2em;
|
|
439
433
|
}
|
|
440
|
-
|
|
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
|
-
}
|
|
434
|
+
|
|
455
435
|
.el-tag + .el-tag[data-v-aaf48aff] {
|
|
456
436
|
margin-left: 10px;
|
|
457
437
|
}
|
|
@@ -474,6 +454,26 @@ select[data-v-aaf48aff]{
|
|
|
474
454
|
line-height: 32px;
|
|
475
455
|
}
|
|
476
456
|
|
|
457
|
+
.percent[data-v-6aef99ff]{
|
|
458
|
+
margin-left: 10px;
|
|
459
|
+
color:red;
|
|
460
|
+
font-size:1.2em;
|
|
461
|
+
}
|
|
462
|
+
.group[data-v-98300543] {
|
|
463
|
+
font-size: 14px;
|
|
464
|
+
width: 100%;
|
|
465
|
+
}
|
|
466
|
+
.item[data-v-98300543] {
|
|
467
|
+
float: left;
|
|
468
|
+
list-style-type: none;
|
|
469
|
+
width: 33.33%;
|
|
470
|
+
margin-bottom: 18px;
|
|
471
|
+
}
|
|
472
|
+
.item-content[data-v-98300543] {
|
|
473
|
+
height: calc(100vh - 300px);
|
|
474
|
+
padding-left: 20px;
|
|
475
|
+
overflow: auto;
|
|
476
|
+
}
|
|
477
477
|
span[data-v-4e29ea06] {
|
|
478
478
|
margin: 0 10px;
|
|
479
479
|
}
|
|
@@ -491,6 +491,13 @@ span[data-v-4e29ea06] {
|
|
|
491
491
|
word-break: keep-all;
|
|
492
492
|
width: 55%;
|
|
493
493
|
}
|
|
494
|
+
.searchResult {
|
|
495
|
+
color:red
|
|
496
|
+
}
|
|
497
|
+
.inline-input-custom {
|
|
498
|
+
width : 90%
|
|
499
|
+
}
|
|
500
|
+
|
|
494
501
|
#custTabOne[data-v-7feaa2da] .el-tabs__content {
|
|
495
502
|
height: 500px;
|
|
496
503
|
}
|
|
@@ -516,10 +523,3 @@ span[data-v-4e29ea06] {
|
|
|
516
523
|
.inline-input-custom {
|
|
517
524
|
width : 90%
|
|
518
525
|
}
|
|
519
|
-
|
|
520
|
-
.searchResult {
|
|
521
|
-
color:red
|
|
522
|
-
}
|
|
523
|
-
.inline-input-custom {
|
|
524
|
-
width : 90%
|
|
525
|
-
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
const o = require("./src/workflow-editor.vue.cjs");
|
|
3
|
-
o.install = function(
|
|
4
|
-
|
|
2
|
+
const o = require("./src/workflow-editor.vue.cjs"), r = require("./src/store/workflow-editor.cjs"), e = require("./src/workflow-history.vue.cjs");
|
|
3
|
+
o.install = function(r2) {
|
|
4
|
+
r2.component(o.name, o), r2.component(e.name, e);
|
|
5
5
|
};
|
|
6
|
-
const t = { WorkflowEditor: o };
|
|
6
|
+
const t = { WorkflowEditor: o, WorkflowHistory: e, wfEditorStore: r };
|
|
7
7
|
module.exports = t;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
-
require("
|
|
3
|
-
const e = require("vuex"), s = require("
|
|
2
|
+
require("./assets/wf-editor-icons.cjs");
|
|
3
|
+
const e = require("vuex"), s = require("./util.cjs"), t = require("./main/wf-history-canvas.vue.cjs"), r = require("xml-js"), o = require("./api.cjs"), i = require("vue");
|
|
4
4
|
require("./workflow-history.vue2.cjs");
|
|
5
5
|
const n = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { name: "WorkflowHistory", components: { WfHistoryCanvas: t }, props: { id: { type: Number, default: null } }, data: function() {
|
|
6
6
|
return { process: null, histories: [], currentTasks: [], allProcessI18n: null };
|
|
@@ -24,5 +24,5 @@ const n = require("../../_virtual/_plugin-vue_export-helper.cjs"), c = { name: "
|
|
|
24
24
|
const u = n(c, [["render", function(e2, s2, t2, r2, o2, n2) {
|
|
25
25
|
const c2 = i.resolveComponent("wf-history-canvas");
|
|
26
26
|
return i.openBlock(), i.createElementBlock("div", a, [i.createElementVNode("div", l, [i.createElementVNode("section", null, [i.createVNode(c2, { onselectstart: "return false", process: e2.process, histories: e2.histories, "current-tasks": e2.currentTasks, "all-process-i18n": e2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: i.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
|
|
27
|
-
}], ["__scopeId", "data-v-
|
|
27
|
+
}], ["__scopeId", "data-v-6658e14b"]]);
|
|
28
28
|
module.exports = u;
|
package/package.json
CHANGED
|
File without changes
|
|
File without changes
|