workflow-editor 0.0.81-up-tmp15 → 0.0.81-up-tmp16

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 +119 -119
  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 +108 -108
  107. package/package.json +1 -1
  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 e from "../common/additional-condition.vue.mjs";
2
- import l from "../common/i18n-input.vue.mjs";
1
+ import e from "../common/additional-condition.vue.js";
2
+ import l from "../common/i18n-input.vue.js";
3
3
  import { resolveComponent as o, openBlock as n, createBlock as t, withCtx as i, createVNode as d, createElementVNode as a, toDisplayString as r, createCommentVNode as m } from "vue";
4
- import u from "../../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ import u from "../../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const s = u({ name: "BasicProperties", components: { AdditionalCondition: e, i18nInput: l }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
6
6
  }, methods: { setI18nValue(e2) {
7
7
  this.model.i18nKey = e2;
@@ -1,17 +1,17 @@
1
- import e from "./common/notice.vue.mjs";
2
- import o from "./common/auto-filled-fields.vue.mjs";
3
- import l from "./transition/basic-properties.vue.mjs";
1
+ import e from "./common/notice.vue.js";
2
+ import o from "./common/auto-filled-fields.vue.js";
3
+ import l from "./transition/basic-properties.vue.js";
4
4
  import { resolveComponent as t, openBlock as i, createBlock as a, withCtx as r, createVNode as d } from "vue";
5
- import "./transition.vue2.mjs";
6
- import n from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
- const m = n({ name: "TransitionPropertiesEditor", components: { Notice: e, AutoFilledFields: o, BasicProperties: l }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), mounted() {
5
+ import "./transition.vue2.js";
6
+ import n from "../../../_virtual/_plugin-vue_export-helper.js";
7
+ const s = n({ name: "TransitionPropertiesEditor", components: { Notice: e, AutoFilledFields: o, BasicProperties: l }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), mounted() {
8
8
  this.$watch("model.ref.basicProperties.remark", function(e2) {
9
9
  this.model.remark = e2;
10
10
  });
11
- } }, [["render", function(e2, o2, l2, n2, m2, s) {
11
+ } }, [["render", function(e2, o2, l2, n2, s2, m) {
12
12
  const u = t("basic-properties"), f = t("el-tab-pane"), p = t("notice"), c = t("auto-filled-fields"), b = t("el-switch"), w = t("el-form-item"), v = t("el-input"), V = t("el-form"), _ = t("el-tabs"), $ = t("el-dialog");
13
- return i(), a($, { "model-value": "", title: e2.$t("workflowEditor.transition.flowProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: o2[5] || (o2[5] = (o3) => e2.$emit("open")), onOpend: o2[6] || (o2[6] = (o3) => e2.$emit("opend")), onClose: o2[7] || (o2[7] = (o3) => e2.$emit("close")), onClosed: o2[8] || (o2[8] = (o3) => e2.$emit("closed")) }, { default: r(() => [d(_, { modelValue: m2.activeTab, "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => m2.activeTab = e3), type: "border-card" }, { default: r(() => [d(f, { label: e2.$t("workflowEditor.transition.basicProperties"), name: "basicProperties" }, { default: r(() => [d(u, { id: l2.model.ref.attr.id, model: l2.model.ref.basicProperties, "source-tache-type": l2.model.startJoint.parent.type }, null, 8, ["id", "model", "source-tache-type"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.notificationSettings"), name: "inform" }, { default: r(() => [d(p, { modelValue: l2.model.ref.inform, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => l2.model.ref.inform = e3), "switch-label": e2.$t("workflowEditor.transition.sendNotificationAfterFlow") }, null, 8, ["modelValue", "switch-label"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r(() => [d(c, { modelValue: l2.model.ref.autoFilledFields, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => l2.model.ref.autoFilledFields = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.eventProcessing"), name: "events" }, { default: r(() => [d(V, null, { default: r(() => [d(w, { label: e2.$t("workflowEditor.transition.triggerFlowThroughEvent") }, { default: r(() => [d(b, { modelValue: l2.model.ref.onTransit, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => l2.model.ref.onTransit = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(w, { label: e2.$t("workflowEditor.transition.beanName") }, { default: r(() => [d(v, { modelValue: l2.model.ref.beanName, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => l2.model.ref.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
13
+ return i(), a($, { "model-value": "", title: e2.$t("workflowEditor.transition.flowProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: o2[5] || (o2[5] = (o3) => e2.$emit("open")), onOpend: o2[6] || (o2[6] = (o3) => e2.$emit("opend")), onClose: o2[7] || (o2[7] = (o3) => e2.$emit("close")), onClosed: o2[8] || (o2[8] = (o3) => e2.$emit("closed")) }, { default: r(() => [d(_, { modelValue: s2.activeTab, "onUpdate:modelValue": o2[4] || (o2[4] = (e3) => s2.activeTab = e3), type: "border-card" }, { default: r(() => [d(f, { label: e2.$t("workflowEditor.transition.basicProperties"), name: "basicProperties" }, { default: r(() => [d(u, { id: l2.model.ref.attr.id, model: l2.model.ref.basicProperties, "source-tache-type": l2.model.startJoint.parent.type }, null, 8, ["id", "model", "source-tache-type"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.notificationSettings"), name: "inform" }, { default: r(() => [d(p, { modelValue: l2.model.ref.inform, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => l2.model.ref.inform = e3), "switch-label": e2.$t("workflowEditor.transition.sendNotificationAfterFlow") }, null, 8, ["modelValue", "switch-label"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r(() => [d(c, { modelValue: l2.model.ref.autoFilledFields, "onUpdate:modelValue": o2[1] || (o2[1] = (e3) => l2.model.ref.autoFilledFields = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(f, { label: e2.$t("workflowEditor.transition.eventProcessing"), name: "events" }, { default: r(() => [d(V, null, { default: r(() => [d(w, { label: e2.$t("workflowEditor.transition.triggerFlowThroughEvent") }, { default: r(() => [d(b, { modelValue: l2.model.ref.onTransit, "onUpdate:modelValue": o2[2] || (o2[2] = (e3) => l2.model.ref.onTransit = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), d(w, { label: e2.$t("workflowEditor.transition.beanName") }, { default: r(() => [d(v, { modelValue: l2.model.ref.beanName, "onUpdate:modelValue": o2[3] || (o2[3] = (e3) => l2.model.ref.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
14
14
  }], ["__scopeId", "data-v-0e44fe8c"]]);
15
15
  export {
16
- m as default
16
+ s as default
17
17
  };
@@ -1,4 +1,4 @@
1
- import { getI18n as r } from "../util.mjs";
1
+ import { getI18n as r } from "../util.js";
2
2
  const o = { "${instanceCreatorName}": r().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": r().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": r().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": r().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": r().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": r().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": r().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, e = { "${instanceCreatorDepartment}": r().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": r().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": r().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": r().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": r().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": r().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": r().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": r().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, t = { "${instanceCreatorrWorkGroup}": r().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": r().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, n = { "${user}": r().t("workflowEditor.common.user"), "${department}": r().t("workflowEditor.common.department"), "${role}": r().t("workflowEditor.common.role"), "${workgroup}": r().t("workflowEditor.common.workgroup") }, s = { "condition.operator.or": r().t("workflowEditor.process.perhaps"), "condition.operator.and": r().t("workflowEditor.process.also") }, p = { "operator.text.eq": r().t("workflowEditor.process.beEqualTo"), "operator.text.neq": r().t("workflowEditor.process.notEqualTo") }, i = { ...o, ...e, ...t }, a = { "${instanceCreatorName}": r().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": r().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": r().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": r().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": r().t("workflowEditor.process.superiorDeptLeader") }, c = { "${upstageDepartment}": r().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": r().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": r().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": r().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": r().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": r().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": r().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": r().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": r().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, u = { "${instanceCreatorrWorkGroup}": r().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": r().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": r().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
3
3
  function l(r2) {
4
4
  return void 0 !== i[r2] ? i[r2] : "";
@@ -1,4 +1,4 @@
1
- import e from "./getters.mjs";
1
+ import e from "./getters.js";
2
2
  const o = { namespaced: true, state: { taches: [], transitions: [], startJoint: null, endJoint: null, isMovingTache: false, mouseDownPosition: null, isDrawingRegion: false, isMovingRegion: false, selectedTaches: [], selectedTransition: null, resizerToMove: null, draggerToMove: null, propertiesEditorFor: "", componentToDraw: "", controlPointToMove: null, formFields: [], formFieldsWithSub: [], contextMenuVisible: false, formCode: null, systemCode: null, systemVersion: null, processCode: null, processI18n: null, subtableConditionMap: null, propSettingKeyList: null, tableCode: null, isCreateDefinition: "", isHandleCreate: "", pageCode: null, sourceComponentType: "" }, getters: e, mutations: { setTaches(e2, o2) {
3
3
  e2.taches = o2;
4
4
  }, setTransitions(e2, o2) {
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
6
- import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import o from "./joint.vue.js";
3
+ import s from "./tache-resizer.vue.js";
4
+ import i from "./common-methods.js";
5
+ import { watchShowName as r } from "../util.js";
6
+ import { resolveComponent as n, openBlock as l, createElementBlock as m, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "AutoTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -18,7 +18,7 @@ const g = { name: "AutoTask", components: { Joint: o, TacheResizer: s }, props:
18
18
  }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, w = ["width", "height", "x", "y"], y = ["x", "y"];
19
19
  const j = f(g, [["render", function(e2, t2, o2, s2, i2, r2) {
20
20
  const f2 = n("joint"), g2 = n("tache-resizer");
21
- return m(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("AutoTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, w), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, u(i2.name), 9, y), (m(true), l(p, null, c(i2.jointPoints, (e3) => (m(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (m(true), l(p, null, c(i2.resizers, (e3) => (m(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
21
+ return l(), m("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("AutoTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, w), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, u(i2.name), 9, y), (l(true), m(p, null, c(i2.jointPoints, (e3) => (l(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (l(true), m(p, null, c(i2.resizers, (e3) => (l(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
22
22
  }]]);
23
23
  export {
24
24
  j as default
@@ -1,4 +1,4 @@
1
- import { startDragTache as t, endDragTache as i } from "../util.mjs";
1
+ import { startDragTache as t, endDragTache as i } from "../util.js";
2
2
  const s = { startDrag(i2) {
3
3
  this.model.name, this.setContextMenuVisible(false), t(i2, this);
4
4
  }, endDrag() {
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
6
- import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as p, Fragment as u, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import o from "./joint.vue.js";
3
+ import s from "./tache-resizer.vue.js";
4
+ import i from "./common-methods.js";
5
+ import { watchShowName as r } from "../util.js";
6
+ import { resolveComponent as n, openBlock as l, createElementBlock as m, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as p, Fragment as u, renderList as c, createBlock as x } from "vue";
7
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "CopyTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -18,7 +18,7 @@ const g = { name: "CopyTask", components: { Joint: o, TacheResizer: s }, props:
18
18
  }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, y = ["width", "height", "x", "y"], w = ["x", "y"];
19
19
  const j = f(g, [["render", function(e2, t2, o2, s2, i2, r2) {
20
20
  const f2 = n("joint"), g2 = n("tache-resizer");
21
- return m(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("CopyTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, y), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, p(i2.name), 9, w), (m(true), l(u, null, c(i2.jointPoints, (e3) => (m(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (m(true), l(u, null, c(i2.resizers, (e3) => (m(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
21
+ return l(), m("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("CopyTask"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, y), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, p(i2.name), 9, w), (l(true), m(u, null, c(i2.jointPoints, (e3) => (l(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (l(true), m(u, null, c(i2.resizers, (e3) => (l(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
22
22
  }]]);
23
23
  export {
24
24
  j as default
@@ -1,9 +1,9 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import r from "./common-methods.mjs";
2
+ import o from "./joint.vue.js";
3
+ import s from "./tache-resizer.vue.js";
4
+ import r from "./common-methods.js";
5
5
  import { resolveComponent as i, openBlock as n, createElementBlock as l, withModifiers as d, createElementVNode as m, normalizeClass as a, toDisplayString as h, Fragment as u, renderList as p, createBlock as c } from "vue";
6
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const g = { name: "CustomTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [], resizers: ["NW", "NE", "SW", "SE"] }), computed: { ...e("wfEditor", ["selectedTaches"]), text() {
8
8
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height / 2 };
9
9
  } }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...r } }, f = ["width", "height", "x", "y"], y = ["x", "y"];
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
4
- import { watchShowName as s } from "../util.mjs";
2
+ import o from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
+ import { watchShowName as s } from "../util.js";
5
5
  import { resolveComponent as n, openBlock as d, createElementBlock as r, withModifiers as l, createElementVNode as m, normalizeClass as h, toDisplayString as a, Fragment as c, renderList as u, createBlock as p } from "vue";
6
- import "./decision.vue2.mjs";
7
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ import "./decision.vue2.js";
7
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "Decision", components: { Joint: o }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -1,9 +1,9 @@
1
1
  import { mapGetters as e, mapMutations as o } from "vuex";
2
- import t from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
2
+ import t from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
4
  import { resolveComponent as n, openBlock as s, createElementBlock as r, withModifiers as d, createElementVNode as l, normalizeClass as m, Fragment as h, renderList as p, createBlock as u } from "vue";
5
- import "./end.vue2.mjs";
6
- import a from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
+ import "./end.vue2.js";
6
+ import a from "../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const c = { name: "End", components: { Joint: t }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...e("wfEditor", ["selectedTaches"]) }, methods: { ...o("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, g = ["width", "height", "x", "y"], f = ["x", "y", "width", "height"];
8
8
  const x = a(c, [["render", function(e2, o2, t2, i2, a2, c2) {
9
9
  const x2 = n("joint");
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
4
- import { watchShowName as s } from "../util.mjs";
2
+ import o from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
+ import { watchShowName as s } from "../util.js";
5
5
  import { resolveComponent as n, openBlock as r, createElementBlock as d, withModifiers as l, createElementVNode as m, normalizeClass as h, toDisplayString as a, Fragment as u, renderList as c, createBlock as p } from "vue";
6
- import "./fork.vue2.mjs";
7
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
6
+ import "./fork.vue2.js";
7
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "Fork", components: { Joint: o }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
4
- import { watchShowName as n } from "../util.mjs";
5
- import { resolveComponent as s, openBlock as m, createElementBlock as d, withModifiers as r, createElementVNode as l, normalizeClass as h, toDisplayString as a, Fragment as u, renderList as c, createBlock as p } from "vue";
6
- import "./human-decision.vue2.mjs";
7
- import x from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import o from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
+ import { watchShowName as n } from "../util.js";
5
+ import { resolveComponent as s, openBlock as d, createElementBlock as r, withModifiers as l, createElementVNode as m, normalizeClass as h, toDisplayString as a, Fragment as u, renderList as c, createBlock as p } from "vue";
6
+ import "./human-decision.vue2.js";
7
+ import x from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "HumanDecision", components: { Joint: o }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -18,7 +18,7 @@ const g = { name: "HumanDecision", components: { Joint: o }, props: { model: { t
18
18
  }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, f = ["width", "height", "x", "y"], y = ["x", "y", "width", "height"], w = ["x", "y"];
19
19
  const j = x(g, [["render", function(e2, t2, o2, i2, n2, x2) {
20
20
  const g2 = s("joint");
21
- return m(), d("g", { onMousedown: t2[0] || (t2[0] = r((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = r((t3) => e2.setPropertiesEditorFor("HumanDecision"), ["stop"])) }, [l("rect", { width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "human-decision": !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, f), l("use", { "xlink:href": "#icon-human-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, y), l("text", { x: x2.text.x, y: x2.text.y, "text-anchor": "middle", class: "draggable" }, a(n2.name), 9, w), (m(true), d(u, null, c(n2.jointPoints, (e3) => (m(), p(g2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
21
+ return d(), r("g", { onMousedown: t2[0] || (t2[0] = l((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = l((t3) => e2.setPropertiesEditorFor("HumanDecision"), ["stop"])) }, [m("rect", { width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "human-decision": !o2.model.isSelected, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, f), m("use", { "xlink:href": "#icon-human-decision", x: o2.model.x, y: o2.model.y, width: o2.model.width, height: o2.model.height, fill: "#999", class: "draggable" }, null, 8, y), m("text", { x: x2.text.x, y: x2.text.y, "text-anchor": "middle", class: "draggable" }, a(n2.name), 9, w), (d(true), r(u, null, c(n2.jointPoints, (e3) => (d(), p(g2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128))], 32);
22
22
  }]]);
23
23
  export {
24
24
  j as default
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
2
+ import o from "./joint.vue.js";
3
+ import s from "./tache-resizer.vue.js";
4
+ import i from "./common-methods.js";
5
+ import { watchShowName as r } from "../util.js";
6
6
  import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as a, createElementVNode as d, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
7
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "HumanTask", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -1,9 +1,9 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
2
+ import o from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
4
  import { resolveComponent as n, openBlock as s, createElementBlock as d, withModifiers as l, createElementVNode as r, normalizeClass as m, toDisplayString as h, Fragment as a, renderList as u, createBlock as p } from "vue";
5
- import "./join.vue2.mjs";
6
- import c from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
+ import "./join.vue2.js";
6
+ import c from "../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const x = { name: "Join", components: { Joint: o }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...e("wfEditor", ["selectedTaches"]), text() {
8
8
  return { x: this.model.x + this.model.width / 2, y: this.model.y + this.model.height + 12 };
9
9
  } }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, g = ["width", "height", "x", "y"], y = ["x", "y", "width", "height"], f = ["x", "y"];
@@ -1,8 +1,8 @@
1
1
  import { mapGetters as t, mapMutations as i } from "vuex";
2
- import { getJoint as e, findOutgoingTransitionsByTacheId as n, processTemplate as o } from "../util.mjs";
2
+ import { getJoint as e, findOutgoingTransitionsByTacheId as n, processTemplate as o } from "../util.js";
3
3
  import { openBlock as r, createElementBlock as s, withModifiers as a, createElementVNode as d, normalizeClass as p, withDirectives as h, vShow as l } from "vue";
4
- import "./joint.vue2.mjs";
5
- import u from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ import "./joint.vue2.js";
5
+ import u from "../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const g = { name: "Joint", props: { parent: { type: Object, default: null }, position: { type: String, default: null } }, data: () => ({ isActivated: false }), computed: { ...t("wfEditor", ["transitions", "startJoint", "endJoint", "draggerToMove"]), joint() {
7
7
  return e(this.parent, this.position);
8
8
  }, jointContainer() {
@@ -1,9 +1,9 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import i from "./common-methods.mjs";
2
+ import o from "./joint.vue.js";
3
+ import i from "./common-methods.js";
4
4
  import { resolveComponent as r, openBlock as s, createElementBlock as n, withModifiers as l, createElementVNode as d, normalizeClass as m, Fragment as a, renderList as h, createBlock as p } from "vue";
5
- import "./start.vue2.mjs";
6
- import u from "../../../_virtual/_plugin-vue_export-helper.mjs";
5
+ import "./start.vue2.js";
6
+ import u from "../../../_virtual/_plugin-vue_export-helper.js";
7
7
  const c = { name: "Start", components: { Joint: o }, props: { model: { type: Object, default: null } }, data: () => ({ jointPoints: [] }), computed: { ...e("wfEditor", ["selectedTaches"]) }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, g = ["width", "height", "x", "y"], f = ["x", "y", "width", "height"];
8
8
  const x = u(c, [["render", function(e2, t2, o2, i2, u2, c2) {
9
9
  const x2 = r("joint");
@@ -1,10 +1,10 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
- import o from "./joint.vue.mjs";
3
- import s from "./tache-resizer.vue.mjs";
4
- import i from "./common-methods.mjs";
5
- import { watchShowName as r } from "../util.mjs";
6
- import { resolveComponent as n, openBlock as m, createElementBlock as l, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
- import f from "../../../_virtual/_plugin-vue_export-helper.mjs";
2
+ import o from "./joint.vue.js";
3
+ import s from "./tache-resizer.vue.js";
4
+ import i from "./common-methods.js";
5
+ import { watchShowName as r } from "../util.js";
6
+ import { resolveComponent as n, openBlock as l, createElementBlock as m, withModifiers as d, createElementVNode as a, normalizeClass as h, toDisplayString as u, Fragment as p, renderList as c, createBlock as x } from "vue";
7
+ import f from "../../../_virtual/_plugin-vue_export-helper.js";
8
8
  const g = { name: "Subprocess", components: { Joint: o, TacheResizer: s }, props: { model: { type: Object, default: null } }, data() {
9
9
  return { jointPoints: [], resizers: ["NW", "NE", "SW", "SE"], name: this.model.name };
10
10
  }, computed: { ...e("wfEditor", ["selectedTaches", "processI18n"]), text() {
@@ -18,7 +18,7 @@ const g = { name: "Subprocess", components: { Joint: o, TacheResizer: s }, props
18
18
  }, methods: { ...t("wfEditor", ["setPropertiesEditorFor", "setContextMenuVisible"]), ...i } }, w = ["width", "height", "x", "y"], y = ["x", "y"];
19
19
  const j = f(g, [["render", function(e2, t2, o2, s2, i2, r2) {
20
20
  const f2 = n("joint"), g2 = n("tache-resizer");
21
- return m(), l("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("Subprocess"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, w), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, u(i2.name), 9, y), (m(true), l(p, null, c(i2.jointPoints, (e3) => (m(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (m(true), l(p, null, c(i2.resizers, (e3) => (m(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
21
+ return l(), m("g", { onMousedown: t2[0] || (t2[0] = d((...t3) => e2.startDrag && e2.startDrag(...t3), ["stop"])), onMouseup: t2[1] || (t2[1] = (...t3) => e2.endDrag && e2.endDrag(...t3)), onMouseenter: t2[2] || (t2[2] = (...t3) => e2.showJoints && e2.showJoints(...t3)), onMouseleave: t2[3] || (t2[3] = (...t3) => e2.hideJoints && e2.hideJoints(...t3)), onDblclick: t2[4] || (t2[4] = d((t3) => e2.setPropertiesEditorFor("Subprocess"), ["stop"])) }, [a("rect", { ref: "tache", width: o2.model.width, height: o2.model.height, class: h({ draggable: true, "task-tache": true, selected: o2.model.isSelected }), x: o2.model.x, y: o2.model.y, rx: "6", ry: "6" }, null, 10, w), a("text", { x: r2.text.x, y: r2.text.y, "text-anchor": "middle", class: "draggable" }, u(i2.name), 9, y), (l(true), m(p, null, c(i2.jointPoints, (e3) => (l(), x(f2, { key: e3, parent: o2.model, position: e3 }, null, 8, ["parent", "position"]))), 128)), (l(true), m(p, null, c(i2.resizers, (e3) => (l(), x(g2, { key: e3, owner: o2.model, position: e3 }, null, 8, ["owner", "position"]))), 128))], 32);
22
22
  }]]);
23
23
  export {
24
24
  j as default
@@ -1,7 +1,7 @@
1
1
  import { mapGetters as e, mapMutations as t } from "vuex";
2
2
  import { openBlock as o, createElementBlock as r, normalizeStyle as s, withModifiers as i, createCommentVNode as n } from "vue";
3
- import "./tache-resizer.vue2.mjs";
4
- import h from "../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ import "./tache-resizer.vue2.js";
4
+ import h from "../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const a = { name: "TacheResizer", props: { owner: { type: Object, default: null }, position: { type: String, default: "" } }, computed: { ...e("wfEditor", ["selectedTaches"]), area() {
6
6
  let e2, t2;
7
7
  switch (this.position) {
@@ -1,8 +1,8 @@
1
- import { getJoint as t } from "../util.mjs";
1
+ import { getJoint as t } from "../util.js";
2
2
  import { mapMutations as o } from "vuex";
3
3
  import { openBlock as n, createElementBlock as r, createElementVNode as e, Fragment as i, renderList as s, withModifiers as l, createCommentVNode as a } from "vue";
4
- import "./broken-line.vue2.mjs";
5
- import h from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ import "./broken-line.vue2.js";
5
+ import h from "../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const c = { name: "BrokenLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
7
7
  return t(this.owner.startJoint.parent, this.owner.startJoint.position);
8
8
  }, endPoint() {
@@ -1,8 +1,8 @@
1
- import { getJoint as t } from "../util.mjs";
1
+ import { getJoint as t } from "../util.js";
2
2
  import { mapMutations as o } from "vuex";
3
3
  import { openBlock as n, createElementBlock as i, createElementVNode as r, Fragment as e, withModifiers as s, createCommentVNode as l } from "vue";
4
- import "./curve-line.vue2.mjs";
5
- import a from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ import "./curve-line.vue2.js";
5
+ import a from "../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const h = { name: "CurveLine", props: { owner: { type: Object, default: null } }, computed: { startPoint() {
7
7
  return t(this.owner.startJoint.parent, this.owner.startJoint.position);
8
8
  }, endPoint() {
@@ -1,6 +1,6 @@
1
- import { getJoint as t } from "../util.mjs";
1
+ import { getJoint as t } from "../util.js";
2
2
  import { openBlock as r, createElementBlock as n } from "vue";
3
- import e from "../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ import e from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const o = ["d"];
5
5
  const i = e({ name: "StraightLine", props: { owner: { type: Object, default: null } }, computed: { path() {
6
6
  const r2 = t(this.owner.startJoint.parent, this.owner.startJoint.position), n2 = t(this.owner.endJoint.parent, this.owner.endJoint.position);
@@ -1,11 +1,11 @@
1
- import { getJoint as t, watchShowName as e, clearAllSelectedComponents as o, getMousePosition as i } from "../util.mjs";
1
+ import { getJoint as t, watchShowName as e, clearAllSelectedComponents as o, getMousePosition as i } from "../util.js";
2
2
  import { mapGetters as n, mapMutations as s } from "vuex";
3
- import r from "./straight-line.vue.mjs";
4
- import a from "./curve-line.vue.mjs";
5
- import l from "./broken-line.vue.mjs";
6
- import { openBlock as d, createElementBlock as h, normalizeClass as x, withModifiers as m, createElementVNode as c, toDisplayString as p, createBlock as y, resolveDynamicComponent as g, Fragment as u, renderList as f, createCommentVNode as P } from "vue";
7
- import "./transition.vue2.mjs";
8
- import w from "../../../_virtual/_plugin-vue_export-helper.mjs";
3
+ import r from "./straight-line.vue.js";
4
+ import a from "./curve-line.vue.js";
5
+ import l from "./broken-line.vue.js";
6
+ import { openBlock as d, createElementBlock as h, normalizeClass as x, withModifiers as c, createElementVNode as m, toDisplayString as p, createBlock as y, resolveDynamicComponent as g, Fragment as u, renderList as f, createCommentVNode as P } from "vue";
7
+ import "./transition.vue2.js";
8
+ import w from "../../../_virtual/_plugin-vue_export-helper.js";
9
9
  const J = { name: "Transition", components: { StraightLine: r, CurveLine: a, BrokenLine: l }, props: { model: { type: Object, default: null } }, data() {
10
10
  const t2 = this.getTextPoint();
11
11
  return { text: { x: t2.x, y: t2.y }, name: this.model.remark };
@@ -63,7 +63,7 @@ const J = { name: "Transition", components: { StraightLine: r, CurveLine: a, Bro
63
63
  "Decision" !== this.model.endJoint.parent.type && this.setPropertiesEditorFor("Transition");
64
64
  } } }, v = ["x", "y"], M = { key: 0 }, T = ["cx", "cy", "onMousedown"];
65
65
  const D = w(J, [["render", function(t2, e2, o2, i2, n2, s2) {
66
- return d(), h("g", { class: x({ "no-events": null != t2.draggerToMove }), onMousedown: e2[1] || (e2[1] = m((...t3) => s2.select && s2.select(...t3), ["stop"])), onDblclick: e2[2] || (e2[2] = m((...t3) => s2.showPropertiesEditor && s2.showPropertiesEditor(...t3), ["stop"])) }, [c("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, p(n2.name), 9, v), (d(), y(g(o2.model.lineInfo.type), { owner: o2.model, class: x({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (d(), h("g", M, [(d(true), h(u, null, f(s2.draggers, (t3) => (d(), h("circle", { key: t3.position, cx: t3.x, cy: t3.y, class: "transition-dragger", r: "4", onMousedown: m((e3) => s2.startDrag(e3, t3.position), ["stop"]), onMouseup: e2[0] || (e2[0] = (...t4) => s2.endDrag && s2.endDrag(...t4)) }, null, 40, T))), 128))])) : P("", true)], 34);
66
+ return d(), h("g", { class: x({ "no-events": null != t2.draggerToMove }), onMousedown: e2[1] || (e2[1] = c((...t3) => s2.select && s2.select(...t3), ["stop"])), onDblclick: e2[2] || (e2[2] = c((...t3) => s2.showPropertiesEditor && s2.showPropertiesEditor(...t3), ["stop"])) }, [m("text", { x: n2.text.x, y: n2.text.y, "text-anchor": "middle", class: "draggable" }, p(n2.name), 9, v), (d(), y(g(o2.model.lineInfo.type), { owner: o2.model, class: x({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (d(), h("g", M, [(d(true), h(u, null, f(s2.draggers, (t3) => (d(), h("circle", { key: t3.position, cx: t3.x, cy: t3.y, class: "transition-dragger", r: "4", onMousedown: c((e3) => s2.startDrag(e3, t3.position), ["stop"]), onMouseup: e2[0] || (e2[0] = (...t4) => s2.endDrag && s2.endDrag(...t4)) }, null, 40, T))), 128))])) : P("", true)], 34);
67
67
  }], ["__scopeId", "data-v-a1576cad"]]);
68
68
  export {
69
69
  D as default
@@ -1,8 +1,8 @@
1
- import { getJoint as t } from "../util.mjs";
1
+ import { getJoint as t } from "../util.js";
2
2
  import { mapGetters as r } from "vuex";
3
3
  import { openBlock as o, createElementBlock as i, withDirectives as n, createElementVNode as s, vShow as a } from "vue";
4
- import "./virtual-transition.vue2.mjs";
5
- import e from "../../../_virtual/_plugin-vue_export-helper.mjs";
4
+ import "./virtual-transition.vue2.js";
5
+ import e from "../../../_virtual/_plugin-vue_export-helper.js";
6
6
  const u = { name: "VirtualTransition", props: { toPosition: { type: Object, default: null } }, computed: { ...r("wfEditor", ["startJoint"]), path() {
7
7
  if (!this.startJoint)
8
8
  return null;
@@ -1,17 +1,17 @@
1
1
  import { getLanguageWithLocale as t } from "agilebuilder-ui";
2
- import o from "../../src/i18n/i18n.mjs";
3
- import e from "./json-object-templates/auto-task.mjs";
4
- import n from "./json-object-templates/copy-task.mjs";
5
- import i from "./json-object-templates/decision.mjs";
6
- import r from "./json-object-templates/end.mjs";
7
- import s from "./json-object-templates/fork.mjs";
8
- import a from "./json-object-templates/human-decision.mjs";
9
- import c from "./json-object-templates/human-task.mjs";
10
- import l from "./json-object-templates/join.mjs";
11
- import d from "./json-object-templates/process.mjs";
12
- import f from "./json-object-templates/start.mjs";
13
- import m from "./json-object-templates/subprocess.mjs";
14
- import u from "./json-object-templates/transition.mjs";
2
+ import o from "../../src/i18n/i18n.js";
3
+ import e from "./json-object-templates/auto-task.js";
4
+ import n from "./json-object-templates/copy-task.js";
5
+ import i from "./json-object-templates/decision.js";
6
+ import r from "./json-object-templates/end.js";
7
+ import s from "./json-object-templates/fork.js";
8
+ import a from "./json-object-templates/human-decision.js";
9
+ import c from "./json-object-templates/human-task.js";
10
+ import l from "./json-object-templates/join.js";
11
+ import d from "./json-object-templates/process.js";
12
+ import f from "./json-object-templates/start.js";
13
+ import m from "./json-object-templates/subprocess.js";
14
+ import u from "./json-object-templates/transition.js";
15
15
  function p() {
16
16
  return window.$store;
17
17
  }
@@ -1,26 +1,26 @@
1
- import "./assets/wf-editor-icons.mjs";
1
+ import "./assets/wf-editor-icons.js";
2
2
  import { mapGetters as e, mapMutations as t } from "vuex";
3
- import { getComponentInfo as s, processTemplate as o, initializeProcessData as i, removeTextProperty as n, getMousePosition as r } from "./util.mjs";
4
- import a from "./main/toolbox.vue.mjs";
5
- import l from "./main/canvas.vue.mjs";
6
- import d from "./main/icon-svg.vue.mjs";
7
- import c from "./main/context-menu.vue.mjs";
3
+ import { getComponentInfo as s, processTemplate as o, initializeProcessData as i, removeTextProperty as n, getMousePosition as r } from "./util.js";
4
+ import a from "./main/toolbox.vue.js";
5
+ import l from "./main/canvas.vue.js";
6
+ import d from "./main/icon-svg.vue.js";
7
+ import c from "./main/context-menu.vue.js";
8
8
  import h from "xml-js";
9
- import f from "./process-service.mjs";
10
- import m from "file-saver";
11
- import p from "prismjs";
12
- import u from "./main/admin-save-dialog.vue.mjs";
9
+ import f from "./process-service.js";
10
+ import p from "file-saver";
11
+ import m from "prismjs";
12
+ import u from "./main/admin-save-dialog.vue.js";
13
13
  import { authApi as w, http as b } from "agilebuilder-ui";
14
14
  import { resolveComponent as y, resolveDirective as g, openBlock as C, createElementBlock as v, createVNode as x, withCtx as P, createBlock as k, createTextVNode as S, toDisplayString as V, createCommentVNode as I, withDirectives as $, createElementVNode as D, Fragment as E, renderList as T, withModifiers as M, normalizeStyle as A } from "vue";
15
- import "./workflow-editor.vue2.mjs";
16
- import F from "../../_virtual/_plugin-vue_export-helper.mjs";
15
+ import "./workflow-editor.vue2.js";
16
+ import F from "../../_virtual/_plugin-vue_export-helper.js";
17
17
  const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a, IconSvg: d, ContextMenu: c, AdminSaveDialog: u }, props: { code: { type: String, default: null }, version: { type: Number, default: null }, id: { type: Number, default: null }, readonly: { type: Boolean, default: false }, systemCode: { type: String, default: null }, systemPublishVersion: { type: Number, default: null }, pageCode: { type: String, default: null } }, data: function() {
18
18
  return { activeTab: "canvas", count: 1, currentPosition: { x: 0, y: 0 }, process: null, definitionId: null, xml: "", contextMenuPosition: null, isAdminSave: false, isShowEnable: false, defVersion: 0, workflowDefVersionList: [], isShowDefVersionList: false, canvasKey: 0 };
19
19
  }, computed: { ...e("wfEditor", ["componentToDraw", "taches", "selectedTaches", "transitions", "contextMenuVisible", "systemVersion", "tableCode", "pageCode", "sourceComponentType"]), ...e(["sidebar"]), componentInfo() {
20
20
  return s(this.componentToDraw);
21
21
  } }, watch: { activeTab(e2) {
22
22
  "xml" === e2 && (this.xml = this.getProcessXml(), this.$nextTick(function() {
23
- p.highlightElement(this.$refs.xml);
23
+ m.highlightElement(this.$refs.xml);
24
24
  }));
25
25
  }, sourceComponentType(e2) {
26
26
  e2 && this.copyTache();
@@ -134,7 +134,7 @@ const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a,
134
134
  });
135
135
  }, exportProcessFromClient() {
136
136
  const e2 = new Blob([this.getProcessXml()], { type: "text/xml;charset=utf-8" });
137
- m.saveAs(e2, this.process.attr.name + ".xml");
137
+ p.saveAs(e2, this.process.attr.name + ".xml");
138
138
  }, exportProcess() {
139
139
  const e2 = this.getProcessXml();
140
140
  this.$http({ method: "post", url: this.baseAPI + "/wf-editor/save-as-xmls", data: { xmlContent: e2 } }).then((e3) => {
@@ -197,8 +197,8 @@ const X = { name: "WorkflowEditor", components: { WorkflowCanvas: l, Toolbox: a,
197
197
  });
198
198
  } } }, _ = { style: { width: "100%", height: "100%", background: "#fff" } }, L = { key: 0, class: "xml line-numbers" };
199
199
  const W = F(X, [["render", function(e2, t2, s2, o2, i2, n2) {
200
- const r2 = y("el-button"), a2 = y("el-option"), l2 = y("el-select"), d2 = y("el-row"), c2 = y("toolbox"), h2 = y("workflow-canvas"), f2 = y("el-tab-pane"), m2 = y("el-tabs"), p2 = y("icon-svg"), u2 = y("context-menu"), w2 = y("admin-save-dialog"), b2 = g("permission");
201
- return C(), v("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [x(d2, { class: "button-area" }, { default: P(() => [s2.readonly ? I("", true) : (C(), k(r2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), s2.readonly ? I("", true) : $((C(), k(r2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[b2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (C(), k(r2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : I("", true), x(r2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), s2.readonly ? I("", true) : (C(), k(r2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.open")) + " ", 1), D("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), x(r2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (C(), k(l2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: P(() => [(C(true), v(E, null, T(e2.workflowDefVersionList, (e3) => (C(), k(a2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : I("", true)]), _: 1 }), D("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [s2.readonly ? I("", true) : (C(), k(c2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (C(), v("section", { class: "tabBox", key: e2.canvasKey }, [x(m2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: P(() => [x(f2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: P(() => [x(h2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: M(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), x(f2, { label: "XML", name: "xml", class: "tab-pane" }, { default: P(() => [D("div", _, ["xml" === e2.activeTab ? (C(), v("pre", L, [D("code", { ref: "xml", class: "language-xml" }, V(e2.xml), 513)])) : I("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (C(), k(p2, { key: 0, style: A({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : I("", true), e2.contextMenuVisible ? (C(), k(u2, { key: 1, style: A({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : I("", true), e2.isAdminSave ? (C(), k(w2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : I("", true)], 544);
200
+ const r2 = y("el-button"), a2 = y("el-option"), l2 = y("el-select"), d2 = y("el-row"), c2 = y("toolbox"), h2 = y("workflow-canvas"), f2 = y("el-tab-pane"), p2 = y("el-tabs"), m2 = y("icon-svg"), u2 = y("context-menu"), w2 = y("admin-save-dialog"), b2 = g("permission");
201
+ return C(), v("div", { ref: "wfEditor", style: { position: "relative", height: "100%" }, onMousedown: t2[9] || (t2[9] = (t3) => e2.setContextMenuVisible(false)), onMousewheel: t2[10] || (t2[10] = (t3) => e2.setContextMenuVisible(false)) }, [x(d2, { class: "button-area" }, { default: P(() => [s2.readonly ? I("", true) : (C(), k(r2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), s2.readonly ? I("", true) : $((C(), k(r2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[b2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (C(), k(r2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : I("", true), x(r2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), s2.readonly ? I("", true) : (C(), k(r2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.open")) + " ", 1), D("input", { ref: "processFile", type: "file", name: "processFile", accept: ".xml", style: { display: "none" }, onChange: t2[0] || (t2[0] = (...e3) => n2.openXmlFromClient && n2.openXmlFromClient(...e3)) }, null, 544)]), _: 1 }, 8, ["onClick"])), x(r2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: P(() => [S(V(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (C(), k(l2, { key: 4, modelValue: e2.defVersion, "onUpdate:modelValue": t2[2] || (t2[2] = (t3) => e2.defVersion = t3), style: { "padding-left": "10px", width: "200px" }, onChange: n2.changeDefVersion }, { default: P(() => [(C(true), v(E, null, T(e2.workflowDefVersionList, (e3) => (C(), k(a2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : I("", true)]), _: 1 }), D("div", { class: "main", onMousedown: t2[4] || (t2[4] = (...e3) => n2.startDrag && n2.startDrag(...e3)), onMousemove: t2[5] || (t2[5] = (...e3) => n2.drag && n2.drag(...e3)), onMouseup: t2[6] || (t2[6] = (...e3) => n2.endDrag && n2.endDrag(...e3)), onMouseleave: t2[7] || (t2[7] = (...e3) => n2.clearStatus && n2.clearStatus(...e3)) }, [s2.readonly ? I("", true) : (C(), k(c2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (C(), v("section", { class: "tabBox", key: e2.canvasKey }, [x(p2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: P(() => [x(f2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: P(() => [x(h2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: M(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), x(f2, { label: "XML", name: "xml", class: "tab-pane" }, { default: P(() => [D("div", _, ["xml" === e2.activeTab ? (C(), v("pre", L, [D("code", { ref: "xml", class: "language-xml" }, V(e2.xml), 513)])) : I("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (C(), k(m2, { key: 0, style: A({ height: n2.componentInfo.height, width: n2.componentInfo.width, color: n2.componentInfo.color, left: e2.currentPosition.x + "px", top: e2.currentPosition.y + "px" }), icon: n2.componentInfo.icon, class: "component-icon" }, null, 8, ["style", "icon"])) : I("", true), e2.contextMenuVisible ? (C(), k(u2, { key: 1, style: A({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : I("", true), e2.isAdminSave ? (C(), k(w2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : I("", true)], 544);
202
202
  }], ["__scopeId", "data-v-865cb4ee"]]);
203
203
  export {
204
204
  W as default