iking-web-ui-pro 0.1.49 → 0.1.51

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.
@@ -1,4 +1,4 @@
1
- import { defineComponent as P, computed as I, openBlock as l, createElementBlock as i, createElementVNode as n, ref as H, reactive as E, resolveComponent as R, Fragment as b, renderList as M, normalizeClass as z, normalizeStyle as $, createVNode as O, toDisplayString as f, unref as C, withModifiers as i3, renderSlot as n3, createCommentVNode as c, withCtx as s3, withDirectives as r3, createBlock as W, nextTick as U, watch as c3, onMounted as d3, createTextVNode as D, pushScopeId as u3, popScopeId as p3 } from "vue";
1
+ import { defineComponent as P, computed as I, openBlock as l, createElementBlock as i, createElementVNode as n, ref as H, reactive as E, resolveComponent as R, Fragment as z, renderList as M, normalizeClass as b, normalizeStyle as $, createVNode as O, toDisplayString as f, unref as C, withModifiers as i3, renderSlot as n3, createCommentVNode as c, withCtx as s3, withDirectives as r3, createBlock as W, nextTick as U, watch as c3, onMounted as d3, createTextVNode as D, pushScopeId as u3, popScopeId as p3 } from "vue";
2
2
  import { paramType as h3, ikFile as f3, ikColor as v3, ikDate as g3 } from "iking-utils-pro";
3
3
  import { ElDialog as _3, vLoading as m3 } from "element-plus";
4
4
  const K = (s, o) => {
@@ -37,7 +37,7 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
37
37
  for (let e = 0, r = s.length; e < r; e += 4096)
38
38
  t.push(w.apply(null, s.subarray(e, e + 4096)));
39
39
  return a3(t.join(""));
40
- }, b3 = (s) => {
40
+ }, z3 = (s) => {
41
41
  if (s.length < 2) {
42
42
  var o = s.charCodeAt(0);
43
43
  return o < 128 ? s : o < 2048 ? w(192 | o >>> 6) + w(128 | o & 63) : w(224 | o >>> 12 & 15) + w(128 | o >>> 6 & 63) + w(128 | o & 63);
@@ -45,7 +45,7 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
45
45
  var o = 65536 + (s.charCodeAt(0) - 55296) * 1024 + (s.charCodeAt(1) - 56320);
46
46
  return w(240 | o >>> 18 & 7) + w(128 | o >>> 12 & 63) + w(128 | o >>> 6 & 63) + w(128 | o & 63);
47
47
  }
48
- }, z3 = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, $3 = (s) => s.replace(z3, b3), Q = q ? (s) => Buffer.from(s, "utf8").toString("base64") : J ? (s) => x3(J.encode(s)) : (s) => a3($3(s)), B3 = (s, o = !1) => o ? w3(Q(s)) : Q(s), T3 = (s, o = 2) => {
48
+ }, b3 = /[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g, $3 = (s) => s.replace(b3, z3), Q = q ? (s) => Buffer.from(s, "utf8").toString("base64") : J ? (s) => x3(J.encode(s)) : (s) => a3($3(s)), B3 = (s, o = !1) => o ? w3(Q(s)) : Q(s), T3 = (s, o = 2) => {
49
49
  if (s === void 0)
50
50
  return "";
51
51
  if (s === 0)
@@ -587,11 +587,11 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
587
587
  null,
588
588
  -1
589
589
  /* HOISTED */
590
- ), b6 = [
590
+ ), z6 = [
591
591
  w6,
592
592
  F6,
593
593
  x6
594
- ], z6 = {
594
+ ], b6 = {
595
595
  key: 11,
596
596
  t: "1686300037564",
597
597
  class: "icon",
@@ -657,7 +657,7 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
657
657
  },
658
658
  setup(s) {
659
659
  const o = s, t = I(() => o.file ? o3(o.file, o.fields) : o.type);
660
- return (e, r) => t.value === "image" ? (l(), i("svg", S3, M3)) : t.value === "zip" ? (l(), i("svg", O3, D3)) : t.value === "ppt" ? (l(), i("svg", L3, E3)) : t.value === "word" ? (l(), i("svg", U3, K3)) : t.value === "pdf" ? (l(), i("svg", q3, G3)) : t.value === "txt" ? (l(), i("svg", Z3, e6)) : t.value === "audio" ? (l(), i("svg", t6, o6)) : t.value === "video" ? (l(), i("svg", l6, r6)) : t.value === "excel" ? (l(), i("svg", c6, h6)) : t.value === "exe" ? (l(), i("svg", f6, y6)) : t.value === "json" ? (l(), i("svg", k6, b6)) : (l(), i("svg", z6, S6));
660
+ return (e, r) => t.value === "image" ? (l(), i("svg", S3, M3)) : t.value === "zip" ? (l(), i("svg", O3, D3)) : t.value === "ppt" ? (l(), i("svg", L3, E3)) : t.value === "word" ? (l(), i("svg", U3, K3)) : t.value === "pdf" ? (l(), i("svg", q3, G3)) : t.value === "txt" ? (l(), i("svg", Z3, e6)) : t.value === "audio" ? (l(), i("svg", t6, o6)) : t.value === "video" ? (l(), i("svg", l6, r6)) : t.value === "excel" ? (l(), i("svg", c6, h6)) : t.value === "exe" ? (l(), i("svg", f6, y6)) : t.value === "json" ? (l(), i("svg", k6, z6)) : (l(), i("svg", b6, S6));
661
661
  }
662
662
  }), C6 = ["onClick"], V6 = { class: "text" }, I6 = { class: "fileName" }, M6 = { class: "size" }, O6 = { class: "w-full h-full overflow-hidden flex-center" }, A6 = ["src"], H6 = /* @__PURE__ */ P({
663
663
  __name: "IKPreviewFile",
@@ -761,18 +761,18 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
761
761
  var k, S, x;
762
762
  const v = R("el-image-viewer");
763
763
  return l(), i(
764
- b,
764
+ z,
765
765
  null,
766
766
  [
767
767
  (k = s.list) != null && k.length ? (l(!0), i(
768
- b,
768
+ z,
769
769
  { key: 0 },
770
770
  M(s.list, (g, F) => {
771
771
  var N;
772
772
  return l(), i(
773
773
  "div",
774
774
  {
775
- class: z(["iking-privew-annex", { "is-bg": s.showBg }]),
775
+ class: b(["iking-privew-annex", { "is-bg": s.showBg }]),
776
776
  key: F,
777
777
  style: $({
778
778
  marginBottom: F == ((N = s.list) == null ? void 0 : N.length) - 1 ? "0" : "10px",
@@ -809,7 +809,7 @@ const w3 = (s) => s.replace(/=/g, "").replace(/[+\/]/g, (o) => o == "+" ? "-" :
809
809
  n(
810
810
  "div",
811
811
  {
812
- class: z(["flex flex-center", { "hover-show": s.iconHoverShow }])
812
+ class: b(["flex flex-center", { "hover-show": s.iconHoverShow }])
813
813
  },
814
814
  [
815
815
  O(C(t3), {
@@ -955,7 +955,7 @@ const D6 = K(H6), L6 = { class: "ik-svg-icon ik-icon inline-block inline-flex ju
955
955
  "i",
956
956
  {
957
957
  key: 0,
958
- class: z(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
958
+ class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
959
959
  [r.name]: t.value === "unocss",
960
960
  "show-bg": r.showBg || r.bg,
961
961
  default: r.size === "default",
@@ -974,7 +974,7 @@ const D6 = K(H6), L6 = { class: "ik-svg-icon ik-icon inline-block inline-flex ju
974
974
  "i",
975
975
  {
976
976
  key: 0,
977
- class: z(`iksig ${r.name}`),
977
+ class: b(`iksig ${r.name}`),
978
978
  style: $(e.value)
979
979
  },
980
980
  null,
@@ -1001,7 +1001,7 @@ const D6 = K(H6), L6 = { class: "ik-svg-icon ik-icon inline-block inline-flex ju
1001
1001
  n(
1002
1002
  "i",
1003
1003
  {
1004
- class: z(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1004
+ class: b(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
1005
1005
  [r.name]: t.value === "unocss",
1006
1006
  "show-bg": r.showBg || r.bg,
1007
1007
  default: r.size === "default",
@@ -1018,7 +1018,7 @@ const D6 = K(H6), L6 = { class: "ik-svg-icon ik-icon inline-block inline-flex ju
1018
1018
  "i",
1019
1019
  {
1020
1020
  key: 0,
1021
- class: z(`iksig ${r.name}`),
1021
+ class: b(`iksig ${r.name}`),
1022
1022
  style: $(e.value)
1023
1023
  },
1024
1024
  null,
@@ -1045,7 +1045,7 @@ const D6 = K(H6), L6 = { class: "ik-svg-icon ik-icon inline-block inline-flex ju
1045
1045
  };
1046
1046
  }
1047
1047
  }), t3 = K(K6);
1048
- const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1048
+ const X = (s) => (u3("data-v-f59c49a4"), s = s(), p3(), s), q6 = {
1049
1049
  class: "approveProcess",
1050
1050
  id: "approveProcess"
1051
1051
  }, X6 = ["id"], Y6 = { class: "topBlock" }, G6 = { class: "left" }, Z6 = { class: "nodeBg" }, J6 = ["src"], Q6 = { class: "right" }, ee = { class: "topInfo" }, te = { key: 0 }, se = {
@@ -1081,7 +1081,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1081
1081
  key: 1,
1082
1082
  class: "blue",
1083
1083
  style: { "font-size": "12px" }
1084
- }, Fe = { class: "time" }, xe = { key: 0 }, be = { key: 1 }, ze = ["onClick"], $e = ["onClick"], Be = {
1084
+ }, Fe = { class: "time" }, xe = { key: 0 }, ze = { key: 1 }, be = ["onClick"], $e = ["onClick"], Be = {
1085
1085
  key: 0,
1086
1086
  class: "opinion"
1087
1087
  }, Te = { key: 0 }, Se = { key: 1 }, Ne = /* @__PURE__ */ X(() => /* @__PURE__ */ n(
@@ -1309,7 +1309,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1309
1309
  const d = R("el-image");
1310
1310
  return l(), i("div", q6, [
1311
1311
  (l(!0), i(
1312
- b,
1312
+ z,
1313
1313
  null,
1314
1314
  M(e.listData, (a, v) => {
1315
1315
  var k, S, x, g, F, N, V, Y, G, Z;
@@ -1325,17 +1325,19 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1325
1325
  ((k = a[e.defaultFile.approvePersonList]) == null ? void 0 : k.length) == 1 && a[e.defaultFile.approvePersonList][0].userAvatar ? (l(), i("img", {
1326
1326
  key: 0,
1327
1327
  style: { width: "100%", height: "100%", "border-radius": "50%" },
1328
- src: T(a[e.defaultFile.approvePersonList][0].userAvatar),
1328
+ src: T(
1329
+ a[e.defaultFile.approvePersonList][0].userAvatar
1330
+ ),
1329
1331
  alt: ""
1330
1332
  }, null, 8, J6)) : (l(), i(
1331
- b,
1333
+ z,
1332
1334
  { key: 1 },
1333
1335
  [
1334
1336
  c(" 否则显示对应节点 "),
1335
1337
  n(
1336
1338
  "i",
1337
1339
  {
1338
- class: z(
1340
+ class: b(
1339
1341
  y(
1340
1342
  a[e.defaultFile.nodeType],
1341
1343
  a[e.defaultFile.approvePersonList]
@@ -1354,7 +1356,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1354
1356
  n(
1355
1357
  "i",
1356
1358
  {
1357
- class: z(
1359
+ class: b(
1358
1360
  m(a[e.defaultFile.approveStatus], v)
1359
1361
  )
1360
1362
  },
@@ -1410,7 +1412,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1410
1412
  )
1411
1413
  ])) : c("v-if", !0)
1412
1414
  ])) : (l(), i(
1413
- b,
1415
+ z,
1414
1416
  { key: 1 },
1415
1417
  [
1416
1418
  c(" 待审批节点 "),
@@ -1487,20 +1489,23 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1487
1489
  ]),
1488
1490
  n("div", Fe, [
1489
1491
  c(" 不是抄送节点,展示时间 "),
1490
- a[e.defaultFile.nodeType] != e.nodeType.抄送节点 ? (l(), i(
1492
+ a[e.defaultFile.nodeType] != e.nodeType.抄送节点 && a[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (l(), i(
1491
1493
  "span",
1492
1494
  xe,
1493
- f(C(g3).toDateTime(a[e.defaultFile.operationTime], "MM/DD HH:mm")),
1495
+ f(C(g3).toDateTime(
1496
+ a[e.defaultFile.operationTime],
1497
+ "MM/DD HH:mm"
1498
+ )),
1494
1499
  1
1495
1500
  /* TEXT */
1496
1501
  )) : c("v-if", !0),
1497
1502
  c(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
1498
- a[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((V = a[e.defaultFile.approvePersonList]) == null ? void 0 : V.length) > 1 ? (l(), i("span", be, [
1503
+ a[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((V = a[e.defaultFile.approvePersonList]) == null ? void 0 : V.length) > 1 ? (l(), i("span", ze, [
1499
1504
  a != null && a.show ? (l(), i("i", {
1500
1505
  key: 0,
1501
1506
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
1502
1507
  onClick: (_) => B(a, "grid")
1503
- }, null, 8, ze)) : (l(), i("i", {
1508
+ }, null, 8, be)) : (l(), i("i", {
1504
1509
  key: 1,
1505
1510
  onClick: (_) => B(a, "none"),
1506
1511
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
@@ -1531,7 +1536,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1531
1536
  a[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), i("span", Se, [
1532
1537
  Ne,
1533
1538
  (l(!0), i(
1534
- b,
1539
+ z,
1535
1540
  null,
1536
1541
  M(a[e.defaultFile.countersignPer], (_, j) => (l(), i(
1537
1542
  "span",
@@ -1555,7 +1560,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1555
1560
  c(" 附件图片 "),
1556
1561
  (G = a[e.defaultFile.attachmentImg]) != null && G.length ? (l(), i("div", Ve, [
1557
1562
  (l(!0), i(
1558
- b,
1563
+ z,
1559
1564
  null,
1560
1565
  M(a[e.defaultFile.attachmentImg], (_, j) => (l(), i("div", {
1561
1566
  class: "image",
@@ -1577,7 +1582,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1577
1582
  c(" 抄送节点或是等待审批状态并且列表长度大于1 "),
1578
1583
  (a[e.defaultFile.nodeType] == e.nodeType.抄送节点 || a[e.defaultFile.approveStatus] == e.statusOption.等待) && ((Z = a[e.defaultFile.approvePersonList]) == null ? void 0 : Z.length) > 1 ? (l(), i("div", Ie, [
1579
1584
  (l(!0), i(
1580
- b,
1585
+ z,
1581
1586
  null,
1582
1587
  M(a[e.defaultFile.approvePersonList], (_) => (l(), i("div", {
1583
1588
  class: "perBlock",
@@ -1620,7 +1625,7 @@ const X = (s) => (u3("data-v-b2b8bdb6"), s = s(), p3(), s), q6 = {
1620
1625
  };
1621
1626
  }
1622
1627
  });
1623
- const je = /* @__PURE__ */ y3(Pe, [["__scopeId", "data-v-b2b8bdb6"]]), We = K(je);
1628
+ const je = /* @__PURE__ */ y3(Pe, [["__scopeId", "data-v-f59c49a4"]]), We = K(je);
1624
1629
  export {
1625
1630
  We as IKApprovalProcessDetail,
1626
1631
  We as default
@@ -1 +1 @@
1
- (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","element-plus"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g.index={},g.vue,g["iking-utils-pro"],g["element-plus"]))})(this,function(g,e,z,D){"use strict";const b=(l,n)=>{if(l.install=o=>{for(const t of[l,...Object.values(n??{})])o.component(t.name,t)},n)for(const[o,t]of Object.entries(n))l[o]=t;return l},R=(l,n)=>{const o=l.__vccOpts||l;for(const[t,s]of n)o[t]=s;return o},C=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const v=typeof TextEncoder=="function"?new TextEncoder:void 0,q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",x=Array.prototype.slice.call(q);(l=>{let n={};return l.forEach((o,t)=>n[o]=t),n})(x);const u=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const K=l=>l.replace(/=/g,"").replace(/[+\/]/g,n=>n=="+"?"-":"_"),M=typeof btoa=="function"?l=>btoa(l):C?l=>Buffer.from(l,"binary").toString("base64"):l=>{let n,o,t,s,r="";const f=l.length%3;for(let k=0;k<l.length;){if((o=l.charCodeAt(k++))>255||(t=l.charCodeAt(k++))>255||(s=l.charCodeAt(k++))>255)throw new TypeError("invalid character found");n=o<<16|t<<8|s,r+=x[n>>18&63]+x[n>>12&63]+x[n>>6&63]+x[n&63]}return f?r.slice(0,f-3)+"===".substring(f):r},W=C?l=>Buffer.from(l).toString("base64"):l=>{let o=[];for(let t=0,s=l.length;t<s;t+=4096)o.push(u.apply(null,l.subarray(t,t+4096)));return M(o.join(""))},X=l=>{if(l.length<2){var n=l.charCodeAt(0);return n<128?l:n<2048?u(192|n>>>6)+u(128|n&63):u(224|n>>>12&15)+u(128|n>>>6&63)+u(128|n&63)}else{var n=65536+(l.charCodeAt(0)-55296)*1024+(l.charCodeAt(1)-56320);return u(240|n>>>18&7)+u(128|n>>>12&63)+u(128|n>>>6&63)+u(128|n&63)}},Y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,G=l=>l.replace(Y,X),I=C?l=>Buffer.from(l,"utf8").toString("base64"):v?l=>W(v.encode(l)):l=>M(G(l)),Z=(l,n=!1)=>n?K(I(l)):I(l),J=(l,n=2)=>{if(l===void 0)return"";if(l===0)return"0 B";const o=["B","KB","MB","GB","TB"],t=Math.floor(Math.log(l)/Math.log(1024));let s=l/Math.pow(1024,t);return(s%1===0?s.toFixed(n||0):s.toFixed(n))+" "+o[t]},$=(l,n)=>n?n.startsWith("http")?n:`${l||location.origin}${n}`:"",A=(l,n)=>{var s,r,f,k,w;const o=(s=l==null?void 0:l.response)!=null&&s.data?O((f=(r=l==null?void 0:l.response)==null?void 0:r.data)==null?void 0:f.suffix):((k=l.raw)==null?void 0:k.type)||O(l[n.suffix]),t=((w=l.raw)==null?void 0:w.name)||l[n.name];return o!=null&&o.includes("sheet")||o!=null&&o.includes("excel")?"excel":o!=null&&o.includes("zip")||o==="application/x-compressed"?"zip":o!=null&&o.includes("image")?"image":o!=null&&o.includes("video")?"video":o!=null&&o.includes("audio")?"audio":o!=null&&o.includes("pdf")?"pdf":o!=null&&o.includes("text")||o!=null&&o.includes("txt")?"txt":o!=null&&o.includes("word")?"word":t!=null&&t.includes("ppt")?"ppt":t!=null&&t.includes("exe")?"exe":t!=null&&t.includes("json")?"json":"unknow"},O=l=>{const n=l==null?void 0:l.toLocaleLowerCase();switch(n!=null&&n.startsWith(".")?n:`.${n}`){case".doc":case".docx":case".docxf":case".docm":case".dot":case".dotm":case".dotx":case".epub":case".fodt":case".htm":case".html":case".mht":case".odt":case".ott":case".rtf":case".txt":case".djvu":case".oxps":case".oform":case".fb2":case".xml":case".xps":return"word";case".csv":case".xls":case".xlsx":case".fods":case".ods":case".ots":case".xlsb":case".xlsm":case".xlt":case".xltm":case".xltx":return"excel";case".fodp":case".odp":case".otp":case".pot":case".potm":case".potx":case".pps":case".ppsm":case".ppsx":case".ppt":case".pptm":case".pptx":return"ppt";case".zip":case".rar":case".7z":case".apz":case".ar":case".bz":case".car":case".dar":case".cpgz":case".f":case".ha":case".hbc":case".hbc2":case".hbe":case".hpk":case".hyp":return"zip";case".png":case".jpg":case".jpeg":case".bmp":case".gif":case".webp":case".psd":case".svg":case".tiff":return"image";case".avi":case".wmv":case".mpeg":case".mp4":case".mpm4v":case".mov":case".asf":case".flv":case".f4v":case".rmvb":case".rm":case".3gp":case".vob":return"video";case"audio":return"audio";case".txt":return"txt";case".pdf":return"pdf";case l:case"":return"unknow"}},Q={key:0,t:"1686300059786",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7671",width:"200",height:"200"},e3=[e.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#50CD89","p-id":"7672"},null,-1),e.createElementVNode("path",{d:"M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",fill:"#FFF7F7","p-id":"7673"},null,-1),e.createElementVNode("path",{d:"M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",fill:"#FFFFFF","p-id":"7674"},null,-1),e.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#a9f6cc","p-id":"7675"},null,-1)],t3={key:1,t:"1686301531714",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9067",width:"200",height:"200"},o3=[e.createElementVNode("path",{d:"M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",fill:"#FFA621","p-id":"9068"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"9069"},null,-1)],l3={key:2,t:"1686300141125",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8137",width:"200",height:"200"},a3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",fill:"#F1416C","p-id":"8138"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8139"},null,-1)],n3={key:3,t:"1686300157181",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8292",width:"200",height:"200"},s3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",fill:"#029EF7","p-id":"8293"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8294"},null,-1)],c3={key:4,t:"1686300180947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8447",width:"200",height:"200"},i3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",fill:"#F1416C","p-id":"8448"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8449"},null,-1)],r3={key:5,t:"1686300195363",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8602",width:"200",height:"200"},d3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",fill:"#029EF7","p-id":"8603"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8604"},null,-1)],p3={key:6,t:"1686300209288",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8757",width:"200",height:"200"},h3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",fill:"#FFA621","p-id":"8758"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8759"},null,-1)],m3={key:7,t:"1686300225262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8912",width:"200",height:"200"},f3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",fill:"#FFA621","p-id":"8913"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8914"},null,-1)],k3={key:8,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},_3=[e.createElementVNode("path",{d:"M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",fill:"#00BD76","p-id":"4337"},null,-1),e.createElementVNode("path",{d:"M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",fill:"#FFFFFF",opacity:".9","p-id":"4338"},null,-1),e.createElementVNode("path",{d:"M640 0l320 320H768a128 128 0 0 1-128-128V0z",fill:"#19EA9C","p-id":"4339"},null,-1)],g3={key:9,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},u3=[e.createElementVNode("path",{d:"M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",fill:"#8199AF","p-id":"8002"},null,-1),e.createElementVNode("path",{d:"M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",fill:"#617F9B","p-id":"8003"},null,-1),e.createElementVNode("path",{d:"M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",fill:"#FFFFFF",opacity:".5","p-id":"8004"},null,-1),e.createElementVNode("path",{d:"M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",fill:"#FFFFFF","p-id":"8005"},null,-1)],y3={key:10,t:"1714099890925",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2271",width:"200",height:"200"},B3=[e.createElementVNode("path",{d:"M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",fill:"#0DD59D","p-id":"2272"},null,-1),e.createElementVNode("path",{d:"M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",fill:"#FFFFFF","fill-opacity":".65","p-id":"2273"},null,-1),e.createElementVNode("path",{d:"M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",fill:"#FFFFFF","p-id":"2274"},null,-1)],w3={key:11,t:"1686300037564",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7515",width:"200",height:"200"},N3=[e.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#029EF7","p-id":"7516"},null,-1),e.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#64b5ed","p-id":"7517"},null,-1),e.createElementVNode("path",{d:"M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",fill:"#FFFFFF","p-id":"7518"},null,-1)],V3=e.defineComponent({__name:"FileIcon",props:{type:{type:String,default:"unknow"},file:{type:Object,default:()=>null},fields:{type:Object,default:()=>({name:"name",url:"url",suffix:"suffix"})}},setup(l){const n=l,o=e.computed(()=>n.file?A(n.file,n.fields):n.type);return(t,s)=>o.value==="image"?(e.openBlock(),e.createElementBlock("svg",Q,e3)):o.value==="zip"?(e.openBlock(),e.createElementBlock("svg",t3,o3)):o.value==="ppt"?(e.openBlock(),e.createElementBlock("svg",l3,a3)):o.value==="word"?(e.openBlock(),e.createElementBlock("svg",n3,s3)):o.value==="pdf"?(e.openBlock(),e.createElementBlock("svg",c3,i3)):o.value==="txt"?(e.openBlock(),e.createElementBlock("svg",r3,d3)):o.value==="audio"?(e.openBlock(),e.createElementBlock("svg",p3,h3)):o.value==="video"?(e.openBlock(),e.createElementBlock("svg",m3,f3)):o.value==="excel"?(e.openBlock(),e.createElementBlock("svg",k3,_3)):o.value==="exe"?(e.openBlock(),e.createElementBlock("svg",g3,u3)):o.value==="json"?(e.openBlock(),e.createElementBlock("svg",y3,B3)):(e.openBlock(),e.createElementBlock("svg",w3,N3))}}),E3=["onClick"],F3={class:"text"},x3={class:"fileName"},z3={class:"size"},$3={class:"w-full h-full overflow-hidden flex-center"},b3=["src"],C3=e.defineComponent({__name:"IKPreviewFile",props:{list:{type:Array,default:()=>[]},kkUrl:{required:!0,type:String,default:""},url:{required:!0,type:String,default:""},loadUrl:{type:String,default:""},field:{required:!0,type:Object,default:()=>({name:"attachmentName",url:"attachmentId",suffix:"attachmentSuffix",size:"attachmentSize"})},iconSize:{type:Number,default:40},showBg:{type:Boolean,default:!0},width:{type:Number||String,default:"100%"},iconHoverShow:{type:Boolean,default:!1}},setup(l){const n=l,o=e.computed(()=>({name:"name",url:"url",suffix:"suffix",size:"size",...n.field})),t=e.ref(null),s=e.computed(()=>{var a,p,_;if(!n.kkUrl||!((a=r.data)!=null&&a[o.value.url]))return"";const c=n.loadUrl?n.loadUrl:location.href;return`${n.kkUrl}/onlinePreview?url=${encodeURIComponent(Z(`${$(c,(p=r.data)==null?void 0:p[o.value.url])}&fullfilename=${(_=r.data)==null?void 0:_[o.value.name]}`))}`}),r=e.reactive({show:!1,data:{}}),f=e.ref(null),k=e.ref(!1),w=c=>{var a,p;f.value={...c,name:c[o.value.name],url:$(n.loadUrl,c[o.value.url]||((p=(a=c==null?void 0:c.response)==null?void 0:a.data)==null?void 0:p.id))},c&&A(c,o.value)==="image"?k.value=!0:(i.value=!0,r.data=c,r.show=!0,e.nextTick(()=>{t.value.onload=()=>{i.value=!1}}))},N=c=>{z.ikFile.downloadFile($(n.loadUrl,c[o.value.url]),c[o.value.name])},i=e.ref(!1),d=e.computed(()=>z.paramType.isNumber(n.width)?`${n.width}px`:n.width);return(c,a)=>{var _,V,B;const p=e.resolveComponent("el-image-viewer");return e.openBlock(),e.createElementBlock(e.Fragment,null,[(_=l.list)!=null&&_.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.list,(h,y)=>{var E;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["iking-privew-annex",{"is-bg":l.showBg}]),key:y,style:e.normalizeStyle({marginBottom:y==((E=l.list)==null?void 0:E.length)-1?"0":"10px",width:d.value})},[e.createElementVNode("div",{class:"file-card",onClick:F=>w(h)},[e.createVNode(V3,{file:h,style:e.normalizeStyle({height:`${l.iconSize}px`}),class:"ikui-w-auto",fields:o.value},null,8,["file","style","fields"]),e.createElementVNode("div",F3,[e.createElementVNode("div",x3,e.toDisplayString(h[o.value.name]),1),e.createElementVNode("div",z3,e.toDisplayString(e.unref(J)(h[o.value.size])),1)]),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-center",{"hover-show":l.iconHoverShow}])},[e.createVNode(e.unref(L),{name:"iksvg_daochu",onClick:e.withModifiers(F=>N(h),["stop"]),bg:l.showBg,size:l.showBg?"default":20},null,8,["onClick","bg","size"]),e.createVNode(e.unref(L),{name:"iksvg_yulan",bg:l.showBg,size:l.showBg?"default":20},null,8,["bg","size"]),e.renderSlot(c.$slots,"operation",{data:{...h,findex:y}})],2)],8,E3)],6)}),128)):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(D.ElDialog),{fullscreen:"",modelValue:r.show,"onUpdate:modelValue":a[0]||(a[0]=h=>r.show=h),"destroy-on-close":"","append-to-body":"","modal-class":"ik-file-preview-modal",onClose:a[1]||(a[1]=h=>c.$emit("update:modelValue",!1)),class:"ik-file-preview"},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",$3,[r.show?(e.openBlock(),e.createElementBlock("iframe",{key:0,ref_key:"freamRef",ref:t,"cross-origin":"",src:s.value,frameborder:"0",allowfullscreen:"",seamless:""},null,8,b3)):e.createCommentVNode("v-if",!0)])),[[e.unref(D.vLoading),i.value]])]),_:1},8,["modelValue"]),(V=f.value)!=null&&V.url&&k.value?(e.openBlock(),e.createBlock(p,{key:1,onClose:a[2]||(a[2]=h=>(f.value=null,k.value=!1)),ref:"previewImgRef","url-list":[(B=f.value)==null?void 0:B.url]},null,8,["url-list"])):e.createCommentVNode("v-if",!0)],64)}}}),he="",S3=b(C3),T3={class:"ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"},D3={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v3=["xlink:href"],M3=["src"],I3={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},A3=["xlink:href"],O3=["src"],L=b(e.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},primary:{type:Boolean},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(l){const n=l,o=e.computed(()=>{var s,r;return/^http?:\/\//.test(n.name)?"img":/i-[^:]+:[^:]+/.test(n.name)?"unocss":(s=n.name)!=null&&s.startsWith("iksig")?"iksig":(r=n.name)!=null&&r.includes(":")?"iconify":"svg"}),t=e.computed(()=>{const s=[];if(n.flip)switch(n.flip){case"horizontal":s.push("rotateY(180deg)");break;case"vertical":s.push("rotateX(180deg)");break;case"both":s.push("rotateX(180deg)"),s.push("rotateY(180deg)");break}return n.rotate&&s.push(`rotate(${n.rotate%360}deg)`),{...n.color&&{color:n.color},...n.size&&{fontSize:typeof n.size=="number"?`${n.size}px`:n.size},...s.length&&{transform:s.join(" ")},padding:n.padding,...n.color&&o.value!=="iksig"?{"--ik-color-icon-dark":n.color,"--ik-color-icon-light":z.ikColor.setOpacity(n.color,n.opacity||.4)}:{},...n.type==="primary"||n.primary?{"--ik-color-icon-dark":"var(--ik-theme-color)","--ik-color-icon-light":"var(--ik-color-icon-light-hover)","--ik-color-bg-icon":"var(--ik-color-bg-button-secondary)"}:n.type==="warning"?{"--ik-color-icon-dark":"var(--ik-color-error)","--ik-color-icon-light":"var(--ik-color-icon-error-light)","--ik-color-bg-icon":"var(--ik-color-icon-error-bg)"}:{}}});return(s,r)=>{const f=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("span",T3,[s.notip||!s.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[s.name]:o.value==="unocss","show-bg":s.showBg||s.bg,default:s.size==="default",small:s.size==="small",big:s.size==="big",warning:s.warning,primary:s.primary,active:s.active,disabled:s.disabled}]),style:e.normalizeStyle(t.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${s.name}`),style:e.normalizeStyle(t.value)},null,6)):o.value==="svg"?(e.openBlock(),e.createElementBlock("svg",D3,[e.createElementVNode("use",{"xlink:href":`#${s.name}`},null,8,v3)])):o.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:s.name,class:"h-[1em] w-[1em]"},null,8,M3)):e.createCommentVNode("v-if",!0)],6)):(e.openBlock(),e.createBlock(f,{key:1,content:s.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[s.name]:o.value==="unocss","show-bg":s.showBg||s.bg,default:s.size==="default",primary:s.primary,small:s.size==="small",big:s.size==="big",warning:s.warning,active:s.active}]),style:e.normalizeStyle(t.value)},[o.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${s.name}`),style:e.normalizeStyle(t.value)},null,6)):o.value==="svg"?(e.openBlock(),e.createElementBlock("svg",I3,[e.createElementVNode("use",{"xlink:href":`#${s.name}`},null,8,A3)])):o.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:s.name,class:"h-[1em] w-[1em]"},null,8,O3)):e.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),fe="",S=l=>(e.pushScopeId("data-v-b2b8bdb6"),l=l(),e.popScopeId(),l),L3={class:"approveProcess",id:"approveProcess"},H3=["id"],P3={class:"topBlock"},j3={class:"left"},U3={class:"nodeBg"},R3=["src"],q3={class:"right"},K3={class:"topInfo"},W3={key:0},X3={key:0,class:"main-text"},Y3={class:"name"},G3={key:0},Z3={key:0},J3={key:1},Q3=S(()=>e.createElementVNode("span",{class:"red",style:{margin:"0px 5px"}},"退回至",-1)),e6={key:0},t6={key:0},o6={key:1},l6={key:1},a6=S(()=>e.createElementVNode("div",{class:"main-text"},"抄送人员",-1)),n6={class:"name"},s6={key:0},c6={style:{color:"#000"}},i6={class:"blue",style:{"margin-left":"5px","font-size":"12px"}},r6={key:1},d6={key:0,class:"blue",style:{"font-size":"12px"}},p6={key:1},h6={key:0,class:"blue",style:{"font-size":"12px"}},m6={key:1,class:"blue",style:{"font-size":"12px"}},f6={class:"time"},k6={key:0},_6={key:1},g6=["onClick"],u6=["onClick"],y6={key:0,class:"opinion"},B6={key:0},w6={key:1},N6=S(()=>e.createElementVNode("span",{class:"ik-text-primary"},"添加审批人",-1)),V6={style:{color:"var(--el-text-color-primary)","margin-left":"8px"}},E6={key:2,class:"annexImage"},F6={key:3,class:"approveList"},x6={class:"nodeBg-list"},z6=["src"],$6={key:1},b6={key:2,class:"ikapprove ikapprove-duihao2 green read"},C6=["title"],S6={name:"IkingApprovalProcessDetail"},T6=e.defineComponent({...S6,props:{local:{type:Boolean,default:!1},defaultStatus:{type:Object,default:()=>({})},defaultNodeType:{type:Object,default:()=>({})},dataList:{type:Array,default:()=>[]},defaultFieldMap:{type:Object,default:()=>({})},returnNode:{type:Array,default:()=>[]},fileUrl:{type:String,default:""},kkUrl:{type:String,default:""}},emits:["preview"],setup(l,{emit:n}){const o=l,t=e.reactive({nodeType:{发起人节点:"1",审批节点:"2",办理节点:"3",抄送节点:"4",...o.defaultNodeType},statusOption:{发起:"1",等待:"2",同意:"3",拒绝:"4",转交:"5",加签:"6",退回:"7",撤销:"8",评论:"9",...o.defaultStatus},listData:[],defaultFile:{id:"id",nodeId:"nodeId",nodeType:"nodeType",nodeTypeName:"nodeTypeName",approveStatus:"approveStatus",approveStatusName:"approveStatusName",originator:"originator",operationTime:"operationTime",approveType:"approveType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approveOpinion:"approveOpinion",countersignPer:"countersignPer",backToRecordNodeName:"backToRecordNodeName",attachment:"attachment",attachmentParam:{id:"id",originName:"originName",url:"url",suffix:"suffix",size:"size"},attachmentImg:"attachmentImg",returnNode:"returnNode",returnNodeName:"returnNodeName",lineType:"lineType",allRead:"allRead",read:"read",approvePersonList:[{id:"id",name:"name",approveState:"approveState",approveTime:"approveTime",approveOpinion:"approveOpinion",userAvatar:"userAvatar",accomplish:"accomplish"}],...o.defaultFieldMap}});e.watch(()=>o.dataList,i=>{i&&(e.nextTick(()=>{t.listData=i}),setTimeout(()=>{o.returnNode.length&&s()},500))},{deep:!0}),e.onMounted(()=>{o.dataList.length&&(t.listData=o.dataList,setTimeout(()=>{o.returnNode.length&&s()},500))});const s=()=>{let i=null;if(o!=null&&o.returnNode)for(i of o==null?void 0:o.returnNode){if(isNaN(i[1]))return;let d=Array.from(new Array(i[1]+1).keys()).slice(i[0]);e.nextTick(()=>{r(d)})}},r=i=>{var B,h,y;let d=document.createElement("div"),c=document.getElementById("approveProcess"),a=0,p=(B=document.getElementById(`${i[0]}`))==null?void 0:B.offsetWidth,_=(h=document.getElementById(`${i[0]}`))==null?void 0:h.offsetLeft,V=(y=document.getElementById(`${i[0]}`))==null?void 0:y.offsetTop;i.forEach(E=>{let F=document.getElementById(`${E}`);a+=F.offsetHeight}),setTimeout(()=>{d.style.width=p+32+"px",d.style.height=a+"px",d.style.background="#f9f9f9",d.style.position="absolute",d.style.top=V-16+"px",d.style.left=_-16+"px",d.style.zIndex=-1,c==null||c.appendChild(d)})},f=(i,d)=>{var p;let c=(p=t.listData)==null?void 0:p.findIndex(_=>_.lineType=="dashed"),a="";switch(i){case t.statusOption.发起:a="ikapprove-duihao2 green";break;case t.statusOption.等待:a=c==d?"ikapprove-dengdai orange":"";break;case t.statusOption.同意:a="ikapprove-duihao2 green";break;case t.statusOption.拒绝:a="ikapprove-jujue red";break;case t.statusOption.转交:a="ikapprove-zhuanjiao blue";break;case t.statusOption.加签:a="ikapprove-tianjia blue";break;case t.statusOption.退回:a="ikapprove-s_fanhui2 red";break;case t.statusOption.评论:a="ikapprove-pinglun1 blue";break}return`ikapprove ${a}`},k=(i,d)=>{let c="";switch(i){case t.nodeType.发起人节点:c="ikapprove-ziyuan";break;case t.nodeType.审批节点:d&&d.length==1?c="ikapprove-ziyuan":c="ikapprove-shenpi";break;case t.nodeType.办理节点:c="ikapprove-bianji";break;case t.nodeType.抄送节点:c="ikapprove-chaosong";break;default:c="ikapprove-ziyuan"}return`ikapprove ${c}`};e.reactive({show:!1,data:{}});const w=(i,d)=>{i.show=!i.show;let c=document.getElementById(`${i[t.defaultFile.nodeId]}`),a=Array.from(c==null?void 0:c.getElementsByClassName("approveList"));for(let p of a)p.style.display=d},N=i=>$(o.fileUrl,i);return(i,d)=>{const c=e.resolveComponent("el-image");return e.openBlock(),e.createElementBlock("div",L3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.listData,(a,p)=>{var _,V,B,h,y,E,F,P,j,U;return e.openBlock(),e.createElementBlock("div",{class:"approveBlock",id:a[t.defaultFile.nodeId],key:a[t.defaultFile.nodeId]},[e.createElementVNode("div",P3,[e.createElementVNode("div",j3,[e.createElementVNode("span",U3,[e.createCommentVNode(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),((_=a[t.defaultFile.approvePersonList])==null?void 0:_.length)==1&&a[t.defaultFile.approvePersonList][0].userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:N(a[t.defaultFile.approvePersonList][0].userAvatar),alt:""},null,8,R3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 否则显示对应节点 "),e.createElementVNode("i",{class:e.normalizeClass(k(a[t.defaultFile.nodeType],a[t.defaultFile.approvePersonList]))},null,2)],2112)),e.createCommentVNode(" 审批状态图标 "),e.createElementVNode("i",{class:e.normalizeClass(f(a[t.defaultFile.approveStatus],p))},null,2)])]),e.createElementVNode("div",q3,[e.createElementVNode("div",K3,[e.createElementVNode("div",null,[e.createCommentVNode(" 不是抄送节点 "),a[t.defaultFile.nodeType]!=t.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("div",W3,[e.createCommentVNode(" 撤销,评论不显示节点名称 "),a[t.defaultFile.approveStatus]!=t.statusOption.撤销&&a[t.defaultFile.approveStatus]!=t.statusOption.评论?(e.openBlock(),e.createElementBlock("div",X3,e.toDisplayString(a[t.defaultFile.nodeTypeName]),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 名字+审批状态 "),e.createElementVNode("div",Y3,[e.createCommentVNode(" 已审批节点文本 "),a[t.defaultFile.lineType]=="solid"?(e.openBlock(),e.createElementBlock("div",G3,[e.createElementVNode("span",{style:e.normalizeStyle({color:a[t.defaultFile.approveStatus]==t.statusOption.评论?"#000":""})},e.toDisplayString(a[t.defaultFile.originator]),5),e.createCommentVNode(" 发起,退回不显示状态 "),a[t.defaultFile.approveStatusName]&&a[t.defaultFile.approveStatus]!=t.statusOption.发起&&a[t.defaultFile.approveStatus]!=t.statusOption.退回?(e.openBlock(),e.createElementBlock("span",Z3,e.toDisplayString(a[t.defaultFile.approveStatus]==t.statusOption.评论?" 添加了评论":"("+a[t.defaultFile.approveStatusName]+")"),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 退回状态显示 "),a[t.defaultFile.approveStatus]==t.statusOption.退回?(e.openBlock(),e.createElementBlock("span",J3,[Q3,e.createTextVNode(e.toDisplayString(a[t.defaultFile.backToRecordNodeName]),1)])):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 待审批节点 "),e.createElementVNode("div",null,[((V=a[t.defaultFile.approvePersonList])==null?void 0:V.length)==1?(e.openBlock(),e.createElementBlock("span",e6,[e.createTextVNode(e.toDisplayString(a[t.defaultFile.originator])+" ",1),a[t.defaultFile.approveStatus]==t.statusOption.等待?(e.openBlock(),e.createElementBlock("span",t6,e.toDisplayString(`(${a[t.defaultFile.approveStatusName]})`),1)):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock("span",o6,e.toDisplayString(((B=a[t.defaultFile.approvePersonList])==null?void 0:B.length)+"人"+a[t.defaultFile.approveTypeName]),1))])],2112))])])):(e.openBlock(),e.createElementBlock("div",l6,[a6,e.createElementVNode("div",n6,[e.createCommentVNode(" 抄送一人时 "),((h=a[t.defaultFile.approvePersonList])==null?void 0:h.length)==1?(e.openBlock(),e.createElementBlock("span",s6,[e.createElementVNode("span",null,[e.createTextVNode("已抄送给 "),e.createElementVNode("span",c6,e.toDisplayString(a[t.defaultFile.approvePersonList][0].userName),1)]),e.createElementVNode("span",i6,e.toDisplayString(a[t.defaultFile.approvePersonList][0].status==="END"?"已读":"未读"),1)])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 抄送多人时 "),((y=a[t.defaultFile.approvePersonList])==null?void 0:y.length)>1?(e.openBlock(),e.createElementBlock("span",r6,[e.createTextVNode(e.toDisplayString(`已抄送${(E=a[t.defaultFile.approvePersonList])==null?void 0:E.length}人`)+" ",1),a[t.defaultFile.allRead]?(e.openBlock(),e.createElementBlock("span",d6," 全部已读 ")):(e.openBlock(),e.createElementBlock("span",p6,[a[t.defaultFile.read]?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",h6," 全部未读 ")),a[t.defaultFile.read]?(e.openBlock(),e.createElementBlock("span",m6,e.toDisplayString(a[t.defaultFile.read])+"人已读 ",1)):e.createCommentVNode("v-if",!0)]))])):e.createCommentVNode("v-if",!0)])]))]),e.createElementVNode("div",f6,[e.createCommentVNode(" 不是抄送节点,展示时间 "),a[t.defaultFile.nodeType]!=t.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("span",k6,e.toDisplayString(e.unref(z.ikDate).toDateTime(a[t.defaultFile.operationTime],"MM/DD HH:mm")),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 是抄送节点,并且抄送人员大于1时,展示图标 "),a[t.defaultFile.nodeType]==t.nodeType.抄送节点&&((F=a[t.defaultFile.approvePersonList])==null?void 0:F.length)>1?(e.openBlock(),e.createElementBlock("span",_6,[a!=null&&a.show?(e.openBlock(),e.createElementBlock("i",{key:0,class:"ikapprove ikapprove-a-putongjiantouzhankai",onClick:m=>w(a,"grid")},null,8,g6)):(e.openBlock(),e.createElementBlock("i",{key:1,onClick:m=>w(a,"none"),class:"ikapprove ikapprove-a-putongjiantoushouqi"},null,8,u6))])):e.createCommentVNode("v-if",!0)])])])]),e.createElementVNode("div",{class:"bottomBlock",style:e.normalizeStyle({borderLeft:p==t.listData.length-1?"":`2px ${a[t.defaultFile.lineType]} var(--el-border-color)`})},[e.createCommentVNode(" 审批意见 "),a[t.defaultFile.approveOpinion]||a[t.defaultFile.approveStatus]==t.statusOption.加签?(e.openBlock(),e.createElementBlock("div",y6,[a[t.defaultFile.approveOpinion]?(e.openBlock(),e.createElementBlock("span",B6,e.toDisplayString(a[t.defaultFile.approveOpinion]),1)):e.createCommentVNode("v-if",!0),a[t.defaultFile.approveStatus]==t.statusOption.加签?(e.openBlock(),e.createElementBlock("span",w6,[N6,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.countersignPer],(m,T)=>(e.openBlock(),e.createElementBlock("span",V6,e.toDisplayString(m==null?void 0:m.userName)+e.toDisplayString(T<a[t.defaultFile.countersignPer].length-1?"、":""),1))),256))])):e.createCommentVNode("v-if",!0)])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 附件 "),(P=a[t.defaultFile.attachment])!=null&&P.length?(e.openBlock(),e.createBlock(e.unref(S3),{key:1,"kk-url":l.kkUrl,"load-url":l.fileUrl,list:a[t.defaultFile.attachment]},null,8,["kk-url","load-url","list"])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 附件图片 "),(j=a[t.defaultFile.attachmentImg])!=null&&j.length?(e.openBlock(),e.createElementBlock("div",E6,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.attachmentImg],(m,T)=>(e.openBlock(),e.createElementBlock("div",{class:"image",key:T},[e.createVNode(c,{src:N(m),"preview-src-list":a[t.defaultFile.attachmentImg].map(D6=>N(D6)),fit:"cover","z-index":"9999","zoom-rate":1.2,alt:N(m)},null,8,["src","preview-src-list","alt"])]))),128))])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 抄送节点或是等待审批状态并且列表长度大于1 "),(a[t.defaultFile.nodeType]==t.nodeType.抄送节点||a[t.defaultFile.approveStatus]==t.statusOption.等待)&&((U=a[t.defaultFile.approvePersonList])==null?void 0:U.length)>1?(e.openBlock(),e.createElementBlock("div",F6,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.approvePersonList],m=>(e.openBlock(),e.createElementBlock("div",{class:"perBlock",key:m.userName},[e.createElementVNode("span",x6,[m.userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:N(m.userAvatar),alt:""},null,8,z6)):(e.openBlock(),e.createElementBlock("span",$6,e.toDisplayString(m.userName.slice(-2)),1)),m.status==="END"?(e.openBlock(),e.createElementBlock("i",b6)):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",{class:"main-text",title:m.userName},e.toDisplayString(m.userName),9,C6)]))),128))])):e.createCommentVNode("v-if",!0)],4)],8,H3)}),128))])}}}),ke="",H=b(R(T6,[["__scopeId","data-v-b2b8bdb6"]]));g.IKApprovalProcessDetail=H,g.default=H,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});
1
+ (function(g,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("vue"),require("iking-utils-pro"),require("element-plus")):typeof define=="function"&&define.amd?define(["exports","vue","iking-utils-pro","element-plus"],e):(g=typeof globalThis<"u"?globalThis:g||self,e(g.index={},g.vue,g["iking-utils-pro"],g["element-plus"]))})(this,function(g,e,z,D){"use strict";const b=(l,n)=>{if(l.install=o=>{for(const t of[l,...Object.values(n??{})])o.component(t.name,t)},n)for(const[o,t]of Object.entries(n))l[o]=t;return l},R=(l,n)=>{const o=l.__vccOpts||l;for(const[t,s]of n)o[t]=s;return o},C=typeof Buffer=="function";typeof TextDecoder=="function"&&new TextDecoder;const v=typeof TextEncoder=="function"?new TextEncoder:void 0,q="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",x=Array.prototype.slice.call(q);(l=>{let n={};return l.forEach((o,t)=>n[o]=t),n})(x);const u=String.fromCharCode.bind(String);typeof Uint8Array.from=="function"&&Uint8Array.from.bind(Uint8Array);const K=l=>l.replace(/=/g,"").replace(/[+\/]/g,n=>n=="+"?"-":"_"),M=typeof btoa=="function"?l=>btoa(l):C?l=>Buffer.from(l,"binary").toString("base64"):l=>{let n,o,t,s,r="";const f=l.length%3;for(let k=0;k<l.length;){if((o=l.charCodeAt(k++))>255||(t=l.charCodeAt(k++))>255||(s=l.charCodeAt(k++))>255)throw new TypeError("invalid character found");n=o<<16|t<<8|s,r+=x[n>>18&63]+x[n>>12&63]+x[n>>6&63]+x[n&63]}return f?r.slice(0,f-3)+"===".substring(f):r},W=C?l=>Buffer.from(l).toString("base64"):l=>{let o=[];for(let t=0,s=l.length;t<s;t+=4096)o.push(u.apply(null,l.subarray(t,t+4096)));return M(o.join(""))},X=l=>{if(l.length<2){var n=l.charCodeAt(0);return n<128?l:n<2048?u(192|n>>>6)+u(128|n&63):u(224|n>>>12&15)+u(128|n>>>6&63)+u(128|n&63)}else{var n=65536+(l.charCodeAt(0)-55296)*1024+(l.charCodeAt(1)-56320);return u(240|n>>>18&7)+u(128|n>>>12&63)+u(128|n>>>6&63)+u(128|n&63)}},Y=/[\uD800-\uDBFF][\uDC00-\uDFFFF]|[^\x00-\x7F]/g,G=l=>l.replace(Y,X),I=C?l=>Buffer.from(l,"utf8").toString("base64"):v?l=>W(v.encode(l)):l=>M(G(l)),Z=(l,n=!1)=>n?K(I(l)):I(l),J=(l,n=2)=>{if(l===void 0)return"";if(l===0)return"0 B";const o=["B","KB","MB","GB","TB"],t=Math.floor(Math.log(l)/Math.log(1024));let s=l/Math.pow(1024,t);return(s%1===0?s.toFixed(n||0):s.toFixed(n))+" "+o[t]},$=(l,n)=>n?n.startsWith("http")?n:`${l||location.origin}${n}`:"",O=(l,n)=>{var s,r,f,k,w;const o=(s=l==null?void 0:l.response)!=null&&s.data?A((f=(r=l==null?void 0:l.response)==null?void 0:r.data)==null?void 0:f.suffix):((k=l.raw)==null?void 0:k.type)||A(l[n.suffix]),t=((w=l.raw)==null?void 0:w.name)||l[n.name];return o!=null&&o.includes("sheet")||o!=null&&o.includes("excel")?"excel":o!=null&&o.includes("zip")||o==="application/x-compressed"?"zip":o!=null&&o.includes("image")?"image":o!=null&&o.includes("video")?"video":o!=null&&o.includes("audio")?"audio":o!=null&&o.includes("pdf")?"pdf":o!=null&&o.includes("text")||o!=null&&o.includes("txt")?"txt":o!=null&&o.includes("word")?"word":t!=null&&t.includes("ppt")?"ppt":t!=null&&t.includes("exe")?"exe":t!=null&&t.includes("json")?"json":"unknow"},A=l=>{const n=l==null?void 0:l.toLocaleLowerCase();switch(n!=null&&n.startsWith(".")?n:`.${n}`){case".doc":case".docx":case".docxf":case".docm":case".dot":case".dotm":case".dotx":case".epub":case".fodt":case".htm":case".html":case".mht":case".odt":case".ott":case".rtf":case".txt":case".djvu":case".oxps":case".oform":case".fb2":case".xml":case".xps":return"word";case".csv":case".xls":case".xlsx":case".fods":case".ods":case".ots":case".xlsb":case".xlsm":case".xlt":case".xltm":case".xltx":return"excel";case".fodp":case".odp":case".otp":case".pot":case".potm":case".potx":case".pps":case".ppsm":case".ppsx":case".ppt":case".pptm":case".pptx":return"ppt";case".zip":case".rar":case".7z":case".apz":case".ar":case".bz":case".car":case".dar":case".cpgz":case".f":case".ha":case".hbc":case".hbc2":case".hbe":case".hpk":case".hyp":return"zip";case".png":case".jpg":case".jpeg":case".bmp":case".gif":case".webp":case".psd":case".svg":case".tiff":return"image";case".avi":case".wmv":case".mpeg":case".mp4":case".mpm4v":case".mov":case".asf":case".flv":case".f4v":case".rmvb":case".rm":case".3gp":case".vob":return"video";case"audio":return"audio";case".txt":return"txt";case".pdf":return"pdf";case l:case"":return"unknow"}},Q={key:0,t:"1686300059786",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7671",width:"200",height:"200"},e3=[e.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#50CD89","p-id":"7672"},null,-1),e.createElementVNode("path",{d:"M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",fill:"#FFF7F7","p-id":"7673"},null,-1),e.createElementVNode("path",{d:"M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",fill:"#FFFFFF","p-id":"7674"},null,-1),e.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#a9f6cc","p-id":"7675"},null,-1)],t3={key:1,t:"1686301531714",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"9067",width:"200",height:"200"},o3=[e.createElementVNode("path",{d:"M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",fill:"#FFA621","p-id":"9068"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"9069"},null,-1)],l3={key:2,t:"1686300141125",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8137",width:"200",height:"200"},a3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",fill:"#F1416C","p-id":"8138"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8139"},null,-1)],n3={key:3,t:"1686300157181",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8292",width:"200",height:"200"},s3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 607.573333l68.266667 191.146667c13.653333 27.306667 54.613333 27.306667 61.44 0l102.4-273.066667c6.826667-20.48 0-34.133333-20.48-40.96s-34.133333 0-40.96 13.653334l-68.266667 191.146666-68.266667-191.146666c-13.653333-27.306667-54.613333-27.306667-68.266666 0l-68.266667 191.146666-68.266667-191.146666c-6.826667-13.653333-27.306667-27.306667-47.786666-20.48s-27.306667 27.306667-20.48 47.786666l102.4 273.066667c13.653333 27.306667 54.613333 27.306667 61.44 0l75.093333-191.146667z",fill:"#029EF7","p-id":"8293"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8294"},null,-1)],c3={key:4,t:"1686300180947",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8447",width:"200",height:"200"},i3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",fill:"#F1416C","p-id":"8448"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f78cbc","p-id":"8449"},null,-1)],r3={key:5,t:"1686300195363",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8602",width:"200",height:"200"},d3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",fill:"#029EF7","p-id":"8603"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#64b5ed","p-id":"8604"},null,-1)],p3={key:6,t:"1686300209288",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8757",width:"200",height:"200"},h3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",fill:"#FFA621","p-id":"8758"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8759"},null,-1)],m3={key:7,t:"1686300225262",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"8912",width:"200",height:"200"},f3=[e.createElementVNode("path",{d:"M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m307.2 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",fill:"#FFA621","p-id":"8913"},null,-1),e.createElementVNode("path",{d:"M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",fill:"#f5d37b","p-id":"8914"},null,-1)],k3={key:8,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},_3=[e.createElementVNode("path",{d:"M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",fill:"#00BD76","p-id":"4337"},null,-1),e.createElementVNode("path",{d:"M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",fill:"#FFFFFF",opacity:".9","p-id":"4338"},null,-1),e.createElementVNode("path",{d:"M640 0l320 320H768a128 128 0 0 1-128-128V0z",fill:"#19EA9C","p-id":"4339"},null,-1)],g3={key:9,t:"1692251753690",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"4336",width:"200",height:"200"},u3=[e.createElementVNode("path",{d:"M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",fill:"#8199AF","p-id":"8002"},null,-1),e.createElementVNode("path",{d:"M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",fill:"#617F9B","p-id":"8003"},null,-1),e.createElementVNode("path",{d:"M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",fill:"#FFFFFF",opacity:".5","p-id":"8004"},null,-1),e.createElementVNode("path",{d:"M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",fill:"#FFFFFF","p-id":"8005"},null,-1)],y3={key:10,t:"1714099890925",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"2271",width:"200",height:"200"},B3=[e.createElementVNode("path",{d:"M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",fill:"#0DD59D","p-id":"2272"},null,-1),e.createElementVNode("path",{d:"M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",fill:"#FFFFFF","fill-opacity":".65","p-id":"2273"},null,-1),e.createElementVNode("path",{d:"M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",fill:"#FFFFFF","p-id":"2274"},null,-1)],w3={key:11,t:"1686300037564",class:"icon",viewBox:"0 0 1024 1024",version:"1.1",xmlns:"http://www.w3.org/2000/svg","p-id":"7515",width:"200",height:"200"},N3=[e.createElementVNode("path",{d:"M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",fill:"#029EF7","p-id":"7516"},null,-1),e.createElementVNode("path",{d:"M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",fill:"#64b5ed","p-id":"7517"},null,-1),e.createElementVNode("path",{d:"M384 499.2c0-25.6 5.12-46.08 10.24-58.88 5.12-12.8 15.36-25.6 28.16-35.84 12.8-12.8 25.6-20.48 43.52-25.6 15.36-5.12 30.72-7.68 48.64-7.68 35.84 0 64 10.24 89.6 30.72C627.2 422.4 640 448 640 481.28c0 15.36-5.12 28.16-10.24 40.96s-17.92 28.16-38.4 46.08-28.16 30.72-35.84 38.4c-7.68 7.68-10.24 17.92-15.36 28.16-5.12 10.24-2.56 17.92-2.56 43.52h-51.2c0-25.6 2.56-38.4 5.12-51.2s7.68-23.04 15.36-33.28 15.36-23.04 33.28-40.96c17.92-17.92 30.72-30.72 35.84-38.4 5.12-7.68 10.24-20.48 10.24-38.4s-7.68-30.72-20.48-43.52-30.72-20.48-53.76-20.48c-51.2 0-76.8 35.84-76.8 87.04h-51.2z m153.6 281.6h-51.2v-51.2h51.2v51.2z",fill:"#FFFFFF","p-id":"7518"},null,-1)],V3=e.defineComponent({__name:"FileIcon",props:{type:{type:String,default:"unknow"},file:{type:Object,default:()=>null},fields:{type:Object,default:()=>({name:"name",url:"url",suffix:"suffix"})}},setup(l){const n=l,o=e.computed(()=>n.file?O(n.file,n.fields):n.type);return(t,s)=>o.value==="image"?(e.openBlock(),e.createElementBlock("svg",Q,e3)):o.value==="zip"?(e.openBlock(),e.createElementBlock("svg",t3,o3)):o.value==="ppt"?(e.openBlock(),e.createElementBlock("svg",l3,a3)):o.value==="word"?(e.openBlock(),e.createElementBlock("svg",n3,s3)):o.value==="pdf"?(e.openBlock(),e.createElementBlock("svg",c3,i3)):o.value==="txt"?(e.openBlock(),e.createElementBlock("svg",r3,d3)):o.value==="audio"?(e.openBlock(),e.createElementBlock("svg",p3,h3)):o.value==="video"?(e.openBlock(),e.createElementBlock("svg",m3,f3)):o.value==="excel"?(e.openBlock(),e.createElementBlock("svg",k3,_3)):o.value==="exe"?(e.openBlock(),e.createElementBlock("svg",g3,u3)):o.value==="json"?(e.openBlock(),e.createElementBlock("svg",y3,B3)):(e.openBlock(),e.createElementBlock("svg",w3,N3))}}),F3=["onClick"],E3={class:"text"},x3={class:"fileName"},z3={class:"size"},$3={class:"w-full h-full overflow-hidden flex-center"},b3=["src"],C3=e.defineComponent({__name:"IKPreviewFile",props:{list:{type:Array,default:()=>[]},kkUrl:{required:!0,type:String,default:""},url:{required:!0,type:String,default:""},loadUrl:{type:String,default:""},field:{required:!0,type:Object,default:()=>({name:"attachmentName",url:"attachmentId",suffix:"attachmentSuffix",size:"attachmentSize"})},iconSize:{type:Number,default:40},showBg:{type:Boolean,default:!0},width:{type:Number||String,default:"100%"},iconHoverShow:{type:Boolean,default:!1}},setup(l){const n=l,o=e.computed(()=>({name:"name",url:"url",suffix:"suffix",size:"size",...n.field})),t=e.ref(null),s=e.computed(()=>{var a,p,_;if(!n.kkUrl||!((a=r.data)!=null&&a[o.value.url]))return"";const c=n.loadUrl?n.loadUrl:location.href;return`${n.kkUrl}/onlinePreview?url=${encodeURIComponent(Z(`${$(c,(p=r.data)==null?void 0:p[o.value.url])}&fullfilename=${(_=r.data)==null?void 0:_[o.value.name]}`))}`}),r=e.reactive({show:!1,data:{}}),f=e.ref(null),k=e.ref(!1),w=c=>{var a,p;f.value={...c,name:c[o.value.name],url:$(n.loadUrl,c[o.value.url]||((p=(a=c==null?void 0:c.response)==null?void 0:a.data)==null?void 0:p.id))},c&&O(c,o.value)==="image"?k.value=!0:(i.value=!0,r.data=c,r.show=!0,e.nextTick(()=>{t.value.onload=()=>{i.value=!1}}))},N=c=>{z.ikFile.downloadFile($(n.loadUrl,c[o.value.url]),c[o.value.name])},i=e.ref(!1),d=e.computed(()=>z.paramType.isNumber(n.width)?`${n.width}px`:n.width);return(c,a)=>{var _,V,B;const p=e.resolveComponent("el-image-viewer");return e.openBlock(),e.createElementBlock(e.Fragment,null,[(_=l.list)!=null&&_.length?(e.openBlock(!0),e.createElementBlock(e.Fragment,{key:0},e.renderList(l.list,(h,y)=>{var F;return e.openBlock(),e.createElementBlock("div",{class:e.normalizeClass(["iking-privew-annex",{"is-bg":l.showBg}]),key:y,style:e.normalizeStyle({marginBottom:y==((F=l.list)==null?void 0:F.length)-1?"0":"10px",width:d.value})},[e.createElementVNode("div",{class:"file-card",onClick:E=>w(h)},[e.createVNode(V3,{file:h,style:e.normalizeStyle({height:`${l.iconSize}px`}),class:"ikui-w-auto",fields:o.value},null,8,["file","style","fields"]),e.createElementVNode("div",E3,[e.createElementVNode("div",x3,e.toDisplayString(h[o.value.name]),1),e.createElementVNode("div",z3,e.toDisplayString(e.unref(J)(h[o.value.size])),1)]),e.createElementVNode("div",{class:e.normalizeClass(["flex flex-center",{"hover-show":l.iconHoverShow}])},[e.createVNode(e.unref(L),{name:"iksvg_daochu",onClick:e.withModifiers(E=>N(h),["stop"]),bg:l.showBg,size:l.showBg?"default":20},null,8,["onClick","bg","size"]),e.createVNode(e.unref(L),{name:"iksvg_yulan",bg:l.showBg,size:l.showBg?"default":20},null,8,["bg","size"]),e.renderSlot(c.$slots,"operation",{data:{...h,findex:y}})],2)],8,F3)],6)}),128)):e.createCommentVNode("v-if",!0),e.createVNode(e.unref(D.ElDialog),{fullscreen:"",modelValue:r.show,"onUpdate:modelValue":a[0]||(a[0]=h=>r.show=h),"destroy-on-close":"","append-to-body":"","modal-class":"ik-file-preview-modal",onClose:a[1]||(a[1]=h=>c.$emit("update:modelValue",!1)),class:"ik-file-preview"},{default:e.withCtx(()=>[e.withDirectives((e.openBlock(),e.createElementBlock("div",$3,[r.show?(e.openBlock(),e.createElementBlock("iframe",{key:0,ref_key:"freamRef",ref:t,"cross-origin":"",src:s.value,frameborder:"0",allowfullscreen:"",seamless:""},null,8,b3)):e.createCommentVNode("v-if",!0)])),[[e.unref(D.vLoading),i.value]])]),_:1},8,["modelValue"]),(V=f.value)!=null&&V.url&&k.value?(e.openBlock(),e.createBlock(p,{key:1,onClose:a[2]||(a[2]=h=>(f.value=null,k.value=!1)),ref:"previewImgRef","url-list":[(B=f.value)==null?void 0:B.url]},null,8,["url-list"])):e.createCommentVNode("v-if",!0)],64)}}}),he="",S3=b(C3),T3={class:"ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"},D3={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},v3=["xlink:href"],M3=["src"],I3={key:1,class:"h-[1em] w-[1em]","aria-hidden":"true"},O3=["xlink:href"],A3=["src"],L=b(e.defineComponent({name:"IkSvgIcon",__name:"index",props:{name:{},flip:{},rotate:{},color:{},opacity:{default:.5},size:{default:""},bg:{type:Boolean,default:!1},showBg:{type:Boolean,default:!1},padding:{default:"0"},primary:{type:Boolean},warning:{type:Boolean},notip:{type:Boolean,default:!1},title:{},type:{},active:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(l){const n=l,o=e.computed(()=>{var s,r;return/^http?:\/\//.test(n.name)?"img":/i-[^:]+:[^:]+/.test(n.name)?"unocss":(s=n.name)!=null&&s.startsWith("iksig")?"iksig":(r=n.name)!=null&&r.includes(":")?"iconify":"svg"}),t=e.computed(()=>{const s=[];if(n.flip)switch(n.flip){case"horizontal":s.push("rotateY(180deg)");break;case"vertical":s.push("rotateX(180deg)");break;case"both":s.push("rotateX(180deg)"),s.push("rotateY(180deg)");break}return n.rotate&&s.push(`rotate(${n.rotate%360}deg)`),{...n.color&&{color:n.color},...n.size&&{fontSize:typeof n.size=="number"?`${n.size}px`:n.size},...s.length&&{transform:s.join(" ")},padding:n.padding,...n.color&&o.value!=="iksig"?{"--ik-color-icon-dark":n.color,"--ik-color-icon-light":z.ikColor.setOpacity(n.color,n.opacity||.4)}:{},...n.type==="primary"||n.primary?{"--ik-color-icon-dark":"var(--ik-theme-color)","--ik-color-icon-light":"var(--ik-color-icon-light-hover)","--ik-color-bg-icon":"var(--ik-color-bg-button-secondary)"}:n.type==="warning"?{"--ik-color-icon-dark":"var(--ik-color-error)","--ik-color-icon-light":"var(--ik-color-icon-error-light)","--ik-color-bg-icon":"var(--ik-color-icon-error-bg)"}:{}}});return(s,r)=>{const f=e.resolveComponent("el-tooltip");return e.openBlock(),e.createElementBlock("span",T3,[s.notip||!s.title?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[s.name]:o.value==="unocss","show-bg":s.showBg||s.bg,default:s.size==="default",small:s.size==="small",big:s.size==="big",warning:s.warning,primary:s.primary,active:s.active,disabled:s.disabled}]),style:e.normalizeStyle(t.value)},[e.createCommentVNode(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),o.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${s.name}`),style:e.normalizeStyle(t.value)},null,6)):o.value==="svg"?(e.openBlock(),e.createElementBlock("svg",D3,[e.createElementVNode("use",{"xlink:href":`#${s.name}`},null,8,v3)])):o.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:s.name,class:"h-[1em] w-[1em]"},null,8,M3)):e.createCommentVNode("v-if",!0)],6)):(e.openBlock(),e.createBlock(f,{key:1,content:s.title,placement:"top"},{default:e.withCtx(()=>[e.createElementVNode("i",{class:e.normalizeClass(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition",{[s.name]:o.value==="unocss","show-bg":s.showBg||s.bg,default:s.size==="default",primary:s.primary,small:s.size==="small",big:s.size==="big",warning:s.warning,active:s.active}]),style:e.normalizeStyle(t.value)},[o.value==="iksig"?(e.openBlock(),e.createElementBlock("i",{key:0,class:e.normalizeClass(`iksig ${s.name}`),style:e.normalizeStyle(t.value)},null,6)):o.value==="svg"?(e.openBlock(),e.createElementBlock("svg",I3,[e.createElementVNode("use",{"xlink:href":`#${s.name}`},null,8,O3)])):o.value==="img"?(e.openBlock(),e.createElementBlock("img",{key:2,src:s.name,class:"h-[1em] w-[1em]"},null,8,A3)):e.createCommentVNode("v-if",!0)],6)]),_:1},8,["content"]))])}}})),fe="",S=l=>(e.pushScopeId("data-v-f59c49a4"),l=l(),e.popScopeId(),l),L3={class:"approveProcess",id:"approveProcess"},H3=["id"],P3={class:"topBlock"},j3={class:"left"},U3={class:"nodeBg"},R3=["src"],q3={class:"right"},K3={class:"topInfo"},W3={key:0},X3={key:0,class:"main-text"},Y3={class:"name"},G3={key:0},Z3={key:0},J3={key:1},Q3=S(()=>e.createElementVNode("span",{class:"red",style:{margin:"0px 5px"}},"退回至",-1)),e6={key:0},t6={key:0},o6={key:1},l6={key:1},a6=S(()=>e.createElementVNode("div",{class:"main-text"},"抄送人员",-1)),n6={class:"name"},s6={key:0},c6={style:{color:"#000"}},i6={class:"blue",style:{"margin-left":"5px","font-size":"12px"}},r6={key:1},d6={key:0,class:"blue",style:{"font-size":"12px"}},p6={key:1},h6={key:0,class:"blue",style:{"font-size":"12px"}},m6={key:1,class:"blue",style:{"font-size":"12px"}},f6={class:"time"},k6={key:0},_6={key:1},g6=["onClick"],u6=["onClick"],y6={key:0,class:"opinion"},B6={key:0},w6={key:1},N6=S(()=>e.createElementVNode("span",{class:"ik-text-primary"},"添加审批人",-1)),V6={style:{color:"var(--el-text-color-primary)","margin-left":"8px"}},F6={key:2,class:"annexImage"},E6={key:3,class:"approveList"},x6={class:"nodeBg-list"},z6=["src"],$6={key:1},b6={key:2,class:"ikapprove ikapprove-duihao2 green read"},C6=["title"],S6={name:"IkingApprovalProcessDetail"},T6=e.defineComponent({...S6,props:{local:{type:Boolean,default:!1},defaultStatus:{type:Object,default:()=>({})},defaultNodeType:{type:Object,default:()=>({})},dataList:{type:Array,default:()=>[]},defaultFieldMap:{type:Object,default:()=>({})},returnNode:{type:Array,default:()=>[]},fileUrl:{type:String,default:""},kkUrl:{type:String,default:""}},emits:["preview"],setup(l,{emit:n}){const o=l,t=e.reactive({nodeType:{发起人节点:"1",审批节点:"2",办理节点:"3",抄送节点:"4",...o.defaultNodeType},statusOption:{发起:"1",等待:"2",同意:"3",拒绝:"4",转交:"5",加签:"6",退回:"7",撤销:"8",评论:"9",...o.defaultStatus},listData:[],defaultFile:{id:"id",nodeId:"nodeId",nodeType:"nodeType",nodeTypeName:"nodeTypeName",approveStatus:"approveStatus",approveStatusName:"approveStatusName",originator:"originator",operationTime:"operationTime",approveType:"approveType",approveTypeName:"approveTypeName",multiExecutorTypeName:"multiExecutorTypeName",approveOpinion:"approveOpinion",countersignPer:"countersignPer",backToRecordNodeName:"backToRecordNodeName",attachment:"attachment",attachmentParam:{id:"id",originName:"originName",url:"url",suffix:"suffix",size:"size"},attachmentImg:"attachmentImg",returnNode:"returnNode",returnNodeName:"returnNodeName",lineType:"lineType",allRead:"allRead",read:"read",approvePersonList:[{id:"id",name:"name",approveState:"approveState",approveTime:"approveTime",approveOpinion:"approveOpinion",userAvatar:"userAvatar",accomplish:"accomplish"}],...o.defaultFieldMap}});e.watch(()=>o.dataList,i=>{i&&(e.nextTick(()=>{t.listData=i}),setTimeout(()=>{o.returnNode.length&&s()},500))},{deep:!0}),e.onMounted(()=>{o.dataList.length&&(t.listData=o.dataList,setTimeout(()=>{o.returnNode.length&&s()},500))});const s=()=>{let i=null;if(o!=null&&o.returnNode)for(i of o==null?void 0:o.returnNode){if(isNaN(i[1]))return;let d=Array.from(new Array(i[1]+1).keys()).slice(i[0]);e.nextTick(()=>{r(d)})}},r=i=>{var B,h,y;let d=document.createElement("div"),c=document.getElementById("approveProcess"),a=0,p=(B=document.getElementById(`${i[0]}`))==null?void 0:B.offsetWidth,_=(h=document.getElementById(`${i[0]}`))==null?void 0:h.offsetLeft,V=(y=document.getElementById(`${i[0]}`))==null?void 0:y.offsetTop;i.forEach(F=>{let E=document.getElementById(`${F}`);a+=E.offsetHeight}),setTimeout(()=>{d.style.width=p+32+"px",d.style.height=a+"px",d.style.background="#f9f9f9",d.style.position="absolute",d.style.top=V-16+"px",d.style.left=_-16+"px",d.style.zIndex=-1,c==null||c.appendChild(d)})},f=(i,d)=>{var p;let c=(p=t.listData)==null?void 0:p.findIndex(_=>_.lineType=="dashed"),a="";switch(i){case t.statusOption.发起:a="ikapprove-duihao2 green";break;case t.statusOption.等待:a=c==d?"ikapprove-dengdai orange":"";break;case t.statusOption.同意:a="ikapprove-duihao2 green";break;case t.statusOption.拒绝:a="ikapprove-jujue red";break;case t.statusOption.转交:a="ikapprove-zhuanjiao blue";break;case t.statusOption.加签:a="ikapprove-tianjia blue";break;case t.statusOption.退回:a="ikapprove-s_fanhui2 red";break;case t.statusOption.评论:a="ikapprove-pinglun1 blue";break}return`ikapprove ${a}`},k=(i,d)=>{let c="";switch(i){case t.nodeType.发起人节点:c="ikapprove-ziyuan";break;case t.nodeType.审批节点:d&&d.length==1?c="ikapprove-ziyuan":c="ikapprove-shenpi";break;case t.nodeType.办理节点:c="ikapprove-bianji";break;case t.nodeType.抄送节点:c="ikapprove-chaosong";break;default:c="ikapprove-ziyuan"}return`ikapprove ${c}`};e.reactive({show:!1,data:{}});const w=(i,d)=>{i.show=!i.show;let c=document.getElementById(`${i[t.defaultFile.nodeId]}`),a=Array.from(c==null?void 0:c.getElementsByClassName("approveList"));for(let p of a)p.style.display=d},N=i=>$(o.fileUrl,i);return(i,d)=>{const c=e.resolveComponent("el-image");return e.openBlock(),e.createElementBlock("div",L3,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(t.listData,(a,p)=>{var _,V,B,h,y,F,E,P,j,U;return e.openBlock(),e.createElementBlock("div",{class:"approveBlock",id:a[t.defaultFile.nodeId],key:a[t.defaultFile.nodeId]},[e.createElementVNode("div",P3,[e.createElementVNode("div",j3,[e.createElementVNode("span",U3,[e.createCommentVNode(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),((_=a[t.defaultFile.approvePersonList])==null?void 0:_.length)==1&&a[t.defaultFile.approvePersonList][0].userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:N(a[t.defaultFile.approvePersonList][0].userAvatar),alt:""},null,8,R3)):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 否则显示对应节点 "),e.createElementVNode("i",{class:e.normalizeClass(k(a[t.defaultFile.nodeType],a[t.defaultFile.approvePersonList]))},null,2)],2112)),e.createCommentVNode(" 审批状态图标 "),e.createElementVNode("i",{class:e.normalizeClass(f(a[t.defaultFile.approveStatus],p))},null,2)])]),e.createElementVNode("div",q3,[e.createElementVNode("div",K3,[e.createElementVNode("div",null,[e.createCommentVNode(" 不是抄送节点 "),a[t.defaultFile.nodeType]!=t.nodeType.抄送节点?(e.openBlock(),e.createElementBlock("div",W3,[e.createCommentVNode(" 撤销,评论不显示节点名称 "),a[t.defaultFile.approveStatus]!=t.statusOption.撤销&&a[t.defaultFile.approveStatus]!=t.statusOption.评论?(e.openBlock(),e.createElementBlock("div",X3,e.toDisplayString(a[t.defaultFile.nodeTypeName]),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 名字+审批状态 "),e.createElementVNode("div",Y3,[e.createCommentVNode(" 已审批节点文本 "),a[t.defaultFile.lineType]=="solid"?(e.openBlock(),e.createElementBlock("div",G3,[e.createElementVNode("span",{style:e.normalizeStyle({color:a[t.defaultFile.approveStatus]==t.statusOption.评论?"#000":""})},e.toDisplayString(a[t.defaultFile.originator]),5),e.createCommentVNode(" 发起,退回不显示状态 "),a[t.defaultFile.approveStatusName]&&a[t.defaultFile.approveStatus]!=t.statusOption.发起&&a[t.defaultFile.approveStatus]!=t.statusOption.退回?(e.openBlock(),e.createElementBlock("span",Z3,e.toDisplayString(a[t.defaultFile.approveStatus]==t.statusOption.评论?" 添加了评论":"("+a[t.defaultFile.approveStatusName]+")"),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 退回状态显示 "),a[t.defaultFile.approveStatus]==t.statusOption.退回?(e.openBlock(),e.createElementBlock("span",J3,[Q3,e.createTextVNode(e.toDisplayString(a[t.defaultFile.backToRecordNodeName]),1)])):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock(e.Fragment,{key:1},[e.createCommentVNode(" 待审批节点 "),e.createElementVNode("div",null,[((V=a[t.defaultFile.approvePersonList])==null?void 0:V.length)==1?(e.openBlock(),e.createElementBlock("span",e6,[e.createTextVNode(e.toDisplayString(a[t.defaultFile.originator])+" ",1),a[t.defaultFile.approveStatus]==t.statusOption.等待?(e.openBlock(),e.createElementBlock("span",t6,e.toDisplayString(`(${a[t.defaultFile.approveStatusName]})`),1)):e.createCommentVNode("v-if",!0)])):(e.openBlock(),e.createElementBlock("span",o6,e.toDisplayString(((B=a[t.defaultFile.approvePersonList])==null?void 0:B.length)+"人"+a[t.defaultFile.approveTypeName]),1))])],2112))])])):(e.openBlock(),e.createElementBlock("div",l6,[a6,e.createElementVNode("div",n6,[e.createCommentVNode(" 抄送一人时 "),((h=a[t.defaultFile.approvePersonList])==null?void 0:h.length)==1?(e.openBlock(),e.createElementBlock("span",s6,[e.createElementVNode("span",null,[e.createTextVNode("已抄送给 "),e.createElementVNode("span",c6,e.toDisplayString(a[t.defaultFile.approvePersonList][0].userName),1)]),e.createElementVNode("span",i6,e.toDisplayString(a[t.defaultFile.approvePersonList][0].status==="END"?"已读":"未读"),1)])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 抄送多人时 "),((y=a[t.defaultFile.approvePersonList])==null?void 0:y.length)>1?(e.openBlock(),e.createElementBlock("span",r6,[e.createTextVNode(e.toDisplayString(`已抄送${(F=a[t.defaultFile.approvePersonList])==null?void 0:F.length}人`)+" ",1),a[t.defaultFile.allRead]?(e.openBlock(),e.createElementBlock("span",d6," 全部已读 ")):(e.openBlock(),e.createElementBlock("span",p6,[a[t.defaultFile.read]?e.createCommentVNode("v-if",!0):(e.openBlock(),e.createElementBlock("span",h6," 全部未读 ")),a[t.defaultFile.read]?(e.openBlock(),e.createElementBlock("span",m6,e.toDisplayString(a[t.defaultFile.read])+"人已读 ",1)):e.createCommentVNode("v-if",!0)]))])):e.createCommentVNode("v-if",!0)])]))]),e.createElementVNode("div",f6,[e.createCommentVNode(" 不是抄送节点,展示时间 "),a[t.defaultFile.nodeType]!=t.nodeType.抄送节点&&a[t.defaultFile.approveStatus]!==t.statusOption.等待?(e.openBlock(),e.createElementBlock("span",k6,e.toDisplayString(e.unref(z.ikDate).toDateTime(a[t.defaultFile.operationTime],"MM/DD HH:mm")),1)):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 是抄送节点,并且抄送人员大于1时,展示图标 "),a[t.defaultFile.nodeType]==t.nodeType.抄送节点&&((E=a[t.defaultFile.approvePersonList])==null?void 0:E.length)>1?(e.openBlock(),e.createElementBlock("span",_6,[a!=null&&a.show?(e.openBlock(),e.createElementBlock("i",{key:0,class:"ikapprove ikapprove-a-putongjiantouzhankai",onClick:m=>w(a,"grid")},null,8,g6)):(e.openBlock(),e.createElementBlock("i",{key:1,onClick:m=>w(a,"none"),class:"ikapprove ikapprove-a-putongjiantoushouqi"},null,8,u6))])):e.createCommentVNode("v-if",!0)])])])]),e.createElementVNode("div",{class:"bottomBlock",style:e.normalizeStyle({borderLeft:p==t.listData.length-1?"":`2px ${a[t.defaultFile.lineType]} var(--el-border-color)`})},[e.createCommentVNode(" 审批意见 "),a[t.defaultFile.approveOpinion]||a[t.defaultFile.approveStatus]==t.statusOption.加签?(e.openBlock(),e.createElementBlock("div",y6,[a[t.defaultFile.approveOpinion]?(e.openBlock(),e.createElementBlock("span",B6,e.toDisplayString(a[t.defaultFile.approveOpinion]),1)):e.createCommentVNode("v-if",!0),a[t.defaultFile.approveStatus]==t.statusOption.加签?(e.openBlock(),e.createElementBlock("span",w6,[N6,(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.countersignPer],(m,T)=>(e.openBlock(),e.createElementBlock("span",V6,e.toDisplayString(m==null?void 0:m.userName)+e.toDisplayString(T<a[t.defaultFile.countersignPer].length-1?"、":""),1))),256))])):e.createCommentVNode("v-if",!0)])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 附件 "),(P=a[t.defaultFile.attachment])!=null&&P.length?(e.openBlock(),e.createBlock(e.unref(S3),{key:1,"kk-url":l.kkUrl,"load-url":l.fileUrl,list:a[t.defaultFile.attachment]},null,8,["kk-url","load-url","list"])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 附件图片 "),(j=a[t.defaultFile.attachmentImg])!=null&&j.length?(e.openBlock(),e.createElementBlock("div",F6,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.attachmentImg],(m,T)=>(e.openBlock(),e.createElementBlock("div",{class:"image",key:T},[e.createVNode(c,{src:N(m),"preview-src-list":a[t.defaultFile.attachmentImg].map(D6=>N(D6)),fit:"cover","z-index":"9999","zoom-rate":1.2,alt:N(m)},null,8,["src","preview-src-list","alt"])]))),128))])):e.createCommentVNode("v-if",!0),e.createCommentVNode(" 抄送节点或是等待审批状态并且列表长度大于1 "),(a[t.defaultFile.nodeType]==t.nodeType.抄送节点||a[t.defaultFile.approveStatus]==t.statusOption.等待)&&((U=a[t.defaultFile.approvePersonList])==null?void 0:U.length)>1?(e.openBlock(),e.createElementBlock("div",E6,[(e.openBlock(!0),e.createElementBlock(e.Fragment,null,e.renderList(a[t.defaultFile.approvePersonList],m=>(e.openBlock(),e.createElementBlock("div",{class:"perBlock",key:m.userName},[e.createElementVNode("span",x6,[m.userAvatar?(e.openBlock(),e.createElementBlock("img",{key:0,style:{width:"100%",height:"100%","border-radius":"50%"},src:N(m.userAvatar),alt:""},null,8,z6)):(e.openBlock(),e.createElementBlock("span",$6,e.toDisplayString(m.userName.slice(-2)),1)),m.status==="END"?(e.openBlock(),e.createElementBlock("i",b6)):e.createCommentVNode("v-if",!0)]),e.createElementVNode("div",{class:"main-text",title:m.userName},e.toDisplayString(m.userName),9,C6)]))),128))])):e.createCommentVNode("v-if",!0)],4)],8,H3)}),128))])}}}),ke="",H=b(R(T6,[["__scopeId","data-v-f59c49a4"]]));g.IKApprovalProcessDetail=H,g.default=H,Object.defineProperties(g,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}})});