workflow-editor 0.0.81-up-tmp7 → 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,22 +169,6 @@ g text{
155
169
  fill: #fff;
156
170
  stroke: #666;
157
171
  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
174
172
  }
175
173
 
176
174
  .svg-icon {
@@ -180,21 +178,7 @@ g text{
180
178
  fill: currentColor;
181
179
  overflow: hidden;
182
180
  }
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] {
181
+ li[data-v-7e8a1cf6] {
198
182
  color: #333;
199
183
  }
200
184
  .context-menu[data-v-7e8a1cf6] {
@@ -252,6 +236,22 @@ g text{
252
236
  fill: #fff;
253
237
  stroke: #666;
254
238
  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
255
  }
256
256
 
257
257
  .start{
@@ -259,6 +259,11 @@ g text{
259
259
  fill:#fff;
260
260
  }
261
261
 
262
+ .end{
263
+ stroke-width: 0;
264
+ fill:#fff;
265
+ }
266
+
262
267
  .decision{
263
268
  stroke-width: 0;
264
269
  fill:#fff;
@@ -274,6 +279,32 @@ g text{
274
279
  fill:#fff;
275
280
  }
276
281
 
282
+ .human-decision{
283
+ stroke-width: 0;
284
+ fill:#fff;
285
+ }
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
+
277
308
  .transition[data-v-a1576cad] {
278
309
  stroke-width: 2;
279
310
  stroke: #666;
@@ -292,15 +323,17 @@ g text{
292
323
  .no-events[data-v-a1576cad] {
293
324
  pointer-events: none;
294
325
  }
295
-
296
- .human-decision{
297
- stroke-width: 0;
298
- fill:#fff;
326
+
327
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
328
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
329
+ padding-top: 0;
299
330
  }
300
- #_subprocess-content[data-v-2b195c05] {
301
- width: 100%;
302
- height: calc(100vh - 200px);
303
- }.tooltip[data-v-ac799913] {
331
+
332
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
333
+ .properties-editor[data-v-0e44fe8c] .el-dialog__body{
334
+ padding-top: 0
335
+ }
336
+ .tooltip[data-v-ac799913] {
304
337
  position: absolute;
305
338
  background: #fff;
306
339
  min-width: 150px;
@@ -314,40 +347,14 @@ g text{
314
347
  font-size: 14px;
315
348
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
316
349
  word-break: break-all;
317
- }
318
- .end{
319
- stroke-width: 0;
320
- fill:#fff;
321
- }
322
-
323
- .virtual-transition{
324
- stroke-width: 2;
325
- stroke:#000;
326
- stroke-dasharray: 2 2;
327
- fill: none;
328
350
  }
329
-
330
- .selection-region{
331
- stroke: blue;
332
- stroke-width: 1;
333
- fill: white;
334
- fill-opacity: 0;
335
- opacity: 1;
336
- cursor: move;
337
- }
338
- .dashed{
339
- stroke-dasharray: 10 2;
340
- /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
341
- pointer-events:none;
342
- }
343
-
344
351
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
345
- .properties-editor[data-v-1651d82a] .el-dialog__body {
346
- padding-top: 0;
352
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
353
+ padding-top: 0
347
354
  }
348
355
 
349
356
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
350
- .properties-editor[data-v-0e44fe8c] .el-dialog__body{
357
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
351
358
  padding-top: 0
352
359
  }
353
360
 
@@ -355,15 +362,30 @@ g text{
355
362
  .properties-editor[data-v-af76d417] .el-dialog__body{
356
363
  padding-top: 0
357
364
  }
358
-
359
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
- padding-top: 0
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
362
375
  }
363
-
364
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-bd66d235] .el-dialog__body{
366
- padding-top: 0
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
367
389
  }
368
390
 
369
391
  .joint-container{
@@ -387,28 +409,6 @@ g text{
387
409
  fill: white;
388
410
  }
389
411
 
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
- .percent[data-v-a219b06d] {
407
- margin-left: 10px;
408
- color: red;
409
- font-size: 1.2em;
410
- }
411
-
412
412
  .el-checkbox[data-v-c019538f]{
413
413
  margin-left: 20px;
414
414
  }
@@ -422,13 +422,35 @@ ul li[data-v-39fac73c] {
422
422
  .sub-li[data-v-39fac73c] {
423
423
  padding-left: 10px;
424
424
  }
425
- .percent[data-v-6aef99ff]{
425
+ .percent[data-v-c1c7385b]{
426
426
  margin-left: 10px;
427
427
  color:red;
428
428
  font-size:1.2em;
429
429
  }
430
430
 
431
- .percent[data-v-c1c7385b]{
431
+ .el-tag + .el-tag[data-v-aaf48aff] {
432
+ margin-left: 10px;
433
+ }
434
+ .button-new-tag[data-v-aaf48aff] {
435
+ margin-left: 10px;
436
+ height: 32px;
437
+ line-height: 30px;
438
+ padding-top: 0;
439
+ padding-bottom: 0;
440
+ }
441
+ .input-new-tag[data-v-aaf48aff] {
442
+ width: 150px;
443
+ margin-left: 10px;
444
+ vertical-align: bottom;
445
+ }
446
+ select[data-v-aaf48aff]{
447
+ width: 150px;
448
+ margin-left: 10px;
449
+ height: 32px;
450
+ line-height: 32px;
451
+ }
452
+
453
+ .percent[data-v-6aef99ff]{
432
454
  margin-left: 10px;
433
455
  color:red;
434
456
  font-size:1.2em;
@@ -452,30 +474,28 @@ ul li[data-v-39fac73c] {
452
474
  padding-left: 20px;
453
475
  overflow: auto;
454
476
  }
455
- .el-tag + .el-tag[data-v-aaf48aff] {
456
- margin-left: 10px;
477
+ span[data-v-4e29ea06] {
478
+ margin: 0 10px;
479
+ }
480
+ #appContainer[data-v-9458f3bf] .el-checkbox {
481
+ display: block;
457
482
  }
458
- .button-new-tag[data-v-aaf48aff] {
459
- margin-left: 10px;
460
- height: 32px;
461
- line-height: 30px;
462
- padding-top: 0;
463
- padding-bottom: 0;
483
+ #appContainer[data-v-9458f3bf] .el-transfer-panel {
484
+ width: 400px;
464
485
  }
465
- .input-new-tag[data-v-aaf48aff] {
466
- width: 150px;
467
- margin-left: 10px;
468
- vertical-align: bottom;
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%;
469
493
  }
470
- select[data-v-aaf48aff]{
471
- width: 150px;
472
- margin-left: 10px;
473
- height: 32px;
474
- line-height: 32px;
475
- }
476
-
477
- span[data-v-4e29ea06] {
478
- margin: 0 10px;
494
+ .searchResult {
495
+ color:red
496
+ }
497
+ .inline-input-custom {
498
+ width : 90%
479
499
  }
480
500
 
481
501
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
@@ -503,23 +523,3 @@ span[data-v-4e29ea06] {
503
523
  .inline-input-custom {
504
524
  width : 90%
505
525
  }
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
- .searchResult {
521
- color:red
522
- }
523
- .inline-input-custom {
524
- width : 90%
525
- }
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;