workflow-editor 0.0.81-up-tmp20 → 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/lib/style.css CHANGED
@@ -1,29 +1,4 @@
1
- @charset "UTF-8";.main[data-v-14c5e870] {
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,31 @@ 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
128
  }h3[data-v-0d941719] {
129
129
  color: #999999;
130
130
  margin: 0;
@@ -140,14 +140,6 @@ pre[data-v-865cb4ee] {
140
140
  .el-button i[data-v-0d941719] {
141
141
  padding-right: 4px;
142
142
  }
143
- .svg-icon {
144
- width: 1em;
145
- height: 1em;
146
- vertical-align: -0.15em;
147
- fill: currentColor;
148
- overflow: hidden;
149
- }
150
-
151
143
  #svg{
152
144
  /* border:1px solid red; */
153
145
  background: white;
@@ -194,35 +186,15 @@ g text{
194
186
  .current-tache text{
195
187
  fill: white
196
188
  }
197
- li[data-v-7e8a1cf6] {
198
- color: #333;
199
- }
200
- .context-menu[data-v-7e8a1cf6] {
201
- position: fixed;
202
- background: #fff;
203
- z-index: 999;
204
- padding: 5px;
205
- margin: 0;
206
- }
207
- .context-menu li[data-v-7e8a1cf6] {
208
- min-width: 75px;
209
- height: 28px;
210
- line-height: 28px;
211
- text-align: left;
212
- color: #1a1a1a;
213
- }
214
- .context-menu li[data-v-7e8a1cf6]:hover {
215
- background: #42b983;
216
- color: #fff;
217
- }
218
- .context-menu[data-v-7e8a1cf6] {
219
- border: 1px solid #eee;
220
- box-shadow: 0 0.5em 1em 0 rgba(0, 0, 0, 0.1);
221
- border-radius: 5px;
222
- }
223
- li[data-v-7e8a1cf6] {
224
- list-style-type: none;
225
- }
189
+
190
+ .svg-icon {
191
+ width: 1em;
192
+ height: 1em;
193
+ vertical-align: -0.15em;
194
+ fill: currentColor;
195
+ overflow: hidden;
196
+ }
197
+
226
198
  #svg{
227
199
  /* border:1px solid red; */
228
200
  background: white;
@@ -253,12 +225,35 @@ g text{
253
225
  stroke: #666;
254
226
  stroke-width: 2;
255
227
  }
256
-
257
- .end{
258
- stroke-width: 0;
259
- fill:#fff;
260
- }
261
-
228
+ li[data-v-7e8a1cf6] {
229
+ color: #333;
230
+ }
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;
248
+ }
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
+ }
262
257
  .start{
263
258
  stroke-width: 0;
264
259
  fill:#fff;
@@ -269,7 +264,7 @@ g text{
269
264
  fill:#fff;
270
265
  }
271
266
 
272
- .decision{
267
+ .end{
273
268
  stroke-width: 0;
274
269
  fill:#fff;
275
270
  }
@@ -278,11 +273,6 @@ g text{
278
273
  stroke-width: 0;
279
274
  fill:#fff;
280
275
  }
281
-
282
- .human-decision{
283
- stroke-width: 0;
284
- fill:#fff;
285
- }
286
276
  #_subprocess-content[data-v-2b195c05] {
287
277
  width: 100%;
288
278
  height: calc(100vh - 200px);
@@ -301,23 +291,9 @@ g text{
301
291
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
302
292
  word-break: break-all;
303
293
  }
304
- .transition[data-v-a1576cad] {
305
- stroke-width: 2;
306
- stroke: #666;
307
- fill: none;
308
- cursor: pointer;
309
- }
310
- .selected[data-v-a1576cad] {
311
- stroke: red;
312
- }
313
- .transition-dragger[data-v-a1576cad] {
314
- stroke: red;
315
- stroke-width: 1;
316
- fill: white;
317
- cursor: move;
318
- }
319
- .no-events[data-v-a1576cad] {
320
- pointer-events: none;
294
+ .human-decision{
295
+ stroke-width: 0;
296
+ fill:#fff;
321
297
  }
322
298
 
323
299
  .selection-region{
@@ -333,10 +309,10 @@ g text{
333
309
  /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
334
310
  pointer-events:none;
335
311
  }
336
-
337
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
338
- .properties-editor[data-v-1651d82a] .el-dialog__body {
339
- padding-top: 0;
312
+
313
+ .decision{
314
+ stroke-width: 0;
315
+ fill:#fff;
340
316
  }
341
317
 
342
318
  .virtual-transition{
@@ -346,6 +322,30 @@ g text{
346
322
  fill: none;
347
323
  }
348
324
 
325
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
326
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
327
+ padding-top: 0;
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
+ }
348
+
349
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
350
350
  .properties-editor[data-v-0e44fe8c] .el-dialog__body{
351
351
  padding-top: 0
@@ -381,22 +381,6 @@ 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
- .control-point[data-v-788fb0ae]{
393
- fill: #fff;
394
- cursor: move;
395
- }
396
- .control-line[data-v-788fb0ae] {
397
- stroke-dasharray: 2 2
398
- }
399
-
400
384
  .resizer{
401
385
  stroke: blue;
402
386
  stroke-width: 1;
@@ -408,10 +392,6 @@ g text{
408
392
  color: red;
409
393
  font-size: 1.2em;
410
394
  }
411
-
412
- .el-checkbox[data-v-c019538f]{
413
- margin-left: 20px;
414
- }
415
395
  ul[data-v-39fac73c] {
416
396
  margin: 0;
417
397
  padding: 0;
@@ -422,17 +402,31 @@ ul li[data-v-39fac73c] {
422
402
  .sub-li[data-v-39fac73c] {
423
403
  padding-left: 10px;
424
404
  }
425
- .el-checkbox[data-v-5fb29fef]{
405
+ .el-checkbox[data-v-c019538f]{
426
406
  margin-left: 20px;
427
407
  }
428
408
 
429
- .percent[data-v-c1c7385b]{
430
- margin-left: 10px;
431
- color:red;
432
- font-size:1.2em;
409
+ .control-point[data-v-788fb0ae]{
410
+ fill: #fff;
411
+ cursor: move;
412
+ }
413
+ .control-line[data-v-788fb0ae] {
414
+ stroke-dasharray: 2 2
433
415
  }
434
416
 
435
- .percent[data-v-6aef99ff]{
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
+ .percent[data-v-c1c7385b]{
436
430
  margin-left: 10px;
437
431
  color:red;
438
432
  font-size:1.2em;
@@ -459,6 +453,12 @@ select[data-v-aaf48aff]{
459
453
  height: 32px;
460
454
  line-height: 32px;
461
455
  }
456
+
457
+ .percent[data-v-6aef99ff]{
458
+ margin-left: 10px;
459
+ color:red;
460
+ font-size:1.2em;
461
+ }
462
462
  .group[data-v-98300543] {
463
463
  font-size: 14px;
464
464
  width: 100%;
@@ -477,6 +477,26 @@ select[data-v-aaf48aff]{
477
477
  span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
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
+ }
494
+ .searchResult {
495
+ color:red
496
+ }
497
+ .inline-input-custom {
498
+ width : 90%
499
+ }
480
500
 
481
501
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
482
502
  height: 500px;
@@ -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
- }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
- const o = require("./src/workflow-editor.vue.cjs");
3
- o.install = function(t2) {
4
- t2.component(o.name, o);
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("../../workflow-editor/src/assets/wf-editor-icons.cjs");
3
- const e = require("vuex"), s = require("../../workflow-editor/src/util.cjs"), t = require("../../workflow-editor/src/main/wf-history-canvas.vue.cjs"), r = require("xml-js"), o = require("../../workflow-editor/src/api.cjs"), i = require("vue");
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-14c5e870"]]);
27
+ }], ["__scopeId", "data-v-6658e14b"]]);
28
28
  module.exports = u;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "workflow-editor",
3
3
  "private": false,
4
- "version": "0.0.81-up-tmp20",
4
+ "version": "0.0.81-up-tmp23",
5
5
  "type": "module",
6
6
  "main": "./lib/index.cjs",
7
7
  "module": "./es/index.mjs",
@@ -1,8 +0,0 @@
1
- import o from "./src/workflow-history.vue.mjs";
2
- WorkflowEditor.install = function(r2) {
3
- r2.component(o.name, o);
4
- };
5
- const r = { WorkflowHistory: o };
6
- export {
7
- r as default
8
- };
@@ -1,7 +0,0 @@
1
- "use strict";
2
- const o = require("./src/workflow-history.vue.cjs");
3
- WorkflowEditor.install = function(r2) {
4
- r2.component(o.name, o);
5
- };
6
- const r = { WorkflowHistory: o };
7
- module.exports = r;