workflow-editor 0.0.46-up-tmp1 → 0.0.47-temp1

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.
@@ -7822,12 +7822,12 @@ const processTemplate = {
7822
7822
  return `#icon-${this.icon}`;
7823
7823
  }
7824
7824
  }
7825
- }, _hoisted_1$R = {
7825
+ }, _hoisted_1$S = {
7826
7826
  class: "svg-icon",
7827
7827
  "aria-hidden": "true"
7828
7828
  }, _hoisted_2$x = ["xlink:href"];
7829
7829
  function _sfc_render$1m(e, t, o, r, n, i) {
7830
- return openBlock(), createElementBlock("svg", _hoisted_1$R, [
7830
+ return openBlock(), createElementBlock("svg", _hoisted_1$S, [
7831
7831
  createElementVNode("use", { "xlink:href": i.iconName }, null, 8, _hoisted_2$x)
7832
7832
  ]);
7833
7833
  }
@@ -7852,10 +7852,10 @@ const IconSvg = /* @__PURE__ */ _export_sfc$1(_sfc_main$1s, [["render", _sfc_ren
7852
7852
  this.setComponentToDraw(e);
7853
7853
  }
7854
7854
  }
7855
- }, _hoisted_1$Q = { style: { height: "calc(100vh - 98px)", "background-color": "#FFFFFF" } };
7855
+ }, _hoisted_1$R = { style: { height: "calc(100vh - 98px)", "background-color": "#FFFFFF" } };
7856
7856
  function _sfc_render$1l(e, t, o, r, n, i) {
7857
7857
  const s = resolveComponent("icon-svg"), l = resolveComponent("el-button");
7858
- return openBlock(), createElementBlock("div", _hoisted_1$Q, [
7858
+ return openBlock(), createElementBlock("div", _hoisted_1$R, [
7859
7859
  createElementVNode("h3", null, toDisplayString$1(e.$t("workflowEditor.main.tacheType")), 1),
7860
7860
  (openBlock(!0), createElementBlock(Fragment, null, renderList(n.componentList, (a) => (openBlock(), createBlock(l, {
7861
7861
  key: a.name,
@@ -7972,7 +7972,7 @@ const Toolbox = /* @__PURE__ */ _export_sfc$1(_sfc_main$1r, [["render", _sfc_ren
7972
7972
  this.isActivated = !1, this.$emit("leave-joint");
7973
7973
  }
7974
7974
  }
7975
- }, _hoisted_1$P = ["x", "y"], _hoisted_2$w = ["cx", "cy"];
7975
+ }, _hoisted_1$Q = ["x", "y"], _hoisted_2$w = ["cx", "cy"];
7976
7976
  function _sfc_render$1k(e, t, o, r, n, i) {
7977
7977
  return openBlock(), createElementBlock("g", {
7978
7978
  onMousedown: t[4] || (t[4] = withModifiers(() => {
@@ -7992,7 +7992,7 @@ function _sfc_render$1k(e, t, o, r, n, i) {
7992
7992
  e.setContextMenuVisible(!1), e.setStartJoint({ parent: o.parent, position: o.position });
7993
7993
  }, ["stop"])),
7994
7994
  onMouseup: t[3] || (t[3] = (...s) => i.mouseup && i.mouseup(...s))
7995
- }, null, 42, _hoisted_1$P),
7995
+ }, null, 42, _hoisted_1$Q),
7996
7996
  withDirectives(createElementVNode("circle", {
7997
7997
  cx: i.joint.x,
7998
7998
  cy: i.joint.y,
@@ -8050,7 +8050,7 @@ const Joint = /* @__PURE__ */ _export_sfc$1(_sfc_main$1q, [["render", _sfc_rende
8050
8050
  ]),
8051
8051
  ...tacheMethods
8052
8052
  }
8053
- }, _hoisted_1$O = ["width", "height", "x", "y"], _hoisted_2$v = ["x", "y", "width", "height"];
8053
+ }, _hoisted_1$P = ["width", "height", "x", "y"], _hoisted_2$v = ["x", "y", "width", "height"];
8054
8054
  function _sfc_render$1j(e, t, o, r, n, i) {
8055
8055
  const s = resolveComponent("joint");
8056
8056
  return openBlock(), createElementBlock("g", {
@@ -8068,7 +8068,7 @@ function _sfc_render$1j(e, t, o, r, n, i) {
8068
8068
  y: o.model.y,
8069
8069
  rx: "6",
8070
8070
  ry: "6"
8071
- }, null, 10, _hoisted_1$O),
8071
+ }, null, 10, _hoisted_1$P),
8072
8072
  createElementVNode("use", {
8073
8073
  "xlink:href": "#icon-start",
8074
8074
  x: o.model.x,
@@ -8114,7 +8114,7 @@ const Start = /* @__PURE__ */ _export_sfc$1(_sfc_main$1p, [["render", _sfc_rende
8114
8114
  ]),
8115
8115
  ...tacheMethods
8116
8116
  }
8117
- }, _hoisted_1$N = ["width", "height", "x", "y"], _hoisted_2$u = ["x", "y", "width", "height"];
8117
+ }, _hoisted_1$O = ["width", "height", "x", "y"], _hoisted_2$u = ["x", "y", "width", "height"];
8118
8118
  function _sfc_render$1i(e, t, o, r, n, i) {
8119
8119
  const s = resolveComponent("joint");
8120
8120
  return openBlock(), createElementBlock("g", {
@@ -8132,7 +8132,7 @@ function _sfc_render$1i(e, t, o, r, n, i) {
8132
8132
  y: o.model.y,
8133
8133
  rx: "6",
8134
8134
  ry: "6"
8135
- }, null, 10, _hoisted_1$N),
8135
+ }, null, 10, _hoisted_1$O),
8136
8136
  createElementVNode("use", {
8137
8137
  "xlink:href": "#icon-end",
8138
8138
  x: o.model.x,
@@ -8199,7 +8199,7 @@ const End = /* @__PURE__ */ _export_sfc$1(_sfc_main$1o, [["render", _sfc_render$
8199
8199
  "setContextMenuVisible"
8200
8200
  ])
8201
8201
  }
8202
- }, _hoisted_1$M = ["x", "y", "width", "height"];
8202
+ }, _hoisted_1$N = ["x", "y", "width", "height"];
8203
8203
  function _sfc_render$1h(e, t, o, r, n, i) {
8204
8204
  return o.owner.isSelected && e.selectedTaches.length == 1 ? (openBlock(), createElementBlock("rect", {
8205
8205
  key: 0,
@@ -8213,7 +8213,7 @@ function _sfc_render$1h(e, t, o, r, n, i) {
8213
8213
  e.setContextMenuVisible(!1), e.setResizerToMove({ owner: o.owner, position: o.position });
8214
8214
  }, ["stop"])),
8215
8215
  onMouseup: t[1] || (t[1] = withModifiers((s) => e.setResizerToMove(null), ["stop"]))
8216
- }, null, 44, _hoisted_1$M)) : createCommentVNode("", !0);
8216
+ }, null, 44, _hoisted_1$N)) : createCommentVNode("", !0);
8217
8217
  }
8218
8218
  const TacheResizer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["render", _sfc_render$1h]]), _sfc_main$1m = {
8219
8219
  name: "HumanTask",
@@ -8276,7 +8276,7 @@ const TacheResizer = /* @__PURE__ */ _export_sfc$1(_sfc_main$1n, [["render", _sf
8276
8276
  ]),
8277
8277
  ...tacheMethods
8278
8278
  }
8279
- }, _hoisted_1$L = ["width", "height", "x", "y"], _hoisted_2$t = ["x", "y"];
8279
+ }, _hoisted_1$M = ["width", "height", "x", "y"], _hoisted_2$t = ["x", "y"];
8280
8280
  function _sfc_render$1g(e, t, o, r, n, i) {
8281
8281
  const s = resolveComponent("joint"), l = resolveComponent("tache-resizer");
8282
8282
  return openBlock(), createElementBlock("g", {
@@ -8295,7 +8295,7 @@ function _sfc_render$1g(e, t, o, r, n, i) {
8295
8295
  y: o.model.y,
8296
8296
  rx: "6",
8297
8297
  ry: "6"
8298
- }, null, 10, _hoisted_1$L),
8298
+ }, null, 10, _hoisted_1$M),
8299
8299
  createElementVNode("text", {
8300
8300
  x: i.text.x,
8301
8301
  y: i.text.y,
@@ -8360,7 +8360,7 @@ const HumanTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1m, [["render", _sfc_r
8360
8360
  ]),
8361
8361
  ...tacheMethods
8362
8362
  }
8363
- }, _hoisted_1$K = ["width", "height", "x", "y"], _hoisted_2$s = ["x", "y", "width", "height"], _hoisted_3$c = ["x", "y"];
8363
+ }, _hoisted_1$L = ["width", "height", "x", "y"], _hoisted_2$s = ["x", "y", "width", "height"], _hoisted_3$c = ["x", "y"];
8364
8364
  function _sfc_render$1f(e, t, o, r, n, i) {
8365
8365
  const s = resolveComponent("joint");
8366
8366
  return openBlock(), createElementBlock("g", {
@@ -8378,7 +8378,7 @@ function _sfc_render$1f(e, t, o, r, n, i) {
8378
8378
  y: o.model.y,
8379
8379
  rx: "6",
8380
8380
  ry: "6"
8381
- }, null, 10, _hoisted_1$K),
8381
+ }, null, 10, _hoisted_1$L),
8382
8382
  createElementVNode("use", {
8383
8383
  "xlink:href": "#icon-decision",
8384
8384
  x: o.model.x,
@@ -8448,7 +8448,7 @@ const Decision = /* @__PURE__ */ _export_sfc$1(_sfc_main$1l, [["render", _sfc_re
8448
8448
  ]),
8449
8449
  ...tacheMethods
8450
8450
  }
8451
- }, _hoisted_1$J = ["width", "height", "x", "y"], _hoisted_2$r = ["x", "y"];
8451
+ }, _hoisted_1$K = ["width", "height", "x", "y"], _hoisted_2$r = ["x", "y"];
8452
8452
  function _sfc_render$1e(e, t, o, r, n, i) {
8453
8453
  const s = resolveComponent("joint"), l = resolveComponent("tache-resizer");
8454
8454
  return openBlock(), createElementBlock("g", {
@@ -8467,7 +8467,7 @@ function _sfc_render$1e(e, t, o, r, n, i) {
8467
8467
  y: o.model.y,
8468
8468
  rx: "6",
8469
8469
  ry: "6"
8470
- }, null, 10, _hoisted_1$J),
8470
+ }, null, 10, _hoisted_1$K),
8471
8471
  createElementVNode("text", {
8472
8472
  x: i.text.x,
8473
8473
  y: i.text.y,
@@ -8523,7 +8523,7 @@ const Subprocess = /* @__PURE__ */ _export_sfc$1(_sfc_main$1k, [["render", _sfc_
8523
8523
  ]),
8524
8524
  ...tacheMethods
8525
8525
  }
8526
- }, _hoisted_1$I = ["width", "height", "x", "y"], _hoisted_2$q = ["x", "y"];
8526
+ }, _hoisted_1$J = ["width", "height", "x", "y"], _hoisted_2$q = ["x", "y"];
8527
8527
  function _sfc_render$1d(e, t, o, r, n, i) {
8528
8528
  const s = resolveComponent("joint"), l = resolveComponent("tache-resizer");
8529
8529
  return openBlock(), createElementBlock("g", {
@@ -8542,7 +8542,7 @@ function _sfc_render$1d(e, t, o, r, n, i) {
8542
8542
  y: o.model.y,
8543
8543
  rx: "6",
8544
8544
  ry: "6"
8545
- }, null, 10, _hoisted_1$I),
8545
+ }, null, 10, _hoisted_1$J),
8546
8546
  createElementVNode("text", {
8547
8547
  x: i.text.x,
8548
8548
  y: i.text.y,
@@ -8607,7 +8607,7 @@ const CustomTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1j, [["render", _sfc_
8607
8607
  ]),
8608
8608
  ...tacheMethods
8609
8609
  }
8610
- }, _hoisted_1$H = ["width", "height", "x", "y"], _hoisted_2$p = ["x", "y", "width", "height"], _hoisted_3$b = ["x", "y"];
8610
+ }, _hoisted_1$I = ["width", "height", "x", "y"], _hoisted_2$p = ["x", "y", "width", "height"], _hoisted_3$b = ["x", "y"];
8611
8611
  function _sfc_render$1c(e, t, o, r, n, i) {
8612
8612
  const s = resolveComponent("joint");
8613
8613
  return openBlock(), createElementBlock("g", {
@@ -8625,7 +8625,7 @@ function _sfc_render$1c(e, t, o, r, n, i) {
8625
8625
  y: o.model.y,
8626
8626
  rx: "6",
8627
8627
  ry: "6"
8628
- }, null, 10, _hoisted_1$H),
8628
+ }, null, 10, _hoisted_1$I),
8629
8629
  createElementVNode("use", {
8630
8630
  "xlink:href": "#icon-fork",
8631
8631
  x: o.model.x,
@@ -8684,7 +8684,7 @@ const Fork = /* @__PURE__ */ _export_sfc$1(_sfc_main$1i, [["render", _sfc_render
8684
8684
  ]),
8685
8685
  ...tacheMethods
8686
8686
  }
8687
- }, _hoisted_1$G = ["width", "height", "x", "y"], _hoisted_2$o = ["x", "y", "width", "height"], _hoisted_3$a = ["x", "y"];
8687
+ }, _hoisted_1$H = ["width", "height", "x", "y"], _hoisted_2$o = ["x", "y", "width", "height"], _hoisted_3$a = ["x", "y"];
8688
8688
  function _sfc_render$1b(e, t, o, r, n, i) {
8689
8689
  const s = resolveComponent("joint");
8690
8690
  return openBlock(), createElementBlock("g", {
@@ -8702,7 +8702,7 @@ function _sfc_render$1b(e, t, o, r, n, i) {
8702
8702
  y: o.model.y,
8703
8703
  rx: "6",
8704
8704
  ry: "6"
8705
- }, null, 10, _hoisted_1$G),
8705
+ }, null, 10, _hoisted_1$H),
8706
8706
  createElementVNode("use", {
8707
8707
  "xlink:href": "#icon-join",
8708
8708
  x: o.model.x,
@@ -8771,7 +8771,7 @@ const Join = /* @__PURE__ */ _export_sfc$1(_sfc_main$1h, [["render", _sfc_render
8771
8771
  ]),
8772
8772
  ...tacheMethods
8773
8773
  }
8774
- }, _hoisted_1$F = ["width", "height", "x", "y"], _hoisted_2$n = ["x", "y", "width", "height"], _hoisted_3$9 = ["x", "y"];
8774
+ }, _hoisted_1$G = ["width", "height", "x", "y"], _hoisted_2$n = ["x", "y", "width", "height"], _hoisted_3$9 = ["x", "y"];
8775
8775
  function _sfc_render$1a(e, t, o, r, n, i) {
8776
8776
  const s = resolveComponent("joint");
8777
8777
  return openBlock(), createElementBlock("g", {
@@ -8789,7 +8789,7 @@ function _sfc_render$1a(e, t, o, r, n, i) {
8789
8789
  y: o.model.y,
8790
8790
  rx: "6",
8791
8791
  ry: "6"
8792
- }, null, 10, _hoisted_1$F),
8792
+ }, null, 10, _hoisted_1$G),
8793
8793
  createElementVNode("use", {
8794
8794
  "xlink:href": "#icon-human-decision",
8795
8795
  x: o.model.x,
@@ -8859,7 +8859,7 @@ const HumanDecision = /* @__PURE__ */ _export_sfc$1(_sfc_main$1g, [["render", _s
8859
8859
  ]),
8860
8860
  ...tacheMethods
8861
8861
  }
8862
- }, _hoisted_1$E = ["width", "height", "x", "y"], _hoisted_2$m = ["x", "y"];
8862
+ }, _hoisted_1$F = ["width", "height", "x", "y"], _hoisted_2$m = ["x", "y"];
8863
8863
  function _sfc_render$19(e, t, o, r, n, i) {
8864
8864
  const s = resolveComponent("joint"), l = resolveComponent("tache-resizer");
8865
8865
  return openBlock(), createElementBlock("g", {
@@ -8878,7 +8878,7 @@ function _sfc_render$19(e, t, o, r, n, i) {
8878
8878
  y: o.model.y,
8879
8879
  rx: "6",
8880
8880
  ry: "6"
8881
- }, null, 10, _hoisted_1$E),
8881
+ }, null, 10, _hoisted_1$F),
8882
8882
  createElementVNode("text", {
8883
8883
  x: i.text.x,
8884
8884
  y: i.text.y,
@@ -8944,7 +8944,7 @@ const CopyTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1f, [["render", _sfc_re
8944
8944
  ]),
8945
8945
  ...tacheMethods
8946
8946
  }
8947
- }, _hoisted_1$D = ["width", "height", "x", "y"], _hoisted_2$l = ["x", "y"];
8947
+ }, _hoisted_1$E = ["width", "height", "x", "y"], _hoisted_2$l = ["x", "y"];
8948
8948
  function _sfc_render$18(e, t, o, r, n, i) {
8949
8949
  const s = resolveComponent("joint"), l = resolveComponent("tache-resizer");
8950
8950
  return openBlock(), createElementBlock("g", {
@@ -8963,7 +8963,7 @@ function _sfc_render$18(e, t, o, r, n, i) {
8963
8963
  y: o.model.y,
8964
8964
  rx: "6",
8965
8965
  ry: "6"
8966
- }, null, 10, _hoisted_1$D),
8966
+ }, null, 10, _hoisted_1$E),
8967
8967
  createElementVNode("text", {
8968
8968
  x: i.text.x,
8969
8969
  y: i.text.y,
@@ -8996,12 +8996,12 @@ const AutoTask = /* @__PURE__ */ _export_sfc$1(_sfc_main$1e, [["render", _sfc_re
8996
8996
  return "M" + e.x + " " + e.y + " L" + t.x + " " + t.y;
8997
8997
  }
8998
8998
  }
8999
- }, _hoisted_1$C = ["d"];
8999
+ }, _hoisted_1$D = ["d"];
9000
9000
  function _sfc_render$17(e, t, o, r, n, i) {
9001
9001
  return openBlock(), createElementBlock("path", {
9002
9002
  d: i.path,
9003
9003
  "marker-end": "url(#arrow)"
9004
- }, null, 8, _hoisted_1$C);
9004
+ }, null, 8, _hoisted_1$D);
9005
9005
  }
9006
9006
  const StraightLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sfc_render$17]]), curveLine_vue_vue_type_style_index_0_scoped_0ff53a0a_lang = "", _sfc_main$1c = {
9007
9007
  name: "CurveLine",
@@ -9051,13 +9051,13 @@ const StraightLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1d, [["render", _sf
9051
9051
  this.setControlPointToMove(null);
9052
9052
  }
9053
9053
  }
9054
- }, _hoisted_1$B = ["d"], _hoisted_2$k = ["d"], _hoisted_3$8 = ["d"], _hoisted_4$3 = ["cx", "cy"];
9054
+ }, _hoisted_1$C = ["d"], _hoisted_2$k = ["d"], _hoisted_3$8 = ["d"], _hoisted_4$3 = ["cx", "cy"];
9055
9055
  function _sfc_render$16(e, t, o, r, n, i) {
9056
9056
  return openBlock(), createElementBlock("g", null, [
9057
9057
  createElementVNode("path", {
9058
9058
  d: i.path,
9059
9059
  "marker-end": "url(#arrow)"
9060
- }, null, 8, _hoisted_1$B),
9060
+ }, null, 8, _hoisted_1$C),
9061
9061
  o.owner.isSelected ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
9062
9062
  createElementVNode("path", {
9063
9063
  d: i.pathToStartPoint,
@@ -9124,13 +9124,13 @@ const CurveLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1c, [["render", _sfc_r
9124
9124
  this.setControlPointToMove(null);
9125
9125
  }
9126
9126
  }
9127
- }, _hoisted_1$A = ["d"], _hoisted_2$j = ["cx", "cy", "onMousedown"];
9127
+ }, _hoisted_1$B = ["d"], _hoisted_2$j = ["cx", "cy", "onMousedown"];
9128
9128
  function _sfc_render$15(e, t, o, r, n, i) {
9129
9129
  return openBlock(), createElementBlock("g", null, [
9130
9130
  createElementVNode("path", {
9131
9131
  d: i.path,
9132
9132
  "marker-end": "url(#arrow)"
9133
- }, null, 8, _hoisted_1$A),
9133
+ }, null, 8, _hoisted_1$B),
9134
9134
  o.owner.isSelected ? (openBlock(), createElementBlock(Fragment, { key: 0 }, [
9135
9135
  i.controlPoint ? (openBlock(!0), createElementBlock(Fragment, { key: 0 }, renderList(i.controlPoint, (s, l) => (openBlock(), createElementBlock("circle", {
9136
9136
  key: s.x + s.y,
@@ -9247,7 +9247,7 @@ const BrokenLine = /* @__PURE__ */ _export_sfc$1(_sfc_main$1b, [["render", _sfc_
9247
9247
  this.model.endJoint.parent.type !== "Decision" && this.setPropertiesEditorFor("Transition");
9248
9248
  }
9249
9249
  }
9250
- }, _hoisted_1$z = ["x", "y"], _hoisted_2$i = { key: 0 }, _hoisted_3$7 = ["cx", "cy", "onMousedown"];
9250
+ }, _hoisted_1$A = ["x", "y"], _hoisted_2$i = { key: 0 }, _hoisted_3$7 = ["cx", "cy", "onMousedown"];
9251
9251
  function _sfc_render$14(e, t, o, r, n, i) {
9252
9252
  return openBlock(), createElementBlock("g", {
9253
9253
  class: normalizeClass({ "no-events": e.draggerToMove != null }),
@@ -9259,7 +9259,7 @@ function _sfc_render$14(e, t, o, r, n, i) {
9259
9259
  y: n.text.y,
9260
9260
  "text-anchor": "middle",
9261
9261
  class: "draggable"
9262
- }, toDisplayString$1(n.name), 9, _hoisted_1$z),
9262
+ }, toDisplayString$1(n.name), 9, _hoisted_1$A),
9263
9263
  (openBlock(), createBlock(resolveDynamicComponent(o.model.lineInfo.type), {
9264
9264
  owner: o.model,
9265
9265
  class: normalizeClass({ transition: !0, selected: o.model.isSelected || o.model.startJoint.parent.isSelected && o.model.endJoint.parent.isSelected })
@@ -9297,14 +9297,14 @@ const Transition = /* @__PURE__ */ _export_sfc$1(_sfc_main$1a, [["render", _sfc_
9297
9297
  }
9298
9298
  },
9299
9299
  methods: {}
9300
- }, _hoisted_1$y = ["d"];
9300
+ }, _hoisted_1$z = ["d"];
9301
9301
  function _sfc_render$13(e, t, o, r, n, i) {
9302
9302
  return openBlock(), createElementBlock("g", null, [
9303
9303
  withDirectives(createElementVNode("path", {
9304
9304
  d: i.path,
9305
9305
  class: "virtual-transition",
9306
9306
  "marker-end": "url(#arrow)"
9307
- }, null, 8, _hoisted_1$y), [
9307
+ }, null, 8, _hoisted_1$z), [
9308
9308
  [vShow, i.path]
9309
9309
  ])
9310
9310
  ]);
@@ -9337,7 +9337,7 @@ const VirtualTransition = /* @__PURE__ */ _export_sfc$1(_sfc_main$19, [["render"
9337
9337
  console.log("region mouseup"), this.setMovingRegion(!1), this.setMouseDownPosition(null);
9338
9338
  }
9339
9339
  }
9340
- }, _hoisted_1$x = ["x", "y", "width", "height"];
9340
+ }, _hoisted_1$y = ["x", "y", "width", "height"];
9341
9341
  function _sfc_render$12(e, t, o, r, n, i) {
9342
9342
  return openBlock(), createElementBlock("g", null, [
9343
9343
  o.region ? (openBlock(), createElementBlock("rect", {
@@ -9349,7 +9349,7 @@ function _sfc_render$12(e, t, o, r, n, i) {
9349
9349
  class: normalizeClass({ draggable: !0, "selection-region": !0, dashed: e.selectedTaches.length < 1 }),
9350
9350
  onMousedown: t[0] || (t[0] = withModifiers((...s) => i.startDrag && i.startDrag(...s), ["stop"])),
9351
9351
  onMouseup: t[1] || (t[1] = withModifiers((...s) => i.endDrag && i.endDrag(...s), ["stop"]))
9352
- }, null, 42, _hoisted_1$x)) : createCommentVNode("", !0)
9352
+ }, null, 42, _hoisted_1$y)) : createCommentVNode("", !0)
9353
9353
  ]);
9354
9354
  }
9355
9355
  const SelectionRegion = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render", _sfc_render$12]]), formFields_vue_vue_type_style_index_0_scoped_98300543_lang = "", _sfc_main$17 = {
@@ -9388,7 +9388,7 @@ const SelectionRegion = /* @__PURE__ */ _export_sfc$1(_sfc_main$18, [["render",
9388
9388
  this.searchFormCode && this.searchFormCode !== "" ? this.showFields = this.copyAllFields.filter((e) => e.name.indexOf(this.searchFormCode) > -1 || e.label.indexOf(this.searchFormCode) > -1) : this.showFields = this.copyAllFields;
9389
9389
  }
9390
9390
  }
9391
- }, _hoisted_1$w = { style: { "padding-bottom": "10px" } }, _hoisted_2$h = { style: { float: "left", width: "70%" } }, _hoisted_3$6 = { class: "item-content" };
9391
+ }, _hoisted_1$x = { style: { "padding-bottom": "10px" } }, _hoisted_2$h = { style: { float: "left", width: "70%" } }, _hoisted_3$6 = { class: "item-content" };
9392
9392
  function _sfc_render$11(e, t, o, r, n, i) {
9393
9393
  const s = resolveComponent("el-input"), l = resolveComponent("el-button"), a = resolveComponent("el-radio"), u = resolveComponent("el-radio-group"), c = resolveComponent("el-dialog");
9394
9394
  return openBlock(), createBlock(c, {
@@ -9424,7 +9424,7 @@ function _sfc_render$11(e, t, o, r, n, i) {
9424
9424
  })
9425
9425
  ]),
9426
9426
  default: withCtx(() => [
9427
- createElementVNode("div", _hoisted_1$w, [
9427
+ createElementVNode("div", _hoisted_1$x, [
9428
9428
  createElementVNode("span", _hoisted_2$h, [
9429
9429
  createVNode(s, {
9430
9430
  modelValue: n.searchFormCode,
@@ -10673,19 +10673,21 @@ const ValueSelectionDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["rend
10673
10673
  };
10674
10674
  },
10675
10675
  computed: {
10676
- ...mapGetters("wfEditor", [
10677
- "formFields"
10678
- ]),
10676
+ ...mapGetters("wfEditor", ["formFields"]),
10679
10677
  availableStandardFields() {
10680
10678
  return this.currentInput === "key" ? getStandardFieldsByTacheType(this.isTransition) : getRelatedStandardFields(this.currentRow.key);
10681
10679
  }
10682
10680
  },
10683
10681
  mounted() {
10684
- this.tableData.length > 0 && this.$refs.table.setCurrentRow(this.tableData[this.tableData.length - 1]), this.$watch("tableData", function(e, t) {
10685
- this.$emit("update:modelValue", generateCondition(this.tableData));
10686
- }, {
10687
- deep: !0
10688
- });
10682
+ this.tableData.length > 0 && this.$refs.table.setCurrentRow(this.tableData[this.tableData.length - 1]), this.$watch(
10683
+ "tableData",
10684
+ function(e, t) {
10685
+ this.$emit("update:modelValue", generateCondition(this.tableData));
10686
+ },
10687
+ {
10688
+ deep: !0
10689
+ }
10690
+ );
10689
10691
  },
10690
10692
  methods: {
10691
10693
  format(e, t) {
@@ -10776,10 +10778,10 @@ const ValueSelectionDialog = /* @__PURE__ */ _export_sfc$1(_sfc_main$14, [["rend
10776
10778
  return isTransitionOtherField(e);
10777
10779
  }
10778
10780
  }
10779
- };
10781
+ }, _hoisted_1$w = { style: { overflow: "auto" } };
10780
10782
  function _sfc_render$_(e, t, o, r, n, i) {
10781
10783
  const s = resolveComponent("el-button"), l = resolveComponent("el-row"), a = resolveComponent("el-option"), u = resolveComponent("el-select"), c = resolveComponent("el-table-column"), d = resolveComponent("el-input"), m = resolveComponent("el-table"), C = resolveComponent("value-selection-dialog");
10782
- return openBlock(), createElementBlock("div", null, [
10784
+ return openBlock(), createElementBlock("div", _hoisted_1$w, [
10783
10785
  createVNode(l, null, {
10784
10786
  default: withCtx(() => [
10785
10787
  createVNode(s, {
@@ -14550,6 +14552,7 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _s
14550
14552
  packageSelectedUserConditionsWithOutBranch(e) {
14551
14553
  const t = "${user} operator.text.eq ";
14552
14554
  e.forEach((o) => {
14555
+ this.selectedUsers || (this.selectedUsers = []);
14553
14556
  const r = t + o.name + "[" + o.loginName + "]";
14554
14557
  this.selectedUsers.filter(this.filterCondition(r)).length === 0 && this.selectedUsers.push(r);
14555
14558
  });
@@ -14567,7 +14570,13 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _s
14567
14570
  },
14568
14571
  // 选择部门
14569
14572
  addPointDepartments(e) {
14570
- e && (e.containBranch ? this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.departments, "${department}") : this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.departments, "${department}"), this.getSelectedUsersShowValue()), this.showSelectDepartment = !1;
14573
+ e && (e.containBranch ? this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(
14574
+ e.departments,
14575
+ "${department}"
14576
+ ) : this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(
14577
+ e.departments,
14578
+ "${department}"
14579
+ ), this.getSelectedUsersShowValue()), this.showSelectDepartment = !1;
14571
14580
  },
14572
14581
  // 如果包含分支机构,需要拼接显示的分支名称,格式为:部门名称/分支名称 或 工作组名称/分支名称,并封装为部门 或 工作组条件
14573
14582
  packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e, t) {
@@ -14594,11 +14603,20 @@ const SystemRoleTree = /* @__PURE__ */ _export_sfc$1(_sfc_main$S, [["render", _s
14594
14603
  },
14595
14604
  // 选择工作组
14596
14605
  addPointWorkgroups(e) {
14597
- e && (e.containBranch ? this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(e.workgroups, "${workGroup}") : this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.workgroups, "${workGroup}"), this.getSelectedUsersShowValue()), this.showSelectWorkgroup = !1;
14606
+ e && (e.containBranch ? this.packageSelectedDepartmentOrWorkgroupConditionsWithBranch(
14607
+ e.workgroups,
14608
+ "${workGroup}"
14609
+ ) : this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(
14610
+ e.workgroups,
14611
+ "${workGroup}"
14612
+ ), this.getSelectedUsersShowValue()), this.showSelectWorkgroup = !1;
14598
14613
  },
14599
14614
  // 选择角色
14600
14615
  addPointRoles(e) {
14601
- e && (this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(e.roles, "${role}"), this.getSelectedUsersShowValue()), this.showSelectRole = !1;
14616
+ e && (this.packageSelectedDepartmentOrWorkgroupConditionsWithOutBranch(
14617
+ e.roles,
14618
+ "${role}"
14619
+ ), this.getSelectedUsersShowValue()), this.showSelectRole = !1;
14602
14620
  },
14603
14621
  // 如果不包含分支机构,直接封装为部门条件 或 工作组条件
14604
14622
  packageSelectedFieldConditions(e, t) {
@@ -29254,7 +29272,7 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
29254
29272
  children: [
29255
29273
  {
29256
29274
  path: "page",
29257
- component: () => import("./iframe-page-02023063.js"),
29275
+ component: () => import("./iframe-page-6289fbb7.js"),
29258
29276
  hidden: !0
29259
29277
  }
29260
29278
  ]
@@ -29271,27 +29289,27 @@ const Layout = /* @__PURE__ */ _export_sfc$1(_sfc_main$4, [["render", _sfc_rende
29271
29289
  },
29272
29290
  {
29273
29291
  path: "/404",
29274
- component: () => import("./404-618a618c.js"),
29292
+ component: () => import("./404-9e9e8ab9.js"),
29275
29293
  hidden: !0
29276
29294
  },
29277
29295
  {
29278
29296
  path: "/401",
29279
- component: () => import("./401-93d91c53.js"),
29297
+ component: () => import("./401-7aa1d76a.js"),
29280
29298
  hidden: !0
29281
29299
  },
29282
29300
  {
29283
29301
  path: "/show-sub-wf-history",
29284
- component: () => import("./tache-subprocess-history-974aed28.js"),
29302
+ component: () => import("./tache-subprocess-history-fa5f63fa.js"),
29285
29303
  hidden: !0
29286
29304
  },
29287
29305
  {
29288
29306
  path: "/tab-content-index",
29289
- component: () => import("./tab-content-index-91630b88.js"),
29307
+ component: () => import("./tab-content-index-ba4baa86.js"),
29290
29308
  hidden: !0
29291
29309
  },
29292
29310
  {
29293
29311
  path: "/tab-content-iframe-index",
29294
- component: () => import("./tab-content-iframe-index-be571e85.js"),
29312
+ component: () => import("./tab-content-iframe-index-2cfc62e1.js"),
29295
29313
  hidden: !0
29296
29314
  }
29297
29315
  ], protectedRouterMap = [];
@@ -30639,11 +30657,18 @@ const workflow = {
30639
30657
  };
30640
30658
  function getLeafPropRule(e, t) {
30641
30659
  const o = {}, r = e.dataType;
30642
- return r === "DATE" || r === "TIME" ? (e.valueType && e.valueType === "number" && (o.type = "number"), o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeADate")) : r === "INTEGER" || r === "LONG" ? (o.pattern = /^-?\d+$/, o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : r === "FLOAT" || r === "DOUBLE" ? (o.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeDecimal")) : r === "BOOLEAN" ? (o.type = "boolean", o.message = e.label + " " + getI18n().t("workflowEditorMessage.mustFill"), packageBooleanRule(o)) : o.message = e.label + " " + getI18n().t("workflowEditorMessage.mustFill"), e.canEdit && (o.required = !0, o.trigger = "blur"), e.rowIndexes && (o.rowIndexes = e.rowIndexes), e.condition && (o.condition = e.condition), t[e.name] = e.dataType, o;
30660
+ return r === "DATE" || r === "TIME" ? (o.type = "date", packageCustomValidator(o), o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeADate")) : r === "INTEGER" || r === "LONG" ? (o.pattern = /^-?\d+$/, o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeAnInteger")) : r === "FLOAT" || r === "DOUBLE" ? (o.pattern = new RegExp("^(-?\\d+)(\\.\\d+)?$"), o.message = e.label + " " + getI18n().t("workflowEditorMessage.requiredAndMustBeDecimal")) : r === "BOOLEAN" ? (o.type = "boolean", o.message = e.label + " " + getI18n().t("workflowEditorMessage.mustFill"), packageCustomValidator(o)) : o.message = e.label + " " + getI18n().t("workflowEditorMessage.mustFill"), e.canEdit && (o.required = !0, o.trigger = "blur"), e.rowIndexes && (o.rowIndexes = e.rowIndexes), e.condition && (o.condition = e.condition), t[e.name] = e.dataType, o;
30643
30661
  }
30644
- function packageBooleanRule(e) {
30645
- e.type && e.type === "boolean" && (e.validator = function(t, o, r) {
30662
+ function packageCustomValidator(e) {
30663
+ e && e.type && e.type === "boolean" ? e.validator = function(t, o, r) {
30646
30664
  return o == null ? !t.required : typeof o == "number" && (o === 1 || o === 0) ? !0 : typeof o == "boolean" && (o === !0 || o === !1);
30665
+ } : e && e.type && e.type === "date" && (e.validator = function(t, o, r) {
30666
+ if (o == null)
30667
+ return !t.required;
30668
+ {
30669
+ const n = new Date(o);
30670
+ return !isNaN(n.getTime());
30671
+ }
30647
30672
  });
30648
30673
  }
30649
30674
  function setObjectPropRule(e, t, o, r) {
@@ -1,5 +1,5 @@
1
1
  import { openBlock as t, createElementBlock as r, createCommentVNode as o } from "vue";
2
- import { _ as s } from "./index-8b0bd5ad.js";
2
+ import { _ as s } from "./index-ece785f4.js";
3
3
  const _ = {
4
4
  data() {
5
5
  return {
@@ -1,4 +1,4 @@
1
- import { _ as I, g as Q, b as V, s as x, m as z, M as W, i as q } from "./index-8b0bd5ad.js";
1
+ import { _ as I, g as Q, b as V, s as x, m as z, M as W, i as q } from "./index-ece785f4.js";
2
2
  import { resolveComponent as _, openBlock as m, createBlock as T, withCtx as E, createVNode as P, TransitionGroup as U, createElementBlock as C, Fragment as R, renderList as N, createElementVNode as b, toDisplayString as $, createCommentVNode as O, normalizeClass as G } from "vue";
3
3
  function j(e) {
4
4
  for (var t = [], n = 0; n < e.length; ) {
@@ -1,5 +1,5 @@
1
1
  import { resolveComponent as t, openBlock as l, createElementBlock as d, createElementVNode as m, createVNode as r, withCtx as s, createTextVNode as _, toDisplayString as p, createCommentVNode as c, createBlock as y } from "vue";
2
- import { _ as k } from "./index-8b0bd5ad.js";
2
+ import { _ as k } from "./index-ece785f4.js";
3
3
  const h = {
4
4
  name: "TacheSubprocessHistory",
5
5
  data() {
@@ -1,4 +1,4 @@
1
- import { c as a } from "./index-8b0bd5ad.js";
1
+ import { c as a } from "./index-ece785f4.js";
2
2
  import "vue";
3
3
  export {
4
4
  a as default