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/dist/style.css CHANGED
@@ -498,29 +498,29 @@ g text{
498
498
  .current-tache text{
499
499
  fill: white
500
500
  }
501
- .main[data-v-14c5e870] {
501
+ .main[data-v-6658e14b] {
502
502
  position: relative;
503
503
  display: flex;
504
504
  height: 100%;
505
505
  width: 100%;
506
506
  }
507
- .canvas-container[data-v-14c5e870] {
507
+ .canvas-container[data-v-6658e14b] {
508
508
  position: relative;
509
509
  height: 100%;
510
510
  width: 100%;
511
511
  }
512
- section[data-v-14c5e870] {
512
+ section[data-v-6658e14b] {
513
513
  overflow: hidden;
514
514
  width: 100%;
515
515
  height: 100%;
516
516
  padding: 0;
517
517
  }
518
- .canvas[data-v-14c5e870] {
518
+ .canvas[data-v-6658e14b] {
519
519
  overflow: auto;
520
520
  height: 100%;
521
521
  padding: 0;
522
522
  min-height: 500px;
523
523
  }
524
- .canvas[data-v-14c5e870] .draggable {
524
+ .canvas[data-v-6658e14b] .draggable {
525
525
  cursor: default;
526
526
  }
package/es/index.mjs CHANGED
@@ -1,19 +1,18 @@
1
1
  import o from "./workflow-editor/index.mjs";
2
- import r from "./workflow-history/index.mjs";
3
- import { default as default2 } from "./workflow-editor/src/store/workflow-editor.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) => {
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 t = o.WorkflowEditor, n = o.WorkflowHistory, f = o.wfEditorStore, i = [t, n], s = function(o2) {
6
+ s.installed || (i.forEach((r2) => {
9
7
  o2.component(r2.name, r2);
10
- }), o2.use(t));
11
- };
8
+ }), o2.use(r));
9
+ }, e = { wfEditorInstall: s, WorkflowEditor: t, wfEditorStore: f };
12
10
  export {
13
- o as WorkflowEditor,
14
- r as WorkflowHistory,
15
- default3 as wfEditorCn,
16
- default4 as wfEditorEn,
11
+ t as WorkflowEditor,
12
+ n as WorkflowHistory,
13
+ e as default,
14
+ default2 as wfEditorCn,
15
+ default3 as wfEditorEn,
17
16
  s as wfEditorInstall,
18
- default2 as wfEditorStore
17
+ f as wfEditorStore
19
18
  };
package/es/style.css CHANGED
@@ -100,30 +100,30 @@ pre[data-v-865cb4ee] {
100
100
  /* 去掉卡片和tab表头的距离 */
101
101
  [data-v-865cb4ee] .el-tabs__header {
102
102
  margin: 0;
103
- }.main[data-v-14c5e870] {
103
+ }.main[data-v-6658e14b] {
104
104
  position: relative;
105
105
  display: flex;
106
106
  height: 100%;
107
107
  width: 100%;
108
108
  }
109
- .canvas-container[data-v-14c5e870] {
109
+ .canvas-container[data-v-6658e14b] {
110
110
  position: relative;
111
111
  height: 100%;
112
112
  width: 100%;
113
113
  }
114
- section[data-v-14c5e870] {
114
+ section[data-v-6658e14b] {
115
115
  overflow: hidden;
116
116
  width: 100%;
117
117
  height: 100%;
118
118
  padding: 0;
119
119
  }
120
- .canvas[data-v-14c5e870] {
120
+ .canvas[data-v-6658e14b] {
121
121
  overflow: auto;
122
122
  height: 100%;
123
123
  padding: 0;
124
124
  min-height: 500px;
125
125
  }
126
- .canvas[data-v-14c5e870] .draggable {
126
+ .canvas[data-v-6658e14b] .draggable {
127
127
  cursor: default;
128
128
  }h3[data-v-0d941719] {
129
129
  color: #999999;
@@ -254,11 +254,6 @@ g text{
254
254
  stroke-width: 2;
255
255
  }
256
256
 
257
- .end{
258
- stroke-width: 0;
259
- fill:#fff;
260
- }
261
-
262
257
  .start{
263
258
  stroke-width: 0;
264
259
  fill:#fff;
@@ -273,20 +268,15 @@ g text{
273
268
  stroke-width: 0;
274
269
  fill:#fff;
275
270
  }
276
-
277
- .decision{
278
- stroke-width: 0;
279
- fill:#fff;
280
- }
281
-
282
- .human-decision{
283
- stroke-width: 0;
284
- fill:#fff;
285
- }
286
271
  #_subprocess-content[data-v-2b195c05] {
287
272
  width: 100%;
288
273
  height: calc(100vh - 200px);
289
- }.tooltip[data-v-ac799913] {
274
+ }
275
+ .end{
276
+ stroke-width: 0;
277
+ fill:#fff;
278
+ }
279
+ .tooltip[data-v-ac799913] {
290
280
  position: absolute;
291
281
  background: #fff;
292
282
  min-width: 150px;
@@ -301,23 +291,21 @@ 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
+ .decision{
295
+ stroke-width: 0;
296
+ fill:#fff;
297
+ }
298
+
299
+ .human-decision{
300
+ stroke-width: 0;
301
+ fill:#fff;
302
+ }
303
+
304
+ .virtual-transition{
305
+ stroke-width: 2;
306
+ stroke:#000;
307
+ stroke-dasharray: 2 2;
308
+ fill: none;
321
309
  }
322
310
 
323
311
  .selection-region{
@@ -339,11 +327,23 @@ g text{
339
327
  padding-top: 0;
340
328
  }
341
329
 
342
- .virtual-transition{
343
- stroke-width: 2;
344
- stroke:#000;
345
- stroke-dasharray: 2 2;
346
- fill: none;
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
347
  }
348
348
 
349
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
@@ -392,13 +392,18 @@ g text{
392
392
  color: red;
393
393
  font-size: 1.2em;
394
394
  }
395
-
396
- .control-point[data-v-0ff53a0a]{
397
- fill: #fff;
398
- cursor: move;
395
+ ul[data-v-39fac73c] {
396
+ margin: 0;
397
+ padding: 0;
399
398
  }
400
- .control-line[data-v-0ff53a0a] {
401
- stroke-dasharray: 2 2
399
+ ul li[data-v-39fac73c] {
400
+ list-style: none;
401
+ }
402
+ .sub-li[data-v-39fac73c] {
403
+ padding-left: 10px;
404
+ }
405
+ .el-checkbox[data-v-c019538f]{
406
+ margin-left: 20px;
402
407
  }
403
408
 
404
409
  .control-point[data-v-788fb0ae]{
@@ -409,21 +414,12 @@ g text{
409
414
  stroke-dasharray: 2 2
410
415
  }
411
416
 
412
- .el-checkbox[data-v-c019538f]{
413
- margin-left: 20px;
414
- }
415
- ul[data-v-39fac73c] {
416
- margin: 0;
417
- padding: 0;
418
- }
419
- ul li[data-v-39fac73c] {
420
- list-style: none;
421
- }
422
- .sub-li[data-v-39fac73c] {
423
- padding-left: 10px;
417
+ .control-point[data-v-0ff53a0a]{
418
+ fill: #fff;
419
+ cursor: move;
424
420
  }
425
- .el-checkbox[data-v-5fb29fef]{
426
- margin-left: 20px;
421
+ .control-line[data-v-0ff53a0a] {
422
+ stroke-dasharray: 2 2
427
423
  }
428
424
 
429
425
  .percent[data-v-c1c7385b]{
@@ -432,10 +428,8 @@ ul li[data-v-39fac73c] {
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;
431
+ .el-checkbox[data-v-5fb29fef]{
432
+ margin-left: 20px;
439
433
  }
440
434
 
441
435
  .el-tag + .el-tag[data-v-aaf48aff] {
@@ -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,13 @@ select[data-v-aaf48aff]{
477
477
  span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
+
481
+ .searchResult {
482
+ color:red
483
+ }
484
+ .inline-input-custom {
485
+ width : 90%
486
+ }
480
487
  #appContainer[data-v-9458f3bf] .el-checkbox {
481
488
  display: block;
482
489
  }
@@ -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,8 +1,10 @@
1
1
  import o from "./src/workflow-editor.vue.mjs";
2
- o.install = function(t2) {
3
- t2.component(o.name, o);
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);
4
6
  };
5
- const t = { WorkflowEditor: o };
7
+ const m = { WorkflowEditor: o, WorkflowHistory: t, wfEditorStore: r };
6
8
  export {
7
- t as default
9
+ m as default
8
10
  };
@@ -1,10 +1,10 @@
1
- import "../../workflow-editor/src/assets/wf-editor-icons.mjs";
1
+ import "./assets/wf-editor-icons.mjs";
2
2
  import { mapGetters as s, mapMutations as t } from "vuex";
3
- import { processTemplate as e, initializeProcessData as o, removeTextProperty as r } from "../../workflow-editor/src/util.mjs";
4
- import i from "../../workflow-editor/src/main/wf-history-canvas.vue.mjs";
3
+ import { processTemplate as e, initializeProcessData as o, removeTextProperty as r } from "./util.mjs";
4
+ import i from "./main/wf-history-canvas.vue.mjs";
5
5
  import n from "xml-js";
6
- import c from "../../workflow-editor/src/api.mjs";
7
- import { resolveComponent as a, openBlock as l, createElementBlock as h, createElementVNode as u, createVNode as m, withModifiers as p } from "vue";
6
+ import a from "./api.mjs";
7
+ import { resolveComponent as c, openBlock as l, createElementBlock as h, createElementVNode as u, createVNode as m, withModifiers as p } from "vue";
8
8
  import "./workflow-history.vue2.mjs";
9
9
  import d from "../../_virtual/_plugin-vue_export-helper.mjs";
10
10
  const f = { name: "WorkflowHistory", components: { WfHistoryCanvas: i }, props: { id: { type: Number, default: null } }, data: function() {
@@ -12,7 +12,7 @@ const f = { name: "WorkflowHistory", components: { WfHistoryCanvas: i }, props:
12
12
  }, computed: { ...s("wfEditor", ["componentToDraw", "taches", "transitions", "contextMenuVisible"]), ...s(["sidebar"]) }, watch: {}, created: function() {
13
13
  this.showHistory();
14
14
  }, mounted: function() {
15
- }, methods: { ...c, ...t("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
15
+ }, methods: { ...a, ...t("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
16
16
  this.clearCanvas(), this.id ? this.$http.get(this.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.id).then((s2) => {
17
17
  this.allProcessI18n = s2;
18
18
  const t2 = this.baseAPI + "/wf-editor/instance-histories/" + this.id;
@@ -26,10 +26,10 @@ const f = { name: "WorkflowHistory", components: { WfHistoryCanvas: i }, props:
26
26
  const t2 = n.xml2js(s2, { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
27
27
  r(t2.process), this.process = t2.process, o(this.process);
28
28
  } } }, w = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, v = { class: "main" };
29
- const k = d(f, [["render", function(s2, t2, e2, o2, r2, i2) {
30
- const n2 = a("wf-history-canvas");
29
+ const y = d(f, [["render", function(s2, t2, e2, o2, r2, i2) {
30
+ const n2 = c("wf-history-canvas");
31
31
  return l(), h("div", w, [u("div", v, [u("section", null, [m(n2, { onselectstart: "return false", process: s2.process, histories: s2.histories, "current-tasks": s2.currentTasks, "all-process-i18n": s2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: p(i2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
32
- }], ["__scopeId", "data-v-14c5e870"]]);
32
+ }], ["__scopeId", "data-v-6658e14b"]]);
33
33
  export {
34
- k as default
34
+ y as default
35
35
  };
package/lib/index.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
- Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
3
- const r = require("./workflow-editor/index.cjs"), o = require("./workflow-history/index.cjs"), e = require("./workflow-editor/src/store/workflow-editor.cjs"), t = require("./plugins/index.cjs"), s = require("./src/i18n/langs/cn.cjs"), i = require("./src/i18n/langs/en.cjs"), n = [r, o], c = function(r2) {
4
- c.installed || (n.forEach((o2) => {
5
- r2.component(o2.name, o2);
6
- }), r2.use(t));
7
- };
8
- exports.WorkflowEditor = r, exports.WorkflowHistory = o, exports.wfEditorStore = e, exports.wfEditorCn = s, exports.wfEditorEn = i, exports.wfEditorInstall = c;
2
+ Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
3
+ const o = require("./workflow-editor/index.cjs"), r = require("./plugins/index.cjs"), e = require("./src/i18n/langs/cn.cjs"), t = require("./src/i18n/langs/en.cjs"), i = o.WorkflowEditor, s = o.WorkflowHistory, n = o.wfEditorStore, l = [i, s], d = function(o2) {
4
+ d.installed || (l.forEach((r2) => {
5
+ o2.component(r2.name, r2);
6
+ }), o2.use(r));
7
+ }, f = { wfEditorInstall: d, WorkflowEditor: i, wfEditorStore: n };
8
+ exports.wfEditorCn = e, exports.wfEditorEn = t, exports.WorkflowEditor = i, exports.WorkflowHistory = s, exports.default = f, exports.wfEditorInstall = d, exports.wfEditorStore = n;