workflow-editor 0.0.81-up-tmp16 → 0.0.81-up-tmp18

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 (168) hide show
  1. package/dist/index.full.min.js +655 -1149
  2. package/dist/style.css +5 -5
  3. package/es/index.mjs +19 -0
  4. package/es/plugins/{formValidatorUtil.js → formValidatorUtil.mjs} +61 -61
  5. package/es/plugins/{index.js → index.mjs} +1 -1
  6. package/es/src/i18n/i18n.mjs +7 -0
  7. package/es/style.css +95 -95
  8. package/es/workflow-editor/index.mjs +8 -0
  9. package/es/workflow-editor/src/json-object-templates/{auto-task.js → auto-task.mjs} +1 -1
  10. package/es/workflow-editor/src/json-object-templates/{copy-task.js → copy-task.mjs} +1 -1
  11. package/es/workflow-editor/src/json-object-templates/{decision.js → decision.mjs} +1 -1
  12. package/es/workflow-editor/src/json-object-templates/{end.js → end.mjs} +1 -1
  13. package/es/workflow-editor/src/json-object-templates/{fork.js → fork.mjs} +1 -1
  14. package/es/workflow-editor/src/json-object-templates/{human-decision.js → human-decision.mjs} +1 -1
  15. package/es/workflow-editor/src/json-object-templates/{human-task.js → human-task.mjs} +1 -1
  16. package/es/workflow-editor/src/json-object-templates/{join.js → join.mjs} +1 -1
  17. package/es/workflow-editor/src/json-object-templates/{process.js → process.mjs} +2 -2
  18. package/es/workflow-editor/src/json-object-templates/{start.js → start.mjs} +1 -1
  19. package/es/workflow-editor/src/json-object-templates/{subprocess.js → subprocess.mjs} +1 -1
  20. package/es/workflow-editor/src/main/{admin-save-dialog.vue.js → admin-save-dialog.vue.mjs} +1 -1
  21. package/es/workflow-editor/src/main/{canvas.vue.js → canvas.vue.mjs} +29 -29
  22. package/es/workflow-editor/src/main/{context-menu.vue.js → context-menu.vue.mjs} +3 -3
  23. package/es/workflow-editor/src/main/{icon-svg.vue.js → icon-svg.vue.mjs} +4 -4
  24. package/es/workflow-editor/src/main/{selection-region.vue.js → selection-region.vue.mjs} +3 -3
  25. package/es/workflow-editor/src/main/{tache-history-tooltip.vue.js → tache-history-tooltip.vue.mjs} +2 -2
  26. package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue.js → tache-subprocess-history-dialog.vue.mjs} +2 -2
  27. package/es/workflow-editor/src/main/{toolbox.vue.js → toolbox.vue.mjs} +6 -6
  28. package/es/workflow-editor/src/main/{wf-history-canvas.vue.js → wf-history-canvas.vue.mjs} +17 -17
  29. package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue.js → basic-properties.vue.mjs} +7 -7
  30. package/es/workflow-editor/src/properties-editors/{auto-task.vue.js → auto-task.vue.mjs} +3 -3
  31. package/es/workflow-editor/src/properties-editors/common/{additional-condition-utils.js → additional-condition-utils.mjs} +2 -2
  32. package/es/workflow-editor/src/properties-editors/common/{additional-condition.vue.js → additional-condition.vue.mjs} +3 -3
  33. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields-utils.js → auto-filled-fields-utils.mjs} +1 -1
  34. package/es/workflow-editor/src/properties-editors/common/{auto-filled-fields.vue.js → auto-filled-fields.vue.mjs} +6 -6
  35. package/es/workflow-editor/src/properties-editors/common/{common-notice-tool.vue.js → common-notice-tool.vue.mjs} +3 -3
  36. package/es/workflow-editor/src/properties-editors/common/{common-user-condition.vue.js → common-user-condition.vue.mjs} +4 -4
  37. package/es/workflow-editor/src/properties-editors/common/{form-fields.vue.js → form-fields.vue.mjs} +2 -2
  38. package/es/workflow-editor/src/properties-editors/common/{i18n-input.vue.js → i18n-input.vue.mjs} +6 -6
  39. package/es/workflow-editor/src/properties-editors/common/{i18n-set-dialog.vue.js → i18n-set-dialog.vue.mjs} +2 -2
  40. package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue.js → notice-reminder.vue.mjs} +7 -7
  41. package/es/workflow-editor/src/properties-editors/common/{notice.vue.js → notice.vue.mjs} +4 -4
  42. package/es/workflow-editor/src/properties-editors/common/{reminder.vue.js → reminder.vue.mjs} +5 -5
  43. package/es/workflow-editor/src/properties-editors/common/{select-mail-template.vue.js → select-mail-template.vue.mjs} +1 -1
  44. package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue.js → system-role-tree-inline.vue.mjs} +2 -2
  45. package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue.js → system-role-tree.vue.mjs} +3 -3
  46. package/es/workflow-editor/src/properties-editors/common/{task-title.vue.js → task-title.vue.mjs} +4 -4
  47. package/es/workflow-editor/src/properties-editors/common/{transactor-settings.vue.js → transactor-settings.vue.mjs} +4 -4
  48. package/es/workflow-editor/src/properties-editors/common/{user-selection.vue.js → user-selection.vue.mjs} +4 -4
  49. package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue.js → value-selection-dialog.vue.mjs} +4 -4
  50. package/es/workflow-editor/src/properties-editors/common/{variables.vue.js → variables.vue.mjs} +1 -1
  51. package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue.js → basic-properties.vue.mjs} +7 -7
  52. package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue.js → permission-settings.vue.mjs} +4 -4
  53. package/es/workflow-editor/src/properties-editors/{copy-task.vue.js → copy-task.vue.mjs} +11 -11
  54. package/es/workflow-editor/src/properties-editors/{decision.vue.js → decision.vue.mjs} +3 -3
  55. package/es/workflow-editor/src/properties-editors/{fork.vue.js → fork.vue.mjs} +2 -2
  56. package/es/workflow-editor/src/properties-editors/{human-decision.vue.js → human-decision.vue.mjs} +1 -1
  57. package/es/workflow-editor/src/properties-editors/human-task/{additional-condition-dialog.vue.js → additional-condition-dialog.vue.mjs} +2 -2
  58. package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue.js → basic-properties.vue.mjs} +7 -7
  59. package/es/workflow-editor/src/properties-editors/human-task/{componentsConfigUtil.js → componentsConfigUtil.mjs} +1 -1
  60. package/es/workflow-editor/src/properties-editors/human-task/{custom-actions.vue.js → custom-actions.vue.mjs} +4 -4
  61. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-field-setting.vue.js → editable-child-field-setting.vue.mjs} +3 -3
  62. package/es/workflow-editor/src/properties-editors/human-task/{editable-child-fields.vue.js → editable-child-fields.vue.mjs} +3 -3
  63. package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue.js → editable-field-selection.vue.mjs} +3 -3
  64. package/es/workflow-editor/src/properties-editors/human-task/{editable-fields.vue.js → editable-fields.vue.mjs} +4 -4
  65. package/es/workflow-editor/src/properties-editors/human-task/{events.vue.js → events.vue.mjs} +1 -1
  66. package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue.js → permission-settings.vue.mjs} +7 -7
  67. package/es/workflow-editor/src/properties-editors/human-task/{selection-conditions.vue.js → selection-conditions.vue.mjs} +4 -4
  68. package/es/workflow-editor/src/properties-editors/{human-task.vue.js → human-task.vue.mjs} +9 -9
  69. package/es/workflow-editor/src/properties-editors/{join.vue.js → join.vue.mjs} +1 -1
  70. package/es/workflow-editor/src/properties-editors/process/{basic-properties.vue.js → basic-properties.vue.mjs} +6 -6
  71. package/es/workflow-editor/src/properties-editors/process/{events.vue.js → events.vue.mjs} +6 -6
  72. package/es/workflow-editor/src/properties-editors/process/{notice-settings.vue.js → notice-settings.vue.mjs} +3 -3
  73. package/es/workflow-editor/src/properties-editors/process/{parameter-settings.vue.js → parameter-settings.vue.mjs} +2 -2
  74. package/es/workflow-editor/src/properties-editors/process/{permission-settings.vue.js → permission-settings.vue.mjs} +2 -2
  75. package/es/workflow-editor/src/properties-editors/process/{selectPage.vue.js → selectPage.vue.mjs} +1 -1
  76. package/es/workflow-editor/src/properties-editors/{process.vue.js → process.vue.mjs} +8 -8
  77. package/es/workflow-editor/src/properties-editors/subprocess/{basic-properties.vue.js → basic-properties.vue.mjs} +8 -8
  78. package/es/workflow-editor/src/properties-editors/subprocess/{events.vue.js → events.vue.mjs} +1 -1
  79. package/es/workflow-editor/src/properties-editors/subprocess/{field-mappings.vue.js → field-mappings.vue.mjs} +5 -5
  80. package/es/workflow-editor/src/properties-editors/subprocess/{transactor-settings.vue.js → transactor-settings.vue.mjs} +7 -7
  81. package/es/workflow-editor/src/properties-editors/{subprocess.vue.js → subprocess.vue.mjs} +5 -5
  82. package/es/workflow-editor/src/properties-editors/transition/{basic-properties.vue.js → basic-properties.vue.mjs} +3 -3
  83. package/es/workflow-editor/src/properties-editors/{transition.vue.js → transition.vue.mjs} +9 -9
  84. package/es/workflow-editor/src/properties-editors/{user-condition.js → user-condition.mjs} +1 -1
  85. package/es/workflow-editor/src/store/{workflow-editor.js → workflow-editor.mjs} +1 -1
  86. package/es/workflow-editor/src/taches/{auto-task.vue.js → auto-task.vue.mjs} +7 -7
  87. package/es/workflow-editor/src/taches/{common-methods.js → common-methods.mjs} +1 -1
  88. package/es/workflow-editor/src/taches/{copy-task.vue.js → copy-task.vue.mjs} +7 -7
  89. package/es/workflow-editor/src/taches/{custom-task.vue.js → custom-task.vue.mjs} +4 -4
  90. package/es/workflow-editor/src/taches/{decision.vue.js → decision.vue.mjs} +5 -5
  91. package/es/workflow-editor/src/taches/{end.vue.js → end.vue.mjs} +4 -4
  92. package/es/workflow-editor/src/taches/{fork.vue.js → fork.vue.mjs} +5 -5
  93. package/es/workflow-editor/src/taches/{human-decision.vue.js → human-decision.vue.mjs} +7 -7
  94. package/es/workflow-editor/src/taches/{human-task.vue.js → human-task.vue.mjs} +5 -5
  95. package/es/workflow-editor/src/taches/{join.vue.js → join.vue.mjs} +4 -4
  96. package/es/workflow-editor/src/taches/{joint.vue.js → joint.vue.mjs} +3 -3
  97. package/es/workflow-editor/src/taches/{start.vue.js → start.vue.mjs} +4 -4
  98. package/es/workflow-editor/src/taches/{subprocess.vue.js → subprocess.vue.mjs} +7 -7
  99. package/es/workflow-editor/src/taches/{tache-resizer.vue.js → tache-resizer.vue.mjs} +2 -2
  100. package/es/workflow-editor/src/transitions/{broken-line.vue.js → broken-line.vue.mjs} +3 -3
  101. package/es/workflow-editor/src/transitions/{curve-line.vue.js → curve-line.vue.mjs} +3 -3
  102. package/es/workflow-editor/src/transitions/{straight-line.vue.js → straight-line.vue.mjs} +2 -2
  103. package/es/workflow-editor/src/transitions/{transition.vue.js → transition.vue.mjs} +8 -8
  104. package/es/workflow-editor/src/transitions/{virtual-transition.vue.js → virtual-transition.vue.mjs} +3 -3
  105. package/es/workflow-editor/src/{util.js → util.mjs} +13 -13
  106. package/es/workflow-editor/src/{workflow-editor.vue.js → workflow-editor.vue.mjs} +16 -16
  107. package/es/workflow-history/index.mjs +8 -0
  108. package/es/{workflow-editor/src/workflow-history.vue.js → workflow-history/src/workflow-history.vue.mjs} +13 -13
  109. package/lib/index.cjs +4 -4
  110. package/lib/plugins/formValidatorUtil.cjs +8 -8
  111. package/lib/style.css +94 -94
  112. package/lib/workflow-editor/index.cjs +4 -4
  113. package/lib/workflow-history/index.cjs +7 -0
  114. package/lib/{workflow-editor → workflow-history}/src/workflow-history.vue.cjs +3 -3
  115. package/package.json +2 -1
  116. package/es/index.js +0 -17
  117. package/es/src/i18n/i18n.js +0 -7
  118. package/es/workflow-editor/index.js +0 -10
  119. /package/es/_virtual/{_plugin-vue_export-helper.js → _plugin-vue_export-helper.mjs} +0 -0
  120. /package/es/src/i18n/langs/{cn.js → cn.mjs} +0 -0
  121. /package/es/src/i18n/langs/{en.js → en.mjs} +0 -0
  122. /package/es/workflow-editor/src/{api.js → api.mjs} +0 -0
  123. /package/es/workflow-editor/src/assets/{wf-editor-icons.js → wf-editor-icons.mjs} +0 -0
  124. /package/es/workflow-editor/src/json-object-templates/{transition.js → transition.mjs} +0 -0
  125. /package/es/workflow-editor/src/main/{canvas.vue2.js → canvas.vue2.mjs} +0 -0
  126. /package/es/workflow-editor/src/main/{context-menu.vue2.js → context-menu.vue2.mjs} +0 -0
  127. /package/es/workflow-editor/src/main/{icon-svg.vue2.js → icon-svg.vue2.mjs} +0 -0
  128. /package/es/workflow-editor/src/main/{selection-region.vue2.js → selection-region.vue2.mjs} +0 -0
  129. /package/es/workflow-editor/src/main/{tache-history-tooltip.vue2.js → tache-history-tooltip.vue2.mjs} +0 -0
  130. /package/es/workflow-editor/src/main/{tache-subprocess-history-dialog.vue2.js → tache-subprocess-history-dialog.vue2.mjs} +0 -0
  131. /package/es/workflow-editor/src/main/{toolbox.vue2.js → toolbox.vue2.mjs} +0 -0
  132. /package/es/workflow-editor/src/main/{wf-history-canvas.vue2.js → wf-history-canvas.vue2.mjs} +0 -0
  133. /package/es/workflow-editor/src/{process-service.js → process-service.mjs} +0 -0
  134. /package/es/workflow-editor/src/properties-editors/auto-task/{basic-properties.vue2.js → basic-properties.vue2.mjs} +0 -0
  135. /package/es/workflow-editor/src/properties-editors/{auto-task.vue2.js → auto-task.vue2.mjs} +0 -0
  136. /package/es/workflow-editor/src/properties-editors/common/{form-fields-utils.js → form-fields-utils.mjs} +0 -0
  137. /package/es/workflow-editor/src/properties-editors/common/{form-fields.vue2.js → form-fields.vue2.mjs} +0 -0
  138. /package/es/workflow-editor/src/properties-editors/common/{notice-reminder.vue2.js → notice-reminder.vue2.mjs} +0 -0
  139. /package/es/workflow-editor/src/properties-editors/common/{reminder.vue2.js → reminder.vue2.mjs} +0 -0
  140. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree-inline.vue2.js → system-role-tree-inline.vue2.mjs} +0 -0
  141. /package/es/workflow-editor/src/properties-editors/common/{system-role-tree.vue2.js → system-role-tree.vue2.mjs} +0 -0
  142. /package/es/workflow-editor/src/properties-editors/common/{task-title.vue2.js → task-title.vue2.mjs} +0 -0
  143. /package/es/workflow-editor/src/properties-editors/common/{value-selection-dialog.vue2.js → value-selection-dialog.vue2.mjs} +0 -0
  144. /package/es/workflow-editor/src/properties-editors/copy-task/{basic-properties.vue2.js → basic-properties.vue2.mjs} +0 -0
  145. /package/es/workflow-editor/src/properties-editors/copy-task/{permission-settings.vue2.js → permission-settings.vue2.mjs} +0 -0
  146. /package/es/workflow-editor/src/properties-editors/{copy-task.vue2.js → copy-task.vue2.mjs} +0 -0
  147. /package/es/workflow-editor/src/properties-editors/human-task/{basic-properties.vue2.js → basic-properties.vue2.mjs} +0 -0
  148. /package/es/workflow-editor/src/properties-editors/human-task/{editable-field-selection.vue2.js → editable-field-selection.vue2.mjs} +0 -0
  149. /package/es/workflow-editor/src/properties-editors/human-task/{permission-settings.vue2.js → permission-settings.vue2.mjs} +0 -0
  150. /package/es/workflow-editor/src/properties-editors/{human-task.vue2.js → human-task.vue2.mjs} +0 -0
  151. /package/es/workflow-editor/src/properties-editors/{subprocess.vue2.js → subprocess.vue2.mjs} +0 -0
  152. /package/es/workflow-editor/src/properties-editors/{transition.vue2.js → transition.vue2.mjs} +0 -0
  153. /package/es/workflow-editor/src/store/{getters.js → getters.mjs} +0 -0
  154. /package/es/workflow-editor/src/taches/{decision.vue2.js → decision.vue2.mjs} +0 -0
  155. /package/es/workflow-editor/src/taches/{end.vue2.js → end.vue2.mjs} +0 -0
  156. /package/es/workflow-editor/src/taches/{fork.vue2.js → fork.vue2.mjs} +0 -0
  157. /package/es/workflow-editor/src/taches/{human-decision.vue2.js → human-decision.vue2.mjs} +0 -0
  158. /package/es/workflow-editor/src/taches/{join.vue2.js → join.vue2.mjs} +0 -0
  159. /package/es/workflow-editor/src/taches/{joint.vue2.js → joint.vue2.mjs} +0 -0
  160. /package/es/workflow-editor/src/taches/{start.vue2.js → start.vue2.mjs} +0 -0
  161. /package/es/workflow-editor/src/taches/{tache-resizer.vue2.js → tache-resizer.vue2.mjs} +0 -0
  162. /package/es/workflow-editor/src/transitions/{broken-line.vue2.js → broken-line.vue2.mjs} +0 -0
  163. /package/es/workflow-editor/src/transitions/{curve-line.vue2.js → curve-line.vue2.mjs} +0 -0
  164. /package/es/workflow-editor/src/transitions/{transition.vue2.js → transition.vue2.mjs} +0 -0
  165. /package/es/workflow-editor/src/transitions/{virtual-transition.vue2.js → virtual-transition.vue2.mjs} +0 -0
  166. /package/es/workflow-editor/src/{workflow-editor.vue2.js → workflow-editor.vue2.mjs} +0 -0
  167. /package/es/{workflow-editor/src/workflow-history.vue2.js → workflow-history/src/workflow-history.vue2.mjs} +0 -0
  168. /package/lib/{workflow-editor → workflow-history}/src/workflow-history.vue2.cjs +0 -0
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-6658e14b] {
501
+ .main[data-v-14c5e870] {
502
502
  position: relative;
503
503
  display: flex;
504
504
  height: 100%;
505
505
  width: 100%;
506
506
  }
507
- .canvas-container[data-v-6658e14b] {
507
+ .canvas-container[data-v-14c5e870] {
508
508
  position: relative;
509
509
  height: 100%;
510
510
  width: 100%;
511
511
  }
512
- section[data-v-6658e14b] {
512
+ section[data-v-14c5e870] {
513
513
  overflow: hidden;
514
514
  width: 100%;
515
515
  height: 100%;
516
516
  padding: 0;
517
517
  }
518
- .canvas[data-v-6658e14b] {
518
+ .canvas[data-v-14c5e870] {
519
519
  overflow: auto;
520
520
  height: 100%;
521
521
  padding: 0;
522
522
  min-height: 500px;
523
523
  }
524
- .canvas[data-v-6658e14b] .draggable {
524
+ .canvas[data-v-14c5e870] .draggable {
525
525
  cursor: default;
526
526
  }
package/es/index.mjs ADDED
@@ -0,0 +1,19 @@
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) => {
9
+ o2.component(r2.name, r2);
10
+ }), o2.use(t));
11
+ };
12
+ 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
19
+ };
@@ -1,5 +1,5 @@
1
- import e from "../node_modules/async-validator/dist-web/index.js";
2
- import { getI18n as t } from "../workflow-editor/src/util.js";
1
+ import e from "async-validator";
2
+ import { getI18n as t } from "../workflow-editor/src/util.mjs";
3
3
  import { parseSubTablePermissionCondition as n } from "agilebuilder-ui";
4
4
  function o(e2, n2) {
5
5
  const o2 = {}, r2 = e2.dataType;
@@ -36,11 +36,11 @@ function s(e2, t2, n2) {
36
36
  return o2;
37
37
  }
38
38
  function l(e2, t2, n2, i2, l2) {
39
- let d2 = e2.name;
40
- const f2 = d2.substring(0, d2.indexOf("."));
39
+ let f2 = e2.name;
40
+ const u2 = f2.substring(0, f2.indexOf("."));
41
41
  if (n2) {
42
- n2[f2] || (n2[f2] = {});
43
- const i3 = n2[f2];
42
+ n2[u2] || (n2[u2] = {});
43
+ const i3 = n2[u2];
44
44
  (function(e3, t3) {
45
45
  if (e3.indexOf(".") > 0) {
46
46
  let n3 = t3;
@@ -54,63 +54,63 @@ function l(e2, t2, n2, i2, l2) {
54
54
  return true;
55
55
  }
56
56
  return true;
57
- })(d2.substring(d2.indexOf(".") + 1), i3) && function(e3, t3, n3, i4) {
57
+ })(f2.substring(f2.indexOf(".") + 1), i3) && function(e3, t3, n3, i4) {
58
58
  const l3 = {};
59
- let d3 = e3.name;
59
+ let f3 = e3.name;
60
60
  t3 || (t3 = {});
61
- const f3 = d3.split(".");
62
- for (let n4 = 0; n4 < f3.length; n4++) {
63
- const d4 = f3[n4];
64
- let u2;
65
- if (n4 === f3.length - 1)
66
- u2 = s(l3, f3, d4), u2.fields[d4] = o(e3, i4);
61
+ const u3 = f3.split(".");
62
+ for (let n4 = 0; n4 < u3.length; n4++) {
63
+ const f4 = u3[n4];
64
+ let d2;
65
+ if (n4 === u3.length - 1)
66
+ d2 = s(l3, u3, f4), d2.fields[f4] = o(e3, i4);
67
67
  else {
68
68
  let e4;
69
- 0 === n4 ? u2 = t3 : (e4 = r(l3, f3, f3[n4 - 1]), u2 = e4.fields), u2[d4] || (u2[d4] = { type: "object", required: true, fields: {} }), 0 === n4 ? l3[d4] = u2[d4] : e4.fields[d4] = u2[d4];
69
+ 0 === n4 ? d2 = t3 : (e4 = r(l3, u3, u3[n4 - 1]), d2 = e4.fields), d2[f4] || (d2[f4] = { type: "object", required: true, fields: {} }), 0 === n4 ? l3[f4] = d2[f4] : e4.fields[f4] = d2[f4];
70
70
  }
71
71
  }
72
72
  }(e2, t2, 0, l2);
73
73
  }
74
74
  }
75
- function d(e2, t2, n2, o2, i2, r2, s2) {
76
- return f(e2, t2, n2, true, o2, i2, r2, s2);
75
+ function f(e2, t2, n2, o2, i2, r2, s2) {
76
+ return u(e2, t2, n2, true, o2, i2, r2, s2);
77
77
  }
78
- function f(n2, o2, i2, r2, s2, l2, d2, u2) {
78
+ function u(n2, o2, i2, r2, s2, l2, f2, d2) {
79
79
  let a2 = false;
80
80
  let c2;
81
- if (new e(o2).validate(n2, { first: true }, (e2, u3) => {
81
+ if (new e(o2).validate(n2, { first: true }, (e2, d3) => {
82
82
  if (e2) {
83
83
  const n3 = e2[0].message;
84
- c2 = e2[0].field, a2 = null != i2 ? void 0 !== l2 && void 0 !== d2 ? t().t("workflowEditorMessage.pageRecordLine", { pageNum: l2, row: d2 }) + "," + n3 : t().t("workflowEditorMessage.recordLine", { row: i2 + 1 }) + "," + n3 : n3;
84
+ c2 = e2[0].field, a2 = null != i2 ? void 0 !== l2 && void 0 !== f2 ? t().t("workflowEditorMessage.pageRecordLine", { pageNum: l2, row: f2 }) + "," + n3 : t().t("workflowEditorMessage.recordLine", { row: i2 + 1 }) + "," + n3 : n3;
85
85
  } else
86
86
  a2 = true;
87
87
  if (c2 && true === r2) {
88
88
  if (void 0 !== s2 && true === s2 && /[A-Z]+/.test(c2) && void 0 !== n2[c2.toLowerCase()]) {
89
89
  const e3 = JSON.parse(JSON.stringify(n2));
90
- e3[c2.toUpperCase()] = n2[c2.toLowerCase()], delete e3[c2.toLowerCase()], a2 = f(e3, o2, i2, false, s2, l2, d2);
90
+ e3[c2.toUpperCase()] = n2[c2.toLowerCase()], delete e3[c2.toLowerCase()], a2 = u(e3, o2, i2, false, s2, l2, f2);
91
91
  }
92
92
  }
93
- }), u2) {
93
+ }), d2) {
94
94
  let e2 = { msg: a2, field: c2 };
95
- return void 0 !== l2 && void 0 !== d2 ? (e2.pageNum = l2, e2.rowIndex = d2) : e2.rowIndex = i2, e2;
95
+ return void 0 !== l2 && void 0 !== f2 ? (e2.pageNum = l2, e2.rowIndex = f2) : e2.rowIndex = i2, e2;
96
96
  }
97
97
  return a2;
98
98
  }
99
- function u(e2, t2, o2, i2, r2, s2, l2, d2, f2) {
100
- const u2 = function(e3) {
99
+ function d(e2, t2, o2, i2, r2, s2, l2, f2, u2) {
100
+ const d2 = function(e3) {
101
101
  return e3 && e3.id ? e3.id : e3 && e3.ID ? e3.ID : void 0;
102
102
  }(o2), a2 = {};
103
103
  for (let c2 = 0; c2 < e2.length; c2++) {
104
104
  const g = e2[c2];
105
- if (f2.indexOf(g) < 0)
105
+ if (u2.indexOf(g) < 0)
106
106
  continue;
107
- const b = t2[g], p = b.condition, m = n(p, i2, r2, o2, s2, l2, d2);
107
+ const b = t2[g], p = b.condition, m = n(p, i2, r2, o2, s2, l2, f2);
108
108
  if (null != m && true === m)
109
- if (void 0 === u2)
109
+ if (void 0 === d2)
110
110
  a2[g] = b;
111
111
  else {
112
112
  const e3 = b.rowIndexes;
113
- (!e3 || e3.indexOf(u2) >= 0) && (a2[g] = b);
113
+ (!e3 || e3.indexOf(d2) >= 0) && (a2[g] = b);
114
114
  }
115
115
  }
116
116
  return a2;
@@ -120,34 +120,34 @@ function a(e2, t2, n2) {
120
120
  return o2 || (o2 = []), 0 !== o2.length || !e2 || !e2[n2] || void 0 === e2[n2].required || true !== e2[n2].required || e2[n2].message;
121
121
  }
122
122
  const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
123
- const f2 = Object.keys(t2);
124
- if (f2.indexOf("rules") >= 0 && f2.indexOf("subRules") >= 0 && f2.indexOf("totalSubRules") >= 0) {
125
- const f3 = t2.rules, c2 = t2.subRules, g = t2.totalSubRules, b = t2.dataTypeMap;
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) {
123
+ const u2 = Object.keys(t2);
124
+ if (u2.indexOf("rules") >= 0 && u2.indexOf("subRules") >= 0 && u2.indexOf("totalSubRules") >= 0) {
125
+ const u3 = t2.rules, c2 = t2.subRules, g = t2.totalSubRules, b = t2.dataTypeMap;
126
+ let p = f(e2, u3, 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, u4, 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 p2 = n4[b2], m = t3[p2], w = Object.keys(m);
133
- let O = e3[p2];
134
- O || (O = []);
132
+ const p2 = n4[b2], m = t3[p2], O = Object.keys(m);
133
+ let w = e3[p2];
134
+ w || (w = []);
135
135
  const x = a(g2, e3, p2);
136
136
  if (true !== x)
137
137
  return delete g2[p2], c3 ? { msg: x, listCode: p2 } : x;
138
138
  let y, E = [];
139
- f4 && f4[p2] && (y = f4[p2].pageSize, E = f4[p2].fields || []);
140
- for (let t4 = 0; t4 < O.length; t4++) {
141
- const n5 = O[t4], f5 = u(w, m, O[t4], i3, e3, r3, s3, l3, E);
139
+ u4 && u4[p2] && (y = u4[p2].pageSize, E = u4[p2].fields || []);
140
+ for (let t4 = 0; t4 < w.length; t4++) {
141
+ const n5 = w[t4], u5 = d(O, m, w[t4], i3, e3, r3, s3, l3, E);
142
142
  let a2, g3;
143
- void 0 !== y && y > 0 && (a2 = Math.ceil((t4 + 1) / y), g3 = t4 + 1 - (a2 - 1) * y), Object.keys(f5).forEach((o4) => {
144
- const i4 = f5[o4];
145
- if (i4 && i4.rules && (f5[o4] = i4.rules), i4 && i4.beforeValidate) {
143
+ void 0 !== y && y > 0 && (a2 = Math.ceil((t4 + 1) / y), g3 = t4 + 1 - (a2 - 1) * y), Object.keys(u5).forEach((o4) => {
144
+ const i4 = u5[o4];
145
+ if (i4 && i4.rules && (u5[o4] = i4.rules), i4 && i4.beforeValidate) {
146
146
  const r4 = i4.beforeValidate;
147
- "function" == typeof r4 && false === r4({ row: n5, parent: e3, rowIndex: t4 }) && (f5[o4] = []);
147
+ "function" == typeof r4 && false === r4({ row: n5, parent: e3, rowIndex: t4 }) && (u5[o4] = []);
148
148
  }
149
149
  });
150
- const b3 = d(n5, f5, t4, o3, a2, g3, c3);
150
+ const b3 = f(n5, u5, t4, o3, a2, g3, c3);
151
151
  if (!c3 && true !== b3 || c3 && true !== b3.msg)
152
152
  return c3 && (b3.listCode = p2), b3;
153
153
  }
@@ -161,45 +161,45 @@ const c = { formValidator: function(e2, t2, n2, o2, i2, r2, s2, l2) {
161
161
  return !c3 || { msg: true };
162
162
  }(e2, c2, g, n2, b, o2, i2, r2, s2, l2)), p;
163
163
  }
164
- return d(e2, t2, null, n2, null, null, l2);
165
- }, getValidator: function(e2, i2, r2, s2, d2, f2) {
164
+ return f(e2, t2, null, n2, null, null, l2);
165
+ }, getValidator: function(e2, i2, r2, s2, f2, u2) {
166
166
  void 0 === r2 && (r2 = false);
167
- const u2 = {}, a2 = {}, c2 = {}, g = {};
167
+ const d2 = {}, a2 = {}, c2 = {}, g = {};
168
168
  return e2 && e2.forEach((e3) => {
169
169
  const b = e3.canEdit;
170
170
  if (void 0 !== b && true === b) {
171
171
  let b2 = e3.name;
172
172
  if (b2) {
173
173
  const p = e3.condition, m = null;
174
- let w = null;
175
- if (w = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(p, a2, m, i2, s2, d2, f2), null != w && true === w) {
174
+ let O = null;
175
+ if (O = b2.indexOf(".") > 0 && 0 === b2.indexOf("$") || n(p, a2, m, i2, s2, f2, u2), null != O && true === O) {
176
176
  let n2 = {};
177
177
  if (b2.indexOf(".") > 0)
178
178
  0 === b2.indexOf("$") ? function(e4, t2, n3, i3, r3) {
179
179
  let s3 = e4.name;
180
- const d3 = s3.substring(s3.indexOf("$") + 1, s3.indexOf("."));
180
+ const f3 = s3.substring(s3.indexOf("$") + 1, s3.indexOf("."));
181
181
  if (!n3)
182
182
  return;
183
- const f3 = n3[d3], u3 = s3.substring(s3.indexOf(".") + 1);
184
- t2[d3] || (t2[d3] = {});
183
+ const u3 = n3[f3], d3 = s3.substring(s3.indexOf(".") + 1);
184
+ t2[f3] || (t2[f3] = {});
185
185
  const a3 = JSON.parse(JSON.stringify(e4));
186
- if (a3.name = u3, u3.indexOf(".") > 0) {
187
- if (void 0 !== f3 && null === f3 && 0 === f3.length) {
188
- const e5 = f3[0];
189
- l(a3, t2[d3], e5, i3, r3);
186
+ if (a3.name = d3, d3.indexOf(".") > 0) {
187
+ if (void 0 !== u3 && null === u3 && 0 === u3.length) {
188
+ const e5 = u3[0];
189
+ l(a3, t2[f3], e5, i3, r3);
190
190
  }
191
191
  } else
192
- t2[d3][u3] = o(a3, r3);
193
- }(e3, g, i2, r2, a2) : l(e3, u2, i2, r2, a2);
192
+ t2[f3][d3] = o(a3, r3);
193
+ }(e3, g, i2, r2, a2) : l(e3, d2, i2, r2, a2);
194
194
  else if (0 === b2.indexOf("$")) {
195
195
  const n3 = b2.substring(b2.indexOf("$") + 1);
196
196
  c2[n3] = { required: true, message: t().t("workflowEditorMessage.subTableMustInputDatas", { subTable: e3.label }) };
197
197
  } else
198
- n2 = o(e3, a2), u2[b2] = n2;
198
+ n2 = o(e3, a2), d2[b2] = n2;
199
199
  }
200
200
  }
201
201
  }
202
- }), Object.keys(g).length > 0 || Object.keys(c2).length > 0 ? { rules: u2, subRules: g, totalSubRules: c2, dataTypeMap: a2 } : u2;
202
+ }), Object.keys(g).length > 0 || Object.keys(c2).length > 0 ? { rules: d2, subRules: g, totalSubRules: c2, dataTypeMap: a2 } : d2;
203
203
  } };
204
204
  export {
205
205
  c as default
@@ -1,4 +1,4 @@
1
- import o from "./formValidatorUtil.js";
1
+ import o from "./formValidatorUtil.mjs";
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 m from "./langs/en.mjs";
3
+ import n from "./langs/cn.mjs";
4
+ const o = e({ locale: "cn", messages: { en: m, cn: n }, legacy: false });
5
+ export {
6
+ o as default
7
+ };
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-6658e14b] {
103
+ }.main[data-v-14c5e870] {
104
104
  position: relative;
105
105
  display: flex;
106
106
  height: 100%;
107
107
  width: 100%;
108
108
  }
109
- .canvas-container[data-v-6658e14b] {
109
+ .canvas-container[data-v-14c5e870] {
110
110
  position: relative;
111
111
  height: 100%;
112
112
  width: 100%;
113
113
  }
114
- section[data-v-6658e14b] {
114
+ section[data-v-14c5e870] {
115
115
  overflow: hidden;
116
116
  width: 100%;
117
117
  height: 100%;
118
118
  padding: 0;
119
119
  }
120
- .canvas[data-v-6658e14b] {
120
+ .canvas[data-v-14c5e870] {
121
121
  overflow: auto;
122
122
  height: 100%;
123
123
  padding: 0;
124
124
  min-height: 500px;
125
125
  }
126
- .canvas[data-v-6658e14b] .draggable {
126
+ .canvas[data-v-14c5e870] .draggable {
127
127
  cursor: default;
128
128
  }
129
129
  #svg{
@@ -172,7 +172,21 @@ g text{
172
172
  .current-tache text{
173
173
  fill: white
174
174
  }
175
-
175
+ h3[data-v-0d941719] {
176
+ color: #999999;
177
+ margin: 0;
178
+ padding: 0;
179
+ font-weight: bold;
180
+ font-size: 18px;
181
+ }
182
+ .el-button[data-v-0d941719] {
183
+ margin: 6px 0;
184
+ min-width: 110px;
185
+ padding: 9px 15px;
186
+ }
187
+ .el-button i[data-v-0d941719] {
188
+ padding-right: 4px;
189
+ }
176
190
  #svg{
177
191
  /* border:1px solid red; */
178
192
  background: white;
@@ -211,21 +225,7 @@ g text{
211
225
  fill: currentColor;
212
226
  overflow: hidden;
213
227
  }
214
- h3[data-v-0d941719] {
215
- color: #999999;
216
- margin: 0;
217
- padding: 0;
218
- font-weight: bold;
219
- font-size: 18px;
220
- }
221
- .el-button[data-v-0d941719] {
222
- margin: 6px 0;
223
- min-width: 110px;
224
- padding: 9px 15px;
225
- }
226
- .el-button i[data-v-0d941719] {
227
- padding-right: 4px;
228
- }li[data-v-7e8a1cf6] {
228
+ li[data-v-7e8a1cf6] {
229
229
  color: #333;
230
230
  }
231
231
  .context-menu[data-v-7e8a1cf6] {
@@ -254,12 +254,12 @@ h3[data-v-0d941719] {
254
254
  li[data-v-7e8a1cf6] {
255
255
  list-style-type: none;
256
256
  }
257
- .start{
257
+ .end{
258
258
  stroke-width: 0;
259
259
  fill:#fff;
260
260
  }
261
261
 
262
- .end{
262
+ .decision{
263
263
  stroke-width: 0;
264
264
  fill:#fff;
265
265
  }
@@ -274,23 +274,9 @@ li[data-v-7e8a1cf6] {
274
274
  fill:#fff;
275
275
  }
276
276
 
277
- .transition[data-v-a1576cad] {
278
- stroke-width: 2;
279
- stroke: #666;
280
- fill: none;
281
- cursor: pointer;
282
- }
283
- .selected[data-v-a1576cad] {
284
- stroke: red;
285
- }
286
- .transition-dragger[data-v-a1576cad] {
287
- stroke: red;
288
- stroke-width: 1;
289
- fill: white;
290
- cursor: move;
291
- }
292
- .no-events[data-v-a1576cad] {
293
- pointer-events: none;
277
+ .start{
278
+ stroke-width: 0;
279
+ fill:#fff;
294
280
  }
295
281
  .tooltip[data-v-ac799913] {
296
282
  position: absolute;
@@ -306,27 +292,13 @@ li[data-v-7e8a1cf6] {
306
292
  font-size: 14px;
307
293
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
308
294
  word-break: break-all;
309
- }
310
- .decision{
311
- stroke-width: 0;
312
- fill:#fff;
313
- }
314
- #_subprocess-content[data-v-2b195c05] {
295
+ }#_subprocess-content[data-v-2b195c05] {
315
296
  width: 100%;
316
297
  height: calc(100vh - 200px);
317
298
  }
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;
299
+ .human-decision{
300
+ stroke-width: 0;
301
+ fill:#fff;
330
302
  }
331
303
 
332
304
  .virtual-transition{
@@ -336,15 +308,43 @@ li[data-v-7e8a1cf6] {
336
308
  fill: none;
337
309
  }
338
310
 
339
- .human-decision{
340
- stroke-width: 0;
341
- fill:#fff;
311
+ .transition[data-v-a1576cad] {
312
+ stroke-width: 2;
313
+ stroke: #666;
314
+ fill: none;
315
+ cursor: pointer;
316
+ }
317
+ .selected[data-v-a1576cad] {
318
+ stroke: red;
319
+ }
320
+ .transition-dragger[data-v-a1576cad] {
321
+ stroke: red;
322
+ stroke-width: 1;
323
+ fill: white;
324
+ cursor: move;
325
+ }
326
+ .no-events[data-v-a1576cad] {
327
+ pointer-events: none;
342
328
  }
343
329
 
344
330
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
345
331
  .properties-editor[data-v-1651d82a] .el-dialog__body {
346
332
  padding-top: 0;
347
333
  }
334
+
335
+ .selection-region{
336
+ stroke: blue;
337
+ stroke-width: 1;
338
+ fill: white;
339
+ fill-opacity: 0;
340
+ opacity: 1;
341
+ cursor: move;
342
+ }
343
+ .dashed{
344
+ stroke-dasharray: 10 2;
345
+ /* 控制region在画的过程中不响应任何事件,只有画完后才能响应 */
346
+ pointer-events:none;
347
+ }
348
348
 
349
349
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
350
350
  .properties-editor[data-v-0e44fe8c] .el-dialog__body{
@@ -352,28 +352,20 @@ li[data-v-7e8a1cf6] {
352
352
  }
353
353
 
354
354
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
355
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
355
+ .properties-editor[data-v-af76d417] .el-dialog__body{
356
356
  padding-top: 0
357
357
  }
358
358
 
359
359
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-bd66d235] .el-dialog__body{
360
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
361
  padding-top: 0
362
362
  }
363
363
 
364
364
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
365
- .properties-editor[data-v-af76d417] .el-dialog__body{
365
+ .properties-editor[data-v-bd66d235] .el-dialog__body{
366
366
  padding-top: 0
367
367
  }
368
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
369
  .joint-container{
378
370
  stroke-width: 0;
379
371
  fill: #fff;
@@ -397,8 +389,18 @@ li[data-v-7e8a1cf6] {
397
389
  stroke-dasharray: 2 2
398
390
  }
399
391
 
400
- .el-checkbox[data-v-c019538f]{
401
- margin-left: 20px;
392
+ .resizer{
393
+ stroke: blue;
394
+ stroke-width: 1;
395
+ fill: white;
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
402
404
  }
403
405
 
404
406
  .percent[data-v-a219b06d] {
@@ -407,10 +409,8 @@ li[data-v-7e8a1cf6] {
407
409
  font-size: 1.2em;
408
410
  }
409
411
 
410
- .resizer{
411
- stroke: blue;
412
- stroke-width: 1;
413
- fill: white;
412
+ .el-checkbox[data-v-c019538f]{
413
+ margin-left: 20px;
414
414
  }
415
415
  ul[data-v-39fac73c] {
416
416
  margin: 0;
@@ -422,7 +422,7 @@ 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;
@@ -432,7 +432,7 @@ ul li[data-v-39fac73c] {
432
432
  margin-left: 20px;
433
433
  }
434
434
 
435
- .percent[data-v-c1c7385b]{
435
+ .percent[data-v-6aef99ff]{
436
436
  margin-left: 10px;
437
437
  color:red;
438
438
  font-size:1.2em;
@@ -477,7 +477,20 @@ select[data-v-aaf48aff]{
477
477
  span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
-
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
+ }
481
494
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
482
495
  height: 500px;
483
496
  }
@@ -496,20 +509,7 @@ span[data-v-4e29ea06] {
496
509
  padding-left: 20px;
497
510
  overflow: auto;
498
511
  }
499
- #appContainer[data-v-9458f3bf] .el-checkbox {
500
- display: block;
501
- }
502
- #appContainer[data-v-9458f3bf] .el-transfer-panel {
503
- width: 400px;
504
- }
505
- #appContainer[data-v-9458f3bf] .ellipsis {
506
- display: inline-block;
507
- overflow: hidden;
508
- text-overflow: ellipsis;
509
- white-space: nowrap;
510
- word-break: keep-all;
511
- width: 55%;
512
- }
512
+
513
513
  .searchResult {
514
514
  color:red
515
515
  }
@@ -0,0 +1,8 @@
1
+ import o from "./src/workflow-editor.vue.mjs";
2
+ o.install = function(t2) {
3
+ t2.component(o.name, o);
4
+ };
5
+ const t = { WorkflowEditor: o };
6
+ export {
7
+ t as default
8
+ };
@@ -1,4 +1,4 @@
1
- import i from "../../../src/i18n/i18n.js";
1
+ import i from "../../../src/i18n/i18n.mjs";
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.js";
1
+ import i from "../../../src/i18n/i18n.mjs";
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.js";
1
+ import t from "../../../src/i18n/i18n.mjs";
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.js";
1
+ import t from "../../../src/i18n/i18n.mjs";
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.js";
1
+ import r from "../../../src/i18n/i18n.mjs";
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.js";
1
+ import t from "../../../src/i18n/i18n.mjs";
2
2
  function r() {
3
3
  return { attr: { name: t.global.t("workflowEditor.task.manualJudgment") }, g: {} };
4
4
  }