workflow-editor 0.0.81-up-tmp17 → 0.0.81-up-tmp19

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 +105 -105
  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 +110 -110
  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 +4 -2
  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,44 +100,30 @@ 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;
117
- }.main[data-v-6658e14b] {
103
+ }.main[data-v-14c5e870] {
118
104
  position: relative;
119
105
  display: flex;
120
106
  height: 100%;
121
107
  width: 100%;
122
108
  }
123
- .canvas-container[data-v-6658e14b] {
109
+ .canvas-container[data-v-14c5e870] {
124
110
  position: relative;
125
111
  height: 100%;
126
112
  width: 100%;
127
113
  }
128
- section[data-v-6658e14b] {
114
+ section[data-v-14c5e870] {
129
115
  overflow: hidden;
130
116
  width: 100%;
131
117
  height: 100%;
132
118
  padding: 0;
133
119
  }
134
- .canvas[data-v-6658e14b] {
120
+ .canvas[data-v-14c5e870] {
135
121
  overflow: auto;
136
122
  height: 100%;
137
123
  padding: 0;
138
124
  min-height: 500px;
139
125
  }
140
- .canvas[data-v-6658e14b] .draggable {
126
+ .canvas[data-v-14c5e870] .draggable {
141
127
  cursor: default;
142
128
  }
143
129
  #svg{
@@ -169,8 +155,38 @@ g text{
169
155
  fill: #fff;
170
156
  stroke: #666;
171
157
  stroke-width: 2;
158
+ }
159
+ .passed-tache .task-tache{
160
+ fill: green;
161
+ stroke: green;
162
+ stroke-width: 2;
163
+ }
164
+ .current-tache .task-tache{
165
+ fill: red;
166
+ stroke: red;
167
+ stroke-width: 2;
168
+ }
169
+ .passed-tache text{
170
+ fill:white;
171
+ }
172
+ .current-tache text{
173
+ fill: white
172
174
  }
173
-
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
+ }
174
190
  #svg{
175
191
  /* border:1px solid red; */
176
192
  background: white;
@@ -200,22 +216,14 @@ g text{
200
216
  fill: #fff;
201
217
  stroke: #666;
202
218
  stroke-width: 2;
203
- }
204
- .passed-tache .task-tache{
205
- fill: green;
206
- stroke: green;
207
- stroke-width: 2;
208
- }
209
- .current-tache .task-tache{
210
- fill: red;
211
- stroke: red;
212
- stroke-width: 2;
213
- }
214
- .passed-tache text{
215
- fill:white;
216
- }
217
- .current-tache text{
218
- fill: white
219
+ }
220
+
221
+ .svg-icon {
222
+ width: 1em;
223
+ height: 1em;
224
+ vertical-align: -0.15em;
225
+ fill: currentColor;
226
+ overflow: hidden;
219
227
  }
220
228
  li[data-v-7e8a1cf6] {
221
229
  color: #333;
@@ -246,12 +254,9 @@ li[data-v-7e8a1cf6] {
246
254
  li[data-v-7e8a1cf6] {
247
255
  list-style-type: none;
248
256
  }
249
- .svg-icon {
250
- width: 1em;
251
- height: 1em;
252
- vertical-align: -0.15em;
253
- fill: currentColor;
254
- overflow: hidden;
257
+ .end{
258
+ stroke-width: 0;
259
+ fill:#fff;
255
260
  }
256
261
 
257
262
  .decision{
@@ -259,17 +264,39 @@ li[data-v-7e8a1cf6] {
259
264
  fill:#fff;
260
265
  }
261
266
 
262
- .end{
267
+ .decision{
263
268
  stroke-width: 0;
264
269
  fill:#fff;
265
270
  }
266
271
 
267
- .start{
272
+ .decision{
268
273
  stroke-width: 0;
269
274
  fill:#fff;
270
275
  }
271
276
 
272
- .decision{
277
+ .start{
278
+ stroke-width: 0;
279
+ fill:#fff;
280
+ }
281
+ .tooltip[data-v-ac799913] {
282
+ position: absolute;
283
+ background: #fff;
284
+ min-width: 150px;
285
+ border-radius: 4px;
286
+ border: 1px solid #ebeef5;
287
+ padding: 12px;
288
+ z-index: 2000;
289
+ color: #606266;
290
+ line-height: 1.4;
291
+ text-align: justify;
292
+ font-size: 14px;
293
+ box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
294
+ word-break: break-all;
295
+ }#_subprocess-content[data-v-2b195c05] {
296
+ width: 100%;
297
+ height: calc(100vh - 200px);
298
+ }
299
+ .human-decision{
273
300
  stroke-width: 0;
274
301
  fill:#fff;
275
302
  }
@@ -281,11 +308,6 @@ li[data-v-7e8a1cf6] {
281
308
  fill: none;
282
309
  }
283
310
 
284
- .decision{
285
- stroke-width: 0;
286
- fill:#fff;
287
- }
288
-
289
311
  .transition[data-v-a1576cad] {
290
312
  stroke-width: 2;
291
313
  stroke: #666;
@@ -304,11 +326,6 @@ li[data-v-7e8a1cf6] {
304
326
  .no-events[data-v-a1576cad] {
305
327
  pointer-events: none;
306
328
  }
307
-
308
- .human-decision{
309
- stroke-width: 0;
310
- fill:#fff;
311
- }
312
329
 
313
330
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
314
331
  .properties-editor[data-v-1651d82a] .el-dialog__body {
@@ -335,29 +352,12 @@ li[data-v-7e8a1cf6] {
335
352
  }
336
353
 
337
354
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
338
- .properties-editor[data-v-adb7c2ff] .el-dialog__body{
355
+ .properties-editor[data-v-af76d417] .el-dialog__body{
339
356
  padding-top: 0
340
357
  }
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
- }
358
+
359
359
  /* 使用深度作用选择器(vue-loader的功能)">>>"符号重新定义了.el-dialog__body,不影响其他页面的同名样式*/
360
- .properties-editor[data-v-af76d417] .el-dialog__body{
360
+ .properties-editor[data-v-adb7c2ff] .el-dialog__body{
361
361
  padding-top: 0
362
362
  }
363
363
 
@@ -381,6 +381,14 @@ li[data-v-7e8a1cf6] {
381
381
  fill-opacity: 1;
382
382
  }
383
383
 
384
+ .control-point[data-v-788fb0ae]{
385
+ fill: #fff;
386
+ cursor: move;
387
+ }
388
+ .control-line[data-v-788fb0ae] {
389
+ stroke-dasharray: 2 2
390
+ }
391
+
384
392
  .resizer{
385
393
  stroke: blue;
386
394
  stroke-width: 1;
@@ -395,14 +403,6 @@ li[data-v-7e8a1cf6] {
395
403
  stroke-dasharray: 2 2
396
404
  }
397
405
 
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
-
406
406
  .percent[data-v-a219b06d] {
407
407
  margin-left: 10px;
408
408
  color: red;
@@ -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,14 +477,20 @@ select[data-v-aaf48aff]{
477
477
  span[data-v-4e29ea06] {
478
478
  margin: 0 10px;
479
479
  }
480
-
481
- .searchResult {
482
- color:red
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%;
483
493
  }
484
- .inline-input-custom {
485
- width : 90%
486
- }
487
-
488
494
  #custTabOne[data-v-7feaa2da] .el-tabs__content {
489
495
  height: 500px;
490
496
  }
@@ -503,20 +509,14 @@ span[data-v-4e29ea06] {
503
509
  padding-left: 20px;
504
510
  overflow: auto;
505
511
  }
506
- #appContainer[data-v-9458f3bf] .el-checkbox {
507
- display: block;
508
- }
509
- #appContainer[data-v-9458f3bf] .el-transfer-panel {
510
- width: 400px;
511
- }
512
- #appContainer[data-v-9458f3bf] .ellipsis {
513
- display: inline-block;
514
- overflow: hidden;
515
- text-overflow: ellipsis;
516
- white-space: nowrap;
517
- word-break: keep-all;
518
- width: 55%;
512
+
513
+ .searchResult {
514
+ color:red
519
515
  }
516
+ .inline-input-custom {
517
+ width : 90%
518
+ }
519
+
520
520
  .searchResult {
521
521
  color:red
522
522
  }
@@ -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
  }