workflow-editor 0.0.81-up-tmp15 → 0.0.81-up-tmp17

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.
Files changed (158) hide show
  1. package/es/{index.mjs → index.js} +4 -4
  2. package/es/plugins/{formValidatorUtil.mjs → formValidatorUtil.js} +16 -16
  3. package/es/plugins/{index.mjs → index.js} +1 -1
  4. package/es/src/i18n/i18n.js +7 -0
  5. package/es/style.css +143 -143
  6. package/es/workflow-editor/index.js +10 -0
  7. package/es/workflow-editor/src/json-object-templates/{auto-task.mjs → auto-task.js} +1 -1
  8. package/es/workflow-editor/src/json-object-templates/{copy-task.mjs → copy-task.js} +1 -1
  9. package/es/workflow-editor/src/json-object-templates/{decision.mjs → decision.js} +1 -1
  10. package/es/workflow-editor/src/json-object-templates/{end.mjs → end.js} +1 -1
  11. package/es/workflow-editor/src/json-object-templates/{fork.mjs → fork.js} +1 -1
  12. package/es/workflow-editor/src/json-object-templates/{human-decision.mjs → human-decision.js} +1 -1
  13. package/es/workflow-editor/src/json-object-templates/{human-task.mjs → human-task.js} +1 -1
  14. package/es/workflow-editor/src/json-object-templates/{join.mjs → join.js} +1 -1
  15. package/es/workflow-editor/src/json-object-templates/{process.mjs → process.js} +2 -2
  16. package/es/workflow-editor/src/json-object-templates/{start.mjs → start.js} +1 -1
  17. package/es/workflow-editor/src/json-object-templates/{subprocess.mjs → subprocess.js} +1 -1
  18. package/es/workflow-editor/src/main/{admin-save-dialog.vue.mjs → admin-save-dialog.vue.js} +1 -1
  19. package/es/workflow-editor/src/main/{canvas.vue.mjs → canvas.vue.js} +29 -29
  20. package/es/workflow-editor/src/main/{context-menu.vue.mjs → context-menu.vue.js} +3 -3
  21. package/es/workflow-editor/src/main/{icon-svg.vue.mjs → icon-svg.vue.js} +4 -4
  22. package/es/workflow-editor/src/main/{selection-region.vue.mjs → selection-region.vue.js} +3 -3
  23. package/es/workflow-editor/src/main/{tache-history-tooltip.vue.mjs → tache-history-tooltip.vue.js} +2 -2
  24. package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue.mjs → tache-subprocess-history-dialog.vue.js} +2 -2
  25. package/es/workflow-editor/src/main/{toolbox.vue.mjs → toolbox.vue.js} +6 -6
  26. package/es/workflow-editor/src/main/{wf-history-canvas.vue.mjs → wf-history-canvas.vue.js} +17 -17
  27. package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  28. package/es/workflow-editor/src/properties-editors/{auto-task.vue.mjs → auto-task.vue.js} +3 -3
  29. package/es/workflow-editor/src/properties-editors/common/{additional-condition-utils.mjs → additional-condition-utils.js} +2 -2
  30. package/es/workflow-editor/src/properties-editors/common/{additional-condition.vue.mjs → additional-condition.vue.js} +3 -3
  31. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields-utils.mjs → auto-filled-fields-utils.js} +1 -1
  32. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields.vue.mjs → auto-filled-fields.vue.js} +6 -6
  33. package/es/workflow-editor/src/properties-editors/common/{common-notice-tool.vue.mjs → common-notice-tool.vue.js} +3 -3
  34. package/es/workflow-editor/src/properties-editors/common/{common-user-condition.vue.mjs → common-user-condition.vue.js} +4 -4
  35. package/es/workflow-editor/src/properties-editors/common/{form-fields.vue.mjs → form-fields.vue.js} +2 -2
  36. package/es/workflow-editor/src/properties-editors/common/{i18n-input.vue.mjs → i18n-input.vue.js} +6 -6
  37. package/es/workflow-editor/src/properties-editors/common/{i18n-set-dialog.vue.mjs → i18n-set-dialog.vue.js} +2 -2
  38. package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue.mjs → notice-reminder.vue.js} +7 -7
  39. package/es/workflow-editor/src/properties-editors/common/{notice.vue.mjs → notice.vue.js} +4 -4
  40. package/es/workflow-editor/src/properties-editors/common/{reminder.vue.mjs → reminder.vue.js} +5 -5
  41. package/es/workflow-editor/src/properties-editors/common/{select-mail-template.vue.mjs → select-mail-template.vue.js} +1 -1
  42. package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue.mjs → system-role-tree-inline.vue.js} +2 -2
  43. package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue.mjs → system-role-tree.vue.js} +3 -3
  44. package/es/workflow-editor/src/properties-editors/common/{task-title.vue.mjs → task-title.vue.js} +4 -4
  45. package/es/workflow-editor/src/properties-editors/common/{transactor-settings.vue.mjs → transactor-settings.vue.js} +4 -4
  46. package/es/workflow-editor/src/properties-editors/common/{user-selection.vue.mjs → user-selection.vue.js} +4 -4
  47. package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue.mjs → value-selection-dialog.vue.js} +4 -4
  48. package/es/workflow-editor/src/properties-editors/common/{variables.vue.mjs → variables.vue.js} +1 -1
  49. package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  50. package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue.mjs → permission-settings.vue.js} +4 -4
  51. package/es/workflow-editor/src/properties-editors/{copy-task.vue.mjs → copy-task.vue.js} +11 -11
  52. package/es/workflow-editor/src/properties-editors/{decision.vue.mjs → decision.vue.js} +3 -3
  53. package/es/workflow-editor/src/properties-editors/{fork.vue.mjs → fork.vue.js} +2 -2
  54. package/es/workflow-editor/src/properties-editors/{human-decision.vue.mjs → human-decision.vue.js} +1 -1
  55. package/es/workflow-editor/src/properties-editors/human-task/{additional-condition-dialog.vue.mjs → additional-condition-dialog.vue.js} +2 -2
  56. package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue.mjs → basic-properties.vue.js} +7 -7
  57. package/es/workflow-editor/src/properties-editors/human-task/{componentsConfigUtil.mjs → componentsConfigUtil.js} +1 -1
  58. package/es/workflow-editor/src/properties-editors/human-task/{custom-actions.vue.mjs → custom-actions.vue.js} +4 -4
  59. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-field-setting.vue.mjs → editable-child-field-setting.vue.js} +3 -3
  60. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-fields.vue.mjs → editable-child-fields.vue.js} +3 -3
  61. package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue.mjs → editable-field-selection.vue.js} +3 -3
  62. package/es/workflow-editor/src/properties-editors/human-task/{editable-fields.vue.mjs → editable-fields.vue.js} +4 -4
  63. package/es/workflow-editor/src/properties-editors/human-task/{events.vue.mjs → events.vue.js} +1 -1
  64. package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue.mjs → permission-settings.vue.js} +7 -7
  65. package/es/workflow-editor/src/properties-editors/human-task/{selection-conditions.vue.mjs → selection-conditions.vue.js} +4 -4
  66. package/es/workflow-editor/src/properties-editors/{human-task.vue.mjs → human-task.vue.js} +9 -9
  67. package/es/workflow-editor/src/properties-editors/{join.vue.mjs → join.vue.js} +1 -1
  68. package/es/workflow-editor/src/properties-editors/process/{basic-properties.vue.mjs → basic-properties.vue.js} +6 -6
  69. package/es/workflow-editor/src/properties-editors/process/{events.vue.mjs → events.vue.js} +6 -6
  70. package/es/workflow-editor/src/properties-editors/process/{notice-settings.vue.mjs → notice-settings.vue.js} +3 -3
  71. package/es/workflow-editor/src/properties-editors/process/{parameter-settings.vue.mjs → parameter-settings.vue.js} +2 -2
  72. package/es/workflow-editor/src/properties-editors/process/{permission-settings.vue.mjs → permission-settings.vue.js} +2 -2
  73. package/es/workflow-editor/src/properties-editors/process/{selectPage.vue.mjs → selectPage.vue.js} +1 -1
  74. package/es/workflow-editor/src/properties-editors/{process.vue.mjs → process.vue.js} +8 -8
  75. package/es/workflow-editor/src/properties-editors/subprocess/{basic-properties.vue.mjs → basic-properties.vue.js} +8 -8
  76. package/es/workflow-editor/src/properties-editors/subprocess/{events.vue.mjs → events.vue.js} +1 -1
  77. package/es/workflow-editor/src/properties-editors/subprocess/{field-mappings.vue.mjs → field-mappings.vue.js} +5 -5
  78. package/es/workflow-editor/src/properties-editors/subprocess/{transactor-settings.vue.mjs → transactor-settings.vue.js} +7 -7
  79. package/es/workflow-editor/src/properties-editors/{subprocess.vue.mjs → subprocess.vue.js} +5 -5
  80. package/es/workflow-editor/src/properties-editors/transition/{basic-properties.vue.mjs → basic-properties.vue.js} +3 -3
  81. package/es/workflow-editor/src/properties-editors/{transition.vue.mjs → transition.vue.js} +9 -9
  82. package/es/workflow-editor/src/properties-editors/{user-condition.mjs → user-condition.js} +1 -1
  83. package/es/workflow-editor/src/store/{workflow-editor.mjs → workflow-editor.js} +1 -1
  84. package/es/workflow-editor/src/taches/{auto-task.vue.mjs → auto-task.vue.js} +7 -7
  85. package/es/workflow-editor/src/taches/{common-methods.mjs → common-methods.js} +1 -1
  86. package/es/workflow-editor/src/taches/{copy-task.vue.mjs → copy-task.vue.js} +7 -7
  87. package/es/workflow-editor/src/taches/{custom-task.vue.mjs → custom-task.vue.js} +4 -4
  88. package/es/workflow-editor/src/taches/{decision.vue.mjs → decision.vue.js} +5 -5
  89. package/es/workflow-editor/src/taches/{end.vue.mjs → end.vue.js} +4 -4
  90. package/es/workflow-editor/src/taches/{fork.vue.mjs → fork.vue.js} +5 -5
  91. package/es/workflow-editor/src/taches/{human-decision.vue.mjs → human-decision.vue.js} +7 -7
  92. package/es/workflow-editor/src/taches/{human-task.vue.mjs → human-task.vue.js} +5 -5
  93. package/es/workflow-editor/src/taches/{join.vue.mjs → join.vue.js} +4 -4
  94. package/es/workflow-editor/src/taches/{joint.vue.mjs → joint.vue.js} +3 -3
  95. package/es/workflow-editor/src/taches/{start.vue.mjs → start.vue.js} +4 -4
  96. package/es/workflow-editor/src/taches/{subprocess.vue.mjs → subprocess.vue.js} +7 -7
  97. package/es/workflow-editor/src/taches/{tache-resizer.vue.mjs → tache-resizer.vue.js} +2 -2
  98. package/es/workflow-editor/src/transitions/{broken-line.vue.mjs → broken-line.vue.js} +3 -3
  99. package/es/workflow-editor/src/transitions/{curve-line.vue.mjs → curve-line.vue.js} +3 -3
  100. package/es/workflow-editor/src/transitions/{straight-line.vue.mjs → straight-line.vue.js} +2 -2
  101. package/es/workflow-editor/src/transitions/{transition.vue.mjs → transition.vue.js} +8 -8
  102. package/es/workflow-editor/src/transitions/{virtual-transition.vue.mjs → virtual-transition.vue.js} +3 -3
  103. package/es/workflow-editor/src/{util.mjs → util.js} +13 -13
  104. package/es/workflow-editor/src/{workflow-editor.vue.mjs → workflow-editor.vue.js} +16 -16
  105. package/es/workflow-editor/src/{workflow-history.vue.mjs → workflow-history.vue.js} +8 -8
  106. package/lib/style.css +158 -158
  107. package/package.json +2 -2
  108. package/es/src/i18n/i18n.mjs +0 -7
  109. package/es/workflow-editor/index.mjs +0 -10
  110. /package/es/_virtual/{_plugin-vue_export-helper.mjs → _plugin-vue_export-helper.js} +0 -0
  111. /package/es/src/i18n/langs/{cn.mjs → cn.js} +0 -0
  112. /package/es/src/i18n/langs/{en.mjs → en.js} +0 -0
  113. /package/es/workflow-editor/src/{api.mjs → api.js} +0 -0
  114. /package/es/workflow-editor/src/assets/{wf-editor-icons.mjs → wf-editor-icons.js} +0 -0
  115. /package/es/workflow-editor/src/json-object-templates/{transition.mjs → transition.js} +0 -0
  116. /package/es/workflow-editor/src/main/{canvas.vue2.mjs → canvas.vue2.js} +0 -0
  117. /package/es/workflow-editor/src/main/{context-menu.vue2.mjs → context-menu.vue2.js} +0 -0
  118. /package/es/workflow-editor/src/main/{icon-svg.vue2.mjs → icon-svg.vue2.js} +0 -0
  119. /package/es/workflow-editor/src/main/{selection-region.vue2.mjs → selection-region.vue2.js} +0 -0
  120. /package/es/workflow-editor/src/main/{tache-history-tooltip.vue2.mjs → tache-history-tooltip.vue2.js} +0 -0
  121. /package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue2.mjs → tache-subprocess-history-dialog.vue2.js} +0 -0
  122. /package/es/workflow-editor/src/main/{toolbox.vue2.mjs → toolbox.vue2.js} +0 -0
  123. /package/es/workflow-editor/src/main/{wf-history-canvas.vue2.mjs → wf-history-canvas.vue2.js} +0 -0
  124. /package/es/workflow-editor/src/{process-service.mjs → process-service.js} +0 -0
  125. /package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  126. /package/es/workflow-editor/src/properties-editors/{auto-task.vue2.mjs → auto-task.vue2.js} +0 -0
  127. /package/es/workflow-editor/src/properties-editors/common/{form-fields-utils.mjs → form-fields-utils.js} +0 -0
  128. /package/es/workflow-editor/src/properties-editors/common/{form-fields.vue2.mjs → form-fields.vue2.js} +0 -0
  129. /package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue2.mjs → notice-reminder.vue2.js} +0 -0
  130. /package/es/workflow-editor/src/properties-editors/common/{reminder.vue2.mjs → reminder.vue2.js} +0 -0
  131. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue2.mjs → system-role-tree-inline.vue2.js} +0 -0
  132. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue2.mjs → system-role-tree.vue2.js} +0 -0
  133. /package/es/workflow-editor/src/properties-editors/common/{task-title.vue2.mjs → task-title.vue2.js} +0 -0
  134. /package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue2.mjs → value-selection-dialog.vue2.js} +0 -0
  135. /package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  136. /package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
  137. /package/es/workflow-editor/src/properties-editors/{copy-task.vue2.mjs → copy-task.vue2.js} +0 -0
  138. /package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue2.mjs → basic-properties.vue2.js} +0 -0
  139. /package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue2.mjs → editable-field-selection.vue2.js} +0 -0
  140. /package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue2.mjs → permission-settings.vue2.js} +0 -0
  141. /package/es/workflow-editor/src/properties-editors/{human-task.vue2.mjs → human-task.vue2.js} +0 -0
  142. /package/es/workflow-editor/src/properties-editors/{subprocess.vue2.mjs → subprocess.vue2.js} +0 -0
  143. /package/es/workflow-editor/src/properties-editors/{transition.vue2.mjs → transition.vue2.js} +0 -0
  144. /package/es/workflow-editor/src/store/{getters.mjs → getters.js} +0 -0
  145. /package/es/workflow-editor/src/taches/{decision.vue2.mjs → decision.vue2.js} +0 -0
  146. /package/es/workflow-editor/src/taches/{end.vue2.mjs → end.vue2.js} +0 -0
  147. /package/es/workflow-editor/src/taches/{fork.vue2.mjs → fork.vue2.js} +0 -0
  148. /package/es/workflow-editor/src/taches/{human-decision.vue2.mjs → human-decision.vue2.js} +0 -0
  149. /package/es/workflow-editor/src/taches/{join.vue2.mjs → join.vue2.js} +0 -0
  150. /package/es/workflow-editor/src/taches/{joint.vue2.mjs → joint.vue2.js} +0 -0
  151. /package/es/workflow-editor/src/taches/{start.vue2.mjs → start.vue2.js} +0 -0
  152. /package/es/workflow-editor/src/taches/{tache-resizer.vue2.mjs → tache-resizer.vue2.js} +0 -0
  153. /package/es/workflow-editor/src/transitions/{broken-line.vue2.mjs → broken-line.vue2.js} +0 -0
  154. /package/es/workflow-editor/src/transitions/{curve-line.vue2.mjs → curve-line.vue2.js} +0 -0
  155. /package/es/workflow-editor/src/transitions/{transition.vue2.mjs → transition.vue2.js} +0 -0
  156. /package/es/workflow-editor/src/transitions/{virtual-transition.vue2.mjs → virtual-transition.vue2.js} +0 -0
  157. /package/es/workflow-editor/src/{workflow-editor.vue2.mjs → workflow-editor.vue2.js} +0 -0
  158. /package/es/workflow-editor/src/{workflow-history.vue2.mjs → workflow-history.vue2.js} +0 -0
@@ -1,7 +1,7 @@
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";
1
+ import o from "./workflow-editor/index.js";
2
+ import r from "./plugins/index.js";
3
+ import { default as default2 } from "./src/i18n/langs/cn.js";
4
+ import { default as default3 } from "./src/i18n/langs/en.js";
5
5
  const n = o.WorkflowEditor, t = o.WorkflowHistory, i = o.wfEditorStore, s = [n, t], e = function(o2) {
6
6
  e.installed || (s.forEach((r2) => {
7
7
  o2.component(r2.name, r2);
@@ -1,5 +1,5 @@
1
- import e from "../node_modules/async-validator/dist-web/index.mjs";
2
- import { getI18n as t } from "../workflow-editor/src/util.mjs";
1
+ import e from "../node_modules/async-validator/dist-web/index.js";
2
+ import { getI18n as t } from "../workflow-editor/src/util.js";
3
3
  import { parseSubTablePermissionCondition as n } from "agilebuilder-ui";
4
4
  function o(e2, n2) {
5
5
  const o2 = {}, r2 = e2.dataType;
@@ -104,8 +104,8 @@ function u(e2, t2, o2, i2, r2, s2, l2, d2, f2) {
104
104
  const g = e2[c2];
105
105
  if (f2.indexOf(g) < 0)
106
106
  continue;
107
- const b = t2[g], m = b.condition, p = n(m, i2, r2, o2, s2, l2, d2);
108
- if (null != p && true === p)
107
+ const b = t2[g], p = b.condition, m = n(p, i2, r2, o2, s2, l2, d2);
108
+ if (null != m && true === m)
109
109
  if (void 0 === u2)
110
110
  a2[g] = b;
111
111
  else {
@@ -123,22 +123,22 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
123
123
  const f2 = Object.keys(t2);
124
124
  if (f2.indexOf("rules") >= 0 && f2.indexOf("subRules") >= 0 && f2.indexOf("totalSubRules") >= 0) {
125
125
  const f3 = t2.rules, c2 = t2.subRules, g = t2.totalSubRules, b = t2.dataTypeMap;
126
- let m = d(e2, f3, null, n2, null, null, l2);
127
- return (!l2 && true === m || l2 && true === m.msg) && (c2 || g) && (m = function(e3, t3, n3, o3, i3, r3, s3, l3, f4, c3) {
126
+ let p = d(e2, f3, null, n2, null, null, l2);
127
+ return (!l2 && true === p || l2 && true === p.msg) && (c2 || g) && (p = function(e3, t3, n3, o3, i3, r3, s3, l3, f4, c3) {
128
128
  let g2 = {};
129
129
  if (n3 && (g2 = JSON.parse(JSON.stringify(n3))), t3) {
130
130
  const n4 = Object.keys(t3);
131
131
  for (let b2 = 0; b2 < n4.length; b2++) {
132
- const m2 = n4[b2], p = t3[m2], w = Object.keys(p);
133
- let O = e3[m2];
132
+ const p2 = n4[b2], m = t3[p2], w = Object.keys(m);
133
+ let O = e3[p2];
134
134
  O || (O = []);
135
- const x = a(g2, e3, m2);
135
+ const x = a(g2, e3, p2);
136
136
  if (true !== x)
137
- return delete g2[m2], c3 ? { msg: x, listCode: m2 } : x;
137
+ return delete g2[p2], c3 ? { msg: x, listCode: p2 } : x;
138
138
  let y, E = [];
139
- f4 && f4[m2] && (y = f4[m2].pageSize, E = f4[m2].fields || []);
139
+ f4 && f4[p2] && (y = f4[p2].pageSize, E = f4[p2].fields || []);
140
140
  for (let t4 = 0; t4 < O.length; t4++) {
141
- const n5 = O[t4], f5 = u(w, p, O[t4], i3, e3, r3, s3, l3, E);
141
+ const n5 = O[t4], f5 = u(w, m, O[t4], i3, e3, r3, s3, l3, E);
142
142
  let a2, g3;
143
143
  void 0 !== y && y > 0 && (a2 = Math.ceil((t4 + 1) / y), g3 = t4 + 1 - (a2 - 1) * y), Object.keys(f5).forEach((o4) => {
144
144
  const i4 = f5[o4];
@@ -149,7 +149,7 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
149
149
  });
150
150
  const b3 = d(n5, f5, t4, o3, a2, g3, c3);
151
151
  if (!c3 && true !== b3 || c3 && true !== b3.msg)
152
- return c3 && (b3.listCode = m2), b3;
152
+ return c3 && (b3.listCode = p2), b3;
153
153
  }
154
154
  }
155
155
  }
@@ -159,7 +159,7 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
159
159
  return c3 ? { msg: n4, listCode: t4 } : n4;
160
160
  }
161
161
  return !c3 || { msg: true };
162
- }(e2, c2, g, n2, b, o2, i2, r2, s2, l2)), m;
162
+ }(e2, c2, g, n2, b, o2, i2, r2, s2, l2)), p;
163
163
  }
164
164
  return d(e2, t2, null, n2, null, null, l2);
165
165
  }, getValidator: function(e2, i2, r2, s2, d2, f2) {
@@ -170,9 +170,9 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
170
170
  if (void 0 !== b && true === b) {
171
171
  let b2 = e3.name;
172
172
  if (b2) {
173
- const m = e3.condition, p = null;
173
+ const p = e3.condition, m = null;
174
174
  let w = null;
175
- if (w = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(m, a2, p, i2, s2, d2, f2), null != w && true === w) {
175
+ if (w = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(p, a2, m, i2, s2, d2, f2), null != w && true === w) {
176
176
  let n2 = {};
177
177
  if (b2.indexOf(".") > 0)
178
178
  0 === b2.indexOf("$") ? function(e4, t2, n3, i3, r3) {
@@ -1,4 +1,4 @@
1
- import o from "./formValidatorUtil.mjs";
1
+ import o from "./formValidatorUtil.js";
2
2
  const t = { install: function(t2, a) {
3
3
  t2.config.globalProperties.$formValidator = o.formValidator, t2.config.globalProperties.$getValidator = o.getValidator;
4
4
  } };
@@ -0,0 +1,7 @@
1
+ import { createI18n as e } from "vue-i18n";
2
+ import n from "./langs/en.js";
3
+ import o from "./langs/cn.js";
4
+ const s = e({ locale: "cn", messages: { en: n, cn: o }, legacy: false });
5
+ export {
6
+ s as default
7
+ };
package/es/style.css CHANGED
@@ -100,6 +100,20 @@ pre[data-v-865cb4ee] {
100
100
  /* 去掉卡片和tab表头的距离 */
101
101
  [data-v-865cb4ee] .el-tabs__header {
102
102
  margin: 0;
103
+ }h3[data-v-0d941719] {
104
+ color: #999999;
105
+ margin: 0;
106
+ padding: 0;
107
+ font-weight: bold;
108
+ font-size: 18px;
109
+ }
110
+ .el-button[data-v-0d941719] {
111
+ margin: 6px 0;
112
+ min-width: 110px;
113
+ padding: 9px 15px;
114
+ }
115
+ .el-button i[data-v-0d941719] {
116
+ padding-right: 4px;
103
117
  }.main[data-v-6658e14b] {
104
118
  position: relative;
105
119
  display: flex;
@@ -126,12 +140,35 @@ section[data-v-6658e14b] {
126
140
  .canvas[data-v-6658e14b] .draggable {
127
141
  cursor: default;
128
142
  }
129
- .svg-icon {
130
- width: 1em;
131
- height: 1em;
132
- vertical-align: -0.15em;
133
- fill: currentColor;
134
- overflow: hidden;
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;
167
+ }
168
+ .task-tache{
169
+ fill: #fff;
170
+ stroke: #666;
171
+ stroke-width: 2;
135
172
  }
136
173
 
137
174
  #svg{
@@ -180,21 +217,7 @@ g text{
180
217
  .current-tache text{
181
218
  fill: white
182
219
  }
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] {
220
+ li[data-v-7e8a1cf6] {
198
221
  color: #333;
199
222
  }
200
223
  .context-menu[data-v-7e8a1cf6] {
@@ -223,35 +246,12 @@ h3[data-v-0d941719] {
223
246
  li[data-v-7e8a1cf6] {
224
247
  list-style-type: none;
225
248
  }
226
- #svg{
227
- /* border:1px solid red; */
228
- background: white;
229
- background-image:
230
- linear-gradient(rgba(242,242,242,.7) 1px, transparent 0),
231
- linear-gradient(90deg, rgba(242,242,242,.7) 1px, transparent 0),
232
- linear-gradient(#e5e5e5 1px, transparent 0),
233
- linear-gradient(90deg,#e5e5e5 1px, transparent 0);
234
- background-size:
235
- 15px 15px,
236
- 15px 15px,
237
- 75px 75px,
238
- 75px 75px;
239
- }
240
- g{
241
- font-size: 16px;
242
- }
243
- g text{
244
- dominant-baseline: middle;
245
- }
246
- .selected{
247
- fill: #fff;
248
- stroke: #f00;
249
- stroke-width: 2;
250
- }
251
- .task-tache{
252
- fill: #fff;
253
- stroke: #666;
254
- stroke-width: 2;
249
+ .svg-icon {
250
+ width: 1em;
251
+ height: 1em;
252
+ vertical-align: -0.15em;
253
+ fill: currentColor;
254
+ overflow: hidden;
255
255
  }
256
256
 
257
257
  .decision{
@@ -259,48 +259,21 @@ g text{
259
259
  fill:#fff;
260
260
  }
261
261
 
262
- .start{
263
- stroke-width: 0;
264
- fill:#fff;
265
- }
266
-
267
262
  .end{
268
263
  stroke-width: 0;
269
264
  fill:#fff;
270
265
  }
271
266
 
272
- .decision{
267
+ .start{
273
268
  stroke-width: 0;
274
269
  fill:#fff;
275
270
  }
276
- #_subprocess-content[data-v-2b195c05] {
277
- width: 100%;
278
- height: calc(100vh - 200px);
279
- }
271
+
280
272
  .decision{
281
273
  stroke-width: 0;
282
274
  fill:#fff;
283
275
  }
284
276
 
285
- .human-decision{
286
- stroke-width: 0;
287
- fill:#fff;
288
- }
289
- .tooltip[data-v-ac799913] {
290
- position: absolute;
291
- background: #fff;
292
- min-width: 150px;
293
- border-radius: 4px;
294
- border: 1px solid #ebeef5;
295
- padding: 12px;
296
- z-index: 2000;
297
- color: #606266;
298
- line-height: 1.4;
299
- text-align: justify;
300
- font-size: 14px;
301
- box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
302
- word-break: break-all;
303
- }
304
277
  .virtual-transition{
305
278
  stroke-width: 2;
306
279
  stroke:#000;
@@ -308,28 +281,9 @@ g text{
308
281
  fill: none;
309
282
  }
310
283
 
311
- .selection-region{
312
- stroke: blue;
313
- stroke-width: 1;
314
- fill: white;
315
- fill-opacity: 0;
316
- opacity: 1;
317
- cursor: move;
318
- }
319
- .dashed{
320
- stroke-dasharray: 10 2;
321
- /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
322
- pointer-events:none;
323
- }
324
-
325
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
326
- .properties-editor[data-v-1651d82a] .el-dialog__body {
327
- padding-top: 0;
328
- }
329
-
330
- /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
331
- .properties-editor[data-v-0e44fe8c] .el-dialog__body{
332
- padding-top: 0
284
+ .decision{
285
+ stroke-width: 0;
286
+ fill:#fff;
333
287
  }
334
288
 
335
289
  .transition[data-v-a1576cad] {
@@ -350,9 +304,33 @@ g text{
350
304
  .no-events[data-v-a1576cad] {
351
305
  pointer-events: none;
352
306
  }
307
+
308
+ .human-decision{
309
+ stroke-width: 0;
310
+ fill:#fff;
311
+ }
353
312
 
354
313
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
355
- .properties-editor[data-v-af76d417] .el-dialog__body{
314
+ .properties-editor[data-v-1651d82a] .el-dialog__body {
315
+ padding-top: 0;
316
+ }
317
+
318
+ .selection-region{
319
+ stroke: blue;
320
+ stroke-width: 1;
321
+ fill: white;
322
+ fill-opacity: 0;
323
+ opacity: 1;
324
+ cursor: move;
325
+ }
326
+ .dashed{
327
+ stroke-dasharray: 10 2;
328
+ /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
329
+ pointer-events:none;
330
+ }
331
+
332
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
333
+ .properties-editor[data-v-0e44fe8c] .el-dialog__body{
356
334
  padding-top: 0
357
335
  }
358
336
 
@@ -360,6 +338,28 @@ g text{
360
338
  .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
339
  padding-top: 0
362
340
  }
341
+ #_subprocess-content[data-v-2b195c05] {
342
+ width: 100%;
343
+ height: calc(100vh - 200px);
344
+ }.tooltip[data-v-ac799913] {
345
+ position: absolute;
346
+ background: #fff;
347
+ min-width: 150px;
348
+ border-radius: 4px;
349
+ border: 1px solid #ebeef5;
350
+ padding: 12px;
351
+ z-index: 2000;
352
+ color: #606266;
353
+ line-height: 1.4;
354
+ text-align: justify;
355
+ font-size: 14px;
356
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
357
+ word-break: break-all;
358
+ }
359
+ /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
+ .properties-editor[data-v-af76d417] .el-dialog__body{
361
+ padding-top: 0
362
+ }
363
363
 
364
364
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
365
  .properties-editor[data-v-bd66d235] .el-dialog__body{
@@ -387,6 +387,22 @@ g text{
387
387
  fill: white;
388
388
  }
389
389
 
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
404
+ }
405
+
390
406
  .percent[data-v-a219b06d] {
391
407
  margin-left: 10px;
392
408
  color: red;
@@ -406,52 +422,22 @@ ul li[data-v-39fac73c] {
406
422
  .sub-li[data-v-39fac73c] {
407
423
  padding-left: 10px;
408
424
  }
409
- .control-point[data-v-788fb0ae]{
410
- fill: #fff;
411
- cursor: move;
412
- }
413
- .control-line[data-v-788fb0ae] {
414
- stroke-dasharray: 2 2
415
- }
416
-
417
- .percent[data-v-c1c7385b]{
425
+ .percent[data-v-6aef99ff]{
418
426
  margin-left: 10px;
419
427
  color:red;
420
428
  font-size:1.2em;
421
429
  }
422
430
 
423
- .control-point[data-v-0ff53a0a]{
424
- fill: #fff;
425
- cursor: move;
426
- }
427
- .control-line[data-v-0ff53a0a] {
428
- stroke-dasharray: 2 2
429
- }
430
-
431
431
  .el-checkbox[data-v-5fb29fef]{
432
432
  margin-left: 20px;
433
433
  }
434
434
 
435
- .percent[data-v-6aef99ff]{
435
+ .percent[data-v-c1c7385b]{
436
436
  margin-left: 10px;
437
437
  color:red;
438
438
  font-size:1.2em;
439
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
- }
440
+
455
441
  .el-tag + .el-tag[data-v-aaf48aff] {
456
442
  margin-left: 10px;
457
443
  }
@@ -473,11 +459,32 @@ select[data-v-aaf48aff]{
473
459
  height: 32px;
474
460
  line-height: 32px;
475
461
  }
476
-
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
 
481
+ .searchResult {
482
+ color:red
483
+ }
484
+ .inline-input-custom {
485
+ width : 90%
486
+ }
487
+
481
488
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
482
489
  height: 500px;
483
490
  }
@@ -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
- }
@@ -0,0 +1,10 @@
1
+ import o from "./src/workflow-editor.vue.js";
2
+ import r from "./src/store/workflow-editor.js";
3
+ import t from "./src/workflow-history.vue.js";
4
+ o.install = function(r2) {
5
+ r2.component(o.name, o), r2.component(t.name, t);
6
+ };
7
+ const e = { WorkflowEditor: o, WorkflowHistory: t, wfEditorStore: r };
8
+ export {
9
+ e as default
10
+ };
@@ -1,4 +1,4 @@
1
- import i from "../../../src/i18n/i18n.mjs";
1
+ import i from "../../../src/i18n/i18n.js";
2
2
  function n() {
3
3
  return { attr: { id: "", name: i.global.t("workflowEditor.task.newAutoTask") }, g: {}, taskNotice: {}, basicProperties: { beanName: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
4
4
  }
@@ -1,4 +1,4 @@
1
- import i from "../../../src/i18n/i18n.mjs";
1
+ import i from "../../../src/i18n/i18n.js";
2
2
  function n() {
3
3
  return { attr: { id: "", name: i.global.t("workflowEditor.task.newCc") }, g: {}, taskNotice: {}, basicProperties: { taskTitle: "", remark: "", taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, events: {}, permissionSettings: { editForm: { permission: false, field: [] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } } };
4
4
  }
@@ -1,4 +1,4 @@
1
- import t from "../../../src/i18n/i18n.mjs";
1
+ import t from "../../../src/i18n/i18n.js";
2
2
  function r() {
3
3
  return { attr: { id: "t3", name: t.global.t("workflowEditor.task.judge") }, g: {} };
4
4
  }
@@ -1,4 +1,4 @@
1
- import t from "../../../src/i18n/i18n.mjs";
1
+ import t from "../../../src/i18n/i18n.js";
2
2
  function r() {
3
3
  return { attr: { id: "", name: t.global.t("workflowEditor.task.end") }, g: {} };
4
4
  }
@@ -1,4 +1,4 @@
1
- import r from "../../../src/i18n/i18n.mjs";
1
+ import r from "../../../src/i18n/i18n.js";
2
2
  function t() {
3
3
  return { attr: { id: "", name: r.global.t("workflowEditor.task.branch") }, g: {} };
4
4
  }
@@ -1,4 +1,4 @@
1
- import t from "../../../src/i18n/i18n.mjs";
1
+ import t from "../../../src/i18n/i18n.js";
2
2
  function r() {
3
3
  return { attr: { name: t.global.t("workflowEditor.task.manualJudgment") }, g: {} };
4
4
  }
@@ -1,4 +1,4 @@
1
- import n from "../../../src/i18n/i18n.mjs";
1
+ import n from "../../../src/i18n/i18n.js";
2
2
  function i() {
3
3
  return { attr: { id: "newHumanTask", name: n.global.t("workflowEditor.task.newTask") }, g: {}, basicProperties: { processingMode: { type: "EDIT", passRate: 0, moreTransactor: false, actions: { action: [] } }, taskCode: "", taskTitle: "", remark: "", mailNotice: false, taskUrl: "" }, transactorSettings: { userCondition: "", moreTransactor: false, additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, permissionSettings: { editForm: { permission: false, field: [], subTablePermission: [{ tableName: "sub_table1", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }, { tableName: "sub_table2", permission: false, modelName: "model", action: [{ name: "notEmpty", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "add", userCondition: "人员条件", parentCondition: "主表字段条件" }, { name: "update", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "delete", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }], field: [{ name: "all_fields", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }, { name: "xxx", constraintRule: "REQUIRED/READ_ONLY", userCondition: "人员条件", parentCondition: "主表字段条件", condition: "子表字段条件" }] }] }, viewOpinion: { permission: false, condition: "" }, editOpinion: { permission: false, condition: "" }, requireOpinion: { permission: false, condition: "" }, viewMeetingResult: { permission: false, condition: "" }, viewVoteResult: { permission: false, condition: "" }, viewFlowHistory: { permission: false, condition: "" }, printForm: { permission: false, condition: "" }, officialText: { permission: false }, attachment: { permission: false }, deleteInstance: { userCondition: "" } }, autoFilledFields: { field: [] }, reminder: null, events: { afterComplete: false }, variables: { variable: [] } };
4
4
  }
@@ -1,4 +1,4 @@
1
- import r from "../../../src/i18n/i18n.mjs";
1
+ import r from "../../../src/i18n/i18n.js";
2
2
  function t() {
3
3
  return { attr: { id: "", name: r.global.t("workflowEditor.task.converge") }, g: {} };
4
4
  }
@@ -1,5 +1,5 @@
1
- import e from "./human-task.mjs";
2
- import r from "../../../src/i18n/i18n.mjs";
1
+ import e from "./human-task.js";
2
+ import r from "../../../src/i18n/i18n.js";
3
3
  function t() {
4
4
  const t2 = e();
5
5
  return t2.g = { x: 200, y: 150, width: 80, height: 40 }, { attr: { name: r.global.t("workflowEditor.task.newProcess"), code: "" }, properties: { basicProperties: { admin: "", formVersion: 1, formCode: "", processTypeCode: "", systemCode: "", creator: "", customType: "", branchCode: "" }, permissionSettings: { viewFlowHistory: "", viewSubscribeResult: "", viewVoteResult: "" }, reminder: null, parameterSettings: { doTask: { url: "", parameterName: "" }, viewForm: { url: "", parameterName: "" }, startProcess: { url: "", parameterName: "", parameterValue: "" }, handleEmergency: { url: "", parameterName: "" } }, events: { event: [] }, variables: { variable: [] } }, start: { attr: { id: "start" }, g: { x: 50, y: 50, width: 48, height: 48 } }, humanTask: t2, end: { attr: { id: "end" }, g: { x: 500, y: 300, width: 48, height: 48 } } };
@@ -1,4 +1,4 @@
1
- import t from "../../../src/i18n/i18n.mjs";
1
+ import t from "../../../src/i18n/i18n.js";
2
2
  function r() {
3
3
  return { attr: { id: "", name: t.global.t("workflowEditor.task.start") }, g: {} };
4
4
  }
@@ -1,4 +1,4 @@
1
- import t from "../../../src/i18n/i18n.mjs";
1
+ import t from "../../../src/i18n/i18n.js";
2
2
  function e() {
3
3
  return { attr: { id: "", name: t.global.t("workflowEditor.task.subprocess"), taskTitle: "" }, g: {}, processCode: "", processVersion: "", events: { beforeStart: "", end: false }, transactorSettings: { userCondition: "", additionalCondition: { onlyInCreatorDepartment: false, withCreatorDepartment: false, selectOneFromMultiple: false } }, parameters: { field: [] }, result: { field: [] } };
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as e, openBlock as o, createBlock as i, withCtx as l, createVNode as t, createTextVNode as d, toDisplayString as a, createElementVNode as n } from "vue";
2
- import r from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import r from "../../../_virtual/_plugin-vue_export-helper.js";
3
3
  const s = r({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
4
4
  this.$emit("update");
5
5
  }, addWfVersion() {