workflow-editor 0.0.81-up-tmp21 → 0.0.81-up-tmp24

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.
@@ -451,9 +451,9 @@
451
451
  }, endDrag() {
452
452
  this.setControlPointToMove(null);
453
453
  } } }, Ke = ["d"], Xe = ["cx", "cy", "onMousedown"];
454
- const Ye = { name: "Transition", components: { StraightLine: Le, CurveLine: Ge, BrokenLine: $(qe, [["render", function(e2, t2, o2, l2, i2, n2) {
454
+ const Ye = $(qe, [["render", function(e2, t2, o2, l2, i2, n2) {
455
455
  return r.openBlock(), r.createElementBlock("g", null, [r.createElementVNode("path", { d: n2.path, "marker-end": "url(#arrow)" }, null, 8, Ke), o2.owner.isSelected ? (r.openBlock(), r.createElementBlock(r.Fragment, { key: 0 }, [n2.controlPoint ? (r.openBlock(true), r.createElementBlock(r.Fragment, { key: 0 }, r.renderList(n2.controlPoint, (e3, o3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.x + e3.y, cx: e3.x, cy: e3.y, r: "3", class: "control-point", onMousedown: r.withModifiers((e4) => n2.startDrag(o3, e4), ["stop"]), onMouseup: t2[0] || (t2[0] = r.withModifiers((...e4) => n2.endDrag && n2.endDrag(...e4), ["stop"])) }, null, 40, Xe))), 128)) : r.createCommentVNode("", true)], 64)) : r.createCommentVNode("", true)]);
456
- }], ["__scopeId", "data-v-788fb0ae"]]) }, props: { model: { type: Object, default: null } }, data() {
456
+ }], ["__scopeId", "data-v-788fb0ae"]]), Qe = { name: "Transition", components: { StraightLine: Le, CurveLine: Ge, BrokenLine: Ye }, props: { model: { type: Object, default: null } }, data() {
457
457
  const e2 = this.getTextPoint();
458
458
  return { text: { x: e2.x, y: e2.y }, name: this.model.remark };
459
459
  }, computed: { ...t.mapGetters("wfEditor", ["draggerToMove", "processI18n"]), draggers() {
@@ -508,26 +508,26 @@
508
508
  }, endDrag() {
509
509
  }, showPropertiesEditor() {
510
510
  "Decision" !== this.model.endJoint.parent.type && this.setPropertiesEditorFor("Transition");
511
- } } }, Qe = ["x", "y"], Ze = { key: 0 }, et = ["cx", "cy", "onMousedown"];
512
- const tt = $(Ye, [["render", function(e2, t2, o2, l2, i2, n2) {
513
- return r.openBlock(), r.createElementBlock("g", { class: r.normalizeClass({ "no-events": null != e2.draggerToMove }), onMousedown: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.select && n2.select(...e3), ["stop"])), onDblclick: t2[2] || (t2[2] = r.withModifiers((...e3) => n2.showPropertiesEditor && n2.showPropertiesEditor(...e3), ["stop"])) }, [r.createElementVNode("text", { x: i2.text.x, y: i2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Qe), (r.openBlock(), r.createBlock(r.resolveDynamicComponent(o2.model.lineInfo.type), { owner: o2.model, class: r.normalizeClass({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (r.openBlock(), r.createElementBlock("g", Ze, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.draggers, (e3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.position, cx: e3.x, cy: e3.y, class: "transition-dragger", r: "4", onMousedown: r.withModifiers((t3) => n2.startDrag(t3, e3.position), ["stop"]), onMouseup: t2[0] || (t2[0] = (...e4) => n2.endDrag && n2.endDrag(...e4)) }, null, 40, et))), 128))])) : r.createCommentVNode("", true)], 34);
514
- }], ["__scopeId", "data-v-a1576cad"]]), ot = { name: "VirtualTransition", props: { toPosition: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["startJoint"]), path() {
511
+ } } }, Ze = ["x", "y"], et = { key: 0 }, tt = ["cx", "cy", "onMousedown"];
512
+ const ot = $(Qe, [["render", function(e2, t2, o2, l2, i2, n2) {
513
+ return r.openBlock(), r.createElementBlock("g", { class: r.normalizeClass({ "no-events": null != e2.draggerToMove }), onMousedown: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.select && n2.select(...e3), ["stop"])), onDblclick: t2[2] || (t2[2] = r.withModifiers((...e3) => n2.showPropertiesEditor && n2.showPropertiesEditor(...e3), ["stop"])) }, [r.createElementVNode("text", { x: i2.text.x, y: i2.text.y, "text-anchor": "middle", class: "draggable" }, r.toDisplayString(i2.name), 9, Ze), (r.openBlock(), r.createBlock(r.resolveDynamicComponent(o2.model.lineInfo.type), { owner: o2.model, class: r.normalizeClass({ transition: true, selected: o2.model.isSelected || o2.model.startJoint.parent.isSelected && o2.model.endJoint.parent.isSelected }) }, null, 8, ["owner", "class"])), o2.model.isSelected ? (r.openBlock(), r.createElementBlock("g", et, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.draggers, (e3) => (r.openBlock(), r.createElementBlock("circle", { key: e3.position, cx: e3.x, cy: e3.y, class: "transition-dragger", r: "4", onMousedown: r.withModifiers((t3) => n2.startDrag(t3, e3.position), ["stop"]), onMouseup: t2[0] || (t2[0] = (...e4) => n2.endDrag && n2.endDrag(...e4)) }, null, 40, tt))), 128))])) : r.createCommentVNode("", true)], 34);
514
+ }], ["__scopeId", "data-v-a1576cad"]]), lt = { name: "VirtualTransition", props: { toPosition: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["startJoint"]), path() {
515
515
  if (!this.startJoint)
516
516
  return null;
517
517
  const e2 = C(this.startJoint.parent, this.startJoint.position), t2 = this.toPosition;
518
518
  return "M" + e2.x + " " + e2.y + " L" + t2.x + " " + t2.y;
519
- } }, methods: {} }, lt = ["d"];
520
- const rt = $(ot, [["render", function(e2, t2, o2, l2, i2, n2) {
521
- return r.openBlock(), r.createElementBlock("g", null, [r.withDirectives(r.createElementVNode("path", { d: n2.path, class: "virtual-transition", "marker-end": "url(#arrow)" }, null, 8, lt), [[r.vShow, n2.path]])]);
522
- }]]), it = { name: "SelectionRegion", props: { region: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setDrawingRegion", "setMovingRegion", "setMouseDownPosition"]), startDrag(e2) {
519
+ } }, methods: {} }, rt = ["d"];
520
+ const it = $(lt, [["render", function(e2, t2, o2, l2, i2, n2) {
521
+ return r.openBlock(), r.createElementBlock("g", null, [r.withDirectives(r.createElementVNode("path", { d: n2.path, class: "virtual-transition", "marker-end": "url(#arrow)" }, null, 8, rt), [[r.vShow, n2.path]])]);
522
+ }]]), nt = { name: "SelectionRegion", props: { region: { type: Object, default: null } }, computed: { ...t.mapGetters("wfEditor", ["selectedTaches"]) }, methods: { ...t.mapMutations("wfEditor", ["setDrawingRegion", "setMovingRegion", "setMouseDownPosition"]), startDrag(e2) {
523
523
  const t2 = k(e2);
524
524
  this.setMouseDownPosition(t2), this.setMovingRegion(true);
525
525
  }, endDrag(e2) {
526
526
  this.setMovingRegion(false), this.setMouseDownPosition(null);
527
- } } }, nt = ["x", "y", "width", "height"];
528
- const at = $(it, [["render", function(e2, t2, o2, l2, i2, n2) {
529
- return r.openBlock(), r.createElementBlock("g", null, [o2.region ? (r.openBlock(), r.createElementBlock("rect", { key: 0, x: o2.region.x, y: o2.region.y, width: o2.region.width, height: o2.region.height, class: r.normalizeClass({ draggable: true, "selection-region": true, dashed: e2.selectedTaches.length < 1 }), onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 42, nt)) : r.createCommentVNode("", true)]);
530
- }]]), st = { name: "FormFields", props: { fields: { type: Array, default: null } }, data: () => ({ selectedField: null, copyShowFields: [], showFields: [], searchFormCode: "", dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["formFields"]), allFields() {
527
+ } } }, at = ["x", "y", "width", "height"];
528
+ const st = $(nt, [["render", function(e2, t2, o2, l2, i2, n2) {
529
+ return r.openBlock(), r.createElementBlock("g", null, [o2.region ? (r.openBlock(), r.createElementBlock("rect", { key: 0, x: o2.region.x, y: o2.region.y, width: o2.region.width, height: o2.region.height, class: r.normalizeClass({ draggable: true, "selection-region": true, dashed: e2.selectedTaches.length < 1 }), onMousedown: t2[0] || (t2[0] = r.withModifiers((...e3) => n2.startDrag && n2.startDrag(...e3), ["stop"])), onMouseup: t2[1] || (t2[1] = r.withModifiers((...e3) => n2.endDrag && n2.endDrag(...e3), ["stop"])) }, null, 42, at)) : r.createCommentVNode("", true)]);
530
+ }]]), dt = { name: "FormFields", props: { fields: { type: Array, default: null } }, data: () => ({ selectedField: null, copyShowFields: [], showFields: [], searchFormCode: "", dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["formFields"]), allFields() {
531
531
  return this.fields ? this.fields : this.formFields;
532
532
  } }, mounted() {
533
533
  this.copyAllFields = this.allFields, this.showFields = this.allFields;
@@ -535,22 +535,22 @@
535
535
  this.$emit("close", this.selectedField);
536
536
  }, searchForm() {
537
537
  this.searchFormCode && "" !== this.searchFormCode ? this.showFields = this.copyAllFields.filter((e2) => e2.name.indexOf(this.searchFormCode) > -1 || e2.label.indexOf(this.searchFormCode) > -1) : this.showFields = this.copyAllFields;
538
- } } }, dt = { style: { "padding-bottom": "10px" } }, ct = { style: { float: "left", width: "70%" } }, mt = { class: "item-content" };
539
- const ut = $(st, [["render", function(e2, t2, o2, l2, i2, n2) {
538
+ } } }, ct = { style: { "padding-bottom": "10px" } }, mt = { style: { float: "left", width: "70%" } }, ut = { class: "item-content" };
539
+ const pt = $(dt, [["render", function(e2, t2, o2, l2, i2, n2) {
540
540
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-button"), d2 = r.resolveComponent("el-radio"), c2 = r.resolveComponent("el-radio-group"), m2 = r.resolveComponent("el-dialog");
541
- return r.openBlock(), r.createBlock(m2, { width: "60%", title: e2.$t("workflowEditor.common.selectFormField"), modelValue: i2.dialogVisible, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.dialogVisible = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab", onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.setField }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("div", dt, [r.createElementVNode("span", ct, [r.createVNode(a2, { modelValue: i2.searchFormCode, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.searchFormCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterTheNameOrCode") }, null, 8, ["modelValue", "placeholder"])]), r.createElementVNode("span", null, [r.createVNode(s2, { style: { "margin-left": "10px" }, type: "primary", onClick: n2.searchForm }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.search")), 1)]), _: 1 }, 8, ["onClick"])])]), r.createElementVNode("div", mt, [r.createVNode(c2, { modelValue: i2.selectedField, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.selectedField = e3), class: "group" }, { default: r.withCtx(() => [r.createElementVNode("ul", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.showFields, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, class: "item" }, [r.createVNode(d2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]))), 128))])]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["title", "modelValue"]);
541
+ return r.openBlock(), r.createBlock(m2, { width: "60%", title: e2.$t("workflowEditor.common.selectFormField"), modelValue: i2.dialogVisible, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.dialogVisible = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab", onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.setField }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("div", ct, [r.createElementVNode("span", mt, [r.createVNode(a2, { modelValue: i2.searchFormCode, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.searchFormCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterTheNameOrCode") }, null, 8, ["modelValue", "placeholder"])]), r.createElementVNode("span", null, [r.createVNode(s2, { style: { "margin-left": "10px" }, type: "primary", onClick: n2.searchForm }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.search")), 1)]), _: 1 }, 8, ["onClick"])])]), r.createElementVNode("div", ut, [r.createVNode(c2, { modelValue: i2.selectedField, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.selectedField = e3), class: "group" }, { default: r.withCtx(() => [r.createElementVNode("ul", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.showFields, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, class: "item" }, [r.createVNode(d2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]))), 128))])]), _: 1 }, 8, ["modelValue"])])]), _: 1 }, 8, ["title", "modelValue"]);
542
542
  }], ["__scopeId", "data-v-98300543"]]);
543
- function pt(e2) {
544
- const t2 = ht(e2);
543
+ function ht(e2) {
544
+ const t2 = ft(e2);
545
545
  return t2 ? t2.label : e2;
546
546
  }
547
- function ht(e2) {
547
+ function ft(e2) {
548
548
  const t2 = window.$store.getters["wfEditor/formFields"];
549
549
  e2 && (e2.indexOf("${field[") >= 0 || e2.indexOf("${deptField[") >= 0) && (e2 = e2.substring(e2.indexOf("[") + 1, e2.lastIndexOf("]")));
550
550
  const o2 = t2.filter((t3) => t3.name === e2);
551
551
  return o2.length > 0 ? o2[0] : null;
552
552
  }
553
- const ft = $({ name: "TaskTitle", components: { FormFields: ut }, props: { modelValue: { type: String, default: null } }, data() {
553
+ const wt = { name: "TaskTitle", components: { FormFields: pt }, props: { modelValue: { type: String, default: null } }, data() {
554
554
  const e2 = [];
555
555
  if (this.modelValue) {
556
556
  const t2 = /\$\{(.+?)\}/g, o2 = this.modelValue.match(t2);
@@ -563,7 +563,7 @@
563
563
  let t2 = e2;
564
564
  if (e2.indexOf("${field[") >= 0) {
565
565
  const e3 = t2.substring(t2.indexOf("[") + 1, t2.lastIndexOf("]"));
566
- t2 = pt(e3), t2 = "[" + t2 + "]";
566
+ t2 = ht(e3), t2 = "[" + t2 + "]";
567
567
  } else if (e2.indexOf("${writeTitle[") >= 0) {
568
568
  const o2 = e2.indexOf("${writeTitle[");
569
569
  t2 = t2.substring(o2 + 13), t2 = t2.substring(0, t2.indexOf("]"));
@@ -584,15 +584,16 @@
584
584
  e2 && (this.inputVisible ? e2 = "${writeTitle[" + e2 + "]}" : this.isShowAdditionalParam && (e2 = "${request[" + e2 + "]}"), this.dynamicTags.push(e2), this.$emit("update:modelValue", this.dynamicTags.join(""))), this.inputVisible = false, this.isShowAdditionalParam = false, this.inputValue = "";
585
585
  }, getType: (e2) => e2.indexOf("${field") >= 0 ? "success" : null, setField(e2) {
586
586
  void 0 !== e2 && (this.dynamicTags.push("${field[" + e2 + "]}"), this.$emit("update:modelValue", this.dynamicTags.join(""))), this.showFormFields = false;
587
- } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
587
+ } } };
588
+ const gt = $(wt, [["render", function(e2, t2, o2, l2, i2, n2) {
588
589
  const a2 = r.resolveComponent("el-tag"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-button-group"), m2 = r.resolveComponent("form-fields");
589
590
  return r.openBlock(), r.createElementBlock("div", null, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.dynamicTags, (e3, t3) => (r.openBlock(), r.createBlock(a2, { key: t3 + e3, type: n2.getType(e3), closable: "", "disable-transitions": false, onClose: (t4) => n2.handleClose(e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(n2.showText(e3)), 1)]), _: 2 }, 1032, ["type", "onClose"]))), 128)), i2.inputVisible || i2.isShowAdditionalParam ? (r.openBlock(), r.createBlock(s2, { key: 0, ref: "saveTagInput", modelValue: i2.inputValue, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.inputValue = e3), class: "input-new-tag", size: "small", onKeyup: r.withKeys(n2.handleInputConfirm, ["enter", "native"]), onBlur: n2.handleInputConfirm }, null, 8, ["modelValue", "onKeyup", "onBlur"])) : r.createCommentVNode("", true), i2.inputVisible ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(c2, { key: 1 }, { default: r.withCtx(() => [r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "EditPen", onClick: n2.showInput }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.enterText")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "Search", onClick: t2[1] || (t2[1] = (e3) => i2.showFormFields = true) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.selectField")), 1)]), _: 1 }), r.createVNode(d2, { class: "button-new-tag", size: "small", icon: "EditPen", onClick: n2.showAdditionalParam }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.additionalParam")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })), i2.showFormFields ? (r.openBlock(), r.createBlock(m2, { key: 2, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]);
590
- }], ["__scopeId", "data-v-aaf48aff"]]), wt = [{ name: "${approvalResult}", label: w().t("workflowEditor.process.approvalResults"), orgType: "other" }, { name: "${instanceCreatorName}", label: w().t("workflowEditor.process.processInitiator"), orgType: "user" }, { name: "${instanceCreatorRole}", label: w().t("workflowEditor.process.processInitiatorRole"), orgType: "role" }, { name: "${instanceCreatorDepartment}", label: w().t("workflowEditor.process.processInitiatorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${superiorDepartment}", label: w().t("workflowEditor.process.processInitiatorSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorUpstageDepartment}", label: w().t("workflowEditor.process.processInitiatorTopDepartment"), orgType: "department" }, { name: "${instanceCreatorWorkGroup}", label: w().t("workflowEditor.process.processInitiatorWorkingGroup"), orgType: "workgroup" }, { name: "${instanceCreatorDirectSuperiorName}", label: w().t("workflowEditor.process.sponsorsImmediateSuperior"), orgType: "user" }, { name: "${instanceCreatorDeptApprover}", label: w().t("workflowEditor.process.deptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptApprover}", label: w().t("workflowEditor.process.superiorDeptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptLeader}", label: w().t("workflowEditor.process.superiorDeptLeader"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorDirectSuperiorRole}", label: w().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"), orgType: "role" }, { name: "${instanceCreatorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorName}", label: w().t("workflowEditor.process.nameOfCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorRole}", label: w().t("workflowEditor.process.currentHandlerRole"), orgType: "role" }, { name: "${currentTransactorDepartment}", label: w().t("workflowEditor.process.currentHandlerDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorUpstageDepartment}", label: w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment"] }, { name: "${currentTransactorWorkGroup}", label: w().t("workflowEditor.process.currentHandlerWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorDirectSuperiorName}", label: w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorDirectSuperiorRole}", label: w().t("workflowEditor.process.currentManagerDirectSuperiorRole"), orgType: "role" }, { name: "${currentTransactorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"), orgType: "workgroup" }, { name: "${upstageDepartment}", label: w().t("workflowEditor.process.topDepartments"), orgType: "department" }, { name: "${countersignatureDisagreeCount}", label: w().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreeCount}", label: w().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureDisagreePercentage}", label: w().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreePercentage}", label: w().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionPercentage}", label: w().t("workflowEditor.process.percentageOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstPercentage}", label: w().t("workflowEditor.process.percentageOfVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorPercentage}", label: w().t("workflowEditor.process.percentageOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionCount}", label: w().t("workflowEditor.process.totalNumberOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstCount}", label: w().t("workflowEditor.process.totalVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorCount}", label: w().t("workflowEditor.process.totalNumberOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }], gt = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") };
591
- const Ct = [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }];
592
- const kt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }];
593
- const bt = [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.et", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.date.ne", label: w().t("workflowEditor.process.notEqualTo") }], Vt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }];
594
- const yt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }], vt = [...Ct, ...bt, ...kt, ...Vt];
595
- function Tt(e2, t2) {
591
+ }], ["__scopeId", "data-v-aaf48aff"]]), Ct = [{ name: "${approvalResult}", label: w().t("workflowEditor.process.approvalResults"), orgType: "other" }, { name: "${instanceCreatorName}", label: w().t("workflowEditor.process.processInitiator"), orgType: "user" }, { name: "${instanceCreatorRole}", label: w().t("workflowEditor.process.processInitiatorRole"), orgType: "role" }, { name: "${instanceCreatorDepartment}", label: w().t("workflowEditor.process.processInitiatorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${superiorDepartment}", label: w().t("workflowEditor.process.processInitiatorSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorUpstageDepartment}", label: w().t("workflowEditor.process.processInitiatorTopDepartment"), orgType: "department" }, { name: "${instanceCreatorWorkGroup}", label: w().t("workflowEditor.process.processInitiatorWorkingGroup"), orgType: "workgroup" }, { name: "${instanceCreatorDirectSuperiorName}", label: w().t("workflowEditor.process.sponsorsImmediateSuperior"), orgType: "user" }, { name: "${instanceCreatorDeptApprover}", label: w().t("workflowEditor.process.deptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptApprover}", label: w().t("workflowEditor.process.superiorDeptApprover"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDeptLeader}", label: w().t("workflowEditor.process.superiorDeptLeader"), orgType: "user" }, { name: "${instanceCreatorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.processInitiatorsDirectSuperiorDepartment"), orgType: "department", relatedFields: ["upstageDepartment"] }, { name: "${instanceCreatorDirectSuperiorRole}", label: w().t("workflowEditor.process.directSuperiorRoleOfProcessInitiator"), orgType: "role" }, { name: "${instanceCreatorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.ProcessInitiatorsImmediateSuperiorWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorName}", label: w().t("workflowEditor.process.nameOfCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorRole}", label: w().t("workflowEditor.process.currentHandlerRole"), orgType: "role" }, { name: "${currentTransactorDepartment}", label: w().t("workflowEditor.process.currentHandlerDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorUpstageDepartment}", label: w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment"] }, { name: "${currentTransactorWorkGroup}", label: w().t("workflowEditor.process.currentHandlerWorkingGroup"), orgType: "workgroup" }, { name: "${currentTransactorDirectSuperiorName}", label: w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), orgType: "user", relatedFields: ["instanceCreatorName", "instanceCreatorDirectSuperiorName"] }, { name: "${currentTransactorDirectSuperiorDepartment}", label: w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment"), orgType: "department", relatedFields: ["instanceCreatorDepartment", "superiorDepartment", "instanceCreatorUpstageDepartment", "instanceCreatorDirectSuperiorDepartment", "upstageDepartment"] }, { name: "${currentTransactorDirectSuperiorRole}", label: w().t("workflowEditor.process.currentManagerDirectSuperiorRole"), orgType: "role" }, { name: "${currentTransactorDirectSuperiorWorkGroup}", label: w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler"), orgType: "workgroup" }, { name: "${upstageDepartment}", label: w().t("workflowEditor.process.topDepartments"), orgType: "department" }, { name: "${countersignatureDisagreeCount}", label: w().t("workflowEditor.process.totalNnumberOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreeCount}", label: w().t("workflowEditor.process.totalNumberOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureDisagreePercentage}", label: w().t("workflowEditor.process.percentageOfPersonsWhoDisagreeWithTheCountersignature"), orgType: "other", dataType: "INTEGER" }, { name: "${countersignatureAgreePercentage}", label: w().t("workflowEditor.process.percentageOfCountersignedAndAgreedPersonnel"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionPercentage}", label: w().t("workflowEditor.process.percentageOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstPercentage}", label: w().t("workflowEditor.process.percentageOfVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorPercentage}", label: w().t("workflowEditor.process.percentageOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }, { name: "${abstentionCount}", label: w().t("workflowEditor.process.totalNumberOfAbstentions"), orgType: "other", dataType: "INTEGER" }, { name: "${againstCount}", label: w().t("workflowEditor.process.totalVotesAgainst"), orgType: "other", dataType: "INTEGER" }, { name: "${favorCount}", label: w().t("workflowEditor.process.totalNumberOfAffirmativeVotes"), orgType: "other", dataType: "INTEGER" }], kt = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") };
592
+ const bt = [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }];
593
+ const Vt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }];
594
+ const yt = [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.et", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.date.ne", label: w().t("workflowEditor.process.notEqualTo") }], vt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }];
595
+ const Tt = [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }], Nt = [...bt, ...yt, ...Vt, ...vt];
596
+ function xt(e2, t2) {
596
597
  if (t2 && 0 !== t2.length) {
597
598
  let o2 = t2.replace(/ condition.operator.or /g, " condition.operator.or^_^");
598
599
  o2 = o2.replace(/ condition.operator.and /g, " condition.operator.and^_^");
@@ -613,28 +614,28 @@
613
614
  return r2;
614
615
  }
615
616
  }
616
- function Nt(e2) {
617
- const t2 = wt.filter((t3) => t3.name === e2);
617
+ function Et(e2) {
618
+ const t2 = Ct.filter((t3) => t3.name === e2);
618
619
  return t2.length > 0 ? t2[0] : null;
619
620
  }
620
- function xt(e2) {
621
- return e2 ? e2.indexOf("${field[") >= 0 ? pt(e2) : e2.indexOf("${") >= 0 ? function(e3) {
622
- const t2 = Nt(e3);
621
+ function St(e2) {
622
+ return e2 ? e2.indexOf("${field[") >= 0 ? ht(e2) : e2.indexOf("${") >= 0 ? function(e3) {
623
+ const t2 = Et(e3);
623
624
  return t2 ? t2.label : e3;
624
625
  }(e2) : e2.indexOf("[") >= 0 ? e2.substring(0, e2.indexOf("[")) : e2 : "";
625
626
  }
626
- function Et(e2) {
627
- const t2 = vt.filter((t3) => t3.name === e2);
627
+ function Mt(e2) {
628
+ const t2 = Nt.filter((t3) => t3.name === e2);
628
629
  return t2.length > 0 ? t2[0].label : "";
629
630
  }
630
- function St(e2) {
631
+ function Dt(e2) {
631
632
  let t2 = "";
632
633
  for (const o3 of e2)
633
- 0 !== o3.key.length && void 0 !== o3.operator && "" !== o3.operator && null !== o3.operator && ("operator.text.is.null" === o3.operator || "operator.text.not.null" === o3.operator || "" !== o3.value && void 0 !== o3.value && null !== o3.value) && (t2 = t2 + o3.leftBracket + xt(o3.key) + " " + Et(o3.operator) + " " + xt(o3.value) + o3.rightBracket + " " + gt[o3.logicOperator] + " ");
634
+ 0 !== o3.key.length && void 0 !== o3.operator && "" !== o3.operator && null !== o3.operator && ("operator.text.is.null" === o3.operator || "operator.text.not.null" === o3.operator || "" !== o3.value && void 0 !== o3.value && null !== o3.value) && (t2 = t2 + o3.leftBracket + St(o3.key) + " " + Mt(o3.operator) + " " + St(o3.value) + o3.rightBracket + " " + kt[o3.logicOperator] + " ");
634
635
  const o2 = " 或者 ", l2 = " 并且 ";
635
636
  return t2.lastIndexOf(o2) + 4 === t2.length ? t2 = t2.substring(0, t2.lastIndexOf(o2)) : t2.lastIndexOf(l2) + 4 === t2.length && (t2 = t2.substring(0, t2.lastIndexOf(l2))), t2;
636
637
  }
637
- const Mt = { name: "InlineSystemRoleTree", props: { multiple: { type: Boolean, default: false } }, data: () => ({ systemRoleTrees: null, filterText: "", defaultProps: { id: "id", label: "label", children: "children", isLeaf: "leaf" }, containBranch: false, tenantInfo: null, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, searchValue: null, selectNodeInfo: null }), computed: {}, watch: { filterText(e2) {
638
+ const $t = { name: "InlineSystemRoleTree", props: { multiple: { type: Boolean, default: false } }, data: () => ({ systemRoleTrees: null, filterText: "", defaultProps: { id: "id", label: "label", children: "children", isLeaf: "leaf" }, containBranch: false, tenantInfo: null, tenantNodeId: -1, allSearchNodeIds: [], allExpandNodeIds: [], isClickNode: false, searchValue: null, selectNodeInfo: null }), computed: {}, watch: { filterText(e2) {
638
639
  e2 || (this.searchValue = e2, this.loadRole(this.tenantNodeId, this.tenantNodeId + ""));
639
640
  } }, created() {
640
641
  }, methods: { loadNode(e2, t2) {
@@ -719,11 +720,11 @@
719
720
  }
720
721
  }, renderContent(e2, { node: t2, data: o2, store: l2 }) {
721
722
  return o2.nodeType && "ROLE" === o2.nodeType && this.searchValue && o2.label.indexOf(this.searchValue) > -1 ? e2("span", {}, [e2("span", { class: "searchResult" }, t2.label)]) : e2("span", {}, [e2("span", {}, t2.label)]);
722
- } } }, Dt = Object.assign(Mt, { setup: (e2) => (t2, o2) => {
723
+ } } }, Ft = Object.assign($t, { setup: (e2) => (t2, o2) => {
723
724
  const l2 = r.resolveComponent("el-button"), n2 = r.resolveComponent("el-input"), a2 = r.resolveComponent("el-tree");
724
725
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(n2, { modelValue: t2.filterText, "onUpdate:modelValue": o2[0] || (o2[0] = (e3) => t2.filterText = e3), placeholder: t2.$t("workflowEditorMessage.pleaseEnterTheRoleName"), onKeyup: r.withKeys(t2.clickSearch, ["enter"]) }, { append: r.withCtx(() => [r.createVNode(l2, { icon: r.unref(i.Search), onClick: t2.clickSearch }, null, 8, ["icon", "onClick"])]), _: 1 }, 8, ["modelValue", "placeholder", "onKeyup"]), r.createVNode(a2, { ref: "roleTree", props: t2.defaultProps, load: t2.loadNode, lazy: "", "highlight-current": true, "node-key": "nodeId", "show-checkbox": e2.multiple, "check-strictly": "", "render-content": t2.renderContent, "filter-node-method": t2.filterNode, onCheck: t2.handleCheckNode, onNodeClick: t2.handleNodeClick }, null, 8, ["props", "load", "show-checkbox", "render-content", "filter-node-method", "onCheck", "onNodeClick"])]);
725
726
  } });
726
- const $t = $({ name: "ValueSelectionDialog", components: { InlineSystemRoleTree: Dt }, props: { standardFields: { type: [Object, Array], default: null }, title: { type: String, default: "" }, showOrganization: { type: Boolean, default: true }, showFormFields: { type: Boolean, default: true }, orgType: { type: String, default: "" } }, data() {
727
+ const Pt = $({ name: "ValueSelectionDialog", components: { InlineSystemRoleTree: Ft }, props: { standardFields: { type: [Object, Array], default: null }, title: { type: String, default: "" }, showOrganization: { type: Boolean, default: true }, showFormFields: { type: Boolean, default: true }, orgType: { type: String, default: "" } }, data() {
727
728
  let e2 = this.title, t2 = "organization";
728
729
  return this.showOrganization || (t2 = "standardFields"), this.title && "" !== this.title || (e2 = w().t("workflowEditorMessage.pleaseSelectAValue")), { selectedValue: "", activeTab: t2, titleName: e2, dialogVisible: true, activeNames: ["baseField"] };
729
730
  }, computed: { ...t.mapGetters("wfEditor", ["formFields"]), customFormFields() {
@@ -773,23 +774,23 @@
773
774
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
774
775
  const a2 = r.resolveComponent("el-radio"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-tab-pane"), c2 = r.resolveComponent("inline-department-user-tree"), m2 = r.resolveComponent("inline-department-tree"), u2 = r.resolveComponent("inline-workgroup-tree"), p2 = r.resolveComponent("inline-system-role-tree"), h2 = r.resolveComponent("el-col"), f2 = r.resolveComponent("el-collapse-item"), w2 = r.resolveComponent("el-collapse"), g2 = r.resolveComponent("el-radio-group"), C2 = r.resolveComponent("el-tabs"), k2 = r.resolveComponent("el-button"), b2 = r.resolveComponent("el-dialog");
775
776
  return r.openBlock(), r.createBlock(b2, { title: i2.titleName, "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-valueSelect", center: "", onClose: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setValue }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[4] || (t2[4] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { id: "custTabOne", modelValue: i2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.activeTab = e3), type: "border-card" }, { default: r.withCtx(() => [n2.options.length > 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, label: e2.$t("workflowEditor.process.standardFields"), name: "standardFields" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.options, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.name }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.selectedValue, "onUpdate:modelValue": t2[0] || (t2[0] = (e4) => i2.selectedValue = e4), label: e3.name, border: "" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["modelValue", "label"])]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), o2.showOrganization ? (r.openBlock(), r.createBlock(d2, { key: 1, label: e2.$t("workflowEditor.common.organizationStructure"), name: "organization" }, { default: r.withCtx(() => ["user" === o2.orgType ? (r.openBlock(), r.createBlock(c2, { key: 0, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "department" === o2.orgType ? (r.openBlock(), r.createBlock(m2, { key: 1, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "workgroup" === o2.orgType ? (r.openBlock(), r.createBlock(u2, { key: 2, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true), "role" === o2.orgType ? (r.openBlock(), r.createBlock(p2, { key: 3, ref: "organizationTree", multiple: false, onResult: n2.orgSelect }, null, 8, ["onResult"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(d2, { label: e2.$t("workflowEditor.common.formField"), name: "formFields" }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: i2.selectedValue, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.selectedValue = e3), class: "group" }, { default: r.withCtx(() => [r.createVNode(s2, { style: { width: "100%" } }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.customFormFields, (e3) => (r.openBlock(), r.createBlock(h2, { key: e3.name, span: 8 }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${field[" + e3.name + "]}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024))), 128))]), _: 1 }), r.createVNode(w2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.activeNames = e3), style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(f2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.baseFormFields, (e3) => (r.openBlock(), r.createBlock(h2, { key: e3.name, span: 8 }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${field[" + e3.name + "]}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
776
- }], ["__scopeId", "data-v-7feaa2da"]]), Ft = { name: "AdditionalCondition", components: { ValueSelectionDialog: $t }, props: { modelValue: { type: String, default: null }, isTransition: { type: Boolean, default: false } }, data() {
777
- const e2 = [], t2 = Tt(e2, this.modelValue);
778
- return { standardFields: wt, tableData: e2, count: t2, currentRow: null, currentInput: null, options: [], valueDialogTitle: null, showOrganization: true, orgType: null };
777
+ }], ["__scopeId", "data-v-7feaa2da"]]), Bt = { name: "AdditionalCondition", components: { ValueSelectionDialog: Pt }, props: { modelValue: { type: String, default: null }, isTransition: { type: Boolean, default: false } }, data() {
778
+ const e2 = [], t2 = xt(e2, this.modelValue);
779
+ return { standardFields: Ct, tableData: e2, count: t2, currentRow: null, currentInput: null, options: [], valueDialogTitle: null, showOrganization: true, orgType: null };
779
780
  }, computed: { ...t.mapGetters("wfEditor", ["formFields"]), availableStandardFields() {
780
781
  return "key" === this.currentInput ? function(e2) {
781
782
  if (e2)
782
- return wt;
783
+ return Ct;
783
784
  const t2 = [];
784
- return wt.forEach((o2) => {
785
+ return Ct.forEach((o2) => {
785
786
  e2 || "other" === o2.orgType || t2.push(o2);
786
787
  }), t2;
787
788
  }(this.isTransition) : function(e2) {
788
- const t2 = wt.filter((t3) => t3.name === e2);
789
+ const t2 = Ct.filter((t3) => t3.name === e2);
789
790
  let o2 = [];
790
791
  t2.length > 0 && (o2 = t2[0].relatedFields || []);
791
792
  const l2 = [];
792
- return wt.forEach((e3) => {
793
+ return Ct.forEach((e3) => {
793
794
  o2.indexOf(e3.name.substring(2, e3.name.length - 1)) >= 0 && l2.push(e3);
794
795
  }), l2;
795
796
  }(this.currentRow.key);
@@ -803,16 +804,16 @@
803
804
  return t3.lastIndexOf(o2) + 23 === t3.length ? t3 = t3.substring(0, t3.lastIndexOf(o2)) : t3.lastIndexOf(l2) + 24 === t3.length && (t3 = t3.substring(0, t3.lastIndexOf(l2))), t3;
804
805
  }(this.tableData));
805
806
  }, { deep: true });
806
- }, methods: { format: (e2, t2) => "" === e2 || null == e2 ? "" : xt(e2), getOperatorOptions: (e2) => function(e3) {
807
- const t2 = ht(e3) || Nt(e3);
807
+ }, methods: { format: (e2, t2) => "" === e2 || null == e2 ? "" : St(e2), getOperatorOptions: (e2) => function(e3) {
808
+ const t2 = ft(e3) || Et(e3);
808
809
  if (t2)
809
- return o2 = t2.dataType, ["NUMBER", "DOUBLE", "FLOAT", "LONG", "INTEGER", "AMOUNT"].indexOf(o2) >= 0 ? Ct : function(e4) {
810
+ return o2 = t2.dataType, ["NUMBER", "DOUBLE", "FLOAT", "LONG", "INTEGER", "AMOUNT"].indexOf(o2) >= 0 ? bt : function(e4) {
810
811
  return ["DATE", "TIME"].indexOf(e4) >= 0;
811
- }(t2.dataType) ? bt : function(e4) {
812
+ }(t2.dataType) ? yt : function(e4) {
812
813
  return ["STRING", "TEXT"].indexOf(e4) >= 0;
813
- }(t2.dataType) ? kt : function(e4) {
814
+ }(t2.dataType) ? Vt : function(e4) {
814
815
  return "${approvalResult}" === e4;
815
- }(e3) ? yt : Vt;
816
+ }(e3) ? Tt : vt;
816
817
  var o2;
817
818
  }(e2), selectRow(e2) {
818
819
  this.$refs.table.setCurrentRow(e2);
@@ -842,7 +843,7 @@
842
843
  let e2 = this.getRowIndex(this.currentRow);
843
844
  this.tableData.splice(e2, 1), this.tableData.length > 0 && (e2 = e2 <= this.tableData.length - 1 ? e2 : this.tableData.length - 1, this.$refs.table.setCurrentRow(this.tableData[e2]));
844
845
  }, view() {
845
- let e2 = St(this.tableData);
846
+ let e2 = Dt(this.tableData);
846
847
  "" === e2 && (e2 = this.$t("workflowEditorMessage.conditionsHaveNotBeenSet")), this.$confirm(e2, this.$t("workflowEditorMessage.viewConditions"), { showConfirmButton: false, showCancelButton: false, callback: function() {
847
848
  } });
848
849
  }, selectField(e2) {
@@ -855,17 +856,17 @@
855
856
  }, isTransitionOtherField: (e2) => function(e3) {
856
857
  if ("${approvalResult}" === e3)
857
858
  return false;
858
- const t2 = wt.filter((t3) => t3.name === e3);
859
+ const t2 = Ct.filter((t3) => t3.name === e3);
859
860
  let o2 = false;
860
861
  return t2.length > 0 && t2.forEach((t3) => {
861
862
  e3 === t3.name && "other" === t3.orgType && (o2 = true);
862
863
  }), o2;
863
- }(e2) } }, Pt = { style: { overflow: "auto", width: "100%" } };
864
- const Bt = $(Ft, [["render", function(e2, t2, o2, l2, i2, n2) {
864
+ }(e2) } }, Ot = { style: { overflow: "auto", width: "100%" } };
865
+ const It = $(Bt, [["render", function(e2, t2, o2, l2, i2, n2) {
865
866
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-option"), c2 = r.resolveComponent("el-select"), m2 = r.resolveComponent("el-table-column"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("value-selection-dialog");
866
- return r.openBlock(), r.createElementBlock("div", Pt, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.key), onClick: (t3) => n2.selectField(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "130" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.getOperatorOptions(e3.row.key), (e4) => (r.openBlock(), r.createBlock(d2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.key.indexOf("${field[") >= 0 || n2.isTransitionOtherField(t3.row.key) ? (r.openBlock(), r.createBlock(u2, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])) : "${approvalResult}" === t3.row.key ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, { default: r.withCtx(() => [r.createVNode(d2, { value: "同意", label: e2.$t("workflowEditorPublicModel.agree") }, null, 8, ["label"]), r.createVNode(d2, { value: "不同意", label: e2.$t("workflowEditorPublicModel.disagree") }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (r.openBlock(), r.createBlock(u2, { key: 2, value: n2.format(t3.row.value, t3.row), readonly: "", onClick: n2.selectValue }, null, 8, ["value", "onClick"]))]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.currentInput ? (r.openBlock(), r.createBlock(h2, { key: 0, title: i2.valueDialogTitle, "show-organization": i2.showOrganization, "standard-fields": n2.availableStandardFields, "org-type": i2.orgType, onClose: n2.closeValueDialog }, null, 8, ["title", "show-organization", "standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
867
+ return r.openBlock(), r.createElementBlock("div", Ot, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.key), onClick: (t3) => n2.selectField(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "130" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.getOperatorOptions(e3.row.key), (e4) => (r.openBlock(), r.createBlock(d2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.key.indexOf("${field[") >= 0 || n2.isTransitionOtherField(t3.row.key) ? (r.openBlock(), r.createBlock(u2, { key: 0, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])) : "${approvalResult}" === t3.row.key ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true } }, { default: r.withCtx(() => [r.createVNode(d2, { value: "同意", label: e2.$t("workflowEditorPublicModel.agree") }, null, 8, ["label"]), r.createVNode(d2, { value: "不同意", label: e2.$t("workflowEditorPublicModel.disagree") }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])) : (r.openBlock(), r.createBlock(u2, { key: 2, value: n2.format(t3.row.value, t3.row), readonly: "", onClick: n2.selectValue }, null, 8, ["value", "onClick"]))]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.currentInput ? (r.openBlock(), r.createBlock(h2, { key: 0, title: i2.valueDialogTitle, "show-organization": i2.showOrganization, "standard-fields": n2.availableStandardFields, "org-type": i2.orgType, onClose: n2.closeValueDialog }, null, 8, ["title", "show-organization", "standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
867
868
  }]]);
868
- const Ot = $({ name: "AdditionalConditionDialog", components: { AdditionalCondition: Bt }, props: { modelValue: { type: String, default: "" } }, data() {
869
+ const _t = $({ name: "AdditionalConditionDialog", components: { AdditionalCondition: It }, props: { modelValue: { type: String, default: "" } }, data() {
869
870
  return { condition: this.modelValue, dialogVisible: true };
870
871
  }, watch: { value(e2) {
871
872
  this.condition = e2;
@@ -874,7 +875,7 @@
874
875
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
875
876
  const a2 = r.resolveComponent("additional-condition"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-dialog");
876
877
  return r.openBlock(), r.createBlock(c2, { width: "50%", title: e2.$t("workflowEditor.task.setConditions"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(d2, { type: "primary", size: "small", onClick: n2.setConditions }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(d2, { size: "small", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.condition = e3) }, null, 8, ["modelValue"])]), _: 1 })]), _: 1 }, 8, ["title"]);
877
- }]]), It = { name: "CustomActions", components: { AdditionalConditionDialog: Ot }, props: { model: { type: Object, default: null } }, data() {
878
+ }]]), Rt = { name: "CustomActions", components: { AdditionalConditionDialog: _t }, props: { model: { type: Object, default: null } }, data() {
878
879
  const e2 = [];
879
880
  let t2 = 1;
880
881
  if (this.model.action)
@@ -921,13 +922,13 @@
921
922
  if ("" === e2 || !e2)
922
923
  return this.$t("workflowEditor.task.nothing");
923
924
  const t2 = [];
924
- return Tt(t2, e2), St(t2);
925
+ return xt(t2, e2), Dt(t2);
925
926
  }, selectCondition(e2) {
926
927
  this.selectRow(e2), this.currentRow || (this.currentRow.condition = ""), this.showAdditionalCondition = true;
927
- } } }, _t = Object.assign(It, { setup: (e2) => (e3, t2) => {
928
+ } } }, At = Object.assign(Rt, { setup: (e2) => (e3, t2) => {
928
929
  const o2 = r.resolveComponent("el-button"), l2 = r.resolveComponent("el-table-column"), n2 = r.resolveComponent("el-option"), a2 = r.resolveComponent("el-select"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-checkbox"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-row");
929
- return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.CirclePlus), onClick: e3.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.Delete), onClick: e3.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(c2, { ref: "table", data: e3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: e3.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(l2, { type: "index" }), r.createVNode(l2, { label: e3.$t("workflowEditor.task.operationType"), width: "180" }, { default: r.withCtx((t3) => [r.createVNode(a2, { modelValue: t3.row.type, "onUpdate:modelValue": (e4) => t3.row.type = e4, onChange: e3.isDuplicated }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e3.actionTypes, (e4) => (r.openBlock(), r.createBlock(n2, { key: e4.id, value: e4.type, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "label", label: e3.$t("workflowEditor.task.name"), width: "180" }, { default: r.withCtx((e4) => [r.createVNode(s2, { modelValue: e4.row.label, "onUpdate:modelValue": (t3) => e4.row.label = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "visible", label: e3.$t("workflowEditor.task.visibleOrNot") }, { default: r.withCtx((e4) => [r.createVNode(d2, { modelValue: e4.row.visible, "onUpdate:modelValue": (t3) => e4.row.visible = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "condition", label: e3.$t("workflowEditor.task.condition") }, { default: r.withCtx((t3) => [r.createVNode(s2, { value: e3.formatCondition(t3.row.condition), type: "textarea", autosize: "", onFocus: (o3) => e3.selectCondition(t3.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), e3.showAdditionalCondition ? (r.openBlock(), r.createBlock(r.unref(Ot), { key: 0, modelValue: e3.currentRow.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (t3) => e3.currentRow.condition = t3), onClose: t2[1] || (t2[1] = (t3) => e3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
930
- } }), Rt = { name: "I18nSet", props: { value: { type: Object, default: null } }, data() {
930
+ return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.CirclePlus), onClick: e3.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(o2, { type: "primary", size: "small", plain: "", icon: r.unref(i.Delete), onClick: e3.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["icon", "onClick"]), r.createVNode(c2, { ref: "table", data: e3.actions, "row-key": "type", border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: e3.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(l2, { type: "index" }), r.createVNode(l2, { label: e3.$t("workflowEditor.task.operationType"), width: "180" }, { default: r.withCtx((t3) => [r.createVNode(a2, { modelValue: t3.row.type, "onUpdate:modelValue": (e4) => t3.row.type = e4, onChange: e3.isDuplicated }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e3.actionTypes, (e4) => (r.openBlock(), r.createBlock(n2, { key: e4.id, value: e4.type, label: e4.label }, null, 8, ["value", "label"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "label", label: e3.$t("workflowEditor.task.name"), width: "180" }, { default: r.withCtx((e4) => [r.createVNode(s2, { modelValue: e4.row.label, "onUpdate:modelValue": (t3) => e4.row.label = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "visible", label: e3.$t("workflowEditor.task.visibleOrNot") }, { default: r.withCtx((e4) => [r.createVNode(d2, { modelValue: e4.row.visible, "onUpdate:modelValue": (t3) => e4.row.visible = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(l2, { prop: "condition", label: e3.$t("workflowEditor.task.condition") }, { default: r.withCtx((t3) => [r.createVNode(s2, { value: e3.formatCondition(t3.row.condition), type: "textarea", autosize: "", onFocus: (o3) => e3.selectCondition(t3.row) }, null, 8, ["value", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), e3.showAdditionalCondition ? (r.openBlock(), r.createBlock(r.unref(_t), { key: 0, modelValue: e3.currentRow.condition, "onUpdate:modelValue": t2[0] || (t2[0] = (t3) => e3.currentRow.condition = t3), onClose: t2[1] || (t2[1] = (t3) => e3.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
931
+ } }), Ut = { name: "I18nSet", props: { value: { type: Object, default: null } }, data() {
931
932
  let e2 = {};
932
933
  return this.value && (e2 = JSON.parse(JSON.stringify(this.value))), { requiredRule: { required: true, message: w().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, i18nModel: e2, bundleCode: null, isShow: false, i18nKey: null, languages: {}, dialogVisible: true, isNewI18n: false };
933
934
  }, computed: { ...t.mapGetters("wfEditor", ["systemCode", "processCode", "isHandleCreate"]) }, created() {
@@ -951,10 +952,10 @@
951
952
  });
952
953
  }, goBack() {
953
954
  this.$emit("close");
954
- } } }, At = { class: "operation-area" };
955
- const Ut = { name: "I18nInput", components: { I18nSet: $(Rt, [["render", function(e2, t2, o2, l2, i2, n2) {
955
+ } } }, Lt = { class: "operation-area" };
956
+ const Ht = { name: "I18nInput", components: { I18nSet: $(Ut, [["render", function(e2, t2, o2, l2, i2, n2) {
956
957
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-input"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-col"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("el-form"), p2 = r.resolveComponent("el-dialog");
957
- return i2.isShow ? (r.openBlock(), r.createBlock(p2, { key: 0, "close-on-click-modal": false, width: "30%", title: e2.$t("workflowEditorPublicModel.i18nSet"), "append-to-body": "", "model-value": "", top: "5vh", onOpen: t2[2] || (t2[2] = (t3) => e2.$emit("open")), onOpend: t2[3] || (t2[3] = (t3) => e2.$emit("opend")), onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")), onClosed: t2[5] || (t2[5] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("div", At, [r.createVNode(a2, { type: "primary", size: "small", onClick: t2[0] || (t2[0] = (e3) => n2.saveI18nSet("form")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }), r.createVNode(a2, { size: "small", onClick: n2.goBack }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }, 8, ["onClick"])]), r.createVNode(u2, { ref: "form", model: i2.i18nModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditorPublicModel.i18nKey"), prop: "key", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.key, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.i18nModel.key = e3), style: { width: "80%" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })]), _: 1 }), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(Object.keys(i2.languages), (e3) => (r.openBlock(), r.createBlock(m2, { key: e3 }, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: i2.languages[e3], prop: e3 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.values[e3], "onUpdate:modelValue": (t3) => i2.i18nModel.values[e3] = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "prop"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])) : r.createCommentVNode("", true);
958
+ return i2.isShow ? (r.openBlock(), r.createBlock(p2, { key: 0, "close-on-click-modal": false, width: "30%", title: e2.$t("workflowEditorPublicModel.i18nSet"), "append-to-body": "", "model-value": "", top: "5vh", onOpen: t2[2] || (t2[2] = (t3) => e2.$emit("open")), onOpend: t2[3] || (t2[3] = (t3) => e2.$emit("opend")), onClose: t2[4] || (t2[4] = (t3) => e2.$emit("close")), onClosed: t2[5] || (t2[5] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("div", Lt, [r.createVNode(a2, { type: "primary", size: "small", onClick: t2[0] || (t2[0] = (e3) => n2.saveI18nSet("form")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }), r.createVNode(a2, { size: "small", onClick: n2.goBack }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }, 8, ["onClick"])]), r.createVNode(u2, { ref: "form", model: i2.i18nModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditorPublicModel.i18nKey"), prop: "key", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.key, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.i18nModel.key = e3), style: { width: "80%" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })]), _: 1 }), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(Object.keys(i2.languages), (e3) => (r.openBlock(), r.createBlock(m2, { key: e3 }, { default: r.withCtx(() => [r.createVNode(c2, { span: 24 }, { default: r.withCtx(() => [r.createVNode(d2, { label: i2.languages[e3], prop: e3 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.i18nModel.values[e3], "onUpdate:modelValue": (t3) => i2.i18nModel.values[e3] = t3 }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 2 }, 1032, ["label", "prop"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"])) : r.createCommentVNode("", true);
958
959
  }]]) }, model: { prop: "value", event: "input" }, props: { modelValue: { type: String, default: "" }, i18nKey: { type: String, default: "" } }, data() {
959
960
  const e2 = this.modelValue;
960
961
  return { isShowI18n: false, myI18nKey: this.i18nKey, zh: e2, isNewI18n: false };
@@ -968,12 +969,12 @@
968
969
  this.myI18nKey ? this.isShowI18n = true : this.$message({ showClose: true, type: "warning", message: this.$t("workflowEditorMessage.pleaseInputCode") });
969
970
  }, closeI18nSet(e2) {
970
971
  e2 && this.$emit("setI18n", e2), this.isShowI18n = false;
971
- } } }, Lt = { style: { float: "left", "padding-right": "5px" } };
972
- const Ht = $(Ut, [["render", function(e2, t2, o2, l2, i2, n2) {
972
+ } } }, Wt = { style: { float: "left", "padding-right": "5px" } };
973
+ const zt = $(Ht, [["render", function(e2, t2, o2, l2, i2, n2) {
973
974
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("i18n-set");
974
- return r.openBlock(), r.createElementBlock("span", null, [r.createElementVNode("div", Lt, [r.createVNode(a2, { modelValue: i2.zh, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.zh = e3) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-cog", onClick: t2[0] || (t2[0] = (...e3) => n2.i18nSet && n2.i18nSet(...e3)) })]), _: 1 }, 8, ["modelValue"])]), i2.isShowI18n ? (r.openBlock(), r.createBlock(s2, { key: 0, value: { values: { zh_CN: i2.zh }, key: i2.myI18nKey }, onClose: n2.closeI18nSet }, null, 8, ["value", "onClose"])) : r.createCommentVNode("", true)]);
975
- }]]), Wt = { style: { width: "100%" } };
976
- const zt = $({ name: "SelectMailTemplates", model: { prop: "value", event: "input" }, props: { modelValue: { type: [String, Number], default: "" } }, data() {
975
+ return r.openBlock(), r.createElementBlock("span", null, [r.createElementVNode("div", Wt, [r.createVNode(a2, { modelValue: i2.zh, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.zh = e3) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-cog", onClick: t2[0] || (t2[0] = (...e3) => n2.i18nSet && n2.i18nSet(...e3)) })]), _: 1 }, 8, ["modelValue"])]), i2.isShowI18n ? (r.openBlock(), r.createBlock(s2, { key: 0, value: { values: { zh_CN: i2.zh }, key: i2.myI18nKey }, onClose: n2.closeI18nSet }, null, 8, ["value", "onClose"])) : r.createCommentVNode("", true)]);
976
+ }]]), jt = { style: { width: "100%" } };
977
+ const Jt = $({ name: "SelectMailTemplates", model: { prop: "value", event: "input" }, props: { modelValue: { type: [String, Number], default: "" } }, data() {
977
978
  return { baseURL: "", optionUrl: "", multiSelectData: [], showMailTemplateFlag: false, code: this.modelValue, options: { showColumns: "code,name" }, dialogVisible: true };
978
979
  }, created() {
979
980
  this.baseURL = window.$vueApp.config.globalProperties.baseAPI, this.optionUrl = "/mc/email-templates/list/0";
@@ -985,8 +986,8 @@
985
986
  this.code = null, this.$emit("set-value", null);
986
987
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
987
988
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("super-grid"), d2 = r.resolveComponent("el-button"), c2 = r.resolveComponent("el-dialog");
988
- return r.openBlock(), r.createElementBlock("span", Wt, [r.createVNode(a2, { readonly: "", modelValue: i2.code, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.code = e3), onClick: t2[3] || (t2[3] = (e3) => i2.showMailTemplateFlag = true) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[0] || (t2[0] = (e3) => i2.showMailTemplateFlag = true) }), r.createElementVNode("i", { style: { "padding-left": "10px" }, class: "fa fa-trash", onClick: t2[1] || (t2[1] = (e3) => n2.clearVal()) })]), _: 1 }, 8, ["modelValue"]), r.createVNode(c2, { width: "40%", title: e2.$t("workflowEditor.task.selectTemplate"), modelValue: i2.showMailTemplateFlag, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.showMailTemplateFlag = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab" }, { footer: r.withCtx(() => [r.createVNode(d2, { onClick: t2[4] || (t2[4] = (e3) => i2.showMailTemplateFlag = false) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(d2, { type: "primary", onClick: n2.selectTemplate }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"])]), default: r.withCtx(() => [r.createVNode(s2, { ref: "reportGrid", url: i2.baseURL + i2.optionUrl, code: "BS_EMAIL_TEMPLATE", options: i2.options, onSelect: n2.selectData }, null, 8, ["url", "options", "onSelect"])]), _: 1 }, 8, ["title", "modelValue"])]);
989
- }]]), jt = { name: "BasicProperties", components: { TaskTitle: ft, CustomActions: _t, i18nInput: Ht, SelectMailTemplates: zt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
989
+ return r.openBlock(), r.createElementBlock("span", jt, [r.createVNode(a2, { readonly: "", modelValue: i2.code, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.code = e3), onClick: t2[3] || (t2[3] = (e3) => i2.showMailTemplateFlag = true) }, { append: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[0] || (t2[0] = (e3) => i2.showMailTemplateFlag = true) }), r.createElementVNode("i", { style: { "padding-left": "10px" }, class: "fa fa-trash", onClick: t2[1] || (t2[1] = (e3) => n2.clearVal()) })]), _: 1 }, 8, ["modelValue"]), r.createVNode(c2, { width: "40%", title: e2.$t("workflowEditor.task.selectTemplate"), modelValue: i2.showMailTemplateFlag, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.showMailTemplateFlag = e3), center: "", top: "5vh", "append-to-body": "", class: "properties-editor-noTab" }, { footer: r.withCtx(() => [r.createVNode(d2, { onClick: t2[4] || (t2[4] = (e3) => i2.showMailTemplateFlag = false) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 }), r.createVNode(d2, { type: "primary", onClick: n2.selectTemplate }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"])]), default: r.withCtx(() => [r.createVNode(s2, { ref: "reportGrid", url: i2.baseURL + i2.optionUrl, code: "BS_EMAIL_TEMPLATE", options: i2.options, onSelect: n2.selectData }, null, 8, ["url", "options", "onSelect"])]), _: 1 }, 8, ["title", "modelValue"])]);
990
+ }]]), Gt = { name: "BasicProperties", components: { TaskTitle: gt, CustomActions: At, i18nInput: zt, SelectMailTemplates: Jt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
990
991
  let e2 = false;
991
992
  const t2 = this.model.processingMode.actions.action;
992
993
  return t2 && (e2 = !Array.isArray(t2) || 0 !== t2.length), { showActions: e2, formModel: { name: this.name, id: this.id, tache: this.model } };
@@ -1008,11 +1009,11 @@
1008
1009
  this.tache.i18nKey = e2;
1009
1010
  }, updateAction(e2) {
1010
1011
  this.tache.processingMode.actions.action = e2;
1011
- } } }, Jt = ((e2) => (r.pushScopeId("data-v-a219b06d"), e2 = e2(), r.popScopeId(), e2))(() => r.createElementVNode("span", { class: "percent" }, " % ", -1));
1012
- const Gt = $(jt, [["render", function(e2, t2, o2, l2, i2, n2) {
1012
+ } } }, qt = ((e2) => (r.pushScopeId("data-v-a219b06d"), e2 = e2(), r.popScopeId(), e2))(() => r.createElementVNode("span", { class: "percent" }, " % ", -1));
1013
+ const Kt = $(Gt, [["render", function(e2, t2, o2, l2, i2, n2) {
1013
1014
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-switch"), h2 = r.resolveComponent("select-mail-templates"), f2 = r.resolveComponent("el-radio"), w2 = r.resolveComponent("el-radio-group"), g2 = r.resolveComponent("el-input-number"), C2 = r.resolveComponent("custom-actions"), k2 = r.resolveComponent("el-form");
1014
- return r.openBlock(), r.createBlock(k2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.rebuttable, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailTemplateCode, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailPointTemplateCode, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => n2.tache.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.type, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => n2.tache.processingMode.type = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: "EDIT" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), r.createVNode(f2, { label: "APPROVE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), r.createVNode(f2, { label: "COUNTERSIGN" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), r.createVNode(f2, { label: "VOTE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === n2.tache.processingMode.type || "APPROVE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.moreTransactor, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => n2.tache.processingMode.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), "COUNTERSIGN" === n2.tache.processingMode.type || "VOTE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: n2.tache.processingMode.passRate, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => n2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), Jt]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.showActions, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.showActions = e3) }, null, 8, ["modelValue"]), i2.showActions ? (r.openBlock(), r.createBlock(C2, { key: 0, model: n2.tache.processingMode.actions, onUpdateAction: n2.updateAction }, null, 8, ["model", "onUpdateAction"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1015
- }], ["__scopeId", "data-v-a219b06d"]]), qt = { name: "EditableFieldSelection", components: { AdditionalCondition: Bt }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...t.mapGetters("wfEditor", ["formFieldsWithSub"]) }, created() {
1015
+ return r.openBlock(), r.createBlock(k2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.canItBeRejected") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.rebuttable, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.rebuttable = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailTemplateCode, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), n2.tache.mailNotice ? (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: n2.tache.mailPointTemplateCode, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => n2.tache.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.HandlingMethod") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.type, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => n2.tache.processingMode.type = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: "EDIT" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.editorial")), 1)]), _: 1 }), r.createVNode(f2, { label: "APPROVE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.approvalType")), 1)]), _: 1 }), r.createVNode(f2, { label: "COUNTERSIGN" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.countersign")), 1)]), _: 1 }), r.createVNode(f2, { label: "VOTE" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.voting")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), "EDIT" === n2.tache.processingMode.type || "APPROVE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 2, label: e2.$t("workflowEditorMessage.whenThereAreMultipleManagers") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: n2.tache.processingMode.moreTransactor, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => n2.tache.processingMode.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), "COUNTERSIGN" === n2.tache.processingMode.type || "VOTE" === n2.tache.processingMode.type ? (r.openBlock(), r.createBlock(s2, { key: 3, label: e2.$t("workflowEditor.task.passRate") }, { default: r.withCtx(() => [r.createVNode(g2, { modelValue: n2.tache.processingMode.passRate, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => n2.tache.processingMode.passRate = e3), step: 10, size: "small", min: 0, max: 100 }, null, 8, ["modelValue"]), qt]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.modifyOperationName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.showActions, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.showActions = e3) }, null, 8, ["modelValue"]), i2.showActions ? (r.openBlock(), r.createBlock(C2, { key: 0, model: n2.tache.processingMode.actions, onUpdateAction: n2.updateAction }, null, 8, ["model", "onUpdateAction"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1016
+ }], ["__scopeId", "data-v-a219b06d"]]), Xt = { name: "EditableFieldSelection", components: { AdditionalCondition: It }, props: { value: { type: Array, default: null }, disabledFields: { type: Array, default: null } }, data: () => ({ availableFields: [], formModel: { selectedFields: [], constraintRule: "REQUIRED", showCondition: false, condition: "" }, availableFieldsCount: null, orange: -1, pin: false, dialogVisible: true, activeNames: ["baseField"] }), computed: { ...t.mapGetters("wfEditor", ["formFieldsWithSub"]) }, created() {
1016
1017
  let e2 = 0;
1017
1018
  this.formFieldsWithSub.map((t3) => {
1018
1019
  this.disabledFields.indexOf(t3.name) < 0 && (t3.index = e2, this.availableFields.push(t3), e2++);
@@ -1042,11 +1043,11 @@
1042
1043
  }
1043
1044
  } else
1044
1045
  this.origin = t2;
1045
- } } }, Kt = ["title"], Xt = ["title"], Yt = ["title"], Qt = ["title"], Zt = ["title"], eo = ["title"], to = ["title"], oo = ["title"], lo = ["title"], ro = ["title"], io = ["title"], no = ["title"];
1046
- const ao = { name: "EditableFields", components: { EditableFieldSelection: $(qt, [["render", function(e2, t2, o2, l2, i2, n2) {
1046
+ } } }, Yt = ["title"], Qt = ["title"], Zt = ["title"], eo = ["title"], to = ["title"], oo = ["title"], lo = ["title"], ro = ["title"], io = ["title"], no = ["title"], ao = ["title"], so = ["title"];
1047
+ const co = { name: "EditableFields", components: { EditableFieldSelection: $(Xt, [["render", function(e2, t2, o2, l2, i2, n2) {
1047
1048
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-col"), d2 = r.resolveComponent("el-row"), c2 = r.resolveComponent("el-collapse-item"), m2 = r.resolveComponent("el-collapse"), u2 = r.resolveComponent("el-checkbox-group"), p2 = r.resolveComponent("el-radio"), h2 = r.resolveComponent("el-radio-group"), f2 = r.resolveComponent("el-form-item"), w2 = r.resolveComponent("el-switch"), g2 = r.resolveComponent("additional-condition"), C2 = r.resolveComponent("el-form"), k2 = r.resolveComponent("el-button"), b2 = r.resolveComponent("el-dialog");
1048
- return r.openBlock(), r.createBlock(b2, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[6] || (t2[6] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setSelectedFields }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.selectedFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.selectedFields = e3) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock(r.Fragment, { key: e3.prop }, [i2.availableFields[3 * t3 + 0] && !i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Kt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Xt)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && !i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, Yt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, Qt)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && !i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, Zt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, eo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)], 64))), 128))]), _: 1 }), r.createVNode(m2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.activeNames = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock("span", { key: e3.prop }, [r.createVNode(d2, null, { default: r.withCtx(() => [i2.availableFields[3 * t3 + 0] && i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, to)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, oo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, lo)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, ro)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, io)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, no)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.constraintRule, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.constraintRule = e3) }, { default: r.withCtx(() => [r.createVNode(p2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(p2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.formModel.showCondition, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), i2.formModel.showCondition ? (r.openBlock(), r.createBlock(g2, { key: 0, modelValue: i2.formModel.condition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
1049
- }], ["__scopeId", "data-v-9458f3bf"]]), AdditionalConditionDialog: Ot }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
1049
+ return r.openBlock(), r.createBlock(b2, { id: "appContainer", width: "60%", title: e2.$t("workflowEditor.task.selectEditableField"), "model-value": "", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", center: "", onClose: t2[6] || (t2[6] = (t3) => e2.$emit("close")) }, { footer: r.withCtx(() => [r.createVNode(k2, { type: "primary", size: "small", onClick: n2.setSelectedFields }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(k2, { size: "small", onClick: t2[5] || (t2[5] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), default: r.withCtx(() => [r.createVNode(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.selectedFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.selectedFields = e3) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock(r.Fragment, { key: e3.prop }, [i2.availableFields[3 * t3 + 0] && !i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Yt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, Qt)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && !i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, Zt)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, eo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && !i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, to)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, oo)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)], 64))), 128))]), _: 1 }), r.createVNode(m2, { modelValue: i2.activeNames, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.activeNames = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { title: e2.$t("workflowEditor.task.baseField"), name: "baseField" }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.availableFieldsCount, (e3, t3) => (r.openBlock(), r.createElementBlock("span", { key: e3.prop }, [r.createVNode(d2, null, { default: r.withCtx(() => [i2.availableFields[3 * t3 + 0] && i2.availableFields[3 * t3 + 0].baseField ? (r.openBlock(), r.createBlock(s2, { key: 0, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 0].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, lo)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 0].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 0].name, i2.availableFields[3 * t3 + 0].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 0].label }, r.toDisplayString(i2.availableFields[3 * t3 + 0].label), 9, ro)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 1] && i2.availableFields[3 * t3 + 1].baseField ? (r.openBlock(), r.createBlock(s2, { key: 1, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 1].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, io)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 1].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 1].name, i2.availableFields[3 * t3 + 1].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 1].label }, r.toDisplayString(i2.availableFields[3 * t3 + 1].label), 9, no)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true), i2.availableFields[3 * t3 + 2] && i2.availableFields[3 * t3 + 2].baseField ? (r.openBlock(), r.createBlock(s2, { key: 2, span: 8 }, { default: r.withCtx(() => [-1 === i2.availableFields[3 * t3 + 2].name.indexOf("$") ? (r.openBlock(), r.createBlock(a2, { key: 0, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, ao)]), _: 2 }, 1032, ["label", "onChange"])) : (r.openBlock(), r.createBlock(a2, { key: 1, label: i2.availableFields[3 * t3 + 2].name, onChange: (e4) => n2.pinSelect(i2.availableFields[3 * t3 + 2].name, i2.availableFields[3 * t3 + 2].index) }, { default: r.withCtx(() => [r.createElementVNode("span", { style: { color: "#409eff" }, class: "ellipsis", title: i2.availableFields[3 * t3 + 2].label }, r.toDisplayString(i2.availableFields[3 * t3 + 2].label), 9, so)]), _: 2 }, 1032, ["label", "onChange"]))]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]), _: 1 }, 8, ["title"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["modelValue"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.constraintRule, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.constraintRule = e3) }, { default: r.withCtx(() => [r.createVNode(p2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(p2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { label: e2.$t("workflowEditor.task.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.formModel.showCondition, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.showCondition = e3) }, null, 8, ["modelValue"]), i2.formModel.showCondition ? (r.openBlock(), r.createBlock(g2, { key: 0, modelValue: i2.formModel.condition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"])]), _: 1 }, 8, ["title"]);
1050
+ }], ["__scopeId", "data-v-9458f3bf"]]), AdditionalConditionDialog: _t }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
1050
1051
  let e2 = [];
1051
1052
  "" !== this.modelValue && null !== this.modelValue && void 0 !== this.modelValue && (Array.isArray(this.modelValue) ? e2 = this.modelValue : e2.push(this.modelValue));
1052
1053
  return { showFieldSelection: false, showAdditionalCondition: false, selectedFields: e2, currentRow: null, multipleSelection: [], disabledFields: this.getDisabledFields(this.modelValue) };
@@ -1093,17 +1094,17 @@
1093
1094
  if ("" === e2 || !e2)
1094
1095
  return this.$t("workflowEditor.task.nothing");
1095
1096
  const t2 = [];
1096
- return Tt(t2, e2), St(t2);
1097
+ return xt(t2, e2), Dt(t2);
1097
1098
  }, getFieldLabel(e2) {
1098
1099
  const t2 = this.formFieldsWithSub.filter((t3) => t3.name === e2.name);
1099
1100
  return t2.length > 0 ? t2[0].label : "";
1100
1101
  }, selectCondition(e2) {
1101
1102
  this.selectRow(e2), this.showAdditionalCondition = true;
1102
- } } }, so = { style: { width: "100%" } };
1103
- const co = $(ao, [["render", function(e2, t2, o2, l2, i2, n2) {
1103
+ } } }, mo = { style: { width: "100%" } };
1104
+ const uo = $(co, [["render", function(e2, t2, o2, l2, i2, n2) {
1104
1105
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-radio"), m2 = r.resolveComponent("el-radio-group"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("editable-field-selection"), f2 = r.resolveComponent("additional-condition-dialog");
1105
- return r.openBlock(), r.createElementBlock("div", so, [r.createVNode(s2, { style: { "padding-bottom": "10px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "selection", width: "55" }), r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: r.withCtx((e3) => [r.createElementVNode("span", { style: r.normalizeStyle({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, r.toDisplayString(n2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), r.createVNode(d2, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx((t3) => [r.createVNode(m2, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3 }, { default: r.withCtx(() => [r.createVNode(c2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(c2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (t3) => n2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), i2.showFieldSelection ? (r.openBlock(), r.createBlock(h2, { key: 0, "disabled-fields": i2.disabledFields, onInputValue: n2.setSelectedFields, onClose: t2[0] || (t2[0] = (e3) => i2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : r.createCommentVNode("", true), i2.showAdditionalCondition ? (r.openBlock(), r.createBlock(f2, { key: 1, modelValue: i2.currentRow.condition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.currentRow.condition = e3), onClose: t2[2] || (t2[2] = (e3) => i2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
1106
- }]]), mo = { xmlToData(e2) {
1106
+ return r.openBlock(), r.createElementBlock("div", mo, [r.createVNode(s2, { style: { "padding-bottom": "10px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.selectedFields, border: "", "highlight-current-row": "", onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "selection", width: "55" }), r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { label: e2.$t("workflowEditor.common.name"), width: "180" }, { default: r.withCtx((e3) => [r.createElementVNode("span", { style: r.normalizeStyle({ color: e3.row.name && 0 === e3.row.name.indexOf("$") ? "#409EFF" : "" }) }, r.toDisplayString(n2.getFieldLabel(e3.row)), 5)]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "180" }, null, 8, ["label"]), r.createVNode(d2, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod") }, { default: r.withCtx((t3) => [r.createVNode(m2, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3 }, { default: r.withCtx(() => [r.createVNode(c2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(c2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.formatCondition(e3.row.condition), type: "textarea", autosize: "", onClick: (t3) => n2.selectCondition(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), i2.showFieldSelection ? (r.openBlock(), r.createBlock(h2, { key: 0, "disabled-fields": i2.disabledFields, onInputValue: n2.setSelectedFields, onClose: t2[0] || (t2[0] = (e3) => i2.showFieldSelection = false) }, null, 8, ["disabled-fields", "onInputValue"])) : r.createCommentVNode("", true), i2.showAdditionalCondition ? (r.openBlock(), r.createBlock(f2, { key: 1, modelValue: i2.currentRow.condition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.currentRow.condition = e3), onClose: t2[2] || (t2[2] = (e3) => i2.showAdditionalCondition = false) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]);
1107
+ }]]), po = { xmlToData(e2) {
1107
1108
  const t2 = [];
1108
1109
  if (e2) {
1109
1110
  const r2 = e2.split(" ");
@@ -1182,11 +1183,11 @@
1182
1183
  }
1183
1184
  }
1184
1185
  return t2;
1185
- }, getOperators: (e2) => e2 ? "INTEGER" === e2.type || "LONG" === e2.type || "DOUBLE" === e2.type || "FLOAT" === e2.type ? [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "DATE" === e2.type || "TIME" === e2.type ? [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "TEXT" === e2.type ? [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }] }, uo = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": w().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, po = { "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": w().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, ho = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, fo = { "${user}": w().t("workflowEditor.common.user"), "${department}": w().t("workflowEditor.common.department"), "${role}": w().t("workflowEditor.common.role"), "${workgroup}": w().t("workflowEditor.common.workgroup") }, wo = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") }, go = { "operator.text.eq": w().t("workflowEditor.process.beEqualTo"), "operator.text.neq": w().t("workflowEditor.process.notEqualTo") }, Co = { ...uo, ...po, ...ho }, ko = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader") }, bo = { "${upstageDepartment}": w().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": w().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, Vo = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": w().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
1186
- function yo(e2) {
1187
- return void 0 !== Co[e2] ? Co[e2] : "";
1186
+ }, getOperators: (e2) => e2 ? "INTEGER" === e2.type || "LONG" === e2.type || "DOUBLE" === e2.type || "FLOAT" === e2.type ? [{ name: "operator.number.gt", label: w().t("workflowEditor.process.greaterThan") }, { name: "operator.number.lt", label: w().t("workflowEditor.process.lessThan") }, { name: "operator.number.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.number.le", label: w().t("workflowEditor.process.notGreaterThan") }, { name: "operator.number.ge", label: w().t("workflowEditor.process.notLessThan") }, { name: "operator.number.ne", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "DATE" === e2.type || "TIME" === e2.type ? [{ name: "operator.date.gt", label: w().t("workflowEditor.process.laterThan") }, { name: "operator.date.lt", label: w().t("workflowEditor.process.earlierThan") }, { name: "operator.date.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.date.le", label: w().t("workflowEditor.process.noLaterThan") }, { name: "operator.date.ge", label: w().t("workflowEditor.process.noEarlierThan") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : "TEXT" === e2.type ? [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.contain", label: w().t("workflowEditor.process.contain") }, { name: "operator.text.contain.not", label: w().t("workflowEditor.process.notIncluded") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }, { name: "operator.text.is.null", label: w().t("workflowEditor.process.isNull") }, { name: "operator.text.not.null", label: w().t("workflowEditor.process.isNotNull") }] : [{ name: "operator.text.eq", label: w().t("workflowEditor.process.beEqualTo") }, { name: "operator.text.neq", label: w().t("workflowEditor.process.notEqualTo") }] }, ho = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader"), "${currentTransactorName}": w().t("workflowEditor.process.nameOfCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler") }, fo = { "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${currentTransactorDepartment}": w().t("workflowEditor.process.currentHandlerDepartment"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlerDirectSuperiorDepartment") }, wo = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheCurrentHandler") }, go = { "${user}": w().t("workflowEditor.common.user"), "${department}": w().t("workflowEditor.common.department"), "${role}": w().t("workflowEditor.common.role"), "${workgroup}": w().t("workflowEditor.common.workgroup") }, Co = { "condition.operator.or": w().t("workflowEditor.process.perhaps"), "condition.operator.and": w().t("workflowEditor.process.also") }, ko = { "operator.text.eq": w().t("workflowEditor.process.beEqualTo"), "operator.text.neq": w().t("workflowEditor.process.notEqualTo") }, bo = { ...ho, ...fo, ...wo }, Vo = { "${instanceCreatorName}": w().t("workflowEditor.process.processInitiator"), "${instanceCreatorDirectSuperiorName}": w().t("workflowEditor.process.sponsorsImmediateSuperior"), "${instanceCreatorDeptApprover}": w().t("workflowEditor.process.deptApprover"), "${instanceCreatorDirectSuperiorDeptApprover}": w().t("workflowEditor.process.superiorDeptApprover"), "${instanceCreatorDirectSuperiorDeptLeader}": w().t("workflowEditor.process.superiorDeptLeader") }, yo = { "${upstageDepartment}": w().t("workflowEditor.process.topDepartments"), "${instanceCreatorDepartment}": w().t("workflowEditor.process.processInitiatorDepartment"), "${instanceCreatorSuperiorDepartment}": w().t("workflowEditor.process.sponsorsSuperiorDepartment"), "${instanceCreatorUpstageDepartment}": w().t("workflowEditor.process.sponsorTopDepartment"), "${instanceCreatorDirectSuperiorDepartment}": w().t("workflowEditor.process.superiorDepartmentDirectlyUnderTheInitiator"), "${previousTransactorDepartment}": w().t("workflowEditor.process.lastLinkHandlerDepartment"), "${previousTransactorSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlerSuperiorDepartment"), "${previousTransactorUpstageDepartment}": w().t("workflowEditor.process.topDepartmentOfHandlerInThePreviousLink"), "${previousTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.previousLinkHandlersDirectSuperiorDepartment") }, vo = { "${instanceCreatorrWorkGroup}": w().t("workflowEditor.process.processInitiatorWorkingGroup"), "${instanceCreatorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.sponsorsImmediateSuperiorWorkingGroup"), "${previousTransactorWorkGroup}": w().t("workflowEditor.process.previousLinkHandlerWorkingGroup"), "${previousTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.workingGroupDirectlyUnderTheManagerInThePreviousLink") };
1187
+ function To(e2) {
1188
+ return void 0 !== bo[e2] ? bo[e2] : "";
1188
1189
  }
1189
- const vo = { name: "CommonUserCondition", components: { ValueSelectionDialog: $t }, props: { modelValue: { type: String, default: null }, usedIn: { type: String, default: "reminder" } }, data() {
1190
+ const No = { name: "CommonUserCondition", components: { ValueSelectionDialog: Pt }, props: { modelValue: { type: String, default: null }, usedIn: { type: String, default: "reminder" } }, data() {
1190
1191
  const e2 = [];
1191
1192
  let t2 = 0;
1192
1193
  return this.modelValue && "" !== this.modelValue && (t2 = function(e3, t3) {
@@ -1205,8 +1206,8 @@
1205
1206
  return r2;
1206
1207
  }(e2, this.modelValue)), { users: e2, count: t2, currentRow: null, showValueDialog: false };
1207
1208
  }, computed: { standardFields() {
1208
- let e2 = "reminder" === this.usedIn ? uo : ko;
1209
- return "${department}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? po : bo : "${workgroup}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? ho : Vo : "${role}" === this.currentRow.key && (e2 = {}), e2;
1209
+ let e2 = "reminder" === this.usedIn ? ho : Vo;
1210
+ return "${department}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? fo : yo : "${workgroup}" === this.currentRow.key ? e2 = "reminder" === this.usedIn ? wo : vo : "${role}" === this.currentRow.key && (e2 = {}), e2;
1210
1211
  } }, mounted() {
1211
1212
  this.users.length > 0 && this.$refs.table.setCurrentRow(this.users[this.users.length - 1]), this.$watch("users", function(e2, t2) {
1212
1213
  this.$emit("update:modelValue", function(e3) {
@@ -1217,7 +1218,7 @@
1217
1218
  return t3.lastIndexOf(o2) + 23 === t3.length ? t3 = t3.substring(0, t3.lastIndexOf(o2)) : t3.lastIndexOf(l2) + 24 === t3.length && (t3 = t3.substring(0, t3.lastIndexOf(l2))), t3;
1218
1219
  }(this.users));
1219
1220
  }, { deep: true });
1220
- }, methods: { format: (e2) => e2.indexOf("${field[") >= 0 ? pt(e2) : e2.indexOf("${") >= 0 ? yo(e2) : e2.substring(0, e2.indexOf("[")), selectRow(e2) {
1221
+ }, methods: { format: (e2) => e2.indexOf("${field[") >= 0 ? ht(e2) : e2.indexOf("${") >= 0 ? To(e2) : e2.substring(0, e2.indexOf("[")), selectRow(e2) {
1221
1222
  this.$refs.table.setCurrentRow(e2);
1222
1223
  }, openValueDialog(e2) {
1223
1224
  this.showValueDialog = true, this.selectRow(e2);
@@ -1247,7 +1248,7 @@
1247
1248
  let e2 = function(e3) {
1248
1249
  let t2 = "";
1249
1250
  for (const o3 of e3)
1250
- "" !== o3.value && (t2 = t2 + o3.leftBracket + fo[o3.key] + " " + go[o3.operator] + " " + yo(o3.value) + o3.rightBracket + " " + wo[o3.logicOperator] + " ");
1251
+ "" !== o3.value && (t2 = t2 + o3.leftBracket + go[o3.key] + " " + ko[o3.operator] + " " + To(o3.value) + o3.rightBracket + " " + Co[o3.logicOperator] + " ");
1251
1252
  const o2 = " " + w().t("workflowEditor.process.perhaps") + " ", l2 = " " + w().t("workflowEditor.process.also") + " ";
1252
1253
  return t2.lastIndexOf(o2) + o2.length === t2.length ? t2 = t2.substring(0, t2.lastIndexOf(o2)) : t2.lastIndexOf(l2) + l2.length === t2.length && (t2 = t2.substring(0, t2.lastIndexOf(l2))), t2;
1253
1254
  }(this.users);
@@ -1256,17 +1257,17 @@
1256
1257
  }, handleKeyChange(e2) {
1257
1258
  this.currentRow.value = "";
1258
1259
  } } };
1259
- const To = $(vo, [["render", function(e2, t2, o2, l2, i2, n2) {
1260
+ const xo = $(No, [["render", function(e2, t2, o2, l2, i2, n2) {
1260
1261
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-option"), c2 = r.resolveComponent("el-select"), m2 = r.resolveComponent("el-table-column"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("value-selection-dialog");
1261
1262
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "ArrowRight", onClick: n2.insert }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.insert")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "View", onClick: n2.view }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.viewConditions")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.users, "row-key": "id", border: "", style: { width: "100%", "padding-top": "10px" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(m2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, placeholder: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: "(", value: "(" }), r.createVNode(d2, { label: "((", value: "((" }), r.createVNode(d2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(m2, { label: e2.$t("workflowEditor.common.type"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.key, "onUpdate:modelValue": (e3) => t3.row.key = e3, placeholder: "", onFocus: (e3) => n2.selectRow(t3.row), onChange: n2.handleKeyChange }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.common.user"), value: "${user}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.role"), value: "${role}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.department"), value: "${department}" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.common.workgroup"), value: "${workgroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.operator, "onUpdate:modelValue": (e3) => t3.row.operator = e3, placeholder: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.beEqualTo"), value: "operator.text.eq" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.notEqualTo"), value: "operator.text.neq" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((e3) => [r.createVNode(u2, { value: n2.format(e3.row.value), readonly: "", onClick: (t3) => n2.openValueDialog(e3.row) }, null, 8, ["value", "onClick"])]), _: 1 }, 8, ["label"]), r.createVNode(m2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[0] || (t2[0] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, placeholder: "" }, { default: r.withCtx(() => [r.createVNode(d2, { label: "", value: "" }), r.createVNode(d2, { label: ")", value: ")" }), r.createVNode(d2, { label: "))", value: "))" }), r.createVNode(d2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(m2, { prop: "logicOperator", label: e2.$t("workflowEditorPublicModel.andOr"), width: "110" }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(d2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(d2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showValueDialog ? (r.openBlock(), r.createBlock(h2, { key: 0, "standard-fields": n2.standardFields, "org-type": i2.currentRow.key.substring(i2.currentRow.key.indexOf("{") + 1, i2.currentRow.key.lastIndexOf("}")), onClose: n2.closeValueDialog }, null, 8, ["standard-fields", "org-type", "onClose"])) : r.createCommentVNode("", true)]);
1262
- }]]), No = { components: { AdditionalCondition: Bt, CommonUserCondition: To }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
1263
+ }]]), Eo = { components: { AdditionalCondition: It, CommonUserCondition: xo }, props: { conditionList: { type: [Array, String], default: null }, userCondition: { type: String, default: null }, parentCondition: { type: String, default: null }, attributeMap: { type: Object, default: null }, buttonType: { type: Object, default: null } }, data() {
1263
1264
  let e2, t2;
1264
1265
  return this.userCondition && "" !== this.userCondition && (e2 = this.userCondition), this.parentCondition && "" !== this.parentCondition && (t2 = this.parentCondition), { myUserCondition: e2, myParentCondition: t2, tableData: null, attributeArr: [], fieldMap: {}, fieldNameMap: {}, queryList: [], operationArr: [], parentAttributeArr: [], dialogVisible: true };
1265
1266
  }, created() {
1266
1267
  this.getAttributeArr();
1267
1268
  }, computed: { ...t.mapGetters("wfEditor", ["propSettingKeyList"]) }, mounted() {
1268
1269
  this.conditionList && ("object" == typeof this.conditionList ? this.tableData = this.conditionList : this.tableData = this.xmlToData(this.conditionList), this.getOperatorsArr(this.tableData));
1269
- }, methods: { ...mo, add() {
1270
+ }, methods: { ...po, add() {
1270
1271
  this.tableData || (this.tableData = []), this.tableData.push({ leftBracket: "", propName: "", operator: "", propValue: "", rightBracket: "", logicOperator: "condition.operator.or", dataType: "", propDbName: "" }), this.operationArr.push([]);
1271
1272
  }, remove() {
1272
1273
  if (null === this.currentRow)
@@ -1301,10 +1302,10 @@
1301
1302
  this.savebuttonSetting(), this.$emit("close", null);
1302
1303
  }, changePropValue(e2) {
1303
1304
  this.tableData[e2] && this.tableData[e2].propValue ? this.tableData[e2].propValueType && ("request" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${request.") && (this.tableData[e2].propValue = "${request." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}")), "input" === this.tableData[e2].propValueType && (-1 === this.tableData[e2].propValue.indexOf("${input.") && (this.tableData[e2].propValue = "${input." + this.tableData[e2].propValue), -1 === this.tableData[e2].propValue.indexOf("}") && (this.tableData[e2].propValue = this.tableData[e2].propValue + "}"))) : this.tableData[e2].propValueType = null;
1304
- } } }, xo = { style: { "overflow-y": "auto", "max-height": "500px" } }, Eo = { class: "operation-area" }, So = { class: "clearfix" }, Mo = { class: "clearfix" };
1305
- const Do = { name: "EditableChildFields", components: { editableChildFieldSetting: $({ name: "EditableChildFieldSetting", components: { selectionConditions: $(No, [["render", function(e2, t2, o2, l2, i2, n2) {
1305
+ } } }, So = { style: { "overflow-y": "auto", "max-height": "500px" } }, Mo = { class: "operation-area" }, Do = { class: "clearfix" }, $o = { class: "clearfix" };
1306
+ const Fo = { name: "EditableChildFieldSetting", components: { selectionConditions: $(Eo, [["render", function(e2, t2, o2, l2, i2, n2) {
1306
1307
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("common-user-condition"), d2 = r.resolveComponent("el-card"), c2 = r.resolveComponent("additional-condition"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-table-column"), f2 = r.resolveComponent("el-date-picker"), w2 = r.resolveComponent("el-input"), g2 = r.resolveComponent("el-table"), C2 = r.resolveComponent("el-dialog");
1307
- return r.openBlock(), r.createBlock(C2, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: n2.closeButtonSetting }, { default: r.withCtx(() => [r.createElementVNode("div", xo, [r.createElementVNode("div", Eo, [r.createVNode(a2, { size: "small", type: "primary", onClick: n2.savebuttonSetting }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", So, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(s2, { modelValue: i2.myUserCondition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", Mo, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(c2, { modelValue: i2.myParentCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== o2.buttonType && "add" !== o2.buttonType ? (r.openBlock(), r.createBlock(d2, { key: 0, class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", null, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(m2, { style: { "padding-bottom": "8px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(g2, { id: "tableDataDialog", ref: "table", data: i2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(h2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: "(", value: "(" }), r.createVNode(u2, { label: "((", value: "((" }), r.createVNode(u2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.propName, "onUpdate:modelValue": (t3) => e3.row.propName = t3, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onFocus: (t3) => n2.selectRow(e3.row), onChange: (t3) => n2.changeFieldName(e3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.operationArr[e3.$index], (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.propValueType ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: t3.row.propValueType, "onUpdate:modelValue": (e3) => t3.row.propValueType = e3, size: "small", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "task" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 2, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "DATE" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 3, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: t3.row.propValue, type: "date", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 4, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", title: t3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 5, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "request" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 6, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "subObj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 7, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : r.createCommentVNode("", true), "obj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 8, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.parentAttributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "custom" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 9, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.propSettingKeyList, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(h2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[2] || (t2[2] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, size: "small", clearable: "" }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: ")", value: ")" }), r.createVNode(u2, { label: "))", value: "))" }), r.createVNode(u2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: r.withCtx((t3) => [r.createVNode(p2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : r.createCommentVNode("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
1308
+ return r.openBlock(), r.createBlock(C2, { "show-close": true, "append-to-body": true, style: { width: "100%" }, title: e2.$t("workflowEditor.condition.combinationCondition"), "model-value": "", onClose: n2.closeButtonSetting }, { default: r.withCtx(() => [r.createElementVNode("div", So, [r.createElementVNode("div", Mo, [r.createVNode(a2, { size: "small", type: "primary", onClick: n2.savebuttonSetting }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", Do, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.personnelScope")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(s2, { modelValue: i2.myUserCondition, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.myUserCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])]), _: 1 }), r.createVNode(d2, { class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", $o, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.mainTableConditions")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(c2, { modelValue: i2.myParentCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myParentCondition = e3) }, null, 8, ["modelValue"])])]), _: 1 }), "notEmpty" !== o2.buttonType && "add" !== o2.buttonType ? (r.openBlock(), r.createBlock(d2, { key: 0, class: "box-card", shadow: "never" }, { header: r.withCtx(() => [r.createElementVNode("div", null, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.condition.subtableCondition")), 1)])]), default: r.withCtx(() => [r.createElementVNode("div", null, [r.createVNode(m2, { style: { "padding-bottom": "8px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(g2, { id: "tableDataDialog", ref: "table", data: i2.tableData, border: "", style: { width: "100%" }, "highlight-current-row": "", onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(h2, { prop: "leftBracket", label: "(", width: "90" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.leftBracket, "onUpdate:modelValue": (t3) => e3.row.leftBracket = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: "(", value: "(" }), r.createVNode(u2, { label: "((", value: "((" }), r.createVNode(u2, { label: "(((", value: "(((" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditor.common.fieldName"), width: "200" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.propName, "onUpdate:modelValue": (t3) => e3.row.propName = t3, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onFocus: (t3) => n2.selectRow(e3.row), onChange: (t3) => n2.changeFieldName(e3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.value, label: e4.label, value: e4.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "filter-method", "onFocus", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.operator"), width: "110" }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.operator, "onUpdate:modelValue": (t3) => e3.row.operator = t3, size: "small", clearable: "", onFocus: (t3) => n2.selectRow(e3.row) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.operationArr[e3.$index], (e4) => (r.openBlock(), r.createBlock(u2, { key: e4.name, label: e4.label, value: e4.name }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"]), r.createVNode(h2, { label: e2.$t("workflowEditor.common.value") }, { default: r.withCtx((t3) => [t3.row.propValueType ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: t3.row.propValueType, "onUpdate:modelValue": (e3) => t3.row.propValueType = e3, size: "small", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.fillInManually"), value: "input" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.environmentVariable"), value: "context" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.requestParameters"), value: "request" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.mainTableField"), value: "obj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.databaseFields"), value: "subObj" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.taskFields"), value: "task" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.systemParameter"), value: "custom" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])), "context" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTime"), value: "${context.currentTime}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactor"), value: "${context.currentTransactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorName"), value: "${context.currentTransactorName}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorId"), value: "${context.currentTransactorId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartmentId"), value: "${context.currentTransactorMainDepartmentId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorMainDepartment"), value: "${context.currentTransactorMainDepartment}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRoleId"), value: "${context.currentTransactorRoleId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorRole"), value: "${context.currentTransactorRole}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroupId"), value: "${context.currentTransactorWorkGroupId}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTransactorWorkGroup"), value: "${context.currentTransactorWorkGroup}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "task" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 2, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, clearable: "", size: "small", title: t3.row.propValue, filterable: "", "default-first-option": "", "allow-create": "", onChange: (e3) => n2.changePropValue(t3.$index), onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentHandler"), value: "${task.transactor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentTaskClient"), value: "${task.trustor}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.currentAssignor"), value: "${task.assigner}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkName"), value: "${task.name}" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.condition.linkCode"), value: "${task.nodeId}" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange", "onFocus"])) : r.createCommentVNode("", true), "DATE" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 3, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", clearable: "", "value-format": "YYYY-MM-DD", title: t3.row.propValue, type: "date", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" === t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(f2, { key: 4, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, size: "small", title: t3.row.propValue, clearable: "", "value-format": "YYYY-MM-DD HH:mm:ss", type: "datetime", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "TIME" !== t3.row.dataType && "DATE" !== t3.row.dataType && "input" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 5, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "request" === t3.row.propValueType ? (r.openBlock(), r.createBlock(w2, { key: 6, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, modelModifiers: { trim: true }, title: t3.row.propValue, clearable: "", size: "small", onChange: (e3) => n2.changePropValue(t3.$index) }, null, 8, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "subObj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 7, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, "filter-method": n2.searchField, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${subObj." + e3.value + "}", label: e3.label, value: "${subObj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "filter-method", "onChange"])) : r.createCommentVNode("", true), "obj" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 8, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.parentAttributeArr, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${obj." + e3.value + "}", label: e3.label, value: "${obj." + e3.value + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true), "custom" === t3.row.propValueType ? (r.openBlock(), r.createBlock(p2, { key: 9, modelValue: t3.row.propValue, "onUpdate:modelValue": (e3) => t3.row.propValue = e3, title: t3.row.propValue, size: "small", clearable: "", filterable: "", onChange: (e3) => n2.changePropValue(t3.$index) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.propSettingKeyList, (e3) => (r.openBlock(), r.createBlock(u2, { key: "${custom." + e3 + "}", label: e3, value: "${custom." + e3 + "}" }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "title", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(h2, { prop: "rightBracket", label: ")", width: "90", onFocus: t2[2] || (t2[2] = (t3) => n2.selectRow(e2.scope.row)) }, { default: r.withCtx((e3) => [r.createVNode(p2, { modelValue: e3.row.rightBracket, "onUpdate:modelValue": (t3) => e3.row.rightBracket = t3, size: "small", clearable: "" }, { default: r.withCtx(() => [r.createVNode(u2, { label: "", value: "" }), r.createVNode(u2, { label: ")", value: ")" }), r.createVNode(u2, { label: "))", value: "))" }), r.createVNode(u2, { label: ")))", value: ")))" })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }), r.createVNode(h2, { label: e2.$t("workflowEditorPublicModel.andOr"), prop: "logicOperator", width: "110" }, { default: r.withCtx((t3) => [r.createVNode(p2, { modelValue: t3.row.logicOperator, "onUpdate:modelValue": (e3) => t3.row.logicOperator = e3, size: "small", clearable: "", onFocus: (e3) => n2.selectRow(t3.row) }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.process.perhaps"), value: "condition.operator.or" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.process.also"), value: "condition.operator.and" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onFocus"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])])]), _: 1 })) : r.createCommentVNode("", true)])])]), _: 1 }, 8, ["title", "onClose"]);
1308
1309
  }]]) }, props: { setting: { type: Object, default: null }, tableName: { type: String, default: null } }, data() {
1309
1310
  let e2 = [];
1310
1311
  this.setting && this.setting.actionArr && (e2 = this.setting.actionArr);
@@ -1316,7 +1317,7 @@
1316
1317
  this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.getAttributeArr());
1317
1318
  }, mounted() {
1318
1319
  this.subtableConditionMap && this.tableName && (this.subtableConditionItem = this.subtableConditionMap[this.tableName], this.subtableConditionMap[this.tableName] && (this.attributeArr = this.subtableConditionItem.attributeArr));
1319
- }, methods: { ...mo, getAttributeArr() {
1320
+ }, methods: { ...po, getAttributeArr() {
1320
1321
  this.subtableConditionItem && this.subtableConditionItem.attributeArr && (this.queryList = this.subtableConditionItem.attributeArr, this.fieldMap = this.subtableConditionItem.fieldMap, this.fieldNameMap = this.subtableConditionItem.fieldNameMap);
1321
1322
  }, savebuttonSetting(e2) {
1322
1323
  e2 && (this.currentRow.condition = e2.condition, this.currentRow.userCondition = e2.userCondition, this.currentRow.parentCondition = e2.parentCondition, this.combinationParameters()), this.showAdditionalCondition = false;
@@ -1373,7 +1374,8 @@
1373
1374
  }), e2.field = t3;
1374
1375
  }
1375
1376
  this.$emit("combinationParameters", e2);
1376
- } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1377
+ } } };
1378
+ const Po = { name: "EditableChildFields", components: { editableChildFieldSetting: $(Fo, [["render", function(e2, t2, o2, l2, i2, n2) {
1377
1379
  const a2 = r.resolveComponent("Tools"), s2 = r.resolveComponent("el-icon"), d2 = r.resolveComponent("el-checkbox"), c2 = r.resolveComponent("el-col"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("el-checkbox-group"), p2 = r.resolveComponent("selection-conditions"), h2 = r.resolveComponent("el-button"), f2 = r.resolveComponent("el-table-column"), w2 = r.resolveComponent("el-option"), g2 = r.resolveComponent("el-select"), C2 = r.resolveComponent("el-radio"), k2 = r.resolveComponent("el-radio-group"), b2 = r.resolveComponent("el-table");
1378
1380
  return r.openBlock(), r.createElementBlock("div", null, [r.createElementVNode("div", null, [r.createVNode(u2, { modelValue: i2.actionArr, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.actionArr = e3), onChange: n2.changeActionArr }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { span: 6 }, { default: r.withCtx(() => [r.createVNode(d2, { label: "notEmpty" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.condition.tableDataNotEmpty")) + " ", 1), i2.actionArr && -1 !== i2.actionArr.indexOf("notEmpty") ? (r.openBlock(), r.createBlock(s2, { key: 0, onClick: t2[0] || (t2[0] = (e3) => n2.showButtonVisible("notEmpty")) }, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })) : r.createCommentVNode("", true)]), _: 1 })]), _: 1 }), r.createVNode(c2, { span: 6 }, { default: r.withCtx(() => [r.createVNode(d2, { label: "add" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.condition.rowsCanBeAdded")) + " ", 1), i2.actionArr && -1 !== i2.actionArr.indexOf("add") ? (r.openBlock(), r.createBlock(s2, { key: 0, onClick: t2[1] || (t2[1] = (e3) => n2.showButtonVisible("add")) }, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })) : r.createCommentVNode("", true)]), _: 1 })]), _: 1 }), r.createVNode(c2, { span: 6 }, { default: r.withCtx(() => [r.createVNode(d2, { label: "delete" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.condition.deleteLine")) + " ", 1), i2.actionArr && -1 !== i2.actionArr.indexOf("delete") ? (r.openBlock(), r.createBlock(s2, { key: 0, onClick: t2[2] || (t2[2] = (e3) => n2.showButtonVisible("delete")) }, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })) : r.createCommentVNode("", true)]), _: 1 })]), _: 1 }), r.createVNode(c2, { span: 6 }, { default: r.withCtx(() => [r.createVNode(d2, { label: "update" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.condition.modifiableHistoricalData")) + " ", 1), i2.actionArr && -1 !== i2.actionArr.indexOf("update") ? (r.openBlock(), r.createBlock(s2, { key: 0, onClick: t2[3] || (t2[3] = (e3) => n2.showButtonVisible("update")) }, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })) : r.createCommentVNode("", true)]), _: 1 })]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), i2.showButtonVisibleFlag ? (r.openBlock(), r.createBlock(p2, { key: 0, "attribute-map": i2.subtableConditionItem, "condition-list": i2.buttonVisibleCon.condition, "parent-condition": i2.buttonVisibleCon.parentCondition, "user-condition": i2.buttonVisibleCon.userCondition, "button-type": i2.buttonType, onClose: n2.saveButtonVisible }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "button-type", "onClose"])) : r.createCommentVNode("", true)]), r.createElementVNode("div", null, [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(h2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(h2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(b2, { ref: "table", data: i2.fieldArr, border: "", "highlight-current-row": "", style: { width: "100%" }, onSelectionChange: n2.handleSelectionChange, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(f2, { type: "selection", width: "55", align: "center" }), r.createVNode(f2, { type: "index", width: "50", align: "center" }), r.createVNode(f2, { prop: "name", label: e2.$t("workflowEditor.task.propertyName"), width: "280", align: "center" }, { default: r.withCtx((t3) => [r.createVNode(g2, { modelValue: t3.row.name, "onUpdate:modelValue": (e3) => t3.row.name = e3, size: "small", filterable: "", onChange: n2.combinationParameters }, { default: r.withCtx(() => [r.createVNode(w2, { label: e2.$t("workflowEditor.condition.allFields"), value: "all_fields" }, null, 8, ["label"]), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.attributeArr, (e3) => (r.openBlock(), r.createBlock(w2, { key: e3.value, label: e3.label, value: e3.value }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { prop: "constraintRule", label: e2.$t("workflowEditor.task.editingMethod"), width: "380", align: "center" }, { default: r.withCtx((t3) => [r.createVNode(k2, { modelValue: t3.row.constraintRule, "onUpdate:modelValue": (e3) => t3.row.constraintRule = e3, onChange: n2.combinationParameters }, { default: r.withCtx(() => [r.createVNode(C2, { label: "REQUIRED" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.mustFill")), 1)]), _: 1 }), r.createVNode(C2, { label: "READ_ONLY" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorMessage.readOnly")), 1)]), _: 1 })]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(f2, { prop: "condition", label: e2.$t("workflowEditor.task.condition"), align: "center" }, { default: r.withCtx((e3) => [r.createVNode(s2, { onClick: (t3) => n2.selectCondition(e3.row) }, { default: r.withCtx(() => [r.createVNode(a2)]), _: 2 }, 1032, ["onClick"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onSelectionChange", "onCurrentChange"]), i2.showAdditionalCondition ? (r.openBlock(), r.createBlock(p2, { key: 0, "attribute-map": i2.subtableConditionItem, "condition-list": i2.currentRow.condition, "parent-condition": i2.currentRow.parentCondition, "user-condition": i2.currentRow.userCondition, onClose: n2.savebuttonSetting }, null, 8, ["attribute-map", "condition-list", "parent-condition", "user-condition", "onClose"])) : r.createCommentVNode("", true)])]);
1379
1381
  }]]) }, props: { modelValue: { type: [Array, Object], default: null } }, data() {
@@ -1420,7 +1422,7 @@
1420
1422
  }
1421
1423
  }
1422
1424
  }, mounted() {
1423
- }, methods: { ...mo, combinationParameters(e2) {
1425
+ }, methods: { ...po, combinationParameters(e2) {
1424
1426
  if (e2 && e2.tableName) {
1425
1427
  if (this.selectedFields && this.selectedFields.length > 0) {
1426
1428
  const t2 = this.selectedFields.findIndex((t3) => t3.tableName === e2.tableName);
@@ -1449,12 +1451,12 @@
1449
1451
  null != t2 && -1 !== t2 ? this.selectedFields[t2].permission = true : this.selectedFields[this.selectedFields.length] = { permission: true, tableName: e2 };
1450
1452
  }
1451
1453
  this.$emit("update:modelValue", this.selectedFields);
1452
- } } }, $o = { style: { width: "100%", "margin-top": "10px" } }, Fo = { class: "clearfix" }, Po = { key: 0 }, Bo = { style: { color: "cornflowerblue" } }, Oo = { style: { "padding-left": "5px" } }, Io = { key: 0 };
1453
- const _o = $(Do, [["render", function(e2, t2, o2, l2, i2, n2) {
1454
+ } } }, Bo = { style: { width: "100%", "margin-top": "10px" } }, Oo = { class: "clearfix" }, Io = { key: 0 }, _o = { style: { color: "cornflowerblue" } }, Ro = { style: { "padding-left": "5px" } }, Ao = { key: 0 };
1455
+ const Uo = $(Po, [["render", function(e2, t2, o2, l2, i2, n2) {
1454
1456
  const a2 = r.resolveComponent("el-col"), s2 = r.resolveComponent("el-switch"), d2 = r.resolveComponent("el-row"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-button"), u2 = r.resolveComponent("editable-child-field-setting"), p2 = r.resolveComponent("el-card");
1455
- return r.openBlock(), r.createElementBlock("div", $o, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.subtableConditionMap, (t3, o3) => (r.openBlock(), r.createElementBlock("span", { key: o3 }, [r.createVNode(p2, { class: "box-card" }, { default: r.withCtx(() => [r.createElementVNode("div", Fo, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, { span: 12 }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(o3), 1)]), _: 2 }, 1024), i2.selectedFieldMap[o3] ? (r.openBlock(), r.createBlock(a2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.selectedFieldMap[o3].sumPermission, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => n2.changeSumPermission(o3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024), r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, null, { default: r.withCtx(() => [i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("span", Po, [r.createElementVNode("span", Bo, r.toDisplayString(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), r.createElementVNode("span", Oo, [r.createVNode(c2, { modelValue: i2.selectedFieldMap[o3].modelName, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), r.createVNode(m2, { icon: "el-icon-refresh", type: "text", onClick: (e3) => n2.refreshModelName(o3) }, null, 8, ["onClick"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("div", Io, [r.createVNode(u2, { setting: i2.selectedFieldMap[o3], "table-name": o3, onCombinationParameters: n2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]);
1457
+ return r.openBlock(), r.createElementBlock("div", Bo, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.subtableConditionMap, (t3, o3) => (r.openBlock(), r.createElementBlock("span", { key: o3 }, [r.createVNode(p2, { class: "box-card" }, { default: r.withCtx(() => [r.createElementVNode("div", Oo, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, { span: 12 }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(o3), 1)]), _: 2 }, 1024), i2.selectedFieldMap[o3] ? (r.openBlock(), r.createBlock(a2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.selectedFieldMap[o3].sumPermission, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].sumPermission = e3, "inactive-text": e2.$t("workflowEditor.condition.accessControl"), onChange: (e3) => n2.changeSumPermission(o3) }, null, 8, ["modelValue", "onUpdate:modelValue", "inactive-text", "onChange"])]), _: 2 }, 1024)) : r.createCommentVNode("", true)]), _: 2 }, 1024), r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(a2, null, { default: r.withCtx(() => [i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("span", Io, [r.createElementVNode("span", _o, r.toDisplayString(e2.$t("workflowEditor.condition.formBindingModel")) + ":", 1), r.createElementVNode("span", Ro, [r.createVNode(c2, { modelValue: i2.selectedFieldMap[o3].modelName, "onUpdate:modelValue": (e3) => i2.selectedFieldMap[o3].modelName = e3, style: { width: "300px" } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), r.createVNode(m2, { icon: "el-icon-refresh", type: "text", onClick: (e3) => n2.refreshModelName(o3) }, null, 8, ["onClick"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]), _: 2 }, 1024)]), i2.selectedFieldMap[o3] && i2.selectedFieldMap[o3].sumPermission ? (r.openBlock(), r.createElementBlock("div", Ao, [r.createVNode(u2, { setting: i2.selectedFieldMap[o3], "table-name": o3, onCombinationParameters: n2.combinationParameters }, null, 8, ["setting", "table-name", "onCombinationParameters"])])) : r.createCommentVNode("", true)]), _: 2 }, 1024)]))), 128))]);
1456
1458
  }]]);
1457
- const Ro = { name: "UserSelection", components: { SystemRoleTree: $({ name: "SystemRoleTree", components: { InlineSystemRoleTree: Dt }, props: { multiple: { type: Boolean, default: false } }, data: () => ({ dialogVisible: true }), computed: {}, watch: {}, created() {
1459
+ const Lo = { name: "UserSelection", components: { SystemRoleTree: $({ name: "SystemRoleTree", components: { InlineSystemRoleTree: Ft }, props: { multiple: { type: Boolean, default: false } }, data: () => ({ dialogVisible: true }), computed: {}, watch: {}, created() {
1458
1460
  }, methods: { roleResult(e2) {
1459
1461
  e2 ? this.$emit("close", e2) : this.$emit("close");
1460
1462
  }, selectRoles() {
@@ -1462,7 +1464,7 @@
1462
1464
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1463
1465
  const a2 = r.resolveComponent("inline-system-role-tree"), s2 = r.resolveComponent("el-button"), d2 = r.resolveComponent("el-dialog");
1464
1466
  return r.openBlock(), r.createBlock(d2, { "model-value": "", title: e2.$t("workflowEditorMessage.selectRole"), width: "30%", top: "10vh", "append-to-body": "", class: "properties-editor-noTab", "close-on-click-modal": false, onClose: t2[1] || (t2[1] = (t3) => e2.$emit("close")) }, r.createSlots({ default: r.withCtx(() => [r.createVNode(a2, { ref: "systemRoleTree", multiple: o2.multiple, onResult: n2.roleResult }, null, 8, ["multiple", "onResult"])]), _: 2 }, [o2.multiple ? { name: "footer", fn: r.withCtx(() => [r.createVNode(s2, { type: "primary", size: "small", onClick: n2.selectRoles }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.determine")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(s2, { size: "small", onClick: t2[0] || (t2[0] = (t3) => e2.$emit("close")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.cancel")), 1)]), _: 1 })]), key: "0" } : void 0]), 1032, ["title"]);
1465
- }]]), FormFields: ut }, props: { label: { type: String, default: "" }, labelWidth: { type: String, default: null }, modelValue: { type: String, default: "" }, currentTransactor: { type: Boolean, default: false } }, data() {
1467
+ }]]), FormFields: pt }, props: { label: { type: String, default: "" }, labelWidth: { type: String, default: null }, modelValue: { type: String, default: "" }, currentTransactor: { type: Boolean, default: false } }, data() {
1466
1468
  let e2 = false, t2 = "";
1467
1469
  const o2 = this.modelValue.split("; "), l2 = o2[0].split(" condition.operator.or ");
1468
1470
  return 2 === o2.length && (e2 = true, t2 = o2[1].split(" condition.operator.or "), l2.push("assignUser")), { checkList: l2, showUserList: e2, selectedUsers: t2, showSelectUser: false, selectedUsersShowValue: null, showSelectDepartment: false, showSelectWorkgroup: false, showSelectRole: false, showSelectField: false };
@@ -1472,7 +1474,7 @@
1472
1474
  this.$emit("update:modelValue", this.getValue());
1473
1475
  } }, created() {
1474
1476
  this.checkList, this.getSelectedUsersShowValue();
1475
- }, methods: { formatLabel: (e2) => pt(e2), getValue() {
1477
+ }, methods: { formatLabel: (e2) => ht(e2), getValue() {
1476
1478
  let e2 = this.checkList.filter((e3) => "" !== e3 && "assignUser" !== e3).join(" condition.operator.or ");
1477
1479
  return this.showUserList && this.selectedUsers && 0 !== this.selectedUsers.length && (e2 = e2 + "; " + this.selectedUsers.join(" condition.operator.or ")), e2;
1478
1480
  }, toggleUserList() {
@@ -1565,12 +1567,12 @@
1565
1567
  this.selectedUsers = [], this.selectedUsers.push(o2);
1566
1568
  }, setField(e2) {
1567
1569
  void 0 !== e2 && (this.packageSelectedFieldConditions(e2, "${user}"), this.getSelectedUsersShowValue()), this.showSelectField = false;
1568
- } } }, Ao = { key: 0, style: { width: "100%", "vertical-align": "middle" } }, Uo = { class: "el-dropdown-link" }, Lo = r.createElementVNode("i", { class: "fa fa-search" }, null, -1);
1569
- const Ho = $(Ro, [["render", function(e2, t2, o2, l2, i2, n2) {
1570
+ } } }, Ho = { key: 0, style: { width: "100%", "vertical-align": "middle" } }, Wo = { class: "el-dropdown-link" }, zo = r.createElementVNode("i", { class: "fa fa-search" }, null, -1);
1571
+ const jo = $(Lo, [["render", function(e2, t2, o2, l2, i2, n2) {
1570
1572
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-checkbox-group"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-dropdown-item"), m2 = r.resolveComponent("el-dropdown-menu"), u2 = r.resolveComponent("el-dropdown"), p2 = r.resolveComponent("el-button"), h2 = r.resolveComponent("el-row"), f2 = r.resolveComponent("el-input"), w2 = r.resolveComponent("department-user-tree"), g2 = r.resolveComponent("department-tree"), C2 = r.resolveComponent("workgroup-tree"), k2 = r.resolveComponent("system-role-tree"), b2 = r.resolveComponent("form-fields"), V2 = r.resolveComponent("el-form-item");
1571
- return r.openBlock(), r.createBlock(V2, { label: o2.label, "label-width": o2.labelWidth }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.checkList, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.checkList = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), r.createVNode(a2, { label: "${processAdmin}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processAdministrator")), 1)]), _: 1 }), o2.currentTransactor ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${currentTransactor}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.currentHandler")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(a2, { key: 1, label: "${allHandleTransactors}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.allHandlingPersonnel")), 1)]), _: 1 })), r.createVNode(a2, { label: "assignUser", onChange: n2.toggleUserList }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.designatedPersonnel")), 1)]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showUserList ? (r.openBlock(), r.createElementBlock("div", Ao, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 4 }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.listOfDesignatedPersons")), 1)]), _: 1 }), r.createVNode(d2, { style: { display: "flex", "justify-content": "center", "align-items": "center" }, span: 5 }, { default: r.withCtx(() => [r.createVNode(u2, { size: "small", "split-button": "", type: "primary", plain: "", onCommand: n2.handleCommand }, { dropdown: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { command: "selectUser", onClick: t2[1] || (t2[1] = (e3) => n2.selectPointUser()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectusers")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectDepartment", onClick: t2[2] || (t2[2] = (e3) => n2.selectPointDepartment()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectDepartment")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectWorkgroup", onClick: t2[3] || (t2[3] = (e3) => n2.selectPointWorkgroup()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectTeam")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectRole", onClick: t2[4] || (t2[4] = (e3) => n2.selectPointRole()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectRole")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectField", onClick: t2[5] || (t2[5] = (e3) => n2.selectPointField()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectField")), 1)]), _: 1 })]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("span", Uo, [Lo, r.createTextVNode(" " + r.toDisplayString(e2.$t("workflowEditorPublicModel.choice")), 1)])]), _: 1 }, 8, ["onCommand"])]), _: 1 }), r.createVNode(d2, { span: 3 }, { default: r.withCtx(() => [r.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.resetSelectedUsers }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.empty")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }), r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.selectedUsersShowValue, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.selectedUsersShowValue = e3), type: "textarea", rows: 2, placeholder: e2.$t("workflowEditorMessage.pleaseSelectPersonnel") }, null, 8, ["modelValue", "placeholder"])]), _: 1 })]), _: 1 })]), _: 1 }), i2.showSelectUser ? (r.openBlock(), r.createBlock(w2, { key: 0, width: "60%", multiple: true, onClose: n2.addPointUsers }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectDepartment ? (r.openBlock(), r.createBlock(g2, { key: 1, width: "30%", multiple: true, onClose: n2.addPointDepartments }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectWorkgroup ? (r.openBlock(), r.createBlock(C2, { key: 2, width: "30%", multiple: true, onClose: n2.addPointWorkgroups }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectRole ? (r.openBlock(), r.createBlock(k2, { key: 3, multiple: true, onClose: n2.addPointRoles }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectField ? (r.openBlock(), r.createBlock(b2, { key: 4, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "label-width"]);
1573
+ return r.openBlock(), r.createBlock(V2, { label: o2.label, "label-width": o2.labelWidth }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.checkList, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.checkList = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), r.createVNode(a2, { label: "${processAdmin}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processAdministrator")), 1)]), _: 1 }), o2.currentTransactor ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${currentTransactor}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.currentHandler")), 1)]), _: 1 })) : (r.openBlock(), r.createBlock(a2, { key: 1, label: "${allHandleTransactors}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.allHandlingPersonnel")), 1)]), _: 1 })), r.createVNode(a2, { label: "assignUser", onChange: n2.toggleUserList }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.designatedPersonnel")), 1)]), _: 1 }, 8, ["onChange"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showUserList ? (r.openBlock(), r.createElementBlock("div", Ho, [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 4 }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.listOfDesignatedPersons")), 1)]), _: 1 }), r.createVNode(d2, { style: { display: "flex", "justify-content": "center", "align-items": "center" }, span: 5 }, { default: r.withCtx(() => [r.createVNode(u2, { size: "small", "split-button": "", type: "primary", plain: "", onCommand: n2.handleCommand }, { dropdown: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(c2, { command: "selectUser", onClick: t2[1] || (t2[1] = (e3) => n2.selectPointUser()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectusers")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectDepartment", onClick: t2[2] || (t2[2] = (e3) => n2.selectPointDepartment()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectDepartment")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectWorkgroup", onClick: t2[3] || (t2[3] = (e3) => n2.selectPointWorkgroup()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectTeam")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectRole", onClick: t2[4] || (t2[4] = (e3) => n2.selectPointRole()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectRole")), 1)]), _: 1 }), r.createVNode(c2, { command: "selectField", onClick: t2[5] || (t2[5] = (e3) => n2.selectPointField()) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.common.selectField")), 1)]), _: 1 })]), _: 1 })]), default: r.withCtx(() => [r.createElementVNode("span", Wo, [zo, r.createTextVNode(" " + r.toDisplayString(e2.$t("workflowEditorPublicModel.choice")), 1)])]), _: 1 }, 8, ["onCommand"])]), _: 1 }), r.createVNode(d2, { span: 3 }, { default: r.withCtx(() => [r.createVNode(p2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.resetSelectedUsers }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.empty")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 })]), _: 1 }), r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.selectedUsersShowValue, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.selectedUsersShowValue = e3), type: "textarea", rows: 2, placeholder: e2.$t("workflowEditorMessage.pleaseSelectPersonnel") }, null, 8, ["modelValue", "placeholder"])]), _: 1 })]), _: 1 })]), _: 1 }), i2.showSelectUser ? (r.openBlock(), r.createBlock(w2, { key: 0, width: "60%", multiple: true, onClose: n2.addPointUsers }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectDepartment ? (r.openBlock(), r.createBlock(g2, { key: 1, width: "30%", multiple: true, onClose: n2.addPointDepartments }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectWorkgroup ? (r.openBlock(), r.createBlock(C2, { key: 2, width: "30%", multiple: true, onClose: n2.addPointWorkgroups }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectRole ? (r.openBlock(), r.createBlock(k2, { key: 3, multiple: true, onClose: n2.addPointRoles }, null, 8, ["onClose"])) : r.createCommentVNode("", true), i2.showSelectField ? (r.openBlock(), r.createBlock(b2, { key: 4, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "label-width"]);
1572
1574
  }]]);
1573
- const Wo = $({ name: "PermissionSettings", components: { EditableFields: co, UserSelection: Ho, AdditionalCondition: Bt, editableChildFields: _o }, props: { modelValue: { type: Object, default: null } }, data() {
1575
+ const Jo = $({ name: "PermissionSettings", components: { EditableFields: uo, UserSelection: jo, AdditionalCondition: It, editableChildFields: Uo }, props: { modelValue: { type: Object, default: null } }, data() {
1574
1576
  const e2 = x(this.modelValue), t2 = ["viewOpinion", "editOpinion", "requireOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
1575
1577
  t2.forEach((t3) => {
1576
1578
  e2[t3 + "Checkbox"] = !!this.modelValue[t3].condition;
@@ -1591,7 +1593,7 @@
1591
1593
  }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
1592
1594
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("editable-fields"), c2 = r.resolveComponent("editable-child-fields"), m2 = r.resolveComponent("el-checkbox"), u2 = r.resolveComponent("additional-condition"), p2 = r.resolveComponent("user-selection"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("el-form");
1593
1595
  return r.openBlock(), r.createBlock(f2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowEditingForms") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.editForm.permission, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.editForm.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [i2.formModel.editForm.permission ? (r.openBlock(), r.createBlock(d2, { key: 0, modelValue: i2.formModel.editForm.field, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.editForm.field = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.editForm.permission ? (r.openBlock(), r.createBlock(c2, { key: 1, modelValue: i2.formModel.editForm.subTablePermission, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.editForm.subTablePermission = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 512), [[r.vShow, i2.formModel.editForm.permission]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowViews") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.commentsAllowed") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.editOpinion.permission, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.editOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.editOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.editOpinionCheckbox, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.editOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.editOpinion.condition, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.editOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.editOpinion.permission && i2.formModel.editOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.commentsAreRequired") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.requireOpinion.permission, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.requireOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.requireOpinion.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.requireOpinionCheckbox, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.requireOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.requireOpinion.condition, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.requireOpinion.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.requireOpinion.permission && i2.formModel.requireOpinionCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": t2[16] || (t2[16] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": t2[18] || (t2[18] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": t2[19] || (t2[19] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": t2[20] || (t2[20] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox]]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": t2[21] || (t2[21] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": t2[22] || (t2[22] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": t2[23] || (t2[23] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])]), _: 1 }, 512), [[r.vShow, i2.formModel.printForm.permission && i2.formModel.printFormCheckbox]]), r.createVNode(p2, { modelValue: i2.formModel.deleteInstance.userCondition, "onUpdate:modelValue": t2[24] || (t2[24] = (e3) => i2.formModel.deleteInstance.userCondition = e3), label: e2.$t("workflowEditor.task.deletePermission"), "label-width": "100px", "current-transactor": true }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": t2[25] || (t2[25] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (r.openBlock(), r.createBlock(h2, { key: 0, class: "box-card" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.addAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.add.permission, "onUpdate:modelValue": t2[26] || (t2[26] = (e3) => i2.formModel.attachment.add.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.add.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.addCheckbox, "onUpdate:modelValue": t2[27] || (t2[27] = (e3) => i2.formModel.attachment.addCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.add.permission && i2.formModel.attachment.addCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.add.condition, "onUpdate:modelValue": t2[28] || (t2[28] = (e3) => i2.formModel.attachment.add.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.deleteAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.delete.permission, "onUpdate:modelValue": t2[29] || (t2[29] = (e3) => i2.formModel.attachment.delete.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.delete.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.deleteCheckbox, "onUpdate:modelValue": t2[30] || (t2[30] = (e3) => i2.formModel.attachment.deleteCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.delete.permission && i2.formModel.attachment.deleteCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.delete.condition, "onUpdate:modelValue": t2[31] || (t2[31] = (e3) => i2.formModel.attachment.delete.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": t2[32] || (t2[32] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": t2[33] || (t2[33] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (r.openBlock(), r.createBlock(u2, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": t2[34] || (t2[34] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": t2[35] || (t2[35] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1594
- }], ["__scopeId", "data-v-c019538f"]]), zo = { name: "TransactorSettings", components: { CommonUserCondition: To, FormFields: ut }, props: { model: { type: Object, default: null }, usedIn: { type: String, default: "HumanTask" }, isSubprocess: { type: Boolean, default: false }, basicProperties: { type: Object, default: null } }, data() {
1596
+ }], ["__scopeId", "data-v-c019538f"]]), Go = { name: "TransactorSettings", components: { CommonUserCondition: xo, FormFields: pt }, props: { model: { type: Object, default: null }, usedIn: { type: String, default: "HumanTask" }, isSubprocess: { type: Boolean, default: false }, basicProperties: { type: Object, default: null } }, data() {
1595
1597
  const e2 = { selectedField: "" };
1596
1598
  return this.initFormModel(e2), { showFormFields: false, formModel: e2, isCountersign: false };
1597
1599
  }, mounted() {
@@ -1602,7 +1604,7 @@
1602
1604
  }, { deep: true }), this.$watch("basicProperties", function() {
1603
1605
  this.showActivateOneVoteVeto();
1604
1606
  }, { deep: true }), this.showActivateOneVoteVeto();
1605
- }, methods: { formatLabel: (e2) => pt(e2), initFormModel(e2) {
1607
+ }, methods: { formatLabel: (e2) => ht(e2), initFormModel(e2) {
1606
1608
  e2.userCondition = "";
1607
1609
  const t2 = this.model.userCondition;
1608
1610
  void 0 === t2 || "" === t2 || null === t2 ? (e2.transactor = "${instanceCreator}", this.model.userCondition = "${instanceCreator}") : "${instanceCreator}" === t2 || "${previousTransactorAssignment}" === t2 ? e2.transactor = t2 : t2.startsWith("${field[") && t2.indexOf("${field[") >= 0 && t2.indexOf('"selectedField": "${field[') < 2 ? (e2.transactor = "byField", e2.selectedField = t2) : t2.startsWith("${deptField[") ? (e2.transactor = "byDeptField", e2.selectedField = t2) : (e2.transactor = "byCondition", e2.userCondition = t2), this.initAdditionalCondition(e2), void 0 !== this.model.url ? e2.url = this.model.url : e2.url = "";
@@ -1621,12 +1623,11 @@
1621
1623
  this.basicProperties && this.basicProperties.processingMode && ("COUNTERSIGN" === this.basicProperties.processingMode.type ? this.isCountersign = true : (this.isCountersign = false, this.formModel.additionalCondition.activateOneVoteVeto = false));
1622
1624
  }, transactorChange() {
1623
1625
  this.formModel.selectedField = null;
1624
- } } }, jo = { key: 0, style: { width: "100%" } }, Jo = { key: 1 }, Go = { key: 0 };
1625
- const qo = $(zo, [["render", function(e2, t2, o2, l2, i2, n2) {
1626
+ } } }, qo = { key: 0, style: { width: "100%" } }, Ko = { key: 1 }, Xo = { key: 0 };
1627
+ const Yo = $(Go, [["render", function(e2, t2, o2, l2, i2, n2) {
1626
1628
  const a2 = r.resolveComponent("el-radio"), s2 = r.resolveComponent("el-radio-group"), d2 = r.resolveComponent("common-user-condition"), c2 = r.resolveComponent("el-form-item"), m2 = r.resolveComponent("el-input"), u2 = r.resolveComponent("form-fields"), p2 = r.resolveComponent("el-checkbox"), h2 = r.resolveComponent("el-form");
1627
- return r.openBlock(), r.createBlock(h2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: "" }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.transactor, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.transactor = e3), onChange: n2.transactorChange }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), "HumanTask" === o2.usedIn ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${previousTransactorAssignment}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink")), 1)]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(a2, { label: "byField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byDeptField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.deptSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byCondition" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.filterByCriteria")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), "byCondition" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", jo, [r.createVNode(d2, { modelValue: i2.formModel.userCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.userCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])) : r.createCommentVNode("", true)]), _: 1 }), "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 0, prop: "selectedField", rules: [{ required: true, message: e2.$t("workflowEditor.process.fieldName") + e2.$t("workflowEditor.common.canNotBeEmpty"), trigger: "focus" }], label: e2.$t("workflowEditor.process.fieldName"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { value: n2.formatLabel(i2.formModel.selectedField), onClick: t2[2] || (t2[2] = (e3) => i2.showFormFields = true) }, null, 8, ["value"]), i2.showFormFields ? (r.openBlock(), r.createBlock(u2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true), "byCondition" === i2.formModel.transactor || "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", Jo, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.onlyInCreatorDepartment, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.additionalCondition.onlyInCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.withCreatorDepartment, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.additionalCondition.withCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromMultiple, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.additionalCondition.selectOneFromMultiple = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectSpecificHandler")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromDept, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.additionalCondition.selectOneFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectOneFromDept")), 1)]), _: 1 }, 8, ["modelValue"]), o2.isSubprocess ? (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: i2.formModel.additionalCondition.generateOneInstanceFromDept, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.additionalCondition.generateOneInstanceFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.generateOneInstanceFromDept")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.isCountersign ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: i2.formModel.additionalCondition.activateOneVoteVeto, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.additionalCondition.activateOneVoteVeto = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.activateOneVoteVeto")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), i2.formModel.additionalCondition.selectOneFromMultiple ? (r.openBlock(), r.createElementBlock("div", Go, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.selectionMethod") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.additionalCondition.selectType, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.additionalCondition.selectType = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "customType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.manualSelection")), 1)]), _: 1 }), r.createVNode(a2, { label: "autoType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.autoSelect")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(c2, { prop: "additionalCondition.selectUrl", label: e2.$t("workflowEditor.process.callbackURL"), rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }] }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.additionalCondition.selectUrl, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.additionalCondition.selectUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"]), [[r.vShow, "autoType" === i2.formModel.additionalCondition.selectType]])])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true), "HumanTask" === o2.usedIn && "${previousTransactorAssignment}" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 2, prop: "url", rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }], label: e2.$t("workflowEditor.process.selectURL"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.url, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.url = e3), modelModifiers: { trim: true }, onChange: n2.handleUrlChange }, null, 8, ["modelValue", "onChange"])]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1628
- }]]), Ko = { "${currentTime}": w().t("workflowEditor.process.handlingTimeOfThisLink"), "${currentTransactorId}": w().t("workflowEditor.process.handlerIDOfThisLink"), "${currentTransactorMainDepartmentId}": w().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"), "${currentTransactorDirectSuperiorId}": w().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorMainDepartmentId}": w().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"), "${currentTransactor}": w().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"), "${currentTransactorName }": w().t("workflowEditor.process.NameOfCurrentHandler"), "${currentTransactorDepartment }": w().t("workflowEditor.process.CurrentHandlerDepartment"), "${currentTransactorDepartmentId}": w().t("workflowEditor.process.CurrentHandlerDepartmentID"), "${currentTransactorMainDepartment}": w().t("workflowEditor.process.CurrentManagersPrincipalDepartment"), "${currentTransactorSuperiorDepartmentId}": w().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.TopDepartmentOfCurrentHandler"), "${currentTransactorUpstageDepartmentId}": w().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"), "${currentTransactorRole}": w().t("workflowEditor.process.CurrentHandlerRole"), "${currentTransactorRoleId}": w().t("workflowEditor.process.CurrentHandlerRoleID"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorWorkGroupId}": w().t("workflowEditor.process.CurrentHandlerWorkingGroupID"), "${currentTransactorDirectSuperior}": w().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorDepartmentId}": w().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"), "${currentTransactorDirectSuperiorMainDepartment}": w().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorRole}": w().t("workflowEditor.process.currentManagersDirectSuperiorRole"), "${currentTransactorDirectSuperiorRoleId}": w().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.currentManagersDirectSuperiorWork"), "${currentTransactorDirectSuperiorWorkGroupId}": w().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"), "${currentOperation}": w().t("workflowEditor.process.operationsPerformedInThisPhase"), "${previousTransactorId}": w().t("workflowEditor.process.handlerIDOfThePreviousLink"), "${previousTransactor}": w().t("workflowEditor.process.lastLinkHandlerLogin"), "${previousTransactorName}": w().t("workflowEditor.process.nameOfHandlerInThePreviousLink") };
1629
- const Xo = $({ name: "AutoFilledFields", components: { FormFields: ut }, props: { modelValue: { type: Object, default: () => ({}) }, opinionSetting: { type: Object, default: () => ({}) } }, data() {
1629
+ return r.openBlock(), r.createBlock(h2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: "" }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.transactor, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.transactor = e3), onChange: n2.transactorChange }, { default: r.withCtx(() => [r.createVNode(a2, { label: "${instanceCreator}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.processInitiator")), 1)]), _: 1 }), "HumanTask" === o2.usedIn ? (r.openBlock(), r.createBlock(a2, { key: 0, label: "${previousTransactorAssignment}" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.appointmentOfHandlerInThePreviousLink")), 1)]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(a2, { label: "byField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byDeptField" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.deptSpecifiedInFormField")), 1)]), _: 1 }), r.createVNode(a2, { label: "byCondition" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.filterByCriteria")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue", "onChange"]), "byCondition" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", qo, [r.createVNode(d2, { modelValue: i2.formModel.userCondition, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.userCondition = e3), "used-in": "transactor" }, null, 8, ["modelValue"])])) : r.createCommentVNode("", true)]), _: 1 }), "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 0, prop: "selectedField", rules: [{ required: true, message: e2.$t("workflowEditor.process.fieldName") + e2.$t("workflowEditor.common.canNotBeEmpty"), trigger: "focus" }], label: e2.$t("workflowEditor.process.fieldName"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { value: n2.formatLabel(i2.formModel.selectedField), onClick: t2[2] || (t2[2] = (e3) => i2.showFormFields = true) }, null, 8, ["value"]), i2.showFormFields ? (r.openBlock(), r.createBlock(u2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true), "byCondition" === i2.formModel.transactor || "byField" === i2.formModel.transactor || "byDeptField" === i2.formModel.transactor ? (r.openBlock(), r.createElementBlock("div", Ko, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.additionalConditions") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.onlyInCreatorDepartment, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.additionalCondition.onlyInCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.handlingYyThePersonnelOfTheDepartmentOfTheInitiator")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.withCreatorDepartment, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.additionalCondition.withCreatorDepartment = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.personnelOfTheDepartmentWhereTheInitiatorWorksParticipateInTheHandling")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromMultiple, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.additionalCondition.selectOneFromMultiple = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectSpecificHandler")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.formModel.additionalCondition.selectOneFromDept, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.additionalCondition.selectOneFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.selectOneFromDept")), 1)]), _: 1 }, 8, ["modelValue"]), o2.isSubprocess ? (r.openBlock(), r.createBlock(p2, { key: 0, modelValue: i2.formModel.additionalCondition.generateOneInstanceFromDept, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.additionalCondition.generateOneInstanceFromDept = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.generateOneInstanceFromDept")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.isCountersign ? (r.openBlock(), r.createBlock(p2, { key: 1, modelValue: i2.formModel.additionalCondition.activateOneVoteVeto, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.additionalCondition.activateOneVoteVeto = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.activateOneVoteVeto")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), i2.formModel.additionalCondition.selectOneFromMultiple ? (r.openBlock(), r.createElementBlock("div", Xo, [r.createVNode(c2, { label: e2.$t("workflowEditor.process.selectionMethod") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.formModel.additionalCondition.selectType, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.additionalCondition.selectType = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "customType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.manualSelection")), 1)]), _: 1 }), r.createVNode(a2, { label: "autoType" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.autoSelect")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.withDirectives(r.createVNode(c2, { prop: "additionalCondition.selectUrl", label: e2.$t("workflowEditor.process.callbackURL"), rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }] }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.additionalCondition.selectUrl, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.additionalCondition.selectUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"]), [[r.vShow, "autoType" === i2.formModel.additionalCondition.selectType]])])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true), "HumanTask" === o2.usedIn && "${previousTransactorAssignment}" === i2.formModel.transactor ? (r.openBlock(), r.createBlock(c2, { key: 2, prop: "url", rules: [{ required: true, message: this.$t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }], label: e2.$t("workflowEditor.process.selectURL"), "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.formModel.url, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.url = e3), modelModifiers: { trim: true }, onChange: n2.handleUrlChange }, null, 8, ["modelValue", "onChange"])]), _: 1 }, 8, ["rules", "label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1630
+ }]]), Qo = { "${currentTime}": w().t("workflowEditor.process.handlingTimeOfThisLink"), "${currentTransactorId}": w().t("workflowEditor.process.handlerIDOfThisLink"), "${currentTransactorMainDepartmentId}": w().t("workflowEditor.process.currentHandlerPrincipalDepartmentID"), "${currentTransactorDirectSuperiorId}": w().t("workflowEditor.process.iDOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorMainDepartmentId}": w().t("workflowEditor.process.iDOfTheSuperiorDepartmentDirectlyUnderTheCurrentHandler"), "${currentTransactor}": w().t("workflowEditor.process.loginNameOfTheHandlerInThisLink"), "${currentTransactorName }": w().t("workflowEditor.process.NameOfCurrentHandler"), "${currentTransactorDepartment }": w().t("workflowEditor.process.CurrentHandlerDepartment"), "${currentTransactorDepartmentId}": w().t("workflowEditor.process.CurrentHandlerDepartmentID"), "${currentTransactorMainDepartment}": w().t("workflowEditor.process.CurrentManagersPrincipalDepartment"), "${currentTransactorSuperiorDepartmentId}": w().t("workflowEditor.process.iDOfSsuperiorDepartmentOfCurrentHandler"), "${currentTransactorSuperiorDepartment}": w().t("workflowEditor.process.CurrentHandlersSuperiorDepartment"), "${currentTransactorUpstageDepartment}": w().t("workflowEditor.process.TopDepartmentOfCurrentHandler"), "${currentTransactorUpstageDepartmentId}": w().t("workflowEditor.process.TopDepartmentIDOfCurrentHandler"), "${currentTransactorRole}": w().t("workflowEditor.process.CurrentHandlerRole"), "${currentTransactorRoleId}": w().t("workflowEditor.process.CurrentHandlerRoleID"), "${currentTransactorWorkGroup}": w().t("workflowEditor.process.currentHandlerWorkingGroup"), "${currentTransactorWorkGroupId}": w().t("workflowEditor.process.CurrentHandlerWorkingGroupID"), "${currentTransactorDirectSuperior}": w().t("workflowEditor.process.LoginNameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorName}": w().t("workflowEditor.process.nameOfTheImmediateSuperiorOfTheCurrentHandler"), "${currentTransactorDirectSuperiorDepartment}": w().t("workflowEditor.process.currentHandlersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorDepartmentId}": w().t("workflowEditor.process.currentManagersIdDirectlyUnderTheSuperior"), "${currentTransactorDirectSuperiorMainDepartment}": w().t("workflowEditor.process.currentManagersDirectSuperiorDepartment"), "${currentTransactorDirectSuperiorRole}": w().t("workflowEditor.process.currentManagersDirectSuperiorRole"), "${currentTransactorDirectSuperiorRoleId}": w().t("workflowEditor.process.currentHandlersDirectSuperiorRoleID"), "${currentTransactorDirectSuperiorWorkGroup}": w().t("workflowEditor.process.currentManagersDirectSuperiorWork"), "${currentTransactorDirectSuperiorWorkGroupId}": w().t("workflowEditor.process.iDOfTheWorkingGroupDirectlyUnderTheCurrentHandler"), "${currentOperation}": w().t("workflowEditor.process.operationsPerformedInThisPhase"), "${previousTransactorId}": w().t("workflowEditor.process.handlerIDOfThePreviousLink"), "${previousTransactor}": w().t("workflowEditor.process.lastLinkHandlerLogin"), "${previousTransactorName}": w().t("workflowEditor.process.nameOfHandlerInThePreviousLink") }, Zo = { name: "AutoFilledFields", components: { FormFields: pt }, props: { modelValue: { type: Object, default: () => ({}) }, opinionSetting: { type: Object, default: () => ({}) } }, data() {
1630
1631
  const e2 = [];
1631
1632
  if (void 0 !== this.modelValue.field && null !== this.modelValue.field)
1632
1633
  if (Array.isArray(this.modelValue.field))
@@ -1639,7 +1640,7 @@
1639
1640
  "string" == typeof this.modelValue.field.value && -1 !== this.modelValue.field.value.indexOf("+") ? t3.value = this.modelValue.field.value.split("+") : (t3.value = [], t3.value.push(this.modelValue.field.value)), e2.push(t3);
1640
1641
  }
1641
1642
  let t2 = {};
1642
- return this.opinionSetting && this.opinionSetting.opinionSourceField && (t2 = { ...this.opinionSetting }), { tableData: e2, currentRow: null, standardValues: Ko, showFormFields: false, isSelectOpinionField: false, opinionAutoSetting: t2 };
1643
+ return this.opinionSetting && this.opinionSetting.opinionSourceField && (t2 = { ...this.opinionSetting }), { tableData: e2, currentRow: null, standardValues: Qo, showFormFields: false, isSelectOpinionField: false, opinionAutoSetting: t2 };
1643
1644
  }, computed: { keys() {
1644
1645
  return Object.keys(this.standardValues);
1645
1646
  } }, watch: { opinionAutoSetting: { deep: true, handler(e2) {
@@ -1682,15 +1683,15 @@
1682
1683
  0 === e2.length && this.$alert(this.$t("workflowEditorMessage.fieldValueCannotBeEmpty"));
1683
1684
  }, setField(e2) {
1684
1685
  this.isSelectOpinionField ? this.opinionAutoSetting.opinionSourceField = e2 : void 0 !== e2 && (this.currentRow.name = e2), this.showFormFields = false, this.isSelectOpinionField = false;
1685
- }, getFieldLabel: (e2) => pt(e2), selectOpinionField() {
1686
+ }, getFieldLabel: (e2) => ht(e2), selectOpinionField() {
1686
1687
  this.showFormFields = true, this.isSelectOpinionField = true;
1687
1688
  }, clearOpinionField() {
1688
1689
  delete this.opinionAutoSetting.opinionSourceField;
1689
- } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1690
+ } } };
1691
+ const el = $(Zo, [["render", function(e2, t2, o2, l2, i2, n2) {
1690
1692
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-option"), u2 = r.resolveComponent("el-select"), p2 = r.resolveComponent("el-table"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("el-form-item"), w2 = r.resolveComponent("form-fields");
1691
1693
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createTextVNode(" 表单自动填充字段设置 ")]), default: r.withCtx(() => [r.createVNode(s2, { style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(p2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.common.name"), width: "150" }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.getFieldLabel(o3.row.name), placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), readonly: "", onClick: t2[0] || (t2[0] = (e3) => i2.showFormFields = true), onBlur: (e3) => n2.checkName(o3.row.name) }, null, 8, ["value", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "value", label: e2.$t("workflowEditor.common.fieldValue"), width: "200" }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, multiple: "", filterable: "", "allow-create": "", "default-first-option": "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onBlur: (e3) => n2.checkValue(t3.row.value) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.keys, (e3) => (r.openBlock(), r.createBlock(m2, { key: e3, label: i2.standardValues[e3], value: e3 }, null, 8, ["label", "value"]))), 128))]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "separator", label: e2.$t("workflowEditor.common.separator") }, { default: r.withCtx((e3) => [r.createVNode(c2, { modelValue: e3.row.separator, "onUpdate:modelValue": (t3) => e3.row.separator = t3, modelModifiers: { trim: true } }, null, 8, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "fillType", label: e2.$t("workflowEditor.common.fillInMethod") }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.fillType, "onUpdate:modelValue": (e3) => t3.row.fillType = e3 }, { default: r.withCtx(() => [r.createVNode(m2, { label: e2.$t("workflowEditor.common.cover"), value: "cover" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.append"), value: "append" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.insertToFront"), value: "prepend" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "fillTime", label: e2.$t("workflowEditor.common.fillInTime") }, { default: r.withCtx((t3) => [r.createVNode(u2, { modelValue: t3.row.fillTime, "onUpdate:modelValue": (e3) => t3.row.fillTime = e3 }, { default: r.withCtx(() => [r.createVNode(m2, { label: e2.$t("workflowEditor.common.fillInBeforeHandling"), value: "before" }, null, 8, ["label"]), r.createVNode(m2, { label: e2.$t("workflowEditor.common.fillInAfterHandling"), value: "after" }, null, 8, ["label"])]), _: 2 }, 1032, ["modelValue", "onUpdate:modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createTextVNode(" 办理意见 ")]), default: r.withCtx(() => [r.createVNode(f2, { label: "意见来源字段", "label-width": "100" }, { default: r.withCtx(() => [r.createVNode(c2, { value: n2.getFieldLabel(i2.opinionAutoSetting.opinionSourceField), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), readonly: "", clearable: true, onClick: n2.selectOpinionField }, { append: r.withCtx(() => [r.createVNode(a2, { icon: "Delete", onClick: n2.clearOpinionField }, null, 8, ["onClick"])]), _: 1 }, 8, ["value", "placeholder", "onClick"])]), _: 1 })]), _: 1 }), i2.showFormFields ? (r.openBlock(), r.createBlock(w2, { key: 0, onClose: n2.setField }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]);
1692
- }]]);
1693
- const Yo = $({ name: "Variables", props: { modelValue: { type: Object, default: null } }, data() {
1694
+ }]]), tl = { name: "Variables", props: { modelValue: { type: Object, default: null } }, data() {
1694
1695
  let e2 = [];
1695
1696
  return this.modelValue && (Array.isArray(this.modelValue.variable) ? e2 = this.modelValue.variable : this.modelValue.variable && e2.push(this.modelValue.variable)), { variables: e2, currentRow: null };
1696
1697
  }, watch: {}, mounted() {
@@ -1722,11 +1723,12 @@
1722
1723
  "" === e2 && this.$alert(this.$t("workflowEditorMessage.variableNameCannotBeEmpty"));
1723
1724
  }, checkValue(e2) {
1724
1725
  "" === e2 && this.$alert(this.$t("workflowEditorMessage.variableValueCannotBeEmpty"));
1725
- } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1726
+ } } };
1727
+ const ol = $(tl, [["render", function(e2, t2, o2, l2, i2, n2) {
1726
1728
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-table");
1727
1729
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.variables, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "name", label: e2.$t("workflowEditor.common.variableName") }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.name, "onUpdate:modelValue": (e3) => t3.row.name = e3, modelModifiers: { trim: true }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), onBlur: (e3) => n2.checkName(t3.row.name) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "value", label: e2.$t("workflowEditor.common.variableValue") }, { default: r.withCtx((t3) => [r.createVNode(c2, { modelValue: t3.row.value, "onUpdate:modelValue": (e3) => t3.row.value = e3, modelModifiers: { trim: true }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent"), onBlur: (e3) => n2.checkValue(t3.row.value) }, null, 8, ["modelValue", "onUpdate:modelValue", "placeholder", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"])]);
1728
- }]]), Qo = { key: 0 };
1729
- const Zo = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1730
+ }]]), ll = { key: 0 };
1731
+ const rl = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1730
1732
  const e2 = { beforeSubmitEnabled: false, beforeSubmit: {} };
1731
1733
  return this.modelValue.beforeSubmit && (e2.beforeSubmitEnabled = true, e2.beforeSubmit = { ...this.modelValue.beforeSubmit }), e2.afterComplete = this.modelValue.afterComplete, { formModel: e2 };
1732
1734
  }, mounted() {
@@ -1736,9 +1738,9 @@
1736
1738
  }, { deep: true });
1737
1739
  } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1738
1740
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-input"), c2 = r.resolveComponent("el-form");
1739
- return r.openBlock(), r.createBlock(c2, { model: i2.formModel, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.beforeSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.beforeSubmitEnabled, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.beforeSubmitEnabled = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.beforeSubmitEnabled ? (r.openBlock(), r.createElementBlock("div", Qo, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.executionURL") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.url, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.beforeSubmit.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.errorMessage") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.beforeSubmit.errorMessage = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.afterSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.afterComplete, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.afterComplete = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1741
+ return r.openBlock(), r.createBlock(c2, { model: i2.formModel, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.beforeSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.beforeSubmitEnabled, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.beforeSubmitEnabled = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.beforeSubmitEnabled ? (r.openBlock(), r.createElementBlock("div", ll, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.executionURL") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.url, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.beforeSubmit.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.errorMessage") }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.formModel.beforeSubmit.errorMessage, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.beforeSubmit.errorMessage = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.afterSubmission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.afterComplete, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.afterComplete = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1740
1742
  }]]);
1741
- const el = $({ name: "CommonNoticeTool", props: { label: { type: String, default: null }, modelValue: { type: String, default: null }, customMsg: { type: String, default: null } }, data() {
1743
+ const il = $({ name: "CommonNoticeTool", props: { label: { type: String, default: null }, modelValue: { type: String, default: null }, customMsg: { type: String, default: null } }, data() {
1742
1744
  let e2 = [];
1743
1745
  this.modelValue && "" !== this.modelValue && null !== this.modelValue && (e2 = this.modelValue.split(","));
1744
1746
  let t2 = "";
@@ -1750,7 +1752,7 @@
1750
1752
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1751
1753
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-checkbox-group"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-input");
1752
1754
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(d2, { label: o2.label }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.tools, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.tools = e3) }, { default: r.withCtx(() => [r.createVNode(a2, { label: "mail" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.mail")), 1)]), _: 1 }), r.createVNode(a2, { label: "DINGDING" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.dingding")), 1)]), _: 1 }), r.createVNode(a2, { label: "QIWEI" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.qiwei")), 1)]), _: 1 }), r.createVNode(a2, { label: "FEISHU" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.feishu")), 1)]), _: 1 }), r.createVNode(a2, { label: "custom" }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.custom")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.tools.indexOf("custom") >= 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, "label-width": "110", label: e2.$t("workflowEditor.common.customMsg") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.myCustomMsg, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.myCustomMsg = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]);
1753
- }]]), tl = { name: "Reminder", components: { CommonNoticeTool: el, CommonUserCondition: To, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null }, isProcess: { type: Boolean, default: false } }, data() {
1755
+ }]]), nl = { name: "Reminder", components: { CommonNoticeTool: il, CommonUserCondition: xo, SelectMailTemplates: Jt }, props: { modelValue: { type: [Object, String], default: null }, isProcess: { type: Boolean, default: false } }, data() {
1754
1756
  let e2 = false, t2 = false, o2 = { dueDate: 1, dueTimeUnit: "day", repeat: 1, containTransferUser: false, containNoticeUser: false, remindType: "mail", timeUnit: "day", remindTimes: 0, noticeType: "", noticeUserCondition: "", transferUserCondition: "" };
1755
1757
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (o2 = this.modelValue, e2 = true, this.modelValue.remindTimes > 0 && (t2 = true), o2.dueTimeUnit || (o2.dueTimeUnit = "day")), { showReminder: e2, showNotice: t2, model: o2, showMailTemplateFlag: false, baseURL: "", optionUrl: "", multiSelectData: [], options: { showColumns: "code,name" } };
1756
1758
  }, watch: { showReminder(e2) {
@@ -1772,11 +1774,11 @@
1772
1774
  this.model.reminderCustomMsg = e2;
1773
1775
  }, setNoticeCustomMsg(e2) {
1774
1776
  this.model.noticeCustomMsg = e2;
1775
- } } }, ol = { key: 0 }, ll = { key: 2 };
1776
- const rl = { name: "NoticeReminder", components: { Reminder: $(tl, [["render", function(e2, t2, o2, l2, i2, n2) {
1777
+ } } }, al = { key: 0 }, sl = { key: 2 };
1778
+ const dl = { name: "NoticeReminder", components: { Reminder: $(nl, [["render", function(e2, t2, o2, l2, i2, n2) {
1777
1779
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("common-notice-tool"), c2 = r.resolveComponent("select-mail-templates"), m2 = r.resolveComponent("el-input-number"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-radio"), f2 = r.resolveComponent("el-checkbox"), w2 = r.resolveComponent("common-user-condition"), g2 = r.resolveComponent("el-form");
1778
- return r.openBlock(), r.createBlock(g2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.needToBeUrged") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showReminder, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showReminder = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showReminder ? (r.openBlock(), r.createElementBlock("div", ol, [r.createVNode(d2, { modelValue: i2.model.remindType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.remindType = e3), label: e2.$t("workflowEditor.task.urgingMethod"), "custom-msg": i2.model.reminderCustomMsg, onInputMsg: n2.setReminderCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.remindType && i2.model.remindType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.remindType && i2.model.remindType.length > 0 && -1 !== i2.model.remindType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.timeLimitForHandling"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.dueDate, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.dueDate = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.dueTimeUnit, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.dueTimeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"]), r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.urgingInterval")), 1), r.createVNode(m2, { modelValue: i2.model.repeat, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.repeat = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.timeUnit, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.model.timeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.showNotice = e3), label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.alwaysUrging")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.showNotice = e3), label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.limitedUrging")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", ll, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.timesOfUrging"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.remindTimes, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.model.remindTimes = e3), "controls-position": "right", min: 1, max: 99, style: { width: "90px" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { modelValue: i2.model.noticeType, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.model.noticeType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.noticeCustomMsg, onInputMsg: n2.setNoticeCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.common.notifyPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containTransferUser, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.model.containTransferUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includingHandoverPersonnel")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), r.createVNode(s2, { "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.noticeUserCondition, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.model.noticeUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.handoverPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containNoticeUser, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.model.containNoticeUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includeNotifyPeople")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 2, "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.transferUserCondition, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.model.transferUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }))])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1779
- }], ["__scopeId", "data-v-4e29ea06"]]), CommonNoticeTool: el, SelectMailTemplates: zt }, props: { reminderValue: { type: [Object, String], default: null }, taskNoticeValue: { type: Object, default: null }, isProcess: { type: Boolean, default: false } }, data() {
1780
+ return r.openBlock(), r.createBlock(g2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.needToBeUrged") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showReminder, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showReminder = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showReminder ? (r.openBlock(), r.createElementBlock("div", al, [r.createVNode(d2, { modelValue: i2.model.remindType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.remindType = e3), label: e2.$t("workflowEditor.task.urgingMethod"), "custom-msg": i2.model.reminderCustomMsg, onInputMsg: n2.setReminderCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.remindType && i2.model.remindType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.remindType && i2.model.remindType.length > 0 && -1 !== i2.model.remindType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(s2, { label: e2.$t("workflowEditor.task.timeLimitForHandling"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.dueDate, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.dueDate = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.dueTimeUnit, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.dueTimeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"]), r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.urgingInterval")), 1), r.createVNode(m2, { modelValue: i2.model.repeat, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.repeat = e3), "controls-position": "right", min: 1, max: 30, style: { width: "90px" } }, null, 8, ["modelValue"]), r.createVNode(p2, { modelValue: i2.model.timeUnit, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.model.timeUnit = e3), style: { width: "70px" } }, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.task.day"), value: "day" }, null, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.task.hour"), value: "hour" }, null, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.showNotice = e3), label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.alwaysUrging")), 1)]), _: 1 }, 8, ["modelValue"]), r.createVNode(h2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.showNotice = e3), label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.limitedUrging")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", sl, [r.createVNode(s2, { label: e2.$t("workflowEditor.task.timesOfUrging"), size: "small" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.model.remindTimes, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.model.remindTimes = e3), "controls-position": "right", min: 1, max: 99, style: { width: "90px" } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { modelValue: i2.model.noticeType, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.model.noticeType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.noticeCustomMsg, onInputMsg: n2.setNoticeCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 0, label: e2.$t("workflowEditor.common.notifyPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containTransferUser, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.model.containTransferUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includingHandoverPersonnel")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), r.createVNode(s2, { "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.noticeUserCondition, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.model.noticeUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 1, label: e2.$t("workflowEditor.task.handoverPersonnel"), style: { "margin-bottom": "5px" } }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.model.containNoticeUser, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.model.containNoticeUser = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.includeNotifyPeople")), 1)]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["label"])), o2.isProcess ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(s2, { key: 2, "label-width": "0" }, { default: r.withCtx(() => [r.createVNode(w2, { modelValue: i2.model.transferUserCondition, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.model.transferUserCondition = e3) }, null, 8, ["modelValue"])]), _: 1 }))])) : r.createCommentVNode("", true)])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1781
+ }], ["__scopeId", "data-v-4e29ea06"]]), CommonNoticeTool: il, SelectMailTemplates: Jt }, props: { reminderValue: { type: [Object, String], default: null }, taskNoticeValue: { type: Object, default: null }, isProcess: { type: Boolean, default: false } }, data() {
1780
1782
  let e2 = null;
1781
1783
  null !== this.reminderValue && void 0 !== this.reminderValue && "" !== this.reminderValue && (e2 = this.reminderValue);
1782
1784
  let t2 = {};
@@ -1789,12 +1791,12 @@
1789
1791
  this.noticeObj.mailTemplateCode = e2;
1790
1792
  }, setCustomMsg(e2) {
1791
1793
  this.noticeObj.customMsg = e2;
1792
- } } }, il = { class: "clearfix" }, nl = { class: "sub-li" }, al = { class: "sub-li" }, sl = { class: "clearfix" }, dl = { class: "sub-li" }, cl = { class: "sub-li" }, ml = { class: "sub-li" }, ul = { class: "sub-li" };
1793
- const pl = $(rl, [["render", function(e2, t2, o2, l2, i2, n2) {
1794
+ } } }, cl = { class: "clearfix" }, ml = { class: "sub-li" }, ul = { class: "sub-li" }, pl = { class: "clearfix" }, hl = { class: "sub-li" }, fl = { class: "sub-li" }, wl = { class: "sub-li" }, gl = { class: "sub-li" };
1795
+ const Cl = $(dl, [["render", function(e2, t2, o2, l2, i2, n2) {
1794
1796
  const a2 = r.resolveComponent("Warning"), s2 = r.resolveComponent("el-icon"), d2 = r.resolveComponent("el-tooltip"), c2 = r.resolveComponent("common-notice-tool"), m2 = r.resolveComponent("select-mail-templates"), u2 = r.resolveComponent("el-form-item"), p2 = r.resolveComponent("el-form"), h2 = r.resolveComponent("el-card"), f2 = r.resolveComponent("reminder");
1795
- return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createElementVNode("div", il, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.taskNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", nl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", al, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(p2, { model: i2.noticeObj, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.noticeObj.informType, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.noticeObj.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.noticeObj.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 ? (r.openBlock(), r.createBlock(u2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.noticeObj.mailTemplateCode = e3), onSetValue: n2.setNoticeCommonTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 && i2.noticeObj.informType.indexOf("mail") >= 0 ? (r.openBlock(), r.createBlock(u2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.noticeObj.mailPointTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createElementVNode("div", sl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.reminderNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", dl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", cl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1), r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindMsg")), 1), r.createElementVNode("li", ml, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindImmediately")), 1), r.createElementVNode("li", ul, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindHistory")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.reminderObj, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.reminderObj = e3), isProcess: o2.isProcess }, null, 8, ["modelValue", "isProcess"])]), _: 1 })]);
1797
+ return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(h2, { class: "box-card" }, { header: r.withCtx(() => [r.createElementVNode("div", cl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.taskNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", ml, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", ul, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(p2, { model: i2.noticeObj, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.noticeObj.informType, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.noticeObj.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.noticeObj.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 ? (r.openBlock(), r.createBlock(u2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.noticeObj.mailTemplateCode = e3), onSetValue: n2.setNoticeCommonTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.noticeObj.informType && i2.noticeObj.informType.length > 0 && i2.noticeObj.informType.indexOf("mail") >= 0 ? (r.openBlock(), r.createBlock(u2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.noticeObj.mailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.noticeObj.mailPointTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])]), _: 1 }), r.createVNode(h2, { class: "box-card", style: { "margin-top": "10px" } }, { header: r.withCtx(() => [r.createElementVNode("div", pl, [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.common.reminderNotice")), 1), r.createVNode(d2, null, { content: r.withCtx(() => [r.createElementVNode("ul", null, [r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateMsg")), 1), r.createElementVNode("li", hl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateNotice")), 1), r.createElementVNode("li", fl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipTemplateEmail")), 1), r.createElementVNode("li", null, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindMsg")), 1), r.createElementVNode("li", wl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindImmediately")), 1), r.createElementVNode("li", gl, r.toDisplayString(e2.$t("workflowEditor.task.reminderTipRemindHistory")), 1)])]), default: r.withCtx(() => [r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(a2)]), _: 1 })]), _: 1 })])]), default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.reminderObj, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.reminderObj = e3), isProcess: o2.isProcess }, null, 8, ["modelValue", "isProcess"])]), _: 1 })]);
1796
1798
  }], ["__scopeId", "data-v-39fac73c"]]);
1797
- const hl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: Gt, TransactorSettings: qo, PermissionSettings: Wo, AutoFilledFields: Xo, Events: Zo, Variables: Yo, NoticeReminder: pl }, props: { model: { type: Object, default: null } }, data() {
1799
+ const kl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: Kt, TransactorSettings: Yo, PermissionSettings: Jo, AutoFilledFields: el, Events: rl, Variables: ol, NoticeReminder: Cl }, props: { model: { type: Object, default: null } }, data() {
1798
1800
  return this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
1799
1801
  }, computed: { formModel() {
1800
1802
  return this.model.ref;
@@ -1809,24 +1811,24 @@
1809
1811
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("transactor-settings"), c2 = r.resolveComponent("permission-settings"), m2 = r.resolveComponent("auto-filled-fields"), u2 = r.resolveComponent("notice-reminder"), p2 = r.resolveComponent("events"), h2 = r.resolveComponent("variables"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
1810
1812
  return r.openBlock(), r.createBlock(w2, { "model-value": "", top: "10vh", title: e2.$t("workflowEditor.task.linkAttribute"), center: true, "append-to-body": "", class: "properties-editor", onOpen: t2[9] || (t2[9] = (t3) => e2.$emit("open")), onOpend: t2[10] || (t2[10] = (t3) => e2.$emit("opend")), onClose: t2[11] || (t2[11] = (t3) => e2.$emit("close")), onClosed: t2[12] || (t2[12] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { model: o2.model.ref.transactorSettings, "basic-properties": o2.model.ref.basicProperties }, null, 8, ["model", "basic-properties"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.autoFilledFields = e3), "opinion-setting": o2.model.ref.opinionSetting, "onUpdate:opinionSetting": t2[4] || (t2[4] = (e3) => o2.model.ref.opinionSetting = e3) }, null, 8, ["modelValue", "opinion-setting"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(u2, { "reminder-value": o2.model.ref.reminder, "onUpdate:reminderValue": t2[5] || (t2[5] = (e3) => o2.model.ref.reminder = e3), "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.linkVariable"), name: "variables" }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: o2.model.ref.variables, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.ref.variables = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
1811
1813
  }], ["__scopeId", "data-v-1651d82a"]]);
1812
- function fl() {
1814
+ function bl() {
1813
1815
  return window.$store;
1814
1816
  }
1815
- function wl() {
1817
+ function Vl() {
1816
1818
  return window.$http;
1817
1819
  }
1818
- const gl = { fetchFormFields: (e2, t2, o2, l2) => new Promise((r2, i2) => {
1820
+ const yl = { fetchFormFields: (e2, t2, o2, l2) => new Promise((r2, i2) => {
1819
1821
  let n2;
1820
- e2 ? n2 = wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields?formCode=" + e2 + "&formVersion=" + t2 + "&publishVersion=" + l2) : o2 && (n2 = wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/table-fields?tableName=" + o2 + "&publishVersion=" + l2)), n2 ? n2.then((t3) => {
1822
+ e2 ? n2 = Vl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields?formCode=" + e2 + "&formVersion=" + t2 + "&publishVersion=" + l2) : o2 && (n2 = Vl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/table-fields?tableName=" + o2 + "&publishVersion=" + l2)), n2 ? n2.then((t3) => {
1821
1823
  const o3 = t3.formFields;
1822
- t3.subFormFields, fl().commit("wfEditor/setFormCode", e2), fl().commit("wfEditor/setTableCode", t3.tableCode), fl().commit("wfEditor/setFormFields", o3), fl().commit("wfEditor/setFormFieldsWithSub", o3);
1824
+ t3.subFormFields, bl().commit("wfEditor/setFormCode", e2), bl().commit("wfEditor/setTableCode", t3.tableCode), bl().commit("wfEditor/setFormFields", o3), bl().commit("wfEditor/setFormFieldsWithSub", o3);
1823
1825
  const l3 = t3.subtableConditionMap;
1824
- fl().commit("wfEditor/setSubtableConditionMap", l3);
1826
+ bl().commit("wfEditor/setSubtableConditionMap", l3);
1825
1827
  const i3 = t3.systemPropSettingList;
1826
- fl().commit("wfEditor/setPropSettingKeyList", i3), r2(t3);
1828
+ bl().commit("wfEditor/setPropSettingKeyList", i3), r2(t3);
1827
1829
  }) : r2({});
1828
- }), fetchSubprocessFormFields: (e2, t2) => wl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields-with-processes?processCode=" + e2 + "&processVersion=" + t2) };
1829
- const Cl = $({ name: "BasicProperties", components: { i18nInput: Ht }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
1830
+ }), fetchSubprocessFormFields: (e2, t2) => Vl().get(window.$vueApp.config.globalProperties.baseAPI + "/wf-editor/workflow-editors/form-fields-with-processes?processCode=" + e2 + "&processVersion=" + t2) };
1831
+ const vl = $({ name: "BasicProperties", components: { i18nInput: zt }, props: { model: { type: Object, default: null }, name: { type: String, default: null }, code: { type: String, default: null } }, data() {
1830
1832
  return { formModel: { name: this.name, code: this.code, model: this.model }, allForms: [], allProcessTypes: [], allSystems: [], allBranches: [], nameError: null, codeError: null, systemError: null, adminError: null, formError: null, requiredRule: { required: true, message: w().t("workflowEditor.process.cannotBeEmpty"), trigger: "blur" }, isSelectAdmin: false, selectedForm: [], systemPublishVersion: null, sysCode: null, systems: [], isShowFormAndSystem: true, tableName: null };
1831
1833
  }, computed: { ...t.mapGetters("wfEditor", ["systemVersion", "systemCode", "tableCode", "isCreateDefinition", "isHandleCreate"]) }, created() {
1832
1834
  this.getAdminNameWhenUpdate(), this.listAllProcessTypes(), this.listAllSystems(), this.listAllBranches(), this.model.creator || (this.model.creator = o.getUsername()), this.setProcessCode(this.formModel.code), this.model.systemCode ? this.setSystemCode(this.model.systemCode) : this.model.systemCode = this.systemCode, this.systemPublishVersion = parseInt(o.authApi.getSessionCache("wf_editor_systemVersion")), this.changeSystem(this.systemCode, this.systemPublishVersion), this.listAllForms(this.systemCode, this.systemPublishVersion), this.tableName = this.tableCode, this.isCreateDefinition, this.isHandleCreate, this.isHandleCreate && "true" === this.isHandleCreate || this.isCreateDefinition && "true" === this.isCreateDefinition ? this.isShowFormAndSystem = true : this.isShowFormAndSystem = false;
@@ -1842,7 +1844,7 @@
1842
1844
  });
1843
1845
  }, methods: { ...t.mapMutations("wfEditor", ["setFormFields", "setSystemCode", "setSystemVersion", "setProcessCode"]), handleChange(e2) {
1844
1846
  const t2 = e2[1];
1845
- this.model.formCode = t2.substring(t2.indexOf("/") + 1, t2.lastIndexOf("/")), this.model.formVersion = t2.substring(t2.lastIndexOf("/") + 1), gl.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
1847
+ this.model.formCode = t2.substring(t2.indexOf("/") + 1, t2.lastIndexOf("/")), this.model.formVersion = t2.substring(t2.lastIndexOf("/") + 1), yl.fetchFormFields(this.model.formCode, this.model.formVersion, null, this.systemPublishVersion).then((e3) => {
1846
1848
  this.tableName = e3.tableCode;
1847
1849
  });
1848
1850
  }, selectAdmin() {
@@ -1904,10 +1906,10 @@
1904
1906
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("department-user-tree"), u2 = r.resolveComponent("el-option"), p2 = r.resolveComponent("el-select"), h2 = r.resolveComponent("el-cascader"), f2 = r.resolveComponent("el-row"), w2 = r.resolveComponent("el-form");
1905
1907
  return r.openBlock(), r.createBlock(w2, { model: i2.formModel, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(f2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processName"), prop: "name", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), modelModifiers: { trim: true }, "i18n-key": o2.model.i18nKey ? o2.model.i18nKey : "processName", onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processCode"), prop: "code", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.code, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.code = e3), modelModifiers: { trim: true } }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processAdministrator"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.adminName, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.adminName = e3), readonly: "", "suffix-icon": "el-icon-search", onClick: n2.selectAdmin }, null, 8, ["modelValue", "onClick"]), i2.isSelectAdmin ? (r.openBlock(), r.createBlock(m2, { key: 0, width: "30%", multiple: false, onClose: n2.addAdmin }, null, 8, ["onClose"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label", "rules"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.creater") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.creator, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.creator = e3), readonly: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 0, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.system"), prop: "model.systemCode", rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.systemCode, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => o2.model.systemCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: t2[5] || (t2[5] = (e3) => n2.changeSystem(o2.model.systemCode, null)) }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allSystems, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 1, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.systemVersion"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.systemPublishVersion, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.systemPublishVersion = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onChange: n2.changeVersion }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.systems, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.publishVersion, label: e3.publishVersion, value: e3.publishVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), i2.isShowFormAndSystem ? (r.openBlock(), r.createBlock(d2, { key: 2, span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.correspondingForm"), rules: [i2.requiredRule] }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.selectedForm, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.selectedForm = e3), "show-all-levels": false, options: i2.allForms, onChange: n2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label", "rules"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.tableCode") }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(i2.tableName), 1)]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.processType") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.processTypeCode, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => o2.model.processTypeCode = e3), placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allProcessTypes, (e3) => (r.openBlock(), r.createBlock(u2, { key: e3.code, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.affiliatedBranch") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.branchCode, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => o2.model.branchCode = e3), clearable: "", placeholder: e2.$t("workflowEditorMessage.pleaseSelect") }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.allBranches, (e3, t3) => (r.openBlock(), r.createBlock(u2, { key: e3.code + "-" + t3, label: e3.name, value: e3.code }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.process.customCategory") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.customType, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => o2.model.customType = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
1906
1908
  }]]);
1907
- const kl = $({ name: "PermissionSettings", components: { UserSelection: Ho }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
1909
+ const Tl = $({ name: "PermissionSettings", components: { UserSelection: jo }, props: { modelValue: { type: Object, default: null } }, data: () => ({ showNotice: false }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
1908
1910
  const a2 = r.resolveComponent("user-selection"), s2 = r.resolveComponent("el-form");
1909
1911
  return r.openBlock(), r.createBlock(s2, { model: o2.modelValue, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.viewFlowHistory, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.modelValue.viewFlowHistory = e3), label: e2.$t("workflowEditor.process.ViewFlowHistoryPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), r.createVNode(a2, { modelValue: o2.modelValue.viewSubscribeResult, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.modelValue.viewSubscribeResult = e3), label: e2.$t("workflowEditor.process.ViewCountersignatureResultPersonnel"), "label-width": "130px" }, null, 8, ["modelValue", "label"]), r.createVNode(a2, { modelValue: o2.modelValue.viewVoteResult, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.modelValue.viewVoteResult = e3), label: e2.$t("workflowEditor.process.ViewVotingResultsBy"), "label-width": "130px" }, null, 8, ["modelValue", "label"])]), _: 1 }, 8, ["model"]);
1910
- }]]), bl = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
1912
+ }]]), Nl = { props: { pageFormCode: { type: String, default: null } }, data: () => ({ baseURL: "", listURL: "", selection: [], dialogVisible: true }), computed: { ...t.mapGetters("wfEditor", ["systemVersion"]) }, watch: { conditionList: { handler(e2, t2) {
1911
1913
  this.judgeHeavyData = e2;
1912
1914
  } } }, created() {
1913
1915
  this.baseURL = window.$vueApp.config.globalProperties.baseURL, this.pageFormCode && (this.listURL = "/wf-editor/workflow-editors/modulePages/" + this.pageFormCode + "/" + parseInt(o.authApi.getSessionCache("wf_editor_systemVersion")));
@@ -1923,10 +1925,10 @@
1923
1925
  this.$emit("setPage", "");
1924
1926
  }, select(e2, t2) {
1925
1927
  this.selection = e2;
1926
- } } }, Vl = { style: { "overflow-y": "auto", "max-height": "500px" } }, yl = { class: "operation-area" };
1927
- const vl = $({ name: "ParameterSettings", components: { selectPage: $(bl, [["render", function(e2, t2, o2, l2, i2, n2) {
1928
+ } } }, xl = { style: { "overflow-y": "auto", "max-height": "500px" } }, El = { class: "operation-area" };
1929
+ const Sl = $({ name: "ParameterSettings", components: { selectPage: $(Nl, [["render", function(e2, t2, o2, l2, i2, n2) {
1928
1930
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("super-grid"), d2 = r.resolveComponent("el-dialog");
1929
- return r.openBlock(), r.createBlock(d2, { "show-close": true, "append-to-body": true, title: e2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("div", Vl, [r.createElementVNode("div", yl, [r.createVNode(a2, { size: "small", onClick: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(s2, { ref: "grid", url: i2.baseURL + i2.listURL, code: "MMS_MODULE_PAGE", onSelect: n2.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
1931
+ return r.openBlock(), r.createBlock(d2, { "show-close": true, "append-to-body": true, title: e2.$t("workflowEditorPublicModel.selectPage"), width: "60%", "model-value": "", onClose: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("div", xl, [r.createElementVNode("div", El, [r.createVNode(a2, { size: "small", onClick: n2.savePage }, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditorPublicModel.close")), 1)]), _: 1 }, 8, ["onClick"])]), r.createElementVNode("div", null, [r.createVNode(s2, { ref: "grid", url: i2.baseURL + i2.listURL, code: "MMS_MODULE_PAGE", onSelect: n2.select }, null, 8, ["url", "onSelect"])])])]), _: 1 }, 8, ["title", "onClose"]);
1930
1932
  }]]) }, props: { model: { type: Object, default: null } }, data: () => ({ selectPageFlag: false, pageFormCode: null }), computed: { ...t.mapGetters("wfEditor", ["formCode", "pageCode"]) }, created() {
1931
1933
  this.pageCode && (this.model.doTask.url = "page:" + this.pageCode);
1932
1934
  }, methods: { openSelectPage() {
@@ -1937,7 +1939,7 @@
1937
1939
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-card"), c2 = r.resolveComponent("select-page"), m2 = r.resolveComponent("el-form");
1938
1940
  return r.openBlock(), r.createBlock(m2, { model: o2.model, "label-width": "150px" }, { default: r.withCtx(() => [r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.processTaskParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLForProcessingTask") }, { default: r.withCtx(() => [e2.pageCode ? (r.openBlock(), r.createBlock(a2, { key: 0, disabled: "", modelValue: o2.model.doTask.url, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.model.doTask.url = e3) }, null, 8, ["modelValue"])) : (r.openBlock(), r.createBlock(a2, { key: 1, modelValue: o2.model.doTask.url, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.doTask.url = e3) }, { suffix: r.withCtx(() => [r.createElementVNode("i", { class: "fa fa-search", onClick: t2[1] || (t2[1] = (...e3) => n2.openSelectPage && n2.openSelectPage(...e3)) })]), _: 1 }, 8, ["modelValue"]))]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersForReceivingTaskID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.doTask.parameterName, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.doTask.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.viewFormParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.viewTheURLOfTheForm") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.viewForm.url, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => o2.model.viewForm.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.viewForm.parameterName, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => o2.model.viewForm.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.emergencyTreatmentParameterSetting")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLOfEmergencyHandling") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.handleEmergency.url, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => o2.model.handleEmergency.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersOfReceivingEntityID") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.handleEmergency.parameterName, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => o2.model.handleEmergency.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, null, { header: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.process.initiateProcessParameterSettings")), 1)]), default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.uRLOfTheInitiatingProcess") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.url, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => o2.model.startProcess.url = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parametersForReceivingProcessName") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.parameterName, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => o2.model.startProcess.parameterName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.customParameterValue") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.model.startProcess.parameterValue, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => o2.model.startProcess.parameterValue = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }), i2.selectPageFlag ? (r.openBlock(), r.createBlock(c2, { key: 0, "page-form-code": i2.pageFormCode, onSetPage: n2.setPage }, null, 8, ["page-form-code", "onSetPage"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1939
1941
  }]]);
1940
- const Tl = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1942
+ const Ml = $({ name: "Events", props: { modelValue: { type: Object, default: null } }, data() {
1941
1943
  const e2 = [], t2 = this.modelValue.event;
1942
1944
  if (void 0 !== t2 && t2.length && t2.length > 0) {
1943
1945
  let o2 = [];
@@ -1951,8 +1953,8 @@
1951
1953
  } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
1952
1954
  const a2 = r.resolveComponent("el-checkbox"), s2 = r.resolveComponent("el-card"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-row"), m2 = r.resolveComponent("el-checkbox-group");
1953
1955
  return r.openBlock(), r.createBlock(m2, { modelValue: i2.selectedEvents, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.selectedEvents = e3) }, { default: r.withCtx(() => [r.createVNode(c2, { gutter: 12 }, { default: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(i2.events, (e3) => (r.openBlock(), r.createBlock(d2, { key: e3.name, span: 8, style: { "margin-bottom": "12px" } }, { default: r.withCtx(() => [r.createVNode(s2, { shadow: "always" }, { default: r.withCtx(() => [r.createVNode(a2, { label: e3.name }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e3.label), 1)]), _: 2 }, 1032, ["label"])]), _: 2 }, 1024)]), _: 2 }, 1024))), 128))]), _: 1 })]), _: 1 }, 8, ["modelValue"]);
1954
- }]]), Nl = { key: 0 };
1955
- const xl = $({ name: "Notice", components: { UserSelection: Ho, CommonNoticeTool: el, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null }, switchLabel: { type: String, default: "" } }, data() {
1956
+ }]]), Dl = { key: 0 };
1957
+ const $l = $({ name: "Notice", components: { UserSelection: jo, CommonNoticeTool: il, SelectMailTemplates: Jt }, props: { modelValue: { type: [Object, String], default: null }, switchLabel: { type: String, default: "" } }, data() {
1956
1958
  let e2 = false, t2 = { informType: "", userCondition: "", subject: null, content: null };
1957
1959
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (t2 = this.modelValue, t2.informType && "" !== t2.informType && (e2 = true)), { showNotice: e2, model: t2, options: { showColumns: "code,name" } };
1958
1960
  }, watch: { showNotice(e2) {
@@ -1972,9 +1974,9 @@
1972
1974
  this.model.customMsg = e2;
1973
1975
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1974
1976
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("common-notice-tool"), c2 = r.resolveComponent("select-mail-templates"), m2 = r.resolveComponent("user-selection"), u2 = r.resolveComponent("el-input"), p2 = r.resolveComponent("el-form");
1975
- return r.openBlock(), r.createBlock(p2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: o2.switchLabel, "label-width": "150" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", Nl, [r.createVNode(d2, { modelValue: i2.model.informType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(m2, { modelValue: i2.model.userCondition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.userCondition = e3), label: e2.$t("workflowEditor.common.addressee") }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.theme") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.subject, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.subject = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterASubject") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.content") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.content, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.content = e3), type: "textarea", autosize: { minRows: 4, maxRows: 10 }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1977
+ return r.openBlock(), r.createBlock(p2, { model: i2.model, "label-width": "80px" }, { default: r.withCtx(() => [r.createVNode(s2, { label: o2.switchLabel, "label-width": "150" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.showNotice, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.showNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.showNotice ? (r.openBlock(), r.createElementBlock("div", Dl, [r.createVNode(d2, { modelValue: i2.model.informType, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.informType = e3), label: e2.$t("workflowEditor.common.notificationMethod"), "custom-msg": i2.model.customMsg, onInputMsg: n2.setCustomMsg }, null, 8, ["modelValue", "label", "custom-msg", "onInputMsg"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(s2, { key: 0, "label-width": "100", label: e2.$t("workflowEditor.task.selectNoticeTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.mailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(s2, { key: 1, "label-width": "100", label: e2.$t("workflowEditor.task.selectMailTemplate") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.model.mailPointTemplateCode, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.model.mailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), r.createVNode(m2, { modelValue: i2.model.userCondition, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.model.userCondition = e3), label: e2.$t("workflowEditor.common.addressee") }, null, 8, ["modelValue", "label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.theme") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.subject, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.model.subject = e3), placeholder: e2.$t("workflowEditorMessage.pleaseEnterASubject") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.common.content") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: i2.model.content, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.model.content = e3), type: "textarea", autosize: { minRows: 4, maxRows: 10 }, placeholder: e2.$t("workflowEditorMessage.pleaseEnterContent") }, null, 8, ["modelValue", "placeholder"])]), _: 1 }, 8, ["label"])])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"]);
1976
1978
  }]]);
1977
- const El = $({ name: "ProcessPropertiesEditor", components: { BasicProperties: Cl, PermissionSettings: kl, ParameterSettings: vl, Events: Tl, Variables: Yo, NoticeSettings: $({ name: "NoticeSettings", components: { Notice: xl, SelectMailTemplates: zt }, props: { modelValue: { type: [Object, String], default: null } }, data() {
1979
+ const Fl = $({ name: "ProcessPropertiesEditor", components: { BasicProperties: vl, PermissionSettings: Tl, ParameterSettings: Sl, Events: Ml, Variables: ol, NoticeSettings: $({ name: "NoticeSettings", components: { Notice: $l, SelectMailTemplates: Jt }, props: { modelValue: { type: [Object, String], default: null } }, data() {
1978
1980
  let e2 = { informType: "", userCondition: "", subject: null, content: null, defaultMailTemplateCode: "" };
1979
1981
  return null !== this.modelValue && void 0 !== this.modelValue && "" !== this.modelValue && (e2 = this.modelValue), { showMailTemplateFlag: false, model: e2 };
1980
1982
  }, created() {
@@ -1991,7 +1993,7 @@
1991
1993
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
1992
1994
  const a2 = r.resolveComponent("notice"), s2 = r.resolveComponent("select-mail-templates"), d2 = r.resolveComponent("el-form-item"), c2 = r.resolveComponent("el-form");
1993
1995
  return i2.model ? (r.openBlock(), r.createBlock(c2, { key: 0, model: i2.model, "label-width": "100px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.model, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.model = e3), "switch-label": e2.$t("workflowEditor.process.sendNotificationAfterProcessEnds") }, null, 8, ["modelValue", "switch-label"]), i2.model.informType && i2.model.informType.length > 0 ? (r.openBlock(), r.createBlock(d2, { key: 0, label: e2.$t("workflowEditor.process.defaultCommonTemplate") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.model.defaultMailTemplateCode, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.model.defaultMailTemplateCode = e3), onSetValue: n2.setMailTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true), i2.model.informType && i2.model.informType.length > 0 && -1 !== i2.model.informType.indexOf("mail") ? (r.openBlock(), r.createBlock(d2, { key: 1, label: e2.$t("workflowEditor.process.defaultMailTemplate") }, { default: r.withCtx(() => [r.createVNode(s2, { modelValue: i2.model.defaultMailPointTemplateCode, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.model.defaultMailPointTemplateCode = e3), onSetValue: n2.setMailPointTemplateCode }, null, 8, ["modelValue", "onSetValue"])]), _: 1 }, 8, ["label"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["model"])) : r.createCommentVNode("", true);
1994
- }]]), NoticeReminder: pl }, props: { model: { type: Object, default: null } }, data() {
1996
+ }]]), NoticeReminder: Cl }, props: { model: { type: Object, default: null } }, data() {
1995
1997
  return void 0 === this.model.properties.taskNotice && (this.model.properties.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
1996
1998
  }, computed: { basicProperties() {
1997
1999
  return this.model.properties.basicProperties;
@@ -2012,7 +2014,7 @@
2012
2014
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("permission-settings"), c2 = r.resolveComponent("notice-settings"), m2 = r.resolveComponent("notice-reminder"), u2 = r.resolveComponent("parameter-settings"), p2 = r.resolveComponent("events"), h2 = r.resolveComponent("variables"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
2013
2015
  return r.openBlock(), r.createBlock(w2, { "model-value": "", title: e2.$t("workflowEditor.process.processProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[7] || (t2[7] = (t3) => e2.$emit("open")), onOpend: t2[8] || (t2[8] = (t3) => e2.$emit("opend")), onClose: t2[9] || (t2[9] = (t3) => e2.$emit("close")), onClosed: t2[10] || (t2[10] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { name: o2.model.attr.name, "onUpdate:name": t2[0] || (t2[0] = (e3) => o2.model.attr.name = e3), code: o2.model.attr.code, "onUpdate:code": t2[1] || (t2[1] = (e3) => o2.model.attr.code = e3), model: o2.model.properties.basicProperties }, null, 8, ["name", "code", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.properties.permissionSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.properties.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.notificationSettings"), name: "inform" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.properties.inform, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.properties.inform = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(m2, { "reminder-value": o2.model.properties.reminder, "onUpdate:reminderValue": t2[4] || (t2[4] = (e3) => o2.model.properties.reminder = e3), "task-notice-value": o2.model.properties.taskNotice, isProcess: true }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.parameterSsetting"), name: "parameterSettings" }, { default: r.withCtx(() => [r.createVNode(u2, { model: o2.model.properties.parameterSettings }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.event"), name: "events" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.properties.events, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => o2.model.properties.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.processVariables"), name: "variables" }, { default: r.withCtx(() => [r.createVNode(h2, { model: o2.model.properties.variables }, null, 8, ["model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2014
2016
  }]]);
2015
- const Sl = $({ name: "DecisionPropertiesEditor", components: { i18nInput: Ht }, props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2017
+ const Pl = $({ name: "DecisionPropertiesEditor", components: { i18nInput: zt }, props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2016
2018
  return this.model.ref;
2017
2019
  }, transitions() {
2018
2020
  const e2 = T(this.formModel.attr.id), t2 = [];
@@ -2029,7 +2031,7 @@
2029
2031
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-form"), u2 = r.resolveComponent("el-dialog");
2030
2032
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.task.attributeOfConditionJudgment"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3), modelModifiers: { trim: true }, "i18n-key": n2.formModel.basicProperties && n2.formModel.basicProperties.i18nKey ? n2.formModel.basicProperties.i18nKey : "name." + n2.formModel.attr.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.allBranchFlows")), 1), r.createVNode(c2, { border: "", data: n2.transitions, style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"]), r.createVNode(d2, { prop: "condition", label: e2.$t("workflowEditor.task.condition") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
2031
2033
  }]]);
2032
- const Ml = $({ name: "TransitionPropertiesEditor", components: { Notice: xl, AutoFilledFields: Xo, BasicProperties: $({ name: "BasicProperties", components: { AdditionalCondition: Bt, i18nInput: Ht }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
2034
+ const Bl = $({ name: "TransitionPropertiesEditor", components: { Notice: $l, AutoFilledFields: el, BasicProperties: $({ name: "BasicProperties", components: { AdditionalCondition: It, i18nInput: zt }, props: { model: { type: Object, default: null }, sourceTacheType: { type: String, default: null }, id: { type: String, default: null } }, created() {
2033
2035
  }, methods: { setI18nValue(e2) {
2034
2036
  this.model.i18nKey = e2;
2035
2037
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
@@ -2043,7 +2045,7 @@
2043
2045
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("notice"), c2 = r.resolveComponent("auto-filled-fields"), m2 = r.resolveComponent("el-switch"), u2 = r.resolveComponent("el-form-item"), p2 = r.resolveComponent("el-input"), h2 = r.resolveComponent("el-form"), f2 = r.resolveComponent("el-tabs"), w2 = r.resolveComponent("el-dialog");
2044
2046
  return r.openBlock(), r.createBlock(w2, { "model-value": "", title: e2.$t("workflowEditor.transition.flowProperties"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(f2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card" }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.transition.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, model: o2.model.ref.basicProperties, "source-tache-type": o2.model.startJoint.parent.type }, null, 8, ["id", "model", "source-tache-type"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.notificationSettings"), name: "inform" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.ref.inform, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.model.ref.inform = e3), "switch-label": e2.$t("workflowEditor.transition.sendNotificationAfterFlow") }, null, 8, ["modelValue", "switch-label"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.autoFillInFieldSettings"), name: "autoFilledFields" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.autoFilledFields, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.model.ref.autoFilledFields = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.transition.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(h2, null, { default: r.withCtx(() => [r.createVNode(u2, { label: e2.$t("workflowEditor.transition.triggerFlowThroughEvent") }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.onTransit, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.onTransit = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(u2, { label: e2.$t("workflowEditor.transition.beanName") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: o2.model.ref.beanName, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.beanName = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue"])]), _: 1 }, 8, ["title"]);
2045
2047
  }], ["__scopeId", "data-v-0e44fe8c"]]);
2046
- const Dl = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2048
+ const Ol = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2047
2049
  return this.model.ref;
2048
2050
  }, transitions() {
2049
2051
  const e2 = T(this.formModel.attr.id), t2 = [];
@@ -2058,7 +2060,7 @@
2058
2060
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-table"), m2 = r.resolveComponent("el-form"), u2 = r.resolveComponent("el-dialog");
2059
2061
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfBranches"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createElementVNode("span", null, r.toDisplayString(e2.$t("workflowEditor.task.allBranchFlows")), 1), r.createVNode(c2, { border: "", data: n2.transitions, style: { width: "100%" } }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "to", label: e2.$t("workflowEditor.task.targetLink") }, null, 8, ["label"])]), _: 1 }, 8, ["data"])]), _: 1 })]), _: 1 })]), _: 1 }, 8, ["title"]);
2060
2062
  }]]);
2061
- const $l = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2063
+ const Il = $({ name: "ForkPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2062
2064
  return this.model.ref;
2063
2065
  } }, mounted() {
2064
2066
  this.$watch("model.ref.attr.name", function(e2) {
@@ -2068,7 +2070,7 @@
2068
2070
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form"), c2 = r.resolveComponent("el-dialog");
2069
2071
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.convergedProperties"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
2070
2072
  }]]);
2071
- const Fl = $({ name: "HumanDecisionPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2073
+ const _l = $({ name: "HumanDecisionPropertiesEditor", props: { model: { type: Object, default: null } }, data: () => ({ dialogVisible: true }), computed: { formModel() {
2072
2074
  return this.model.ref;
2073
2075
  } }, mounted() {
2074
2076
  this.$watch("model.ref.attr.name", function(e2) {
@@ -2078,7 +2080,7 @@
2078
2080
  const a2 = r.resolveComponent("el-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form"), c2 = r.resolveComponent("el-dialog");
2079
2081
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.attributesOfManualJudgment"), center: true, "append-to-body": "", onOpen: t2[1] || (t2[1] = (t3) => e2.$emit("open")), onOpend: t2[2] || (t2[2] = (t3) => e2.$emit("opend")), onClose: t2[3] || (t2[3] = (t3) => e2.$emit("close")), onClosed: t2[4] || (t2[4] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name"), "label-width": "40px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: n2.formModel.attr.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => n2.formModel.attr.name = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }, 8, ["title"]);
2080
2082
  }]]);
2081
- const Pl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: ft, i18nInput: Ht }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2083
+ const Rl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: gt, i18nInput: zt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2082
2084
  return { formModel: { name: this.name, id: this.id, tache: this.model } };
2083
2085
  }, computed: { tache() {
2084
2086
  return this.model;
@@ -2093,7 +2095,7 @@
2093
2095
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2094
2096
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-switch"), h2 = r.resolveComponent("el-form");
2095
2097
  return r.openBlock(), r.createBlock(h2, { model: i2.formModel, "label-width": "110px" }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.name") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": n2.tache.i18nKey ? n2.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.code") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.emailNotification") }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: n2.tache.mailNotice, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => n2.tache.mailNotice = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.handlingPage") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.taskUrl, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => n2.tache.taskUrl = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.remarks") }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: n2.tache.remark, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => n2.tache.remark = e3), type: "textarea", autosize: "" }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
2096
- }], ["__scopeId", "data-v-c1c7385b"]]), TransactorSettings: qo, PermissionSettings: $({ name: "PermissionSettings", components: { AdditionalCondition: Bt }, props: { modelValue: { type: Object, default: null } }, data() {
2098
+ }], ["__scopeId", "data-v-c1c7385b"]]), TransactorSettings: Yo, PermissionSettings: $({ name: "PermissionSettings", components: { AdditionalCondition: It }, props: { modelValue: { type: Object, default: null } }, data() {
2097
2099
  const e2 = x(this.modelValue), t2 = ["viewOpinion", "viewMeetingResult", "viewVoteResult", "viewFlowHistory", "printForm"];
2098
2100
  t2.forEach((t3) => {
2099
2101
  e2[t3 + "Checkbox"] = !!this.modelValue[t3].condition;
@@ -2114,7 +2116,7 @@
2114
2116
  }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2115
2117
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-checkbox"), d2 = r.resolveComponent("additional-condition"), c2 = r.resolveComponent("el-form-item"), m2 = r.resolveComponent("el-card"), u2 = r.resolveComponent("el-form");
2116
2118
  return r.openBlock(), r.createBlock(u2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowViews") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewOpinion.permission, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.viewOpinion.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewOpinion.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewOpinionCheckbox, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.viewOpinionCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewOpinion.permission && i2.formModel.viewOpinionCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewOpinion.condition, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.formModel.viewOpinion.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewCountersignatureResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewMeetingResult.permission, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.formModel.viewMeetingResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewMeetingResult.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewMeetingResultCheckbox, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.viewMeetingResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewMeetingResult.permission && i2.formModel.viewMeetingResultCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewMeetingResult.condition, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.viewMeetingResult.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewVotingResults") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewVoteResult.permission, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.viewVoteResult.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewVoteResult.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewVoteResultCheckbox, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.viewVoteResultCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewVoteResult.permission && i2.formModel.viewVoteResultCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewVoteResult.condition, "onUpdate:modelValue": t2[8] || (t2[8] = (e3) => i2.formModel.viewVoteResult.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowToViewFlowHistory") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.viewFlowHistory.permission, "onUpdate:modelValue": t2[9] || (t2[9] = (e3) => i2.formModel.viewFlowHistory.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.viewFlowHistory.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.viewFlowHistoryCheckbox, "onUpdate:modelValue": t2[10] || (t2[10] = (e3) => i2.formModel.viewFlowHistoryCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.viewFlowHistory.permission && i2.formModel.viewFlowHistoryCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.viewFlowHistory.condition, "onUpdate:modelValue": t2[11] || (t2[11] = (e3) => i2.formModel.viewFlowHistory.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.allowFormsToPrint") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.printForm.permission, "onUpdate:modelValue": t2[12] || (t2[12] = (e3) => i2.formModel.printForm.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.printForm.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.printFormCheckbox, "onUpdate:modelValue": t2[13] || (t2[13] = (e3) => i2.formModel.printFormCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.printForm.permission && i2.formModel.printFormCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.printForm.condition, "onUpdate:modelValue": t2[14] || (t2[14] = (e3) => i2.formModel.printForm.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"]), r.createVNode(c2, { label: e2.$t("workflowEditor.task.attachmentAuthority") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.permission, "onUpdate:modelValue": t2[15] || (t2[15] = (e3) => i2.formModel.attachment.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), i2.formModel.attachment.permission ? (r.openBlock(), r.createBlock(m2, { key: 0, class: "box-card" }, { default: r.withCtx(() => [r.createVNode(c2, { label: e2.$t("workflowEditor.task.downloadAttachment") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.attachment.download.permission, "onUpdate:modelValue": t2[16] || (t2[16] = (e3) => i2.formModel.attachment.download.permission = e3) }, null, 8, ["modelValue"]), i2.formModel.attachment.download.permission ? (r.openBlock(), r.createBlock(s2, { key: 0, modelValue: i2.formModel.attachment.downloadCheckbox, "onUpdate:modelValue": t2[17] || (t2[17] = (e3) => i2.formModel.attachment.downloadCheckbox = e3) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.additionalConditions")), 1)]), _: 1 }, 8, ["modelValue"])) : r.createCommentVNode("", true), i2.formModel.attachment.download.permission && i2.formModel.attachment.downloadCheckbox ? (r.openBlock(), r.createBlock(d2, { key: 1, modelValue: i2.formModel.attachment.download.condition, "onUpdate:modelValue": t2[18] || (t2[18] = (e3) => i2.formModel.attachment.download.condition = e3) }, null, 8, ["modelValue"])) : r.createCommentVNode("", true)]), _: 1 }, 8, ["label"])]), _: 1 })) : r.createCommentVNode("", true), r.createVNode(c2, { label: e2.$t("workflowEditor.task.bodyPermission") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.officialText.permission, "onUpdate:modelValue": t2[19] || (t2[19] = (e3) => i2.formModel.officialText.permission = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["model"]);
2117
- }], ["__scopeId", "data-v-5fb29fef"]]), NoticeReminder: pl, Events: Zo }, props: { model: { type: Object, default: null } }, data() {
2119
+ }], ["__scopeId", "data-v-5fb29fef"]]), NoticeReminder: Cl, Events: rl }, props: { model: { type: Object, default: null } }, data() {
2118
2120
  return this.model, this.model.ref.taskNotice || (this.model.ref.taskNotice = {}), { activeTab: "basicProperties", dialogVisible: true };
2119
2121
  }, computed: { formModel() {
2120
2122
  return this.model.ref;
@@ -2129,7 +2131,7 @@
2129
2131
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("transactor-settings"), c2 = r.resolveComponent("notice-reminder"), m2 = r.resolveComponent("events"), u2 = r.resolveComponent("permission-settings"), p2 = r.resolveComponent("el-tabs"), h2 = r.resolveComponent("el-dialog");
2130
2132
  return r.openBlock(), r.createBlock(h2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfCCTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { model: o2.model.ref.transactorSettings, "used-in": "CopyTask" }, null, 8, ["model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.reminderSettings"), name: "reminders" }, { default: r.withCtx(() => [r.createVNode(c2, { "reminder-value": o2.model.ref.reminder, "task-notice-value": o2.model.ref.taskNotice }, null, 8, ["reminder-value", "task-notice-value"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.task.permissionSettings"), name: "permissions" }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: o2.model.ref.permissionSettings, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.permissionSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2131
2133
  }], ["__scopeId", "data-v-af76d417"]]);
2132
- const Bl = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: ft, i18nInput: Ht }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2134
+ const Al = $({ name: "HumanTaskPropertiesEditor", components: { BasicProperties: $({ name: "BasicProperties", components: { TaskTitle: gt, i18nInput: zt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2133
2135
  return { formModel: { name: this.name, id: this.id, tache: this.model } };
2134
2136
  }, computed: { tache() {
2135
2137
  return this.model;
@@ -2158,8 +2160,7 @@
2158
2160
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2159
2161
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("el-tabs"), c2 = r.resolveComponent("el-dialog");
2160
2162
  return r.openBlock(), r.createBlock(c2, { "model-value": "", title: e2.$t("workflowEditor.task.propertiesOfAutoTask"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[3] || (t2[3] = (t3) => e2.$emit("open")), onOpend: t2[4] || (t2[4] = (t3) => e2.$emit("opend")), onClose: t2[5] || (t2[5] = (t3) => e2.$emit("close")), onClosed: t2[6] || (t2[6] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.task.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref.basicProperties }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2161
- }], ["__scopeId", "data-v-adb7c2ff"]]), Ol = { style: { width: "100%" } }, Il = { key: 0, style: { "margin-right": "12px" } };
2162
- const _l = $({ name: "BasicProperties", components: { FieldMappings: $({ name: "FieldMappings", components: { FormFields: ut }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
2163
+ }], ["__scopeId", "data-v-adb7c2ff"]]), Ul = { name: "FieldMappings", components: { FormFields: pt }, props: { modelValue: { type: Object, default: null }, srcLabel: { type: String, default: null }, targetLabel: { type: String, default: null }, srcFields: { type: Array, default: null }, targetFields: { type: Array, default: null }, labelTittle: { type: String, default: null } }, data() {
2163
2164
  let e2 = [];
2164
2165
  return void 0 !== this.modelValue.field && (Array.isArray(this.modelValue.field) ? e2 = this.modelValue.field : e2.push(this.modelValue.field)), { tableData: e2, currentRow: null, showSourceFields: false, showTargetFields: false };
2165
2166
  }, computed: { formFields() {
@@ -2173,9 +2174,9 @@
2173
2174
  const t2 = (this.srcFields || this.targetFields).filter((t3) => t3.name === e2);
2174
2175
  return t2.length > 0 ? t2[0].label : e2;
2175
2176
  }, showSourceFieldLabel(e2) {
2176
- return this.srcFields ? this.getSubFormFieldLabel(e2) : pt(e2);
2177
+ return this.srcFields ? this.getSubFormFieldLabel(e2) : ht(e2);
2177
2178
  }, showTargetFieldLabel(e2) {
2178
- return this.targetFields ? this.getSubFormFieldLabel(e2) : pt(e2);
2179
+ return this.targetFields ? this.getSubFormFieldLabel(e2) : ht(e2);
2179
2180
  }, add() {
2180
2181
  for (let e3 = 0; e3 < this.tableData.length; e3++)
2181
2182
  if ("" === this.tableData[e3].source || "" === this.tableData[e3].target)
@@ -2202,10 +2203,11 @@
2202
2203
  "" === e2 && this.$alert(this.$t("workflowEditorMessage.dataCannotBeEmpty", { data: this.targetLabel }));
2203
2204
  }, selectField(e2) {
2204
2205
  this.showSourceFields && (this.currentRow.source = e2, this.showSourceFields = false), this.showTargetFields && (this.currentRow.target = e2, this.showTargetFields = false), this.tableData, this.srcFields, this.targetFields;
2205
- } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2206
+ } } }, Ll = { style: { width: "100%" } }, Hl = { key: 0, style: { "margin-right": "12px" } };
2207
+ const Wl = $({ name: "BasicProperties", components: { FieldMappings: $(Ul, [["render", function(e2, t2, o2, l2, i2, n2) {
2206
2208
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("el-table-column"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-table"), u2 = r.resolveComponent("form-fields");
2207
- return r.openBlock(), r.createElementBlock("div", Ol, [r.createVNode(s2, { style: { "align-items": "center" } }, { default: r.withCtx(() => [o2.labelTittle ? (r.openBlock(), r.createElementBlock("span", Il, r.toDisplayString(o2.labelTittle), 1)) : r.createCommentVNode("", true), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "source", label: o2.srcLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showSourceFieldLabel(o3.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => i2.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "target", label: o2.targetLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showTargetFieldLabel(o3.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => i2.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showSourceFields || i2.showTargetFields ? (r.openBlock(), r.createBlock(u2, { key: 0, fields: n2.formFields, onClose: n2.selectField }, null, 8, ["fields", "onClose"])) : r.createCommentVNode("", true)]);
2208
- }]]), i18nInput: Ht, TaskTitle: ft }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2209
+ return r.openBlock(), r.createElementBlock("div", Ll, [r.createVNode(s2, { style: { "align-items": "center" } }, { default: r.withCtx(() => [o2.labelTittle ? (r.openBlock(), r.createElementBlock("span", Hl, r.toDisplayString(o2.labelTittle), 1)) : r.createCommentVNode("", true), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "CirclePlus", onClick: n2.add }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.add")), 1)]), _: 1 }, 8, ["onClick"]), r.createVNode(a2, { type: "primary", size: "small", plain: "", icon: "Delete", onClick: n2.remove }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.delete")), 1)]), _: 1 }, 8, ["onClick"])]), _: 1 }), r.createVNode(m2, { ref: "table", data: i2.tableData, border: "", "highlight-current-row": "", style: { width: "100%" }, onCurrentChange: n2.handleCurrentChange }, { default: r.withCtx(() => [r.createVNode(d2, { type: "index", width: "50" }), r.createVNode(d2, { prop: "source", label: o2.srcLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showSourceFieldLabel(o3.row.source), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[0] || (t2[0] = (e3) => i2.showSourceFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"]), r.createVNode(d2, { prop: "target", label: o2.targetLabel }, { default: r.withCtx((o3) => [r.createVNode(c2, { value: n2.showTargetFieldLabel(o3.row.target), placeholder: e2.$t("workflowEditorMessage.pleaseSelect"), onClick: t2[1] || (t2[1] = (e3) => i2.showTargetFields = true) }, null, 8, ["value", "placeholder"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["data", "onCurrentChange"]), i2.showSourceFields || i2.showTargetFields ? (r.openBlock(), r.createBlock(u2, { key: 0, fields: n2.formFields, onClose: n2.selectField }, null, 8, ["fields", "onClose"])) : r.createCommentVNode("", true)]);
2210
+ }]]), i18nInput: zt, TaskTitle: gt }, props: { model: { type: Object, default: null }, id: { type: String, default: null }, name: { type: String, default: null } }, data() {
2209
2211
  return { selectedProcess: [], processes: [], subprocessFormFields: [], formModel: { name: this.name, id: this.id, tache: this.model } };
2210
2212
  }, computed: { tache() {
2211
2213
  return this.model;
@@ -2218,7 +2220,7 @@
2218
2220
  this.$emit("update:name", e2);
2219
2221
  });
2220
2222
  }, methods: { fetchSubprocessFormFields() {
2221
- this.model.processCode && gl.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
2223
+ this.model.processCode && yl.fetchSubprocessFormFields(this.model.processCode, this.model.processVersion).then((e2) => {
2222
2224
  this.subprocessFormFields = e2;
2223
2225
  });
2224
2226
  }, handleChange(e2) {
@@ -2259,11 +2261,11 @@
2259
2261
  const a2 = r.resolveComponent("i18n-input"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-col"), c2 = r.resolveComponent("el-input"), m2 = r.resolveComponent("el-row"), u2 = r.resolveComponent("task-title"), p2 = r.resolveComponent("el-cascader"), h2 = r.resolveComponent("el-switch"), f2 = r.resolveComponent("el-radio"), w2 = r.resolveComponent("el-radio-group"), g2 = r.resolveComponent("field-mappings"), C2 = r.resolveComponent("el-form");
2260
2262
  return r.openBlock(), r.createBlock(C2, { model: i2.formModel }, { default: r.withCtx(() => [r.createVNode(m2, null, { default: r.withCtx(() => [r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.name"), "label-width": "50px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: i2.formModel.name, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.formModel.name = e3), "i18n-key": i2.formModel.tache.i18nKey ? i2.formModel.tache.i18nKey : "name." + i2.formModel.id, onSetI18n: n2.setI18nValue }, null, 8, ["modelValue", "i18n-key", "onSetI18n"])]), _: 1 }, 8, ["label"])]), _: 1 }), r.createVNode(d2, { span: 12 }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.code"), "label-width": "50px" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: i2.formModel.id, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => i2.formModel.id = e3), onBlur: n2.validateId }, null, 8, ["modelValue", "onBlur"])]), _: 1 }, 8, ["label"])]), _: 1 })]), _: 1 }), r.createVNode(s2, { label: e2.$t("workflowEditor.task.taskTitle") }, { default: r.withCtx(() => [r.createVNode(u2, { modelValue: n2.tache.taskTitle, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => n2.tache.taskTitle = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.subprocess"), "label-width": "60px" }, { default: r.withCtx(() => [r.createVNode(p2, { modelValue: i2.selectedProcess, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => i2.selectedProcess = e3), "show-all-levels": false, options: i2.processes, onChange: n2.handleChange }, null, 8, ["modelValue", "options", "onChange"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.subprocessIsSharedForm"), "label-width": "140px" }, { default: r.withCtx(() => [r.createVNode(h2, { modelValue: i2.formModel.tache.isSharedForm, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.formModel.tache.isSharedForm = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(w2, { modelValue: i2.formModel.tache.moreTransactor, "onUpdate:modelValue": t2[5] || (t2[5] = (e3) => i2.formModel.tache.moreTransactor = e3) }, { default: r.withCtx(() => [r.createVNode(f2, { label: false }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.anyOneCanHandleIt")), 1)]), _: 1 }), r.createVNode(f2, { label: true }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.task.forAll")), 1)]), _: 1 })]), _: 1 }, 8, ["modelValue"]), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(g2, { "label-tittle": e2.$t("workflowEditor.process.transferValueFromMainFormToSubForm"), modelValue: i2.formModel.tache.parameters, "onUpdate:modelValue": t2[6] || (t2[6] = (e3) => i2.formModel.tache.parameters = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "target-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-fields": i2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "target-fields"])]), _: 1 }), r.createVNode(s2, null, { default: r.withCtx(() => [r.createVNode(g2, { "label-tittle": e2.$t("workflowEditor.process.subformReturnsResultsToMainForm"), modelValue: i2.formModel.tache.result, "onUpdate:modelValue": t2[7] || (t2[7] = (e3) => i2.formModel.tache.result = e3), "src-label": e2.$t("workflowEditor.process.fieldsOfSubform"), "target-label": e2.$t("workflowEditor.process.fieldsOfTheMainForm"), "src-fields": i2.subprocessFormFields }, null, 8, ["label-tittle", "modelValue", "src-label", "target-label", "src-fields"])]), _: 1 })]), _: 1 }, 8, ["model"]);
2261
2263
  }]]);
2262
- const Rl = $({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2264
+ const zl = $({ name: "Events", props: { modelValue: { type: Object, default: null } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2263
2265
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-form-item"), d2 = r.resolveComponent("el-form");
2264
2266
  return r.openBlock(), r.createBlock(d2, null, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.eventsTriggeredBeforeStartingASubprocess"), "label-width": "150px" }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.beforeStart, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => o2.modelValue.beforeStart = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.triggerSubprocessEndEvent") }, { default: r.withCtx(() => [r.createVNode(a2, { modelValue: o2.modelValue.end, "onUpdate:modelValue": t2[1] || (t2[1] = (e3) => o2.modelValue.end = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 });
2265
2267
  }]]);
2266
- const Al = $({ name: "SubprocessPropertiesEditor", components: { BasicProperties: _l, SubprocessTransactorSettings: $({ name: "SubprocessTransactorSettings", components: { TransactorSettings: qo }, props: { modelValue: { type: Object, default: null } }, data() {
2268
+ const jl = $({ name: "SubprocessPropertiesEditor", components: { BasicProperties: Wl, SubprocessTransactorSettings: $({ name: "SubprocessTransactorSettings", components: { TransactorSettings: Yo }, props: { modelValue: { type: Object, default: null } }, data() {
2267
2269
  let e2 = false;
2268
2270
  this.modelValue.userCondition && (e2 = true);
2269
2271
  let t2 = x(this.modelValue);
@@ -2275,7 +2277,7 @@
2275
2277
  } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2276
2278
  const a2 = r.resolveComponent("el-switch"), s2 = r.resolveComponent("el-row"), d2 = r.resolveComponent("transactor-settings", true);
2277
2279
  return r.openBlock(), r.createElementBlock("div", null, [r.createVNode(s2, null, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditor.process.setTheHandlerOfTheFirstPhaseOfTheSubProcess")), 1), r.createVNode(a2, { modelValue: i2.model.showTransactorSettings, "onUpdate:modelValue": t2[0] || (t2[0] = (e3) => i2.model.showTransactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }), i2.model.showTransactorSettings ? (r.openBlock(), r.createBlock(d2, { key: 0, "is-subprocess": true, model: i2.model.transactorSettings }, null, 8, ["model"])) : r.createCommentVNode("", true)]);
2278
- }]]), Events: Rl }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), computed: { formModel() {
2280
+ }]]), Events: zl }, props: { model: { type: Object, default: null } }, data: () => ({ activeTab: "basicProperties", dialogVisible: true }), computed: { formModel() {
2279
2281
  return this.model.ref;
2280
2282
  } }, mounted() {
2281
2283
  this.$watch("model.ref.attr.id", function(e2, t2) {
@@ -2287,10 +2289,10 @@
2287
2289
  } } }, [["render", function(e2, t2, o2, l2, i2, n2) {
2288
2290
  const a2 = r.resolveComponent("basic-properties"), s2 = r.resolveComponent("el-tab-pane"), d2 = r.resolveComponent("subprocess-transactor-settings"), c2 = r.resolveComponent("events"), m2 = r.resolveComponent("el-tabs"), u2 = r.resolveComponent("el-dialog");
2289
2291
  return r.openBlock(), r.createBlock(u2, { "model-value": "", title: e2.$t("workflowEditor.process.propertiesOfSubprocesses"), center: true, top: "10vh", "append-to-body": "", class: "properties-editor", onOpen: t2[5] || (t2[5] = (t3) => e2.$emit("open")), onOpend: t2[6] || (t2[6] = (t3) => e2.$emit("opend")), onClose: t2[7] || (t2[7] = (t3) => e2.$emit("close")), onClosed: t2[8] || (t2[8] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createVNode(m2, { modelValue: i2.activeTab, "onUpdate:modelValue": t2[4] || (t2[4] = (e3) => i2.activeTab = e3), type: "border-card", onTabClick: n2.handleClick }, { default: r.withCtx(() => [r.createVNode(s2, { label: e2.$t("workflowEditor.process.basicProperties"), name: "basicProperties" }, { default: r.withCtx(() => [r.createVNode(a2, { id: o2.model.ref.attr.id, "onUpdate:id": t2[0] || (t2[0] = (e3) => o2.model.ref.attr.id = e3), name: o2.model.ref.attr.name, "onUpdate:name": t2[1] || (t2[1] = (e3) => o2.model.ref.attr.name = e3), model: o2.model.ref }, null, 8, ["id", "name", "model"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.settingOfHandler"), name: "transactors" }, { default: r.withCtx(() => [r.createVNode(d2, { modelValue: o2.model.ref.transactorSettings, "onUpdate:modelValue": t2[2] || (t2[2] = (e3) => o2.model.ref.transactorSettings = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"]), r.createVNode(s2, { label: e2.$t("workflowEditor.process.eventProcessing"), name: "events" }, { default: r.withCtx(() => [r.createVNode(c2, { modelValue: o2.model.ref.events, "onUpdate:modelValue": t2[3] || (t2[3] = (e3) => o2.model.ref.events = e3) }, null, 8, ["modelValue"])]), _: 1 }, 8, ["label"])]), _: 1 }, 8, ["modelValue", "onTabClick"])]), _: 1 }, 8, ["title"]);
2290
- }], ["__scopeId", "data-v-bd66d235"]]), Ul = { class: "tooltip" }, Ll = ["innerHTML"];
2291
- const Hl = $({ name: "TacheHistoryTooltip", props: { content: { type: String, default: "" } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2292
- return r.openBlock(), r.createElementBlock("div", Ul, [r.createElementVNode("div", { innerHTML: o2.content }, null, 8, Ll)]);
2293
- }], ["__scopeId", "data-v-ac799913"]]), Wl = { name: "Canvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: tt, VirtualTransition: rt, SelectionRegion: at, HumanTaskPropertiesEditor: hl, ProcessPropertiesEditor: El, DecisionPropertiesEditor: Sl, TransitionPropertiesEditor: Ml, ForkPropertiesEditor: Dl, JoinPropertiesEditor: $l, HumanDecisionPropertiesEditor: Fl, CopyTaskPropertiesEditor: Pl, SubprocessPropertiesEditor: Al, TacheHistoryTooltip: Hl, AutoTask: Ae, AutoTaskPropertiesEditor: Bl }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
2292
+ }], ["__scopeId", "data-v-bd66d235"]]), Jl = { class: "tooltip" }, Gl = ["innerHTML"];
2293
+ const ql = $({ name: "TacheHistoryTooltip", props: { content: { type: String, default: "" } }, methods: {} }, [["render", function(e2, t2, o2, l2, i2, n2) {
2294
+ return r.openBlock(), r.createElementBlock("div", Jl, [r.createElementVNode("div", { innerHTML: o2.content }, null, 8, Gl)]);
2295
+ }], ["__scopeId", "data-v-ac799913"]]), Kl = { name: "Canvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: ot, VirtualTransition: it, SelectionRegion: st, HumanTaskPropertiesEditor: kl, ProcessPropertiesEditor: Fl, DecisionPropertiesEditor: Pl, TransitionPropertiesEditor: Bl, ForkPropertiesEditor: Ol, JoinPropertiesEditor: Il, HumanDecisionPropertiesEditor: _l, CopyTaskPropertiesEditor: Rl, SubprocessPropertiesEditor: jl, TacheHistoryTooltip: ql, AutoTask: Ae, AutoTaskPropertiesEditor: Al }, props: { process: { type: Object, default: null }, showHistory: { type: Boolean, default: false } }, data: function() {
2294
2296
  return { inputArea: null, currentPosition: null, originPosition: null, offset: null, startPoint: null, region: null, endPoint: null, transitionsInRegion: [], showTacheHistory: false, tooltipPosition: null };
2295
2297
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "isMovingTache", "mouseDownPosition", "startJoint", "endJoint", "isDrawingRegion", "isMovingRegion", "selectedTransition", "selectedTaches", "resizerToMove", "draggerToMove", "controlPointToMove", "propertiesEditorFor", "contextMenuVisible"]) }, watch: { propertiesEditorFor(e2, t2) {
2296
2298
  } }, mounted: function() {
@@ -2394,11 +2396,11 @@
2394
2396
  }, updateTacheHistoryTooltipPosition(e2) {
2395
2397
  const t2 = k(e2);
2396
2398
  this.tooltipPosition = { left: t2.x + "px", top: t2.y + "px" };
2397
- } } }, zl = { ref: "svgContainer", style: { position: "relative" } }, jl = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2398
- const Jl = $(Wl, [["render", function(e2, t2, o2, l2, i2, n2) {
2399
+ } } }, Xl = { ref: "svgContainer", style: { position: "relative" } }, Yl = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2400
+ const Ql = $(Kl, [["render", function(e2, t2, o2, l2, i2, n2) {
2399
2401
  const a2 = r.resolveComponent("virtual-transition"), s2 = r.resolveComponent("selection-region"), d2 = r.resolveComponent("tache-history-tooltip");
2400
- return r.openBlock(), r.createElementBlock("div", zl, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)), onDblclick: t2[4] || (t2[4] = (t3) => e2.setPropertiesEditorFor("Process")) }, [jl, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, onMouseenter: n2.showTacheHistoryTooltip, onMouseleave: n2.hideTacheHistoryTooltip, onMousemove: n2.updateTacheHistoryTooltipPosition }, null, 40, ["model", "onMouseenter", "onMouseleave", "onMousemove"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128)), r.createVNode(a2, { toPosition: e2.currentPosition }, null, 8, ["toPosition"]), r.createVNode(s2, { region: e2.region }, null, 8, ["region"])], 32)), !o2.showHistory && e2.propertiesEditorFor ? (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e2.propertiesEditorFor + "PropertiesEditor"), { key: 0, model: e2.selectedTaches[0] || e2.selectedTransition || o2.process, onClose: t2[5] || (t2[5] = (t3) => e2.setPropertiesEditorFor("")) }, null, 40, ["model"])) : r.createCommentVNode("", true), o2.showHistory && e2.showTacheHistory ? (r.openBlock(), r.createBlock(d2, { key: 1, style: r.normalizeStyle(e2.tooltipPosition) }, null, 8, ["style"])) : r.createCommentVNode("", true)], 512);
2401
- }]]), Gl = { name: "ContextMenu", components: { IconSvg: B }, data() {
2402
+ return r.openBlock(), r.createElementBlock("div", Xl, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)), onDblclick: t2[4] || (t2[4] = (t3) => e2.setPropertiesEditorFor("Process")) }, [Yl, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, onMouseenter: n2.showTacheHistoryTooltip, onMouseleave: n2.hideTacheHistoryTooltip, onMousemove: n2.updateTacheHistoryTooltipPosition }, null, 40, ["model", "onMouseenter", "onMouseleave", "onMousemove"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128)), r.createVNode(a2, { toPosition: e2.currentPosition }, null, 8, ["toPosition"]), r.createVNode(s2, { region: e2.region }, null, 8, ["region"])], 32)), !o2.showHistory && e2.propertiesEditorFor ? (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e2.propertiesEditorFor + "PropertiesEditor"), { key: 0, model: e2.selectedTaches[0] || e2.selectedTransition || o2.process, onClose: t2[5] || (t2[5] = (t3) => e2.setPropertiesEditorFor("")) }, null, 40, ["model"])) : r.createCommentVNode("", true), o2.showHistory && e2.showTacheHistory ? (r.openBlock(), r.createBlock(d2, { key: 1, style: r.normalizeStyle(e2.tooltipPosition) }, null, 8, ["style"])) : r.createCommentVNode("", true)], 512);
2403
+ }]]), Zl = { name: "ContextMenu", components: { IconSvg: B }, data() {
2402
2404
  return { menusForTransition: [{ name: "switch-line-type-StraightLine", label: this.$t("workflowEditor.main.straightLine"), icon: "switch" }, { name: "switch-line-type-CurveLine", label: this.$t("workflowEditor.main.curveLine"), icon: "switch" }, { name: "switch-line-type-BrokenLine", label: this.$t("workflowEditor.main.brokenLine"), icon: "switch" }, { name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForTache: [{ name: "remove", label: this.$t("workflowEditor.common.remove"), icon: "delete" }, { name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], menusForProcess: [{ name: "properties", label: this.$t("workflowEditor.common.attribute"), icon: "properties" }], componentsWithoutPropertiesEditor: ["Start", "End"] };
2403
2405
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "selectedTransition", "selectedTaches"]), menuType() {
2404
2406
  let e2 = "";
@@ -2418,10 +2420,10 @@
2418
2420
  this.switchLineType(t2);
2419
2421
  }
2420
2422
  "remove" === e2 && ("Tache" === this.menuType ? this.taches.splice(this.taches.indexOf(this.selectedTaches[0]), 1) : "Transition" === this.menuType && this.transitions.splice(this.transitions.indexOf(this.selectedTransition), 1)), "properties" === e2 && ("Tache" === this.menuType ? this.setPropertiesEditorFor(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type) : "Transition" === this.menuType ? this.setPropertiesEditorFor("Transition") : this.setPropertiesEditorFor("Process")), "copy" === e2 && this.setSourceComponentForCopy(this.componentsWithoutPropertiesEditor.indexOf(this.selectedTaches[0].type) >= 0 ? "" : this.selectedTaches[0].type), this.setContextMenuVisible(false);
2421
- } } }, ql = { class: "context-menu" }, Kl = ["onMousedown"];
2422
- const Xl = { name: "WorkflowEditor", components: { WorkflowCanvas: Jl, Toolbox: _, IconSvg: B, ContextMenu: $(Gl, [["render", function(e2, t2, o2, l2, i2, n2) {
2423
+ } } }, er = { class: "context-menu" }, tr = ["onMousedown"];
2424
+ const or = { name: "WorkflowEditor", components: { WorkflowCanvas: Ql, Toolbox: _, IconSvg: B, ContextMenu: $(Zl, [["render", function(e2, t2, o2, l2, i2, n2) {
2423
2425
  const a2 = r.resolveComponent("icon-svg");
2424
- return r.openBlock(), r.createElementBlock("ul", ql, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.menus, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, onMousedown: r.withModifiers((t3) => n2.execute(e3.name), ["stop"]) }, [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createElementVNode("span", null, r.toDisplayString(e3.label), 1)], 40, Kl))), 128))]);
2426
+ return r.openBlock(), r.createElementBlock("ul", er, [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(n2.menus, (e3) => (r.openBlock(), r.createElementBlock("li", { key: e3.name, onMousedown: r.withModifiers((t3) => n2.execute(e3.name), ["stop"]) }, [r.createVNode(a2, { icon: e3.icon }, null, 8, ["icon"]), r.createElementVNode("span", null, r.toDisplayString(e3.label), 1)], 40, tr))), 128))]);
2425
2427
  }], ["__scopeId", "data-v-7e8a1cf6"]]), AdminSaveDialog: $({ name: "AdminSaveDialog", data: () => ({ dialogVisible: true }), methods: { updateWfVersion() {
2426
2428
  this.$emit("update");
2427
2429
  }, addWfVersion() {
@@ -2485,7 +2487,7 @@
2485
2487
  this.process.attr.name = e2.name, this.process.attr.code = e2.code, this.process.properties.basicProperties.systemCode = e2.systemCode, this.pageCode && (this.process.properties.parameterSettings || (this.process.properties.parameterSettings = {}), this.process.properties.parameterSettings.doTask || (this.process.properties.parameterSettings.doTask = {}), this.process.properties.parameterSettings.doTask.url = "page:" + this.pageCode);
2486
2488
  }, fetchFormFields() {
2487
2489
  const e2 = this.process.properties.basicProperties, t2 = e2.formCode, o2 = e2.formVersion;
2488
- this.tableCode, t2 && "" !== t2 && o2 ? gl.fetchFormFields(e2.formCode, e2.formVersion, null, this.systemPublishVersion) : this.tableCode && gl.fetchFormFields(null, null, this.tableCode, this.systemPublishVersion);
2490
+ this.tableCode, t2 && "" !== t2 && o2 ? yl.fetchFormFields(e2.formCode, e2.formVersion, null, this.systemPublishVersion) : this.tableCode && yl.fetchFormFields(null, null, this.tableCode, this.systemPublishVersion);
2489
2491
  }, packageUrlParam: (e2, t2, o2, l2) => (t2 ? e2 = e2 + "?id=" + t2 : o2 && (e2 = e2 + "?code=" + o2 + "&version=" + l2), e2), getProcessXml() {
2490
2492
  const e2 = { start: [], humanTask: [], decision: [], transition: [], fork: [], join: [], subprocess: [], humanDecision: [], copyTask: [], autoTask: [], end: [] };
2491
2493
  e2.attr = this.process.attr, e2.properties = this.process.properties, this.taches.map((t3) => {
@@ -2613,18 +2615,82 @@
2613
2615
  this.definitionId && this.$http.put(this.baseAPI + "/wf-editor/workflow-editors/" + this.definitionId + "/states").then(() => {
2614
2616
  this.getWorkflowDefVersionList(), this.isShowEnable = false, this.$alert(this.$t("workflowEditorMessage.enabledSuccessfully"));
2615
2617
  });
2616
- } } }, Yl = { style: { width: "100%", height: "100%", background: "#fff" } }, Ql = { key: 0, class: "xml line-numbers" };
2617
- const Zl = $(Xl, [["render", function(e2, t2, o2, l2, i2, n2) {
2618
+ } } }, lr = { style: { width: "100%", height: "100%", background: "#fff" } }, rr = { key: 0, class: "xml line-numbers" };
2619
+ const ir = $(or, [["render", function(e2, t2, o2, l2, i2, n2) {
2618
2620
  const a2 = r.resolveComponent("el-button"), s2 = r.resolveComponent("el-option"), d2 = r.resolveComponent("el-select"), c2 = r.resolveComponent("el-row"), m2 = r.resolveComponent("toolbox"), u2 = r.resolveComponent("workflow-canvas"), p2 = r.resolveComponent("el-tab-pane"), h2 = r.resolveComponent("el-tabs"), f2 = r.resolveComponent("icon-svg"), w2 = r.resolveComponent("context-menu"), g2 = r.resolveComponent("admin-save-dialog"), C2 = r.resolveDirective("permission");
2619
- return r.openBlock(), r.createElementBlock("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)) }, [r.createVNode(c2, { class: "button-area" }, { default: r.withCtx(() => [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), o2.readonly ? r.createCommentVNode("", true) : r.withDirectives((r.openBlock(), r.createBlock(a2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[C2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (r.openBlock(), r.createBlock(a2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : r.createCommentVNode("", true), r.createVNode(a2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.open")) + " ", 1), r.createElementVNode("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"])), r.createVNode(a2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (r.openBlock(), r.createBlock(d2, { 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: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.workflowDefVersionList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }), r.createElementVNode("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)) }, [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(m2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (r.openBlock(), r.createElementBlock("section", { class: "tabBox", key: e2.canvasKey }, [r.createVNode(h2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: r.withCtx(() => [r.createVNode(p2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: r.withCtx(() => [r.createVNode(u2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), r.createVNode(p2, { label: "XML", name: "xml", class: "tab-pane" }, { default: r.withCtx(() => [r.createElementVNode("div", Yl, ["xml" === e2.activeTab ? (r.openBlock(), r.createElementBlock("pre", Ql, [r.createElementVNode("code", { ref: "xml", class: "language-xml" }, r.toDisplayString(e2.xml), 513)])) : r.createCommentVNode("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (r.openBlock(), r.createBlock(f2, { key: 0, style: r.normalizeStyle({ 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"])) : r.createCommentVNode("", true), e2.contextMenuVisible ? (r.openBlock(), r.createBlock(w2, { key: 1, style: r.normalizeStyle({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : r.createCommentVNode("", true), e2.isAdminSave ? (r.openBlock(), r.createBlock(g2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : r.createCommentVNode("", true)], 544);
2620
- }], ["__scopeId", "data-v-865cb4ee"]]);
2621
- Zl.install = function(e2) {
2622
- e2.component(Zl.name, Zl);
2623
- };
2624
- const er = { WorkflowEditor: Zl }, tr = ["src"];
2625
- const or = { name: "WfHistoryCanvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: tt, TacheHistoryTooltip: Hl, TacheSubprocessHistoryDialog: $({ name: "TacheSubprocessHistoryDialog", props: { workflowId: { type: Number, default: null } }, data: () => ({ dialogVisible: true }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
2621
+ return r.openBlock(), r.createElementBlock("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)) }, [r.createVNode(c2, { class: "button-area" }, { default: r.withCtx(() => [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 0, type: "primary", onClick: n2.saveXml }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.save")), 1)]), _: 1 }, 8, ["onClick"])), o2.readonly ? r.createCommentVNode("", true) : r.withDirectives((r.openBlock(), r.createBlock(a2, { key: 1, class: "button--default", onClick: n2.adminSave }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.adminSave")), 1)]), _: 1 }, 8, ["onClick"])), [[C2, "wf.workflowDefinition.adminSave"]]), e2.isShowEnable ? (r.openBlock(), r.createBlock(a2, { key: 2, class: "button--default", onClick: n2.enableWf }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.enable")), 1)]), _: 1 }, 8, ["onClick"])) : r.createCommentVNode("", true), r.createVNode(a2, { class: "button--default", onClick: n2.exportProcessFromClient }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.export")), 1)]), _: 1 }, 8, ["onClick"]), o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(a2, { key: 3, class: "button--default", onClick: n2.selectProcessFile }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.open")) + " ", 1), r.createElementVNode("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"])), r.createVNode(a2, { type: "primary", class: "button--return", onClick: t2[1] || (t2[1] = (t3) => e2.$emit("back")) }, { default: r.withCtx(() => [r.createTextVNode(r.toDisplayString(e2.$t("workflowEditorPublicModel.return")), 1)]), _: 1 }), e2.isShowDefVersionList ? (r.openBlock(), r.createBlock(d2, { 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: r.withCtx(() => [(r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.workflowDefVersionList, (e3) => (r.openBlock(), r.createBlock(s2, { key: e3.definitionVersion, label: e3.definitionVersion, value: e3.definitionVersion }, null, 8, ["label", "value"]))), 128))]), _: 1 }, 8, ["modelValue", "onChange"])) : r.createCommentVNode("", true)]), _: 1 }), r.createElementVNode("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)) }, [o2.readonly ? r.createCommentVNode("", true) : (r.openBlock(), r.createBlock(m2, { key: 0, class: "toolbox", onselectstart: "return false", oncontextmenu: "return false" })), (r.openBlock(), r.createElementBlock("section", { class: "tabBox", key: e2.canvasKey }, [r.createVNode(h2, { modelValue: e2.activeTab, "onUpdate:modelValue": t2[3] || (t2[3] = (t3) => e2.activeTab = t3), class: "tabs" }, { default: r.withCtx(() => [r.createVNode(p2, { label: e2.$t("workflowEditorPublicModel.flowChart"), name: "canvas", class: "tab-pane" }, { default: r.withCtx(() => [r.createVNode(u2, { onselectstart: "return false", process: e2.process, class: "canvas", onMouseup: n2.addTache, onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "onMouseup", "onContextmenu"])]), _: 1 }, 8, ["label"]), r.createVNode(p2, { label: "XML", name: "xml", class: "tab-pane" }, { default: r.withCtx(() => [r.createElementVNode("div", lr, ["xml" === e2.activeTab ? (r.openBlock(), r.createElementBlock("pre", rr, [r.createElementVNode("code", { ref: "xml", class: "language-xml" }, r.toDisplayString(e2.xml), 513)])) : r.createCommentVNode("", true)])]), _: 1 })]), _: 1 }, 8, ["modelValue"])]))], 32), e2.componentToDraw ? (r.openBlock(), r.createBlock(f2, { key: 0, style: r.normalizeStyle({ 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"])) : r.createCommentVNode("", true), e2.contextMenuVisible ? (r.openBlock(), r.createBlock(w2, { key: 1, style: r.normalizeStyle({ position: "absolute", left: e2.contextMenuPosition.x + "px", top: e2.contextMenuPosition.y + "px" }) }, null, 8, ["style"])) : r.createCommentVNode("", true), e2.isAdminSave ? (r.openBlock(), r.createBlock(g2, { key: 2, onClose: t2[8] || (t2[8] = (t3) => e2.isAdminSave = false), onUpdate: n2.updateWfVersion, onAdd: n2.addWfVersion }, null, 8, ["onUpdate", "onAdd"])) : r.createCommentVNode("", true)], 544);
2622
+ }], ["__scopeId", "data-v-865cb4ee"]]), nr = { 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: { taches: (e2) => e2.taches, transitions: (e2) => e2.transitions, startJoint: (e2) => e2.startJoint, endJoint: (e2) => e2.endJoint, isMovingTache: (e2) => e2.isMovingTache, mouseDownPosition: (e2) => e2.mouseDownPosition, isDrawingRegion: (e2) => e2.isDrawingRegion, isMovingRegion: (e2) => e2.isMovingRegion, selectedTaches: (e2) => e2.selectedTaches, selectedTransition: (e2) => e2.selectedTransition, resizerToMove: (e2) => e2.resizerToMove, draggerToMove: (e2) => e2.draggerToMove, propertiesEditorFor: (e2) => e2.propertiesEditorFor, componentToDraw: (e2) => e2.componentToDraw, controlPointToMove: (e2) => e2.controlPointToMove, formFields: (e2) => e2.formFields, formCode: (e2) => e2.formCode, formFieldsWithSub: (e2) => e2.formFieldsWithSub, contextMenuVisible: (e2) => e2.contextMenuVisible, systemCode: (e2) => e2.systemCode, processCode: (e2) => e2.processCode, processI18n: (e2) => e2.processI18n, subtableConditionMap: (e2) => e2.subtableConditionMap, propSettingKeyList: (e2) => e2.propSettingKeyList, systemVersion: (e2) => e2.systemVersion, tableCode: (e2) => e2.tableCode, isHandleCreate: (e2) => e2.isHandleCreate, isCreateDefinition: (e2) => e2.isCreateDefinition, pageCode: (e2) => e2.pageCode, sourceComponentType: (e2) => e2.sourceComponentType }, mutations: { setTaches(e2, t2) {
2623
+ e2.taches = t2;
2624
+ }, setTransitions(e2, t2) {
2625
+ e2.transitions = t2;
2626
+ }, clearCanvas(e2) {
2627
+ e2.taches = [], e2.transitions = [];
2628
+ }, resetState(e2) {
2629
+ e2.isMovingTache = false, e2.startJoint = null, e2.endJoint = null, e2.isDrawingRegion = false, e2.isMovingRegion = false, e2.resizerToMove = null, e2.draggerToMove = null, e2.controlPointToMove = null;
2630
+ }, stopDrawingLine(e2) {
2631
+ e2.startJoint = null, e2.endJoint = null;
2632
+ }, setStartJoint(e2, t2) {
2633
+ e2.startJoint = t2;
2634
+ }, setEndJoint(e2, t2) {
2635
+ e2.endJoint = t2;
2636
+ }, setMovingTache(e2, t2) {
2637
+ e2.isMovingTache = t2;
2638
+ }, setMouseDownPosition(e2, t2) {
2639
+ e2.mouseDownPosition = t2;
2640
+ }, setDrawingRegion(e2, t2) {
2641
+ e2.isDrawingRegion = t2;
2642
+ }, setMovingRegion(e2, t2) {
2643
+ e2.isMovingRegion = t2;
2644
+ }, setSelectedTaches(e2, t2) {
2645
+ e2.selectedTaches = t2;
2646
+ }, setSelectedTransition(e2, t2) {
2647
+ e2.selectedTransition = t2;
2648
+ }, setResizerToMove(e2, t2) {
2649
+ e2.resizerToMove = t2;
2650
+ }, setDraggerToMove(e2, t2) {
2651
+ e2.draggerToMove = t2;
2652
+ }, setPropertiesEditorFor(e2, t2) {
2653
+ e2.propertiesEditorFor = t2;
2654
+ }, setComponentToDraw(e2, t2) {
2655
+ e2.componentToDraw = t2;
2656
+ }, setControlPointToMove(e2, t2) {
2657
+ e2.controlPointToMove = t2;
2658
+ }, setFormFields(e2, t2) {
2659
+ e2.formFields = t2;
2660
+ }, setFormCode(e2, t2) {
2661
+ e2.formCode = t2;
2662
+ }, setFormFieldsWithSub(e2, t2) {
2663
+ e2.formFieldsWithSub = t2;
2664
+ }, setContextMenuVisible(e2, t2) {
2665
+ e2.contextMenuVisible = t2;
2666
+ }, setSystemCode(e2, t2) {
2667
+ e2.systemCode = t2;
2668
+ }, setProcessCode(e2, t2) {
2669
+ e2.processCode = t2;
2670
+ }, setProcessI18n(e2, t2) {
2671
+ e2.processI18n = t2;
2672
+ }, setSubtableConditionMap(e2, t2) {
2673
+ e2.subtableConditionMap = t2;
2674
+ }, setPropSettingKeyList(e2, t2) {
2675
+ e2.propSettingKeyList = t2;
2676
+ }, setSystemVersion(e2, t2) {
2677
+ e2.systemVersion = t2;
2678
+ }, setTableCode(e2, t2) {
2679
+ e2.tableCode = t2;
2680
+ }, setTableCode(e2, t2) {
2681
+ e2.tableCode = t2;
2682
+ }, setIsCreateDefinition(e2, t2) {
2683
+ e2.isCreateDefinition = t2;
2684
+ }, setIsHandleCreate(e2, t2) {
2685
+ e2.isHandleCreate = t2;
2686
+ }, setPageCode(e2, t2) {
2687
+ e2.pageCode = t2;
2688
+ }, setSourceComponentForCopy(e2, t2) {
2689
+ e2.sourceComponentType = t2;
2690
+ } } }, ar = ["src"];
2691
+ const sr = { name: "WfHistoryCanvas", components: { Start: J, End: X, HumanTask: le, Decision: se, Subprocess: ue, CustomTask: we, Fork: Ve, Join: xe, HumanDecision: $e, CopyTask: Oe, Transition: ot, TacheHistoryTooltip: ql, TacheSubprocessHistoryDialog: $({ name: "TacheSubprocessHistoryDialog", props: { workflowId: { type: Number, default: null } }, data: () => ({ dialogVisible: true }) }, [["render", function(e2, t2, o2, l2, i2, n2) {
2626
2692
  const a2 = r.resolveComponent("el-dialog");
2627
- return r.openBlock(), r.createBlock(a2, { "model-value": "", title: e2.$t("workflowEditorPublicModel.subprocessTitle"), "close-on-click-modal": false, "append-to-body": "", width: "90%", top: "5vh", onOpen: t2[0] || (t2[0] = (t3) => e2.$emit("open")), onOpend: t2[1] || (t2[1] = (t3) => e2.$emit("opend")), onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("iframe", { id: "_subprocess-content", src: "#/show-sub-wf-history?workflowId=" + o2.workflowId, name: "_subprocess-content", title: "Subprocess Content", frameborder: "0" }, null, 8, tr)]), _: 1 }, 8, ["title"]);
2693
+ return r.openBlock(), r.createBlock(a2, { "model-value": "", title: e2.$t("workflowEditorPublicModel.subprocessTitle"), "close-on-click-modal": false, "append-to-body": "", width: "90%", top: "5vh", onOpen: t2[0] || (t2[0] = (t3) => e2.$emit("open")), onOpend: t2[1] || (t2[1] = (t3) => e2.$emit("opend")), onClose: t2[2] || (t2[2] = (t3) => e2.$emit("close")), onClosed: t2[3] || (t2[3] = (t3) => e2.$emit("closed")) }, { default: r.withCtx(() => [r.createElementVNode("iframe", { id: "_subprocess-content", src: "#/show-sub-wf-history?workflowId=" + o2.workflowId, name: "_subprocess-content", title: "Subprocess Content", frameborder: "0" }, null, 8, ar)]), _: 1 }, 8, ["title"]);
2628
2694
  }], ["__scopeId", "data-v-2b195c05"]]), AutoTask: Ae }, props: { process: { type: Object, default: null }, histories: { type: Array, default: null }, currentTasks: { type: Array, default: null }, allProcessI18n: { type: Object, default: null } }, data: function() {
2629
2695
  return { showHistory: false, tooltipPosition: null, tacheHistoryInfo: null, showSubprocessDialog: false, subWorkflowId: null };
2630
2696
  }, computed: { ...t.mapGetters("wfEditor", ["taches", "transitions", "processI18n"]) }, mounted: function() {
@@ -2683,18 +2749,18 @@
2683
2749
  t2 && void 0 !== t2.hasChildren && true === t2.hasChildren && (t2.children && t2.children.length > 0 && (this.subWorkflowId = t2.children[0].workflowId), this.showSubprocessDialog = true);
2684
2750
  }, closeSubprocessHistory() {
2685
2751
  this.showSubprocessDialog = false;
2686
- } } }, lr = { ref: "svgContainer", style: { position: "relative" } }, rr = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2687
- const ir = $(or, [["render", function(e2, t2, o2, l2, i2, n2) {
2752
+ } } }, dr = { ref: "svgContainer", style: { position: "relative" } }, cr = r.createElementVNode("defs", null, [r.createElementVNode("marker", { id: "arrow", markerWidth: "10", markerHeight: "10", refX: "6", refY: "2", orient: "auto", markerUnits: "strokeWidth" }, [r.createElementVNode("path", { d: "M0,0 L0,4 L6,2 z", fill: "#666" })])], -1);
2753
+ const mr = $(sr, [["render", function(e2, t2, o2, l2, i2, n2) {
2688
2754
  const a2 = r.resolveComponent("tache-history-tooltip"), s2 = r.resolveComponent("tache-subprocess-history-dialog");
2689
- return r.openBlock(), r.createElementBlock("div", lr, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)) }, [rr, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, class: r.normalizeClass([n2.getTacheClass(e3)]), "display-mode": e3.displayMode, onMouseenter: (t3) => n2.showTacheHistoryTooltip(e3, t3), onMouseleave: (t3) => n2.hideTacheHistoryTooltip(e3), onMousemove: n2.updateTacheHistoryTooltipPosition, onClick: (t3) => n2.showSubprocessHistory(e3) }, null, 40, ["model", "class", "display-mode", "onMouseenter", "onMouseleave", "onMousemove", "onClick"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128))], 32)), e2.showHistory && e2.tacheHistoryInfo ? (r.openBlock(), r.createBlock(a2, { key: 0, style: r.normalizeStyle(e2.tooltipPosition), content: e2.tacheHistoryInfo }, null, 8, ["style", "content"])) : r.createCommentVNode("", true), e2.showSubprocessDialog ? (r.openBlock(), r.createBlock(s2, { key: 1, "workflow-id": e2.subWorkflowId, onClose: n2.closeSubprocessHistory }, null, 8, ["workflow-id", "onClose"])) : r.createCommentVNode("", true)], 512);
2690
- }]]), nr = { refresh() {
2755
+ return r.openBlock(), r.createElementBlock("div", dr, [(r.openBlock(), r.createElementBlock("svg", { id: "svg", width: "2000", height: "2000", onMousedown: t2[0] || (t2[0] = (...e3) => n2.mousedown && n2.mousedown(...e3)), onMousemove: t2[1] || (t2[1] = (...e3) => n2.mousemove && n2.mousemove(...e3)), onMouseup: t2[2] || (t2[2] = (...e3) => n2.mouseup && n2.mouseup(...e3)), onMouseleave: t2[3] || (t2[3] = (...e3) => n2.mouseleave && n2.mouseleave(...e3)) }, [cr, (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.taches, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent(e3.type), { key: e3.id, model: e3, class: r.normalizeClass([n2.getTacheClass(e3)]), "display-mode": e3.displayMode, onMouseenter: (t3) => n2.showTacheHistoryTooltip(e3, t3), onMouseleave: (t3) => n2.hideTacheHistoryTooltip(e3), onMousemove: n2.updateTacheHistoryTooltipPosition, onClick: (t3) => n2.showSubprocessHistory(e3) }, null, 40, ["model", "class", "display-mode", "onMouseenter", "onMouseleave", "onMousemove", "onClick"]))), 128)), (r.openBlock(true), r.createElementBlock(r.Fragment, null, r.renderList(e2.transitions, (e3) => (r.openBlock(), r.createBlock(r.resolveDynamicComponent("transition"), { key: e3.id, model: e3 }, null, 8, ["model"]))), 128))], 32)), e2.showHistory && e2.tacheHistoryInfo ? (r.openBlock(), r.createBlock(a2, { key: 0, style: r.normalizeStyle(e2.tooltipPosition), content: e2.tacheHistoryInfo }, null, 8, ["style", "content"])) : r.createCommentVNode("", true), e2.showSubprocessDialog ? (r.openBlock(), r.createBlock(s2, { key: 1, "workflow-id": e2.subWorkflowId, onClose: n2.closeSubprocessHistory }, null, 8, ["workflow-id", "onClose"])) : r.createCommentVNode("", true)], 512);
2756
+ }]]), ur = { refresh() {
2691
2757
  this.showHistory();
2692
- } }, ar = { name: "WorkflowHistory", components: { WfHistoryCanvas: ir }, props: { id: { type: Number, default: null } }, data: function() {
2758
+ } }, pr = { name: "WorkflowHistory", components: { WfHistoryCanvas: mr }, props: { id: { type: Number, default: null } }, data: function() {
2693
2759
  return { process: null, histories: [], currentTasks: [], allProcessI18n: null };
2694
2760
  }, computed: { ...t.mapGetters("wfEditor", ["componentToDraw", "taches", "transitions", "contextMenuVisible"]), ...t.mapGetters(["sidebar"]) }, watch: {}, created: function() {
2695
2761
  this.showHistory();
2696
2762
  }, mounted: function() {
2697
- }, methods: { ...nr, ...t.mapMutations("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
2763
+ }, methods: { ...ur, ...t.mapMutations("wfEditor", ["setComponentToDraw", "clearCanvas", "setContextMenuVisible", "setProcessI18n"]), showHistory() {
2698
2764
  this.clearCanvas(), this.id ? this.$http.get(this.baseAPI + "/wf-editor/i18n-settings/get-bundle-info?workflowId=" + this.id).then((e2) => {
2699
2765
  this.allProcessI18n = e2;
2700
2766
  const t2 = this.baseAPI + "/wf-editor/instance-histories/" + this.id;
@@ -2707,88 +2773,20 @@
2707
2773
  }, initProcessByXml(e2) {
2708
2774
  const t2 = n.xml2js(e2, { nativeType: true, attributesKey: "attr", compact: true, ignoreComment: true, spaces: 4 });
2709
2775
  V(t2.process), this.process = t2.process, v(this.process);
2710
- } } }, sr = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, dr = { class: "main" };
2711
- const cr = $(ar, [["render", function(e2, t2, o2, l2, i2, n2) {
2776
+ } } }, hr = { ref: "wfEditor", style: { position: "relative", height: "100%" } }, fr = { class: "main" };
2777
+ const wr = $(pr, [["render", function(e2, t2, o2, l2, i2, n2) {
2712
2778
  const a2 = r.resolveComponent("wf-history-canvas");
2713
- return r.openBlock(), r.createElementBlock("div", sr, [r.createElementVNode("div", dr, [r.createElementVNode("section", null, [r.createVNode(a2, { onselectstart: "return false", process: e2.process, histories: e2.histories, "current-tasks": e2.currentTasks, "all-process-i18n": e2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
2714
- }], ["__scopeId", "data-v-14c5e870"]]);
2715
- cr.install = function(e2) {
2716
- e2.component(cr.name, cr);
2779
+ return r.openBlock(), r.createElementBlock("div", hr, [r.createElementVNode("div", fr, [r.createElementVNode("section", null, [r.createVNode(a2, { onselectstart: "return false", process: e2.process, histories: e2.histories, "current-tasks": e2.currentTasks, "all-process-i18n": e2.allProcessI18n, "show-history": true, class: "canvas", onContextmenu: r.withModifiers(n2.showContextMenu, ["prevent"]) }, null, 8, ["process", "histories", "current-tasks", "all-process-i18n", "onContextmenu"])])])], 512);
2780
+ }], ["__scopeId", "data-v-6658e14b"]]);
2781
+ ir.install = function(e2) {
2782
+ e2.component(ir.name, ir), e2.component(wr.name, wr);
2717
2783
  };
2718
- const mr = { WorkflowHistory: cr }, ur = { 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: { taches: (e2) => e2.taches, transitions: (e2) => e2.transitions, startJoint: (e2) => e2.startJoint, endJoint: (e2) => e2.endJoint, isMovingTache: (e2) => e2.isMovingTache, mouseDownPosition: (e2) => e2.mouseDownPosition, isDrawingRegion: (e2) => e2.isDrawingRegion, isMovingRegion: (e2) => e2.isMovingRegion, selectedTaches: (e2) => e2.selectedTaches, selectedTransition: (e2) => e2.selectedTransition, resizerToMove: (e2) => e2.resizerToMove, draggerToMove: (e2) => e2.draggerToMove, propertiesEditorFor: (e2) => e2.propertiesEditorFor, componentToDraw: (e2) => e2.componentToDraw, controlPointToMove: (e2) => e2.controlPointToMove, formFields: (e2) => e2.formFields, formCode: (e2) => e2.formCode, formFieldsWithSub: (e2) => e2.formFieldsWithSub, contextMenuVisible: (e2) => e2.contextMenuVisible, systemCode: (e2) => e2.systemCode, processCode: (e2) => e2.processCode, processI18n: (e2) => e2.processI18n, subtableConditionMap: (e2) => e2.subtableConditionMap, propSettingKeyList: (e2) => e2.propSettingKeyList, systemVersion: (e2) => e2.systemVersion, tableCode: (e2) => e2.tableCode, isHandleCreate: (e2) => e2.isHandleCreate, isCreateDefinition: (e2) => e2.isCreateDefinition, pageCode: (e2) => e2.pageCode, sourceComponentType: (e2) => e2.sourceComponentType }, mutations: { setTaches(e2, t2) {
2719
- e2.taches = t2;
2720
- }, setTransitions(e2, t2) {
2721
- e2.transitions = t2;
2722
- }, clearCanvas(e2) {
2723
- e2.taches = [], e2.transitions = [];
2724
- }, resetState(e2) {
2725
- e2.isMovingTache = false, e2.startJoint = null, e2.endJoint = null, e2.isDrawingRegion = false, e2.isMovingRegion = false, e2.resizerToMove = null, e2.draggerToMove = null, e2.controlPointToMove = null;
2726
- }, stopDrawingLine(e2) {
2727
- e2.startJoint = null, e2.endJoint = null;
2728
- }, setStartJoint(e2, t2) {
2729
- e2.startJoint = t2;
2730
- }, setEndJoint(e2, t2) {
2731
- e2.endJoint = t2;
2732
- }, setMovingTache(e2, t2) {
2733
- e2.isMovingTache = t2;
2734
- }, setMouseDownPosition(e2, t2) {
2735
- e2.mouseDownPosition = t2;
2736
- }, setDrawingRegion(e2, t2) {
2737
- e2.isDrawingRegion = t2;
2738
- }, setMovingRegion(e2, t2) {
2739
- e2.isMovingRegion = t2;
2740
- }, setSelectedTaches(e2, t2) {
2741
- e2.selectedTaches = t2;
2742
- }, setSelectedTransition(e2, t2) {
2743
- e2.selectedTransition = t2;
2744
- }, setResizerToMove(e2, t2) {
2745
- e2.resizerToMove = t2;
2746
- }, setDraggerToMove(e2, t2) {
2747
- e2.draggerToMove = t2;
2748
- }, setPropertiesEditorFor(e2, t2) {
2749
- e2.propertiesEditorFor = t2;
2750
- }, setComponentToDraw(e2, t2) {
2751
- e2.componentToDraw = t2;
2752
- }, setControlPointToMove(e2, t2) {
2753
- e2.controlPointToMove = t2;
2754
- }, setFormFields(e2, t2) {
2755
- e2.formFields = t2;
2756
- }, setFormCode(e2, t2) {
2757
- e2.formCode = t2;
2758
- }, setFormFieldsWithSub(e2, t2) {
2759
- e2.formFieldsWithSub = t2;
2760
- }, setContextMenuVisible(e2, t2) {
2761
- e2.contextMenuVisible = t2;
2762
- }, setSystemCode(e2, t2) {
2763
- e2.systemCode = t2;
2764
- }, setProcessCode(e2, t2) {
2765
- e2.processCode = t2;
2766
- }, setProcessI18n(e2, t2) {
2767
- e2.processI18n = t2;
2768
- }, setSubtableConditionMap(e2, t2) {
2769
- e2.subtableConditionMap = t2;
2770
- }, setPropSettingKeyList(e2, t2) {
2771
- e2.propSettingKeyList = t2;
2772
- }, setSystemVersion(e2, t2) {
2773
- e2.systemVersion = t2;
2774
- }, setTableCode(e2, t2) {
2775
- e2.tableCode = t2;
2776
- }, setTableCode(e2, t2) {
2777
- e2.tableCode = t2;
2778
- }, setIsCreateDefinition(e2, t2) {
2779
- e2.isCreateDefinition = t2;
2780
- }, setIsHandleCreate(e2, t2) {
2781
- e2.isHandleCreate = t2;
2782
- }, setPageCode(e2, t2) {
2783
- e2.pageCode = t2;
2784
- }, setSourceComponentForCopy(e2, t2) {
2785
- e2.sourceComponentType = t2;
2786
- } } };
2787
- function pr(e2, t2) {
2784
+ const gr = { WorkflowEditor: ir, WorkflowHistory: wr, wfEditorStore: nr };
2785
+ function Cr(e2, t2) {
2788
2786
  const o2 = {}, l2 = e2.dataType;
2789
- return "DATE" === l2 || "TIME" === l2 ? (o2.type = "date", hr(o2), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeADate")) : "INTEGER" === l2 || "LONG" === l2 ? (o2.pattern = /^-?\d+$/, o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : "FLOAT" === l2 || "DOUBLE" === l2 ? (o2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeDecimal")) : "BOOLEAN" === l2 ? (o2.type = "boolean", o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), hr(o2)) : o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), e2.canEdit && (o2.required = true, o2.trigger = "blur"), e2.rowIndexes && (o2.rowIndexes = e2.rowIndexes), e2.condition && (o2.condition = e2.condition), t2[e2.name] = e2.dataType, o2;
2787
+ return "DATE" === l2 || "TIME" === l2 ? (o2.type = "date", kr(o2), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeADate")) : "INTEGER" === l2 || "LONG" === l2 ? (o2.pattern = /^-?\d+$/, o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : "FLOAT" === l2 || "DOUBLE" === l2 ? (o2.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o2.message = e2.label + " " + w().t("workflowEditorMessage.requiredAndMustBeDecimal")) : "BOOLEAN" === l2 ? (o2.type = "boolean", o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), kr(o2)) : o2.message = e2.label + " " + w().t("workflowEditorMessage.mustFill"), e2.canEdit && (o2.required = true, o2.trigger = "blur"), e2.rowIndexes && (o2.rowIndexes = e2.rowIndexes), e2.condition && (o2.condition = e2.condition), t2[e2.name] = e2.dataType, o2;
2790
2788
  }
2791
- function hr(e2) {
2789
+ function kr(e2) {
2792
2790
  e2 && e2.type && "boolean" === e2.type ? e2.validator = function(e3, t2, o2) {
2793
2791
  return null == t2 ? !e3.required : "number" == typeof t2 && (1 === t2 || 0 === t2) || "boolean" == typeof t2 && (true === t2 || false === t2);
2794
2792
  } : e2 && e2.type && "date" === e2.type && (e2.validator = function(e3, t2, o2) {
@@ -2800,7 +2798,7 @@
2800
2798
  }
2801
2799
  });
2802
2800
  }
2803
- function fr(e2, t2, o2) {
2801
+ function br(e2, t2, o2) {
2804
2802
  let l2;
2805
2803
  for (let r2 = 0; r2 < t2.length; r2++) {
2806
2804
  const i2 = t2[r2];
@@ -2809,7 +2807,7 @@
2809
2807
  }
2810
2808
  return l2;
2811
2809
  }
2812
- function wr(e2, t2, o2) {
2810
+ function Vr(e2, t2, o2) {
2813
2811
  let l2;
2814
2812
  for (let r2 = 0; r2 < t2.length; r2++)
2815
2813
  if (l2 = 0 === r2 ? e2[t2[r2]] : l2.fields[t2[r2]], r2 !== t2.length - 1) {
@@ -2818,7 +2816,7 @@
2818
2816
  }
2819
2817
  return l2;
2820
2818
  }
2821
- function gr(e2, t2, o2, l2, r2) {
2819
+ function yr(e2, t2, o2, l2, r2) {
2822
2820
  let i2 = e2.name;
2823
2821
  const n2 = i2.substring(0, i2.indexOf("."));
2824
2822
  if (o2) {
@@ -2846,19 +2844,19 @@
2846
2844
  const i4 = n3[o4];
2847
2845
  let a2;
2848
2846
  if (o4 === n3.length - 1)
2849
- a2 = wr(r3, n3, i4), a2.fields[i4] = pr(e3, l4);
2847
+ a2 = Vr(r3, n3, i4), a2.fields[i4] = Cr(e3, l4);
2850
2848
  else {
2851
2849
  let e4;
2852
- 0 === o4 ? a2 = t3 : (e4 = fr(r3, n3, n3[o4 - 1]), a2 = e4.fields), a2[i4] || (a2[i4] = { type: "object", required: true, fields: {} }), 0 === o4 ? r3[i4] = a2[i4] : e4.fields[i4] = a2[i4];
2850
+ 0 === o4 ? a2 = t3 : (e4 = br(r3, n3, n3[o4 - 1]), a2 = e4.fields), a2[i4] || (a2[i4] = { type: "object", required: true, fields: {} }), 0 === o4 ? r3[i4] = a2[i4] : e4.fields[i4] = a2[i4];
2853
2851
  }
2854
2852
  }
2855
2853
  }(e2, t2, 0, r2);
2856
2854
  }
2857
2855
  }
2858
- function Cr(e2, t2, o2, l2, r2, i2, n2) {
2859
- return kr(e2, t2, o2, true, l2, r2, i2, n2);
2856
+ function vr(e2, t2, o2, l2, r2, i2, n2) {
2857
+ return Tr(e2, t2, o2, true, l2, r2, i2, n2);
2860
2858
  }
2861
- function kr(e2, t2, o2, l2, r2, i2, n2, a2) {
2859
+ function Tr(e2, t2, o2, l2, r2, i2, n2, a2) {
2862
2860
  let s2 = false;
2863
2861
  let c2;
2864
2862
  if (new d(t2).validate(e2, { first: true }, (a3, d2) => {
@@ -2870,7 +2868,7 @@
2870
2868
  if (c2 && true === l2) {
2871
2869
  if (void 0 !== r2 && true === r2 && /[A-Z]+/.test(c2) && void 0 !== e2[c2.toLowerCase()]) {
2872
2870
  const l3 = JSON.parse(JSON.stringify(e2));
2873
- l3[c2.toUpperCase()] = e2[c2.toLowerCase()], delete l3[c2.toLowerCase()], s2 = kr(l3, t2, o2, false, r2, i2, n2);
2871
+ l3[c2.toUpperCase()] = e2[c2.toLowerCase()], delete l3[c2.toLowerCase()], s2 = Tr(l3, t2, o2, false, r2, i2, n2);
2874
2872
  }
2875
2873
  }
2876
2874
  }), a2) {
@@ -2879,7 +2877,7 @@
2879
2877
  }
2880
2878
  return s2;
2881
2879
  }
2882
- function br(e2, t2, l2, r2, i2, n2, a2, s2, d2) {
2880
+ function Nr(e2, t2, l2, r2, i2, n2, a2, s2, d2) {
2883
2881
  const c2 = function(e3) {
2884
2882
  return e3 && e3.id ? e3.id : e3 && e3.ID ? e3.ID : void 0;
2885
2883
  }(l2), m2 = {};
@@ -2898,15 +2896,15 @@
2898
2896
  }
2899
2897
  return m2;
2900
2898
  }
2901
- function Vr(e2, t2, o2) {
2899
+ function xr(e2, t2, o2) {
2902
2900
  let l2 = t2[o2];
2903
2901
  return l2 || (l2 = []), 0 !== l2.length || !e2 || !e2[o2] || void 0 === e2[o2].required || true !== e2[o2].required || e2[o2].message;
2904
2902
  }
2905
- const yr = function(e2, t2, o2, l2, r2, i2, n2, a2) {
2903
+ const Er = function(e2, t2, o2, l2, r2, i2, n2, a2) {
2906
2904
  const s2 = Object.keys(t2);
2907
2905
  if (s2.indexOf("rules") >= 0 && s2.indexOf("subRules") >= 0 && s2.indexOf("totalSubRules") >= 0) {
2908
2906
  const s3 = t2.rules, d2 = t2.subRules, c2 = t2.totalSubRules, m2 = t2.dataTypeMap;
2909
- let u2 = Cr(e2, s3, null, o2, null, null, a2);
2907
+ let u2 = vr(e2, s3, null, o2, null, null, a2);
2910
2908
  return (!a2 && true === u2 || a2 && true === u2.msg) && (d2 || c2) && (u2 = function(e3, t3, o3, l3, r3, i3, n3, a3, s4, d3) {
2911
2909
  let c3 = {};
2912
2910
  if (o3 && (c3 = JSON.parse(JSON.stringify(o3))), t3) {
@@ -2915,13 +2913,13 @@
2915
2913
  const u3 = o4[m3], p2 = t3[u3], h2 = Object.keys(p2);
2916
2914
  let f2 = e3[u3];
2917
2915
  f2 || (f2 = []);
2918
- const w2 = Vr(c3, e3, u3);
2916
+ const w2 = xr(c3, e3, u3);
2919
2917
  if (true !== w2)
2920
2918
  return delete c3[u3], d3 ? { msg: w2, listCode: u3 } : w2;
2921
2919
  let g2, C2 = [];
2922
2920
  s4 && s4[u3] && (g2 = s4[u3].pageSize, C2 = s4[u3].fields || []);
2923
2921
  for (let t4 = 0; t4 < f2.length; t4++) {
2924
- const o5 = f2[t4], s5 = br(h2, p2, f2[t4], r3, e3, i3, n3, a3, C2);
2922
+ const o5 = f2[t4], s5 = Nr(h2, p2, f2[t4], r3, e3, i3, n3, a3, C2);
2925
2923
  let c4, m4;
2926
2924
  void 0 !== g2 && g2 > 0 && (c4 = Math.ceil((t4 + 1) / g2), m4 = t4 + 1 - (c4 - 1) * g2), Object.keys(s5).forEach((l4) => {
2927
2925
  const r4 = s5[l4];
@@ -2930,22 +2928,22 @@
2930
2928
  "function" == typeof i4 && false === i4({ row: o5, parent: e3, rowIndex: t4 }) && (s5[l4] = []);
2931
2929
  }
2932
2930
  });
2933
- const w3 = Cr(o5, s5, t4, l3, c4, m4, d3);
2931
+ const w3 = vr(o5, s5, t4, l3, c4, m4, d3);
2934
2932
  if (!d3 && true !== w3 || d3 && true !== w3.msg)
2935
2933
  return d3 && (w3.listCode = u3), w3;
2936
2934
  }
2937
2935
  }
2938
2936
  }
2939
2937
  for (const t4 in c3) {
2940
- const o4 = Vr(c3, e3, t4);
2938
+ const o4 = xr(c3, e3, t4);
2941
2939
  if (true !== o4)
2942
2940
  return d3 ? { msg: o4, listCode: t4 } : o4;
2943
2941
  }
2944
2942
  return !d3 || { msg: true };
2945
2943
  }(e2, d2, c2, o2, m2, l2, r2, i2, n2, a2)), u2;
2946
2944
  }
2947
- return Cr(e2, t2, null, o2, null, null, a2);
2948
- }, vr = function(e2, t2, l2, r2, i2, n2) {
2945
+ return vr(e2, t2, null, o2, null, null, a2);
2946
+ }, Sr = function(e2, t2, l2, r2, i2, n2) {
2949
2947
  void 0 === l2 && (l2 = false);
2950
2948
  const a2 = {}, s2 = {}, d2 = {}, c2 = {};
2951
2949
  return e2 && e2.forEach((e3) => {
@@ -2969,26 +2967,26 @@
2969
2967
  if (d3.name = s3, s3.indexOf(".") > 0) {
2970
2968
  if (void 0 !== a3 && null === a3 && 0 === a3.length) {
2971
2969
  const e5 = a3[0];
2972
- gr(d3, t3[n3], e5, l3, r3);
2970
+ yr(d3, t3[n3], e5, l3, r3);
2973
2971
  }
2974
2972
  } else
2975
- t3[n3][s3] = pr(d3, r3);
2976
- }(e3, c2, t2, l2, s2) : gr(e3, a2, t2, l2, s2);
2973
+ t3[n3][s3] = Cr(d3, r3);
2974
+ }(e3, c2, t2, l2, s2) : yr(e3, a2, t2, l2, s2);
2977
2975
  else if (0 === m3.indexOf("$")) {
2978
2976
  const t3 = m3.substring(m3.indexOf("$") + 1);
2979
2977
  d2[t3] = { required: true, message: w().t("workflowEditorMessage.subTableMustInputDatas", { subTable: e3.label }) };
2980
2978
  } else
2981
- o2 = pr(e3, s2), a2[m3] = o2;
2979
+ o2 = Cr(e3, s2), a2[m3] = o2;
2982
2980
  }
2983
2981
  }
2984
2982
  }
2985
2983
  }), Object.keys(c2).length > 0 || Object.keys(d2).length > 0 ? { rules: a2, subRules: c2, totalSubRules: d2, dataTypeMap: s2 } : a2;
2986
- }, Tr = { install: function(e2, t2) {
2987
- e2.config.globalProperties.$formValidator = yr, e2.config.globalProperties.$getValidator = vr;
2988
- } }, Nr = [er, mr], xr = function(e2) {
2989
- xr.installed || (Nr.forEach((t2) => {
2984
+ }, Mr = { install: function(e2, t2) {
2985
+ e2.config.globalProperties.$formValidator = Er, e2.config.globalProperties.$getValidator = Sr;
2986
+ } }, Dr = gr.WorkflowEditor, $r = gr.WorkflowHistory, Fr = gr.wfEditorStore, Pr = [Dr, $r], Br = function(e2) {
2987
+ Br.installed || (Pr.forEach((t2) => {
2990
2988
  e2.component(t2.name, t2);
2991
- }), e2.use(Tr));
2992
- };
2993
- e.WorkflowEditor = er, e.WorkflowHistory = mr, e.wfEditorCn = m, e.wfEditorEn = c, e.wfEditorInstall = xr, e.wfEditorStore = ur, Object.defineProperty(e, Symbol.toStringTag, { value: "Module" });
2989
+ }), e2.use(Mr));
2990
+ }, Or = { wfEditorInstall: Br, WorkflowEditor: Dr, wfEditorStore: Fr };
2991
+ e.WorkflowEditor = Dr, e.WorkflowHistory = $r, e.default = Or, e.wfEditorCn = m, e.wfEditorEn = c, e.wfEditorInstall = Br, e.wfEditorStore = Fr, Object.defineProperties(e, { __esModule: { value: true }, [Symbol.toStringTag]: { value: "Module" } });
2994
2992
  });