ddy-process-h5 1.0.1-rc.3.27 → 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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ddy-process-h5",
3
- "version": "1.0.1-rc.3.27",
3
+ "version": "1.0.1-rc.3.29",
4
4
  "description": "> app端 流程插件",
5
5
  "main": "./ddy-process-h5.umd.cjs",
6
6
  "style": "./style.css",
@@ -16267,7 +16267,11 @@ var zb = function() {
16267
16267
  timestamp: s.endTime || s.createTime,
16268
16268
  placement: "top"
16269
16269
  }
16270
- }, [t("p", [e._v(" " + e._s(s.assigneeName) + " \u5728 [" + e._s(s.createTime) + "] \u5F00\u59CB\u5904\u7406 [" + e._s(s.historyActivityType == "endEvent" ? "\u7ED3\u675F" : s.historyActivityName || "\u672A\u547D\u540D") + "] \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) {
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", {
@@ -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
- "f4393dda",
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
- return (e || []).map((t) => ({
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.27", XC = "> app\u7AEF \u6D41\u7A0B\u63D2\u4EF6", ZC = "./ddy-process-h5.umd.cjs", $C = "./style.css", ew = "module", tw = {
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"