iking-web-ui-pro 0.2.2 → 0.2.3

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,6 +1,6 @@
1
- import { defineComponent as $, computed as D, openBlock as a, createElementBlock as r, createElementVNode as d, ref as V, Fragment as b, renderList as A, normalizeClass as x, normalizeStyle as S, createVNode as z, toDisplayString as g, unref as F, withModifiers as re, renderSlot as N, createCommentVNode as p, mergeModels as te, useModel as oe, reactive as ne, watch as se, nextTick as W, resolveComponent as M, createBlock as E, withCtx as T, createTextVNode as B, h as ce, mergeProps as ie, createSlots as de, onMounted as ue, pushScopeId as pe, popScopeId as fe } from "vue";
1
+ import { defineComponent as $, computed as E, openBlock as a, createElementBlock as r, createElementVNode as d, ref as M, Fragment as b, renderList as V, normalizeClass as x, normalizeStyle as S, createVNode as z, toDisplayString as g, unref as F, withModifiers as re, renderSlot as H, createCommentVNode as p, mergeModels as te, useModel as oe, reactive as ne, watch as se, nextTick as K, resolveComponent as P, createBlock as R, withCtx as B, createTextVNode as D, h as ce, mergeProps as ie, createSlots as de, onMounted as ue, pushScopeId as pe, popScopeId as fe } from "vue";
2
2
  import { paramType as he, ikFile as ve, buildUUID as ge, ikColor as ye, ikDate as _e } from "iking-utils-pro";
3
- const P = (o, t) => {
3
+ const N = (o, t) => {
4
4
  if (o.install = (n) => {
5
5
  for (const e of [o, ...Object.values(t ?? {})])
6
6
  n.component(e.name, e);
@@ -122,7 +122,7 @@ const P = (o, t) => {
122
122
  const n = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(o) / Math.log(1024));
123
123
  let s = o / Math.pow(1024, e);
124
124
  return (s % 1 === 0 ? s.toFixed(t || 0) : s.toFixed(t)) + " " + n[e];
125
- }, H = (o, t) => t ? t.startsWith("http") ? t : `${o || location.origin}${t}` : "", le = (o, t) => {
125
+ }, L = (o, t) => t ? t.startsWith("http") ? t : `${o || location.origin}${t}` : "", le = (o, t) => {
126
126
  var c, u, y, _;
127
127
  const n = (c = o == null ? void 0 : o.response) != null && c.data ? Q((y = (u = o == null ? void 0 : o.response) == null ? void 0 : u.data) == null ? void 0 : y.suffix) : ((_ = o.raw) == null ? void 0 : _.type) || Q(o[t.suffix]), e = n == null ? void 0 : n.toLowerCase(), s = {
128
128
  sheet: "excel",
@@ -732,7 +732,7 @@ const P = (o, t) => {
732
732
  }
733
733
  },
734
734
  setup(o) {
735
- const t = o, n = D(() => t.file ? le(t.file, t.fields) : t.type);
735
+ const t = o, n = E(() => t.file ? le(t.file, t.fields) : t.type);
736
736
  return (e, s) => n.value === "image" ? (a(), r("svg", be, Ie)) : n.value === "zip" ? (a(), r("svg", Oe, De)) : n.value === "ppt" ? (a(), r("svg", Ee, Ve)) : n.value === "word" ? (a(), r("svg", Me, He)) : n.value === "pdf" ? (a(), r("svg", Le, je)) : n.value === "txt" ? (a(), r("svg", We, Ye)) : n.value === "audio" ? (a(), r("svg", Xe, Qe)) : n.value === "video" ? (a(), r("svg", e3, n3)) : n.value === "excel" ? (a(), r("svg", s3, r3)) : n.value === "exe" ? (a(), r("svg", c3, h3)) : n.value === "json" ? (a(), r("svg", v3, m3)) : (a(), r("svg", w3, b3));
737
737
  }
738
738
  }), z3 = ["onClick"], $3 = { class: "text" }, C3 = { class: "fileName" }, I3 = { class: "size" }, O3 = /* @__PURE__ */ $({
@@ -805,31 +805,31 @@ const P = (o, t) => {
805
805
  }
806
806
  },
807
807
  setup(o) {
808
- const t = o, n = D(() => ({
808
+ const t = o, n = E(() => ({
809
809
  name: "name",
810
810
  url: "url",
811
811
  suffix: "suffix",
812
812
  size: "size",
813
813
  ...t.field
814
- })), e = V({}), s = V(!1), c = (i) => {
814
+ })), e = M({}), s = M(!1), c = (i) => {
815
815
  var f, v;
816
816
  e.value = {
817
817
  ...i,
818
818
  name: i.name,
819
- url: H(
819
+ url: L(
820
820
  t.loadUrl,
821
821
  i.url || ((v = (f = i == null ? void 0 : i.response) == null ? void 0 : f.data) == null ? void 0 : v.id) || (i == null ? void 0 : i.id)
822
822
  )
823
823
  }, s.value = !0;
824
824
  }, u = (i) => {
825
825
  ve.downloadFile(
826
- H(
826
+ L(
827
827
  t.loadUrl,
828
828
  i[n.value.url] || i.attachmentId || i.id
829
829
  ),
830
830
  i[n.value.name] || i.attachmentName
831
831
  );
832
- }, y = D(() => he.isNumber(t.width) ? `${t.width}px` : t.width), _ = D(() => t.list.map((i) => ({
832
+ }, y = E(() => he.isNumber(t.width) ? `${t.width}px` : t.width), _ = E(() => t.list.map((i) => ({
833
833
  ...i,
834
834
  name: i[n.value.name] || i.attachmentName,
835
835
  size: i[n.value.size] || i.fileSize || i.attachmentSize,
@@ -844,7 +844,7 @@ const P = (o, t) => {
844
844
  (v = o.list) != null && v.length ? (a(!0), r(
845
845
  b,
846
846
  { key: 0 },
847
- A(_.value, (h, l) => {
847
+ V(_.value, (h, l) => {
848
848
  var k;
849
849
  return a(), r(
850
850
  "div",
@@ -889,18 +889,18 @@ const P = (o, t) => {
889
889
  class: x(["flex flex-center", { "hover-show": o.iconHoverShow }])
890
890
  },
891
891
  [
892
- z(F(L), {
892
+ z(F(q), {
893
893
  name: "iksvg_daochu",
894
894
  onClick: re((C) => u(h), ["stop"]),
895
895
  bg: o.showBg,
896
896
  size: o.showBg ? "default" : 20
897
897
  }, null, 8, ["onClick", "bg", "size"]),
898
- z(F(L), {
898
+ z(F(q), {
899
899
  name: "iksvg_yulan",
900
900
  bg: o.showBg,
901
901
  size: o.showBg ? "default" : 20
902
902
  }, null, 8, ["bg", "size"]),
903
- N(i.$slots, "operation", {
903
+ H(i.$slots, "operation", {
904
904
  data: { ...h, findex: l }
905
905
  })
906
906
  ],
@@ -932,7 +932,7 @@ const P = (o, t) => {
932
932
  };
933
933
  }
934
934
  });
935
- const T3 = P(O3), B3 = /* @__PURE__ */ $({
935
+ const T3 = N(O3), B3 = /* @__PURE__ */ $({
936
936
  __name: "IkPreviewFileDialog",
937
937
  props: /* @__PURE__ */ te({
938
938
  file: {
@@ -944,12 +944,12 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
944
944
  type: String,
945
945
  default: ""
946
946
  },
947
- // 需要onlyoffice预览的文件类型
947
+ // 需要onlyoffice预览的文件类型 - 0.2.3版本后可不填
948
948
  onlyOfficeAccept: {
949
949
  type: String,
950
950
  default: ".pdf,.docx,.doc.ppt,.pptx,.xlsx,.xls,"
951
951
  },
952
- // onlyoffice服务地址
952
+ // onlyoffice服务地址 - 0.2.3版本后可不填
953
953
  onlyofficeServer: {
954
954
  type: String,
955
955
  default: ""
@@ -969,34 +969,34 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
969
969
  }),
970
970
  emits: ["update:show"],
971
971
  setup(o) {
972
- const t = o, n = oe(o, "show"), e = D(() => ({
972
+ const t = o, n = oe(o, "show"), e = E(() => ({
973
973
  name: "name",
974
974
  url: "url",
975
975
  suffix: "suffix",
976
976
  size: "fileSize",
977
977
  ...t.field
978
- })), s = V(null), c = V(null), u = ne({
978
+ })), s = M(null), c = M(null), u = ne({
979
979
  image: !1,
980
980
  office: !1,
981
981
  video: !1
982
982
  }), y = (i) => {
983
- var f, v, h, l, k, C;
983
+ var f, v, h, l, k, C, I;
984
984
  try {
985
- const w = ((f = i == null ? void 0 : i.response) == null ? void 0 : f.data) || i, O = w[e.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, I = (v = w[e.value.suffix] || w.attachmentSuffix) == null ? void 0 : v.toLowerCase(), R = w[e.value.name] || (w == null ? void 0 : w.attachmentName);
985
+ const w = ((f = i == null ? void 0 : i.response) == null ? void 0 : f.data) || i, O = w[e.value.url] || (w == null ? void 0 : w.id) || w.attachmentId, T = (v = w[e.value.suffix] || w.attachmentSuffix) == null ? void 0 : v.toLowerCase(), A = w[e.value.name] || (w == null ? void 0 : w.attachmentName);
986
986
  if (c.value = {
987
987
  ...i,
988
988
  name: i[e.value.name],
989
- url: H(t.loadUrl, O)
989
+ url: L(t.loadUrl, O)
990
990
  }, i && le(i, e.value) === "image") {
991
991
  u.image = !0;
992
992
  return;
993
- } else if (t.onlyOfficeAccept.includes(I)) {
993
+ } else if ((((h = t.onlyOfficeConfig) == null ? void 0 : h.accept) || t.onlyOfficeAccept).includes(T)) {
994
994
  u.office = !0, s.value = {
995
995
  ...t.onlyOfficeConfig,
996
996
  editorConfig: {
997
- ...((h = t.onlyOfficeConfig) == null ? void 0 : h.editorConfig) || {},
997
+ ...((l = t.onlyOfficeConfig) == null ? void 0 : l.editorConfig) || {},
998
998
  customization: {
999
- ...((k = (l = t.onlyOfficeConfig) == null ? void 0 : l.editorConfig) == null ? void 0 : k.customization) || {},
999
+ ...((C = (k = t.onlyOfficeConfig) == null ? void 0 : k.editorConfig) == null ? void 0 : C.customization) || {},
1000
1000
  review: {
1001
1001
  reviewDisplay: "final"
1002
1002
  }
@@ -1004,12 +1004,12 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
1004
1004
  },
1005
1005
  document: {
1006
1006
  key: ge(),
1007
- title: R,
1008
- url: H(t.loadUrl, O),
1009
- fileType: I,
1010
- ...((C = t.onlyOfficeConfig) == null ? void 0 : C.document) || {}
1007
+ title: A,
1008
+ url: L(t.loadUrl, O),
1009
+ fileType: T,
1010
+ ...((I = t.onlyOfficeConfig) == null ? void 0 : I.document) || {}
1011
1011
  },
1012
- documentType: Se(I)
1012
+ documentType: Se(T)
1013
1013
  };
1014
1014
  return;
1015
1015
  }
@@ -1018,7 +1018,7 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
1018
1018
  }
1019
1019
  };
1020
1020
  se([n, t.file], ([i, f]) => {
1021
- i && W(() => {
1021
+ i && K(() => {
1022
1022
  y(t.file);
1023
1023
  });
1024
1024
  });
@@ -1027,12 +1027,12 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
1027
1027
  };
1028
1028
  return (i, f) => {
1029
1029
  var h, l;
1030
- const v = M("el-image-viewer");
1030
+ const v = P("el-image-viewer");
1031
1031
  return n.value ? (a(), r(
1032
1032
  b,
1033
1033
  { key: 0 },
1034
1034
  [
1035
- (h = c.value) != null && h.url && u.image ? (a(), E(v, {
1035
+ (h = c.value) != null && h.url && u.image ? (a(), R(v, {
1036
1036
  key: 0,
1037
1037
  onClose: f[0] || (f[0] = (k) => {
1038
1038
  c.value = null, u.image = !1;
@@ -1056,12 +1056,12 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
1056
1056
  onClose: _,
1057
1057
  "modal-class": "ik-only-preview-dialog"
1058
1058
  }, {
1059
- default: T(() => [
1059
+ default: B(() => [
1060
1060
  z(F(o6), {
1061
- configOptions: s.value,
1062
- documentServerUrl: o.onlyofficeServer,
1061
+ "config-options": s.value,
1062
+ "document-server-url": o.onlyOfficeConfig.serverUrl || o.onlyofficeServer,
1063
1063
  mode: "view"
1064
- }, null, 8, ["configOptions", "documentServerUrl"])
1064
+ }, null, 8, ["config-options", "document-server-url"])
1065
1065
  ]),
1066
1066
  _: 1
1067
1067
  /* STABLE */
@@ -1073,7 +1073,7 @@ const T3 = P(O3), B3 = /* @__PURE__ */ $({
1073
1073
  };
1074
1074
  }
1075
1075
  });
1076
- const D3 = P(B3), E3 = {
1076
+ const D3 = N(B3), E3 = {
1077
1077
  key: 0,
1078
1078
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
1079
1079
  }, R3 = {
@@ -1111,10 +1111,10 @@ const D3 = P(B3), E3 = {
1111
1111
  tableIconType: { default: "icon" }
1112
1112
  },
1113
1113
  setup(o) {
1114
- const t = o, n = D(() => {
1114
+ const t = o, n = E(() => {
1115
1115
  var s, c, u;
1116
1116
  return /^http?:\/\//.test(t.name) ? "img" : /i-[^:]+:[^:]+/.test(t.name) ? "unocss" : (s = t.name) != null && s.startsWith("iksig") ? "iksig" : (c = t.name) != null && c.includes(":") ? "iconify" : (u = t.name) != null && u.startsWith("iksvg") ? "svg" : "i";
1117
- }), e = D(() => {
1117
+ }), e = E(() => {
1118
1118
  const s = [];
1119
1119
  if (t.flip)
1120
1120
  switch (t.flip) {
@@ -1142,7 +1142,7 @@ const D3 = P(B3), E3 = {
1142
1142
  return t.width && (c.width = c.height = typeof t.width == "number" ? `${t.width}px` : t.width), c;
1143
1143
  });
1144
1144
  return (s, c) => {
1145
- const u = M("el-tooltip"), y = M("el-button");
1145
+ const u = P("el-tooltip"), y = P("el-button");
1146
1146
  return s.tableIconType === "icon" ? (a(), r("span", E3, [
1147
1147
  s.notip || !s.title ? (a(), r(
1148
1148
  "i",
@@ -1197,12 +1197,12 @@ const D3 = P(B3), E3 = {
1197
1197
  ],
1198
1198
  6
1199
1199
  /* CLASS, STYLE */
1200
- )) : (a(), E(u, {
1200
+ )) : (a(), R(u, {
1201
1201
  key: 1,
1202
1202
  content: s.title,
1203
1203
  placement: "top"
1204
1204
  }, {
1205
- default: T(() => [
1205
+ default: B(() => [
1206
1206
  d(
1207
1207
  "i",
1208
1208
  {
@@ -1258,12 +1258,12 @@ const D3 = P(B3), E3 = {
1258
1258
  _: 1
1259
1259
  /* STABLE */
1260
1260
  }, 8, ["content"]))
1261
- ])) : (a(), E(y, {
1261
+ ])) : (a(), R(y, {
1262
1262
  key: 1,
1263
1263
  type: ["warning", "error"].includes(s.type) ? "danger" : ""
1264
1264
  }, {
1265
- default: T(() => [
1266
- B(
1265
+ default: B(() => [
1266
+ D(
1267
1267
  g(s.title),
1268
1268
  1
1269
1269
  /* TEXT */
@@ -1275,7 +1275,7 @@ const D3 = P(B3), E3 = {
1275
1275
  };
1276
1276
  }
1277
1277
  });
1278
- const L3 = /* @__PURE__ */ U(H3, [["__scopeId", "data-v-7d95dbf5"]]), L = P(L3), q3 = {
1278
+ const L3 = /* @__PURE__ */ U(H3, [["__scopeId", "data-v-7d95dbf5"]]), q = N(L3), q3 = {
1279
1279
  key: 0,
1280
1280
  class: "exit-main-page-maximize"
1281
1281
  }, U3 = /* @__PURE__ */ $({
@@ -1293,13 +1293,13 @@ const L3 = /* @__PURE__ */ U(H3, [["__scopeId", "data-v-7d95dbf5"]]), L = P(L3),
1293
1293
  setup(o) {
1294
1294
  return (t, n) => (a(), r("div", null, [
1295
1295
  o.showBg && o.fullscreen ? (a(), r("div", q3, [
1296
- z(F(L), {
1296
+ z(F(q), {
1297
1297
  name: "iksvg_guanbidanchuang",
1298
1298
  title: "关闭",
1299
1299
  size: 20,
1300
1300
  error: ""
1301
1301
  })
1302
- ])) : (a(), E(F(L), {
1302
+ ])) : (a(), R(F(q), {
1303
1303
  key: 1,
1304
1304
  error: "",
1305
1305
  name: "iksvg_guanbidanchuang",
@@ -1330,7 +1330,7 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
1330
1330
  }),
1331
1331
  emits: ["update:modelValue"],
1332
1332
  setup(o) {
1333
- const t = o, n = oe(o, "modelValue"), e = V(t.fullscreen), s = () => {
1333
+ const t = o, n = oe(o, "modelValue"), e = M(t.fullscreen), s = () => {
1334
1334
  e.value = !e.value;
1335
1335
  }, c = $({
1336
1336
  setup() {
@@ -1341,8 +1341,8 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
1341
1341
  }
1342
1342
  });
1343
1343
  return (u, y) => {
1344
- const _ = M("el-dialog");
1345
- return a(), E(_, ie({
1344
+ const _ = P("el-dialog");
1345
+ return a(), R(_, ie({
1346
1346
  modelValue: n.value,
1347
1347
  "onUpdate:modelValue": y[0] || (y[0] = (i) => n.value = i)
1348
1348
  }, u.$attrs, {
@@ -1351,26 +1351,26 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
1351
1351
  fullscreen: e.value,
1352
1352
  "modal-class": "baseDialog"
1353
1353
  }), de({
1354
- icon: T(() => [
1355
- N(u.$slots, "title", {}, () => [
1356
- B(
1354
+ icon: B(() => [
1355
+ H(u.$slots, "title", {}, () => [
1356
+ D(
1357
1357
  g(u.title),
1358
1358
  1
1359
1359
  /* TEXT */
1360
1360
  )
1361
1361
  ])
1362
1362
  ]),
1363
- header: T(() => [
1363
+ header: B(() => [
1364
1364
  d("div", W3, [
1365
- N(u.$slots, "header", {}, () => [
1366
- B(
1365
+ H(u.$slots, "header", {}, () => [
1366
+ D(
1367
1367
  g(u.title),
1368
1368
  1
1369
1369
  /* TEXT */
1370
1370
  )
1371
1371
  ])
1372
1372
  ]),
1373
- u.$attrs.showClose ? (a(), E(F(L), {
1373
+ u.$attrs.showClose ? (a(), R(F(q), {
1374
1374
  key: 0,
1375
1375
  onClick: s,
1376
1376
  name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
@@ -1378,16 +1378,16 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
1378
1378
  title: e.value ? "退出全屏" : "全屏"
1379
1379
  }, null, 8, ["name", "title"])) : p("v-if", !0)
1380
1380
  ]),
1381
- default: T(() => [
1382
- N(u.$slots, "default")
1381
+ default: B(() => [
1382
+ H(u.$slots, "default")
1383
1383
  ]),
1384
1384
  _: 2
1385
1385
  /* DYNAMIC */
1386
1386
  }, [
1387
1387
  u.$slots.footer ? {
1388
1388
  name: "footer",
1389
- fn: T(() => [
1390
- N(u.$slots, "footer")
1389
+ fn: B(() => [
1390
+ H(u.$slots, "footer")
1391
1391
  ]),
1392
1392
  key: "0"
1393
1393
  } : void 0
@@ -1395,7 +1395,7 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
1395
1395
  };
1396
1396
  }
1397
1397
  });
1398
- const G3 = P(K3);
1398
+ const G3 = N(K3);
1399
1399
  function Y3(o, t, n, e) {
1400
1400
  function s(c) {
1401
1401
  return c instanceof n ? c : new n(function(u) {
@@ -1523,7 +1523,7 @@ var J3 = function(o, t) {
1523
1523
  }, s.onerror = function(c) {
1524
1524
  s.removeAttribute("loading"), e(c);
1525
1525
  }, s.setAttribute("loading", ""), s;
1526
- }, K = $({
1526
+ }, G = $({
1527
1527
  name: "DocumentEditor",
1528
1528
  props: {
1529
1529
  id: {
@@ -1696,8 +1696,8 @@ const Z3 = ["id"];
1696
1696
  function Q3(o, t, n, e, s, c) {
1697
1697
  return a(), r("div", { id: o.id }, null, 8, Z3);
1698
1698
  }
1699
- K.render = Q3;
1700
- K.__file = "src/components/DocumentEditor.vue";
1699
+ G.render = Q3;
1700
+ G.__file = "src/components/DocumentEditor.vue";
1701
1701
  const e6 = /* @__PURE__ */ $({
1702
1702
  __name: "IkOnlyOffice",
1703
1703
  props: {
@@ -1719,7 +1719,7 @@ const e6 = /* @__PURE__ */ $({
1719
1719
  }
1720
1720
  },
1721
1721
  setup(o) {
1722
- const t = o, n = V({
1722
+ const t = o, n = M({
1723
1723
  width: "100%",
1724
1724
  height: "100%",
1725
1725
  ...t.configOptions || {}
@@ -1732,7 +1732,7 @@ const e6 = /* @__PURE__ */ $({
1732
1732
  style: S({ height: t.officeHeight })
1733
1733
  },
1734
1734
  [
1735
- z(F(K), {
1735
+ z(F(G), {
1736
1736
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1737
1737
  ref: "editorRef",
1738
1738
  "document-server-url": o.documentServerUrl,
@@ -1745,13 +1745,13 @@ const e6 = /* @__PURE__ */ $({
1745
1745
  ));
1746
1746
  }
1747
1747
  });
1748
- const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6), G = (o) => (pe("data-v-fbe9e6ef"), o = o(), fe(), o), n6 = {
1748
+ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6), Y = (o) => (pe("data-v-fbe9e6ef"), o = o(), fe(), o), n6 = {
1749
1749
  class: "approveProcess",
1750
1750
  id: "approveProcess"
1751
1751
  }, s6 = ["id"], i6 = { class: "topBlock" }, l6 = { class: "left" }, a6 = { class: "nodeBg" }, r6 = ["src"], c6 = { class: "right" }, d6 = { class: "topInfo" }, u6 = { key: 0 }, p6 = {
1752
1752
  key: 0,
1753
1753
  class: "main-text"
1754
- }, f6 = { class: "name" }, h6 = { key: 0 }, v6 = { key: 0 }, g6 = { key: 1 }, y6 = /* @__PURE__ */ G(() => /* @__PURE__ */ d(
1754
+ }, f6 = { class: "name" }, h6 = { key: 0 }, v6 = { key: 0 }, g6 = { key: 1 }, y6 = /* @__PURE__ */ Y(() => /* @__PURE__ */ d(
1755
1755
  "span",
1756
1756
  {
1757
1757
  class: "red",
@@ -1760,7 +1760,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
1760
1760
  "退回至",
1761
1761
  -1
1762
1762
  /* HOISTED */
1763
- )), _6 = { key: 0 }, m6 = { key: 0 }, w6 = { key: 1 }, k6 = { key: 1 }, F6 = /* @__PURE__ */ G(() => /* @__PURE__ */ d(
1763
+ )), _6 = { key: 0 }, m6 = { key: 0 }, w6 = { key: 1 }, k6 = { key: 1 }, F6 = /* @__PURE__ */ Y(() => /* @__PURE__ */ d(
1764
1764
  "div",
1765
1765
  { class: "main-text" },
1766
1766
  "抄送人员",
@@ -1784,7 +1784,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
1784
1784
  }, B6 = { class: "time" }, D6 = { key: 0 }, E6 = { key: 1 }, R6 = ["onClick"], A6 = ["onClick"], V6 = {
1785
1785
  key: 0,
1786
1786
  class: "opinion"
1787
- }, M6 = { key: 0 }, P6 = { key: 1 }, N6 = /* @__PURE__ */ G(() => /* @__PURE__ */ d(
1787
+ }, M6 = { key: 0 }, P6 = { key: 1 }, N6 = /* @__PURE__ */ Y(() => /* @__PURE__ */ d(
1788
1788
  "span",
1789
1789
  { class: "ik-text-primary" },
1790
1790
  "添加审批人",
@@ -1868,7 +1868,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
1868
1868
  se(
1869
1869
  () => n.dataList,
1870
1870
  (i) => {
1871
- i && (W(() => {
1871
+ i && (K(() => {
1872
1872
  e.listData = i;
1873
1873
  }), setTimeout(() => {
1874
1874
  n.returnNode.length && s();
@@ -1887,16 +1887,16 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
1887
1887
  if (isNaN(i[1]))
1888
1888
  return;
1889
1889
  let f = Array.from(new Array(i[1] + 1).keys()).slice(i[0]);
1890
- W(() => {
1890
+ K(() => {
1891
1891
  c(f);
1892
1892
  });
1893
1893
  }
1894
1894
  }, c = (i) => {
1895
- var w, O, I;
1896
- let f = document.createElement("div"), v = document.getElementById("approveProcess"), h = 0, l = (w = document.getElementById(`${i[0]}`)) == null ? void 0 : w.offsetWidth, k = (O = document.getElementById(`${i[0]}`)) == null ? void 0 : O.offsetLeft, C = (I = document.getElementById(`${i[0]}`)) == null ? void 0 : I.offsetTop;
1897
- i.forEach((R) => {
1898
- let q = document.getElementById(`${R}`);
1899
- h += q.offsetHeight;
1895
+ var I, w, O;
1896
+ let f = document.createElement("div"), v = document.getElementById("approveProcess"), h = 0, l = (I = document.getElementById(`${i[0]}`)) == null ? void 0 : I.offsetWidth, k = (w = document.getElementById(`${i[0]}`)) == null ? void 0 : w.offsetLeft, C = (O = document.getElementById(`${i[0]}`)) == null ? void 0 : O.offsetTop;
1897
+ i.forEach((T) => {
1898
+ let A = document.getElementById(`${T}`);
1899
+ h += A.offsetHeight;
1900
1900
  }), setTimeout(() => {
1901
1901
  f.style.width = l + 32 + "px", f.style.height = h + "px", f.style.background = "#f9f9f9", f.style.position = "absolute", f.style.top = C - 16 + "px", f.style.left = k - 16 + "px", f.style.zIndex = -1, v == null || v.appendChild(f);
1902
1902
  });
@@ -1935,15 +1935,15 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
1935
1935
  let v = document.getElementById(`${i[e.defaultFile.nodeId]}`), h = Array.from(v == null ? void 0 : v.getElementsByClassName("approveList"));
1936
1936
  for (let l of h)
1937
1937
  l.style.display = f;
1938
- }, _ = (i) => H(n.fileUrl, i);
1938
+ }, _ = (i) => L(n.fileUrl, i);
1939
1939
  return (i, f) => {
1940
- const v = M("el-image"), h = M("IkingApprovalProcessDetail");
1940
+ const v = P("el-image"), h = P("IkingApprovalProcessDetail");
1941
1941
  return a(), r("div", n6, [
1942
1942
  (a(!0), r(
1943
1943
  b,
1944
1944
  null,
1945
- A(e.listData, (l, k) => {
1946
- var C, w, O, I, R, q, Y, X, J, Z;
1945
+ V(e.listData, (l, k) => {
1946
+ var C, I, w, O, T, A, j, X, J, Z;
1947
1947
  return a(), r("div", {
1948
1948
  class: "approveBlock",
1949
1949
  id: l[e.defaultFile.nodeId],
@@ -2037,7 +2037,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2037
2037
  p(" 退回状态显示 "),
2038
2038
  l[e.defaultFile.approveStatus] == e.statusOption.退回 ? (a(), r("span", g6, [
2039
2039
  y6,
2040
- B(
2040
+ D(
2041
2041
  g(l[e.defaultFile.backToRecordNodeName]),
2042
2042
  1
2043
2043
  /* TEXT */
@@ -2049,8 +2049,8 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2049
2049
  [
2050
2050
  p(" 待审批节点 "),
2051
2051
  d("div", null, [
2052
- ((w = l[e.defaultFile.approvePersonList]) == null ? void 0 : w.length) == 1 ? (a(), r("span", _6, [
2053
- B(
2052
+ ((I = l[e.defaultFile.approvePersonList]) == null ? void 0 : I.length) == 1 ? (a(), r("span", _6, [
2053
+ D(
2054
2054
  g(l[e.defaultFile.originator]) + " ",
2055
2055
  1
2056
2056
  /* TEXT */
@@ -2065,7 +2065,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2065
2065
  ])) : l[e.defaultFile.approvePersonList] ? (a(), r(
2066
2066
  "span",
2067
2067
  w6,
2068
- g(`${(O = l[e.defaultFile.approvePersonList]) == null ? void 0 : O.length}人${l[e.defaultFile.approveTypeName]}`),
2068
+ g(`${(w = l[e.defaultFile.approvePersonList]) == null ? void 0 : w.length}人${l[e.defaultFile.approveTypeName]}`),
2069
2069
  1
2070
2070
  /* TEXT */
2071
2071
  )) : p("v-if", !0)
@@ -2079,9 +2079,9 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2079
2079
  F6,
2080
2080
  d("div", S6, [
2081
2081
  p(" 抄送一人时 "),
2082
- ((I = l[e.defaultFile.approvePersonList]) == null ? void 0 : I.length) == 1 ? (a(), r("span", b6, [
2082
+ ((O = l[e.defaultFile.approvePersonList]) == null ? void 0 : O.length) == 1 ? (a(), r("span", b6, [
2083
2083
  d("span", null, [
2084
- B("已抄送给 "),
2084
+ D("已抄送给 "),
2085
2085
  d(
2086
2086
  "span",
2087
2087
  x6,
@@ -2099,9 +2099,9 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2099
2099
  )
2100
2100
  ])) : p("v-if", !0),
2101
2101
  p(" 抄送多人时 "),
2102
- ((R = l[e.defaultFile.approvePersonList]) == null ? void 0 : R.length) > 1 ? (a(), r("span", $6, [
2103
- B(
2104
- g(`已抄送${(q = l[e.defaultFile.approvePersonList]) == null ? void 0 : q.length}人`) + " ",
2102
+ ((T = l[e.defaultFile.approvePersonList]) == null ? void 0 : T.length) > 1 ? (a(), r("span", $6, [
2103
+ D(
2104
+ g(`已抄送${(A = l[e.defaultFile.approvePersonList]) == null ? void 0 : A.length}人`) + " ",
2105
2105
  1
2106
2106
  /* TEXT */
2107
2107
  ),
@@ -2132,7 +2132,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2132
2132
  /* TEXT */
2133
2133
  )) : p("v-if", !0),
2134
2134
  p(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
2135
- l[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((Y = l[e.defaultFile.approvePersonList]) == null ? void 0 : Y.length) > 1 ? (a(), r("span", E6, [
2135
+ l[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((j = l[e.defaultFile.approvePersonList]) == null ? void 0 : j.length) > 1 ? (a(), r("span", E6, [
2136
2136
  l != null && l.show ? (a(), r("i", {
2137
2137
  key: 0,
2138
2138
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
@@ -2170,10 +2170,10 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2170
2170
  (a(!0), r(
2171
2171
  b,
2172
2172
  null,
2173
- A(l[e.defaultFile.countersignPer], (m, j) => (a(), r(
2173
+ V(l[e.defaultFile.countersignPer], (m, W) => (a(), r(
2174
2174
  "span",
2175
2175
  H6,
2176
- g(m == null ? void 0 : m.userName) + g(j < l[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
2176
+ g(m == null ? void 0 : m.userName) + g(W < l[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
2177
2177
  1
2178
2178
  /* TEXT */
2179
2179
  ))),
@@ -2183,7 +2183,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2183
2183
  ])) : p("v-if", !0)
2184
2184
  ])) : p("v-if", !0),
2185
2185
  p(" 附件 "),
2186
- (X = l[e.defaultFile.attachment]) != null && X.length ? (a(), E(F(T3), {
2186
+ (X = l[e.defaultFile.attachment]) != null && X.length ? (a(), R(F(T3), {
2187
2187
  key: 1,
2188
2188
  "kk-url": o.kkUrl,
2189
2189
  "load-url": o.fileUrl,
@@ -2197,9 +2197,9 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2197
2197
  (a(!0), r(
2198
2198
  b,
2199
2199
  null,
2200
- A(l[e.defaultFile.attachmentImg], (m, j) => (a(), r("div", {
2200
+ V(l[e.defaultFile.attachmentImg], (m, W) => (a(), r("div", {
2201
2201
  class: "image",
2202
- key: j
2202
+ key: W
2203
2203
  }, [
2204
2204
  z(v, {
2205
2205
  src: _(m),
@@ -2219,7 +2219,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2219
2219
  (a(!0), r(
2220
2220
  b,
2221
2221
  null,
2222
- A(l[e.defaultFile.approvePersonList], (m) => (a(), r("div", {
2222
+ V(l[e.defaultFile.approvePersonList], (m) => (a(), r("div", {
2223
2223
  class: "perBlock",
2224
2224
  key: m.userName
2225
2225
  }, [
@@ -2255,7 +2255,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2255
2255
  (a(!0), r(
2256
2256
  b,
2257
2257
  null,
2258
- A(l[e.defaultFile.parallelInstances], (m) => (a(), r("div", X6, [
2258
+ V(l[e.defaultFile.parallelInstances], (m) => (a(), r("div", X6, [
2259
2259
  d(
2260
2260
  "div",
2261
2261
  J6,
@@ -2280,7 +2280,7 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = P(t6)
2280
2280
  };
2281
2281
  }
2282
2282
  });
2283
- const et = /* @__PURE__ */ U(Q6, [["__scopeId", "data-v-fbe9e6ef"]]), nt = P(et);
2283
+ const et = /* @__PURE__ */ U(Q6, [["__scopeId", "data-v-fbe9e6ef"]]), nt = N(et);
2284
2284
  export {
2285
2285
  nt as IKApprovalProcessDetail,
2286
2286
  nt as default