workflow-editor 0.0.81-up-tmp6 → 0.0.81-up-tmp8

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/index.mjs CHANGED
@@ -1,18 +1,19 @@
1
- import o from "./workflow-editor/index.mjs";
1
+ import o from "./workflow-editor/src/workflow-editor.vue.mjs";
2
2
  import { default as default2 } from "./workflow-editor/src/store/workflow-editor.mjs";
3
- import r from "./plugins/index.mjs";
3
+ import r from "./workflow-editor/src/workflow-history.vue.mjs";
4
+ import t from "./plugins/index.mjs";
4
5
  import { default as default3 } from "./src/i18n/langs/cn.mjs";
5
6
  import { default as default4 } from "./src/i18n/langs/en.mjs";
6
- const t = o.WorkflowEditor, e = o.WorkflowHistory, s = [t, e], f = function(o2) {
7
- f.installed || (s.forEach((r2) => {
7
+ const e = [o, r], s = function(o2) {
8
+ s.installed || (e.forEach((r2) => {
8
9
  o2.component(r2.name, r2);
9
- }), o2.use(r));
10
+ }), o2.use(t));
10
11
  };
11
12
  export {
12
- t as WorkflowEditor,
13
- e as WorkflowHistory,
13
+ o as WorkflowEditor,
14
+ r as WorkflowHistory,
14
15
  default3 as wfEditorCn,
15
16
  default4 as wfEditorEn,
16
- f as wfEditorInstall,
17
+ s as wfEditorInstall,
17
18
  default2 as wfEditorStore
18
19
  };
package/es/style.css CHANGED
@@ -1,4 +1,43 @@
1
- @charset "UTF-8";
1
+ @charset "UTF-8";.main[data-v-6658e14b] {
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
+ }h3[data-v-0d941719] {
27
+ color: #999999;
28
+ margin: 0;
29
+ padding: 0;
30
+ font-weight: bold;
31
+ font-size: 18px;
32
+ }
33
+ .el-button[data-v-0d941719] {
34
+ margin: 6px 0;
35
+ min-width: 110px;
36
+ padding: 9px 15px;
37
+ }
38
+ .el-button i[data-v-0d941719] {
39
+ padding-right: 4px;
40
+ }
2
41
  .button-area[data-v-865cb4ee] {
3
42
  padding: 5px 0 5px 5px;
4
43
  height: 50px;
@@ -100,31 +139,6 @@ pre[data-v-865cb4ee] {
100
139
  /* 去掉卡片和tab表头的距离 */
101
140
  [data-v-865cb4ee] .el-tabs__header {
102
141
  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
142
  }
129
143
  #svg{
130
144
  /* border:1px solid red; */
@@ -155,37 +169,43 @@ g text{
155
169
  fill: #fff;
156
170
  stroke: #666;
157
171
  stroke-width: 2;
172
+ }
173
+
174
+ .svg-icon {
175
+ width: 1em;
176
+ height: 1em;
177
+ vertical-align: -0.15em;
178
+ fill: currentColor;
179
+ overflow: hidden;
180
+ }
181
+ li[data-v-7e8a1cf6] {
182
+ color: #333;
158
183
  }
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;
184
+ .context-menu[data-v-7e8a1cf6] {
185
+ position: fixed;
186
+ background: #fff;
187
+ z-index: 999;
188
+ padding: 5px;
189
+ margin: 0;
168
190
  }
169
- .passed-tache text{
170
- fill:white;
191
+ .context-menu li[data-v-7e8a1cf6] {
192
+ min-width: 75px;
193
+ height: 28px;
194
+ line-height: 28px;
195
+ text-align: left;
196
+ color: #1a1a1a;
171
197
  }
172
- .current-tache text{
173
- fill: white
174
- }
175
- h3[data-v-0d941719] {
176
- color: #999999;
177
- margin: 0;
178
- padding: 0;
179
- font-weight: bold;
180
- font-size: 18px;
198
+ .context-menu li[data-v-7e8a1cf6]:hover {
199
+ background: #42b983;
200
+ color: #fff;
181
201
  }
182
- .el-button[data-v-0d941719] {
183
- margin: 6px 0;
184
- min-width: 110px;
185
- padding: 9px 15px;
202
+ .context-menu[data-v-7e8a1cf6] {
203
+ border: 1px solid #eee;
204
+ box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
205
+ border-radius: 5px;
186
206
  }
187
- .el-button i[data-v-0d941719] {
188
- padding-right: 4px;
207
+ li[data-v-7e8a1cf6] {
208
+ list-style-type: none;
189
209
  }
190
210
  #svg{
191
211
  /* border:1px solid red; */
@@ -216,44 +236,24 @@ g text{
216
236
  fill: #fff;
217
237
  stroke: #666;
218
238
  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;
230
239
  }
231
- .context-menu[data-v-7e8a1cf6] {
232
- position: fixed;
233
- background: #fff;
234
- z-index: 999;
235
- padding: 5px;
236
- margin: 0;
237
- }
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;
244
- }
245
- .context-menu li[data-v-7e8a1cf6]:hover {
246
- background: #42b983;
247
- color: #fff;
240
+ .passed-tache .task-tache{
241
+ fill: green;
242
+ stroke: green;
243
+ stroke-width: 2;
248
244
  }
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;
245
+ .current-tache .task-tache{
246
+ fill: red;
247
+ stroke: red;
248
+ stroke-width: 2;
253
249
  }
254
- li[data-v-7e8a1cf6] {
255
- list-style-type: none;
250
+ .passed-tache text{
251
+ fill:white;
256
252
  }
253
+ .current-tache text{
254
+ fill: white
255
+ }
256
+
257
257
  .start{
258
258
  stroke-width: 0;
259
259
  fill:#fff;
@@ -278,29 +278,33 @@ li[data-v-7e8a1cf6] {
278
278
  stroke-width: 0;
279
279
  fill:#fff;
280
280
  }
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
- }
281
+
299
282
  .human-decision{
300
283
  stroke-width: 0;
301
284
  fill:#fff;
302
285
  }
303
286
 
287
+ .selection-region{
288
+ stroke: blue;
289
+ stroke-width: 1;
290
+ fill: white;
291
+ fill-opacity: 0;
292
+ opacity: 1;
293
+ cursor: move;
294
+ }
295
+ .dashed{
296
+ stroke-dasharray: 10 2;
297
+ /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
298
+ pointer-events:none;
299
+ }
300
+
301
+ .virtual-transition{
302
+ stroke-width: 2;
303
+ stroke:#000;
304
+ stroke-dasharray: 2 2;
305
+ fill: none;
306
+ }
307
+
304
308
  .transition[data-v-a1576cad] {
305
309
  stroke-width: 2;
306
310
  stroke: #666;
@@ -324,35 +328,28 @@ li[data-v-7e8a1cf6] {
324
328
  .properties-editor[data-v-1651d82a] .el-dialog__body {
325
329
  padding-top: 0;
326
330
  }
327
-
328
- .virtual-transition{
329
- stroke-width: 2;
330
- stroke:#000;
331
- stroke-dasharray: 2 2;
332
- fill: none;
333
- }
334
-
335
- .selection-region{
336
- stroke: blue;
337
- stroke-width: 1;
338
- fill: white;
339
- fill-opacity: 0;
340
- opacity: 1;
341
- cursor: move;
342
- }
343
- .dashed{
344
- stroke-dasharray: 10 2;
345
- /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
346
- pointer-events:none;
347
- }
348
331
 
349
332
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
350
333
  .properties-editor[data-v-0e44fe8c] .el-dialog__body{
351
334
  padding-top: 0
352
335
  }
353
-
336
+ .tooltip[data-v-ac799913] {
337
+ position: absolute;
338
+ background: #fff;
339
+ min-width: 150px;
340
+ border-radius: 4px;
341
+ border: 1px solid #ebeef5;
342
+ padding: 12px;
343
+ z-index: 2000;
344
+ color: #606266;
345
+ line-height: 1.4;
346
+ text-align: justify;
347
+ font-size: 14px;
348
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
349
+ word-break: break-all;
350
+ }
354
351
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
355
- .properties-editor[data-v-af76d417] .el-dialog__body{
352
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
356
353
  padding-top: 0
357
354
  }
358
355
 
@@ -362,9 +359,34 @@ li[data-v-7e8a1cf6] {
362
359
  }
363
360
 
364
361
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
362
+ .properties-editor[data-v-af76d417] .el-dialog__body{
366
363
  padding-top: 0
367
364
  }
365
+ #_subprocess-content[data-v-2b195c05] {
366
+ width: 100%;
367
+ height: calc(100vh - 200px);
368
+ }
369
+ .control-point[data-v-0ff53a0a]{
370
+ fill: #fff;
371
+ cursor: move;
372
+ }
373
+ .control-line[data-v-0ff53a0a] {
374
+ stroke-dasharray: 2 2
375
+ }
376
+
377
+ .percent[data-v-a219b06d] {
378
+ margin-left: 10px;
379
+ color: red;
380
+ font-size: 1.2em;
381
+ }
382
+
383
+ .control-point[data-v-788fb0ae]{
384
+ fill: #fff;
385
+ cursor: move;
386
+ }
387
+ .control-line[data-v-788fb0ae] {
388
+ stroke-dasharray: 2 2
389
+ }
368
390
 
369
391
  .joint-container{
370
392
  stroke-width: 0;
@@ -390,20 +412,6 @@ li[data-v-7e8a1cf6] {
390
412
  .el-checkbox[data-v-c019538f]{
391
413
  margin-left: 20px;
392
414
  }
393
-
394
- .percent[data-v-a219b06d] {
395
- margin-left: 10px;
396
- color: red;
397
- font-size: 1.2em;
398
- }
399
-
400
- .control-point[data-v-788fb0ae]{
401
- fill: #fff;
402
- cursor: move;
403
- }
404
- .control-line[data-v-788fb0ae] {
405
- stroke-dasharray: 2 2
406
- }
407
415
  ul[data-v-39fac73c] {
408
416
  margin: 0;
409
417
  padding: 0;
@@ -414,44 +422,12 @@ ul li[data-v-39fac73c] {
414
422
  .sub-li[data-v-39fac73c] {
415
423
  padding-left: 10px;
416
424
  }
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
- }
424
-
425
- .el-checkbox[data-v-5fb29fef]{
426
- margin-left: 20px;
427
- }
428
-
429
425
  .percent[data-v-c1c7385b]{
430
426
  margin-left: 10px;
431
427
  color:red;
432
428
  font-size:1.2em;
433
429
  }
434
430
 
435
- .percent[data-v-6aef99ff]{
436
- margin-left: 10px;
437
- color:red;
438
- font-size:1.2em;
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
- }
455
431
  .el-tag + .el-tag[data-v-aaf48aff] {
456
432
  margin-left: 10px;
457
433
  }
@@ -474,10 +450,47 @@ select[data-v-aaf48aff]{
474
450
  line-height: 32px;
475
451
  }
476
452
 
453
+ .percent[data-v-6aef99ff]{
454
+ margin-left: 10px;
455
+ color:red;
456
+ font-size:1.2em;
457
+ }
458
+
459
+ .el-checkbox[data-v-5fb29fef]{
460
+ margin-left: 20px;
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
  }
480
-
480
+ #appContainer[data-v-9458f3bf] .el-checkbox {
481
+ display: block;
482
+ }
483
+ #appContainer[data-v-9458f3bf] .el-transfer-panel {
484
+ width: 400px;
485
+ }
486
+ #appContainer[data-v-9458f3bf] .ellipsis {
487
+ display: inline-block;
488
+ overflow: hidden;
489
+ text-overflow: ellipsis;
490
+ white-space: nowrap;
491
+ word-break: keep-all;
492
+ width: 55%;
493
+ }
481
494
  .searchResult {
482
495
  color:red
483
496
  }
@@ -503,20 +516,7 @@ span[data-v-4e29ea06] {
503
516
  padding-left: 20px;
504
517
  overflow: auto;
505
518
  }
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
- }
519
+
520
520
  .searchResult {
521
521
  color:red
522
522
  }
package/lib/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const r = require("./workflow-editor/index.cjs"), o = require("./workflow-editor/src/store/workflow-editor.cjs"), e = require("./plugins/index.cjs"), t = require("./src/i18n/langs/cn.cjs"), s = require("./src/i18n/langs/en.cjs"), i = r.WorkflowEditor, n = r.WorkflowHistory, l = [i, n], c = function(r2) {
4
- c.installed || (l.forEach((o2) => {
3
+ const r = require("./workflow-editor/src/workflow-editor.vue.cjs"), o = require("./workflow-editor/src/store/workflow-editor.cjs"), e = require("./workflow-editor/src/workflow-history.vue.cjs"), t = require("./plugins/index.cjs"), s = require("./src/i18n/langs/cn.cjs"), i = require("./src/i18n/langs/en.cjs"), n = [r, e], c = function(r2) {
4
+ c.installed || (n.forEach((o2) => {
5
5
  r2.component(o2.name, o2);
6
- }), r2.use(e));
6
+ }), r2.use(t));
7
7
  };
8
- exports.wfEditorStore = o, exports.wfEditorCn = t, exports.wfEditorEn = s, exports.WorkflowEditor = i, exports.WorkflowHistory = n, exports.wfEditorInstall = c;
8
+ exports.WorkflowEditor = r, exports.wfEditorStore = o, exports.WorkflowHistory = e, exports.wfEditorCn = s, exports.wfEditorEn = i, exports.wfEditorInstall = c;