iking-web-ui-pro 0.2.36 → 0.2.38

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.
@@ -1028,7 +1028,7 @@ const vt = (o, a) => {
1028
1028
  name: d.name,
1029
1029
  url: lt(
1030
1030
  t.value,
1031
- (d == null ? void 0 : d.url) || ((m = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : m.id) || (d == null ? void 0 : d.id)
1031
+ d[s.value.url] || ((m = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : m.id) || (d == null ? void 0 : d.id)
1032
1032
  )
1033
1033
  }, r.isOnlyOfficePreview && (u.value = !0), n("handPreview", l.value);
1034
1034
  }, h = (d) => {
@@ -1039,16 +1039,12 @@ const vt = (o, a) => {
1039
1039
  ),
1040
1040
  d[s.value.name] || d.attachmentName
1041
1041
  );
1042
- }, g = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = Z(() => r.list.map((d) => {
1043
- var m;
1044
- const v = d[s.value.name] || d.attachmentName;
1045
- return {
1046
- ...d,
1047
- name: v,
1048
- size: d[s.value.size] || (d == null ? void 0 : d.fileSize) || (d == null ? void 0 : d.attachmentSize),
1049
- suffix: d[s.value.suffix] || (d == null ? void 0 : d.attachmentSuffix) || ((m = v.split(".")) == null ? void 0 : m.at(-1))
1050
- };
1051
- }));
1042
+ }, g = Z(() => ri.isNumber(r.width) ? `${r.width}px` : r.width), p = Z(() => r.list.map((d) => ({
1043
+ ...d,
1044
+ name: d[s.value.name] || d.attachmentName,
1045
+ size: d[s.value.size] || d.fileSize || d.attachmentSize,
1046
+ suffix: d[s.value.suffix] || d.attachmentSuffix
1047
+ })));
1052
1048
  return (d, v) => {
1053
1049
  var C, E, w;
1054
1050
  const m = Ke("tmplate");
@@ -13461,7 +13457,7 @@ const iu = ["id"], nu = /* @__PURE__ */ ee({
13461
13457
  };
13462
13458
  }
13463
13459
  });
13464
- const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(ru), Ii = (o) => (vr("data-v-48f27627"), o = o(), mr(), o), au = {
13460
+ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(ru), Ii = (o) => (vr("data-v-e0a05314"), o = o(), mr(), o), au = {
13465
13461
  class: "approveProcess",
13466
13462
  id: "approveProcess"
13467
13463
  }, ou = ["id"], lu = { class: "topBlock" }, uu = { class: "left" }, cu = { class: "nodeBg" }, fu = ["src"], hu = { class: "right" }, du = { class: "topInfo" }, gu = { key: 0 }, pu = {
@@ -13993,7 +13989,7 @@ const ru = /* @__PURE__ */ vt(nu, [["__scopeId", "data-v-b301aa7d"]]), su = Ae(r
13993
13989
  };
13994
13990
  }
13995
13991
  });
13996
- const nc = /* @__PURE__ */ vt(ic, [["__scopeId", "data-v-48f27627"]]), oc = Ae(nc);
13992
+ const nc = /* @__PURE__ */ vt(ic, [["__scopeId", "data-v-e0a05314"]]), oc = Ae(nc);
13997
13993
  export {
13998
13994
  oc as IKApprovalProcessDetail,
13999
13995
  oc as default