ddy-process-h5 1.0.1-rc.3.23 → 1.0.1-rc.3.29
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.
- package/package.json +1 -1
- package/v2/ddy-process-h5.js +14 -9
- package/v2/ddy-process-h5.umd.cjs +1 -1
- package/v2/style.css +1 -1
- package/v2.7/ddy-process-h5.js +278 -273
- package/v2.7/ddy-process-h5.umd.cjs +9 -9
- package/v2.7/style.css +1 -1
- package/v3/ddy-process-h5.js +453 -447
- package/v3/ddy-process-h5.umd.cjs +3 -3
- package/v3/style.css +1 -1
package/package.json
CHANGED
package/v2/ddy-process-h5.js
CHANGED
|
@@ -15572,7 +15572,7 @@ function Pb(e) {
|
|
|
15572
15572
|
"YYYY-MM-DD HH:mm"
|
|
15573
15573
|
)}</span><br>`), o && o.length > 0) {
|
|
15574
15574
|
let f, { type: A, fullMessage: I } = o.find((F) => F.action == "AddComment") || {};
|
|
15575
|
-
A == "assigneeComment" && (f = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + I, l.class = "nodeWarn"), A == "dispatchComment" && (f = "\u8C03\u5EA6\uFF1A" + I, l.class = "nodeWarn"), A == "transferComment" && (f = "\u8F6C\u529E\uFF1A" + I, l.class = "nodeWarn"), A == "delegateComment" && (f = "\u59D4\u6258\uFF1A" + I, l.class = "nodeWarn"), A == "rollbackComment" && (f = "\u6307\u5B9A\u56DE\u9000\uFF1A" + I, l.class = "nodeError"), A == "terminateComment" && (f = "\u7EC8\u6B62\uFF1A" + I, l.class = "nodeError"), A == "addMultiInstanceComment" && (f = "\u52A0\u7B7E\uFF1A" + I, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (f = "\u51CF\u7B7E\uFF1A" + I, l.class = "nodeError"), A == "withdrawComment" && (f = "\u64A4\u9500\uFF1A" + I, l.class = "nodeWarn"), A == "deleteProcessComment" && (f = "\u5220\u9664\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), A == "cancelProcessComment" && (f = "\u62D2\u7EDD\uFF1A" + I, l.class = "nodeError"), A == "comment" && (f = "\u5BA1\u6279\uFF1A" + I, l.class = "nodeSuccess"), f && (p += `<span title='${f}'>${f}</span>`);
|
|
15575
|
+
A == "assigneeComment" && (f = "\u53D8\u66F4\u5BA1\u6838\u4EBA\uFF1A" + I, l.class = "nodeWarn"), A == "dispatchComment" && (f = "\u8C03\u5EA6\uFF1A" + I, l.class = "nodeWarn"), A == "transferComment" && (f = "\u8F6C\u529E\uFF1A" + I, l.class = "nodeWarn"), A == "delegateComment" && (f = "\u59D4\u6258\uFF1A" + I, l.class = "nodeWarn"), A == "rollbackComment" && (f = "\u6307\u5B9A\u56DE\u9000\uFF1A" + I, l.class = "nodeError"), A == "terminateComment" && (f = "\u7EC8\u6B62\uFF1A" + I, l.class = "nodeError"), (A == "addMultiInstanceComment" || (A || "").includes("\u52A0\u7B7E")) && (f = "\u52A0\u7B7E\uFF1A" + I, l.class = "nodeWarn"), A == "deleteMultiInstanceComment" && (f = "\u51CF\u7B7E\uFF1A" + I, l.class = "nodeError"), A == "withdrawComment" && (f = "\u64A4\u9500\uFF1A" + I, l.class = "nodeWarn"), A == "deleteProcessComment" && (f = "\u5220\u9664\u6D41\u7A0B\uFF1A" + I, l.class = "nodeError"), A == "cancelProcessComment" && (f = "\u62D2\u7EDD\uFF1A" + I, l.class = "nodeError"), A == "comment" && (f = "\u5BA1\u6279\uFF1A" + I, l.class = "nodeSuccess"), f && (p += `<span title='${f}'>${f}</span>`);
|
|
15576
15576
|
}
|
|
15577
15577
|
l.tooltip = p;
|
|
15578
15578
|
}
|
|
@@ -15734,7 +15734,7 @@ var Bb = /* @__PURE__ */ ve(
|
|
|
15734
15734
|
Ob,
|
|
15735
15735
|
!1,
|
|
15736
15736
|
Rb,
|
|
15737
|
-
"
|
|
15737
|
+
"e21f06b8",
|
|
15738
15738
|
null,
|
|
15739
15739
|
null
|
|
15740
15740
|
);
|
|
@@ -16267,12 +16267,16 @@ var zb = function() {
|
|
|
16267
16267
|
timestamp: s.endTime || s.createTime,
|
|
16268
16268
|
placement: "top"
|
|
16269
16269
|
}
|
|
16270
|
-
}, [t("p", [
|
|
16270
|
+
}, [t("p", [t("span", {
|
|
16271
|
+
staticClass: "flow-name"
|
|
16272
|
+
}, [e._v(e._s(s.assigneeName))]), e._v(" \u5728 [" + e._s(s.createTime) + "] \u5F00\u59CB\u5904\u7406 "), t("span", {
|
|
16273
|
+
staticClass: "flow-node"
|
|
16274
|
+
}, [e._v("[" + e._s(s.historyActivityType == "endEvent" ? "\u7ED3\u675F" : s.historyActivityName || "\u672A\u547D\u540D") + "]")]), e._v(" \u73AF\u8282 ")]), s.historyActivityDurationTime ? t("p", [e._v(" \u4EFB\u52A1\u5386\u65F6 [" + e._s(s.historyActivityDurationTime) + "] ")]) : e._e(), s.comments && s.comments.length > 0 ? e._l(s.comments.filter(function(r) {
|
|
16271
16275
|
return r.action === "AddComment";
|
|
16272
16276
|
}), function(r, a) {
|
|
16273
16277
|
return t("p", {
|
|
16274
16278
|
key: a
|
|
16275
|
-
}, [a < 1 ? [e.commentMap[r.type] ? t("span", [e._v(" " + e._s(e.commentMap[r.type]) + ": [" + e._s(r.fullMessage) + "] ")]) : e._e(), s.comments.filter(function(o) {
|
|
16279
|
+
}, [a < 1 ? [e.commentMap[r.type] ? t("span", [e._v(" " + e._s(e.commentMap[r.type]) + ": [" + e._s(r.fullMessage) + "] ")]) : r.fullMessage ? t("span", [e._v(" " + e._s(r.type) + ": [" + e._s(r.fullMessage) + "] ")]) : e._e(), s.comments.filter(function(o) {
|
|
16276
16280
|
return o.action === "AddComment";
|
|
16277
16281
|
}).length > 1 ? t("span", {
|
|
16278
16282
|
staticStyle: {
|
|
@@ -16284,12 +16288,12 @@ var zb = function() {
|
|
|
16284
16288
|
}
|
|
16285
16289
|
}, [e._v(" " + e._s(e.toggleText) + " "), t("i", {
|
|
16286
16290
|
class: [e.isFlag ? "arrow-up" : "arrow-down"]
|
|
16287
|
-
})]) : e._e(), r.time ? t("p", {
|
|
16291
|
+
})]) : e._e(), r.time && e.isFlag ? t("p", {
|
|
16288
16292
|
staticStyle: {
|
|
16289
16293
|
color: "gray",
|
|
16290
16294
|
"font-size": "12px"
|
|
16291
16295
|
}
|
|
16292
|
-
}, [e._v(e._s(r.time))]) : e._e()] : e._e(), a > 0 && e.isFlag ? [e.commentMap[r.type] ? t("span", [e._v(" " + e._s(e.commentMap[r.type]) + ": [" + e._s(r.fullMessage) + "] ")]) : e._e(), r.time ? t("p", {
|
|
16296
|
+
}, [e._v(e._s(r.time))]) : e._e()] : e._e(), a > 0 && e.isFlag ? [e.commentMap[r.type] ? t("span", [e._v(" " + e._s(e.commentMap[r.type]) + ": [" + e._s(r.fullMessage) + "] ")]) : r.fullMessage ? t("span", [e._v(" " + e._s(r.type) + ": [" + e._s(r.fullMessage) + "] ")]) : e._e(), r.time ? t("p", {
|
|
16293
16297
|
staticStyle: {
|
|
16294
16298
|
color: "gray",
|
|
16295
16299
|
"font-size": "12px"
|
|
@@ -16361,7 +16365,7 @@ var $b = /* @__PURE__ */ ve(
|
|
|
16361
16365
|
Xb,
|
|
16362
16366
|
!1,
|
|
16363
16367
|
e0,
|
|
16364
|
-
"
|
|
16368
|
+
"6634cd3f",
|
|
16365
16369
|
null,
|
|
16366
16370
|
null
|
|
16367
16371
|
);
|
|
@@ -16528,11 +16532,12 @@ const t0 = /* @__PURE__ */ function() {
|
|
|
16528
16532
|
},
|
|
16529
16533
|
methods: {
|
|
16530
16534
|
formatFlow(e) {
|
|
16531
|
-
|
|
16535
|
+
let i = (e || []).map((t) => ({
|
|
16532
16536
|
...t,
|
|
16533
16537
|
attachmentsFujian: (t.attachments || []).filter((s) => s.type != "signature"),
|
|
16534
16538
|
attachmentsQianzi: (t.attachments || []).filter((s) => s.type == "signature")
|
|
16535
16539
|
}));
|
|
16540
|
+
return i = i.reverse(), i;
|
|
16536
16541
|
},
|
|
16537
16542
|
handleActive(e, i) {
|
|
16538
16543
|
e !== this.active && (this.active = e, this.tabAnimation(i));
|
|
@@ -23357,7 +23362,7 @@ function WC(e) {
|
|
|
23357
23362
|
}
|
|
23358
23363
|
const cw = /* @__PURE__ */ function() {
|
|
23359
23364
|
return KC.exports;
|
|
23360
|
-
}(), YC = "ddy-process-h5", zC = "1.0.1-rc.3.
|
|
23365
|
+
}(), YC = "ddy-process-h5", zC = "1.0.1-rc.3.29", XC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", ZC = "./ddy-process-h5.umd.cjs", $C = "./style.css", ew = "module", tw = {
|
|
23361
23366
|
".": {
|
|
23362
23367
|
import: "./ddy-process-h5.js",
|
|
23363
23368
|
require: "./ddy-process-h5.umd.cjs"
|