workflow-editor 0.0.81-up-tmp8 → 0.0.81-up-tmp9

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,19 +1,17 @@
1
- import o from "./workflow-editor/src/workflow-editor.vue.mjs";
2
- import { default as default2 } from "./workflow-editor/src/store/workflow-editor.mjs";
3
- import r from "./workflow-editor/src/workflow-history.vue.mjs";
4
- import t from "./plugins/index.mjs";
5
- import { default as default3 } from "./src/i18n/langs/cn.mjs";
6
- import { default as default4 } from "./src/i18n/langs/en.mjs";
7
- const e = [o, r], s = function(o2) {
8
- s.installed || (e.forEach((r2) => {
1
+ import o from "./workflow-editor/index.mjs";
2
+ import r from "./plugins/index.mjs";
3
+ import { default as default2 } from "./src/i18n/langs/cn.mjs";
4
+ import { default as default3 } from "./src/i18n/langs/en.mjs";
5
+ const n = o.WorkflowEditor, t = o.WorkflowHistory, i = o.wfEditorStore, s = [n, t], e = function(o2) {
6
+ e.installed || (s.forEach((r2) => {
9
7
  o2.component(r2.name, r2);
10
- }), o2.use(t));
8
+ }), o2.use(r));
11
9
  };
12
10
  export {
13
- o as WorkflowEditor,
14
- r as WorkflowHistory,
15
- default3 as wfEditorCn,
16
- default4 as wfEditorEn,
17
- s as wfEditorInstall,
18
- default2 as wfEditorStore
11
+ n as WorkflowEditor,
12
+ t as WorkflowHistory,
13
+ default2 as wfEditorCn,
14
+ default3 as wfEditorEn,
15
+ e as wfEditorInstall,
16
+ i as wfEditorStore
19
17
  };
package/es/style.css CHANGED
@@ -1,43 +1,4 @@
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
- }
1
+ @charset "UTF-8";
41
2
  .button-area[data-v-865cb4ee] {
42
3
  padding: 5px 0 5px 5px;
43
4
  height: 50px;
@@ -139,7 +100,93 @@ pre[data-v-865cb4ee] {
139
100
  /* 去掉卡片和tab表头的距离 */
140
101
  [data-v-865cb4ee] .el-tabs__header {
141
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;
142
+ }
143
+ #svg{
144
+ /* border:1px solid red; */
145
+ background: white;
146
+ background-image:
147
+ linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
148
+ linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
149
+ linear-gradient(#e5e5e5 1px, transparent 0),
150
+ linear-gradient(90deg,#e5e5e5 1px, transparent 0);
151
+ background-size:
152
+ 15px 15px,
153
+ 15px 15px,
154
+ 75px 75px,
155
+ 75px 75px;
156
+ }
157
+ g{
158
+ font-size: 16px;
159
+ }
160
+ g text{
161
+ dominant-baseline: middle;
162
+ }
163
+ .selected{
164
+ fill: #fff;
165
+ stroke: #f00;
166
+ stroke-width: 2;
142
167
  }
168
+ .task-tache{
169
+ fill: #fff;
170
+ stroke: #666;
171
+ stroke-width: 2;
172
+ }
173
+ .passed-tache .task-tache{
174
+ fill: green;
175
+ stroke: green;
176
+ stroke-width: 2;
177
+ }
178
+ .current-tache .task-tache{
179
+ fill: red;
180
+ stroke: red;
181
+ stroke-width: 2;
182
+ }
183
+ .passed-tache text{
184
+ fill:white;
185
+ }
186
+ .current-tache text{
187
+ fill: white
188
+ }
189
+
143
190
  #svg{
144
191
  /* border:1px solid red; */
145
192
  background: white;
@@ -207,63 +254,11 @@ li[data-v-7e8a1cf6] {
207
254
  li[data-v-7e8a1cf6] {
208
255
  list-style-type: none;
209
256
  }
210
- #svg{
211
- /* border:1px solid red; */
212
- background: white;
213
- background-image:
214
- linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
215
- linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
216
- linear-gradient(#e5e5e5 1px, transparent 0),
217
- linear-gradient(90deg,#e5e5e5 1px, transparent 0);
218
- background-size:
219
- 15px 15px,
220
- 15px 15px,
221
- 75px 75px,
222
- 75px 75px;
223
- }
224
- g{
225
- font-size: 16px;
226
- }
227
- g text{
228
- dominant-baseline: middle;
229
- }
230
- .selected{
231
- fill: #fff;
232
- stroke: #f00;
233
- stroke-width: 2;
234
- }
235
- .task-tache{
236
- fill: #fff;
237
- stroke: #666;
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
- }
256
-
257
257
  .start{
258
258
  stroke-width: 0;
259
259
  fill:#fff;
260
260
  }
261
261
 
262
- .end{
263
- stroke-width: 0;
264
- fill:#fff;
265
- }
266
-
267
262
  .decision{
268
263
  stroke-width: 0;
269
264
  fill:#fff;
@@ -284,25 +279,9 @@ g text{
284
279
  fill:#fff;
285
280
  }
286
281
 
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;
282
+ .end{
283
+ stroke-width: 0;
284
+ fill:#fff;
306
285
  }
307
286
 
308
287
  .transition[data-v-a1576cad] {
@@ -323,16 +302,6 @@ g text{
323
302
  .no-events[data-v-a1576cad] {
324
303
  pointer-events: none;
325
304
  }
326
-
327
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
328
- .properties-editor[data-v-1651d82a] .el-dialog__body {
329
- padding-top: 0;
330
- }
331
-
332
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
333
- .properties-editor[data-v-0e44fe8c] .el-dialog__body{
334
- padding-top: 0
335
- }
336
305
  .tooltip[data-v-ac799913] {
337
306
  position: absolute;
338
307
  background: #fff;
@@ -347,14 +316,38 @@ g text{
347
316
  font-size: 14px;
348
317
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
349
318
  word-break: break-all;
319
+ }
320
+ .selection-region{
321
+ stroke: blue;
322
+ stroke-width: 1;
323
+ fill: white;
324
+ fill-opacity: 0;
325
+ opacity: 1;
326
+ cursor: move;
327
+ }
328
+ .dashed{
329
+ stroke-dasharray: 10 2;
330
+ /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
331
+ pointer-events:none;
332
+ }
333
+
334
+ .virtual-transition{
335
+ stroke-width: 2;
336
+ stroke:#000;
337
+ stroke-dasharray: 2 2;
338
+ fill: none;
339
+ }
340
+ #_subprocess-content[data-v-2b195c05] {
341
+ width: 100%;
342
+ height: calc(100vh - 200px);
350
343
  }
351
344
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
352
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
353
- padding-top: 0
345
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
346
+ padding-top: 0;
354
347
  }
355
348
 
356
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
357
- .properties-editor[data-v-bd66d235] .el-dialog__body{
350
+ .properties-editor[data-v-0e44fe8c] .el-dialog__body{
358
351
  padding-top: 0
359
352
  }
360
353
 
@@ -362,30 +355,15 @@ g text{
362
355
  .properties-editor[data-v-af76d417] .el-dialog__body{
363
356
  padding-top: 0
364
357
  }
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;
358
+
359
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
+ padding-top: 0
381
362
  }
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
363
+
364
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
366
+ padding-top: 0
389
367
  }
390
368
 
391
369
  .joint-container{
@@ -409,8 +387,20 @@ g text{
409
387
  fill: white;
410
388
  }
411
389
 
412
- .el-checkbox[data-v-c019538f]{
413
- margin-left: 20px;
390
+ .control-point[data-v-0ff53a0a]{
391
+ fill: #fff;
392
+ cursor: move;
393
+ }
394
+ .control-line[data-v-0ff53a0a] {
395
+ stroke-dasharray: 2 2
396
+ }
397
+
398
+ .control-point[data-v-788fb0ae]{
399
+ fill: #fff;
400
+ cursor: move;
401
+ }
402
+ .control-line[data-v-788fb0ae] {
403
+ stroke-dasharray: 2 2
414
404
  }
415
405
  ul[data-v-39fac73c] {
416
406
  margin: 0;
@@ -422,12 +412,50 @@ ul li[data-v-39fac73c] {
422
412
  .sub-li[data-v-39fac73c] {
423
413
  padding-left: 10px;
424
414
  }
415
+ .percent[data-v-a219b06d] {
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
+
425
429
  .percent[data-v-c1c7385b]{
426
430
  margin-left: 10px;
427
431
  color:red;
428
432
  font-size:1.2em;
429
433
  }
430
434
 
435
+ .percent[data-v-6aef99ff]{
436
+ margin-left: 10px;
437
+ color:red;
438
+ font-size:1.2em;
439
+ }
440
+
441
+ span[data-v-4e29ea06] {
442
+ margin: 0 10px;
443
+ }
444
+ .group[data-v-98300543] {
445
+ font-size: 14px;
446
+ width: 100%;
447
+ }
448
+ .item[data-v-98300543] {
449
+ float: left;
450
+ list-style-type: none;
451
+ width: 33.33%;
452
+ margin-bottom: 18px;
453
+ }
454
+ .item-content[data-v-98300543] {
455
+ height: calc(100vh - 300px);
456
+ padding-left: 20px;
457
+ overflow: auto;
458
+ }
431
459
  .el-tag + .el-tag[data-v-aaf48aff] {
432
460
  margin-left: 10px;
433
461
  }
@@ -450,32 +478,11 @@ select[data-v-aaf48aff]{
450
478
  line-height: 32px;
451
479
  }
452
480
 
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;
481
+ .searchResult {
482
+ color:red
476
483
  }
477
- span[data-v-4e29ea06] {
478
- margin: 0 10px;
484
+ .inline-input-custom {
485
+ width : 90%
479
486
  }
480
487
  #appContainer[data-v-9458f3bf] .el-checkbox {
481
488
  display: block;
@@ -491,13 +498,6 @@ span[data-v-4e29ea06] {
491
498
  word-break: keep-all;
492
499
  width: 55%;
493
500
  }
494
- .searchResult {
495
- color:red
496
- }
497
- .inline-input-custom {
498
- width : 90%
499
- }
500
-
501
501
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
502
502
  height: 500px;
503
503
  }
@@ -0,0 +1,10 @@
1
+ import o from "./src/workflow-editor.vue.mjs";
2
+ import r from "./src/store/workflow-editor.mjs";
3
+ import t from "./src/workflow-history.vue.mjs";
4
+ o.install = function(r2) {
5
+ r2.component(o.name, o), r2.component(t.name, t);
6
+ };
7
+ const m = { WorkflowEditor: o, WorkflowHistory: t, wfEditorStore: r };
8
+ export {
9
+ m as default
10
+ };
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/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) => {
3
+ const r = require("./workflow-editor/index.cjs"), o = require("./plugins/index.cjs"), e = require("./src/i18n/langs/cn.cjs"), t = require("./src/i18n/langs/en.cjs"), i = r.WorkflowEditor, s = r.WorkflowHistory, n = r.wfEditorStore, l = [i, s], c = function(r2) {
4
+ c.installed || (l.forEach((o2) => {
5
5
  r2.component(o2.name, o2);
6
- }), r2.use(t));
6
+ }), r2.use(o));
7
7
  };
8
- exports.WorkflowEditor = r, exports.wfEditorStore = o, exports.WorkflowHistory = e, exports.wfEditorCn = s, exports.wfEditorEn = i, exports.wfEditorInstall = c;
8
+ exports.wfEditorCn = e, exports.wfEditorEn = t, exports.WorkflowEditor = i, exports.WorkflowHistory = s, exports.wfEditorInstall = c, exports.wfEditorStore = n;