iking-web-ui-pro 0.2.8 → 0.2.10

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 B, computed as S, openBlock as l, createElementBlock as r, createElementVNode as u, inject as A, ref as P, Fragment as I, renderList as M, normalizeClass as O, normalizeStyle as z, createVNode as T, toDisplayString as m, unref as F, withModifiers as de, renderSlot as H, createCommentVNode as f, mergeModels as oe, useModel as ne, reactive as se, watch as ie, nextTick as G, resolveComponent as N, createBlock as R, withCtx as D, createTextVNode as E, h as ue, mergeProps as le, createSlots as pe, onMounted as fe, pushScopeId as ve, popScopeId as he } from "vue";
1
+ import { defineComponent as B, computed as z, openBlock as l, createElementBlock as a, createElementVNode as u, inject as N, ref as L, resolveComponent as P, Fragment as b, renderList as V, normalizeStyle as $, toDisplayString as m, normalizeClass as O, createVNode as C, unref as k, withModifiers as ee, renderSlot as H, createBlock as R, withCtx as E, createCommentVNode as f, mergeModels as ne, useModel as se, reactive as ie, watch as le, nextTick as G, createTextVNode as A, h as ue, mergeProps as ae, createSlots as pe, onMounted as fe, pushScopeId as ve, popScopeId as he } from "vue";
2
2
  import { paramType as ge, ikFile as _e, buildUUID as ye, ikColor as me, ikDate as we } from "iking-utils-pro";
3
- const L = (t, o) => {
3
+ const q = (t, o) => {
4
4
  if (t.install = (n) => {
5
5
  for (const e of [t, ...Object.values(o ?? {})])
6
6
  n.component(e.name, e);
@@ -123,9 +123,9 @@ const L = (t, o) => {
123
123
  const n = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
124
124
  let d = t / Math.pow(1024, e);
125
125
  return (d % 1 === 0 ? d.toFixed(o || 0) : d.toFixed(o)) + " " + n[e];
126
- }, q = (t, o) => o ? o.startsWith("http") ? o : `${t || location.origin}${o}` : "", ae = (t, o) => {
127
- var a, c, h, _;
128
- const n = (a = t == null ? void 0 : t.response) != null && a.data ? ee((h = (c = t == null ? void 0 : t.response) == null ? void 0 : c.data) == null ? void 0 : h.suffix) : ((_ = t.raw) == null ? void 0 : _.type) || ee(t[o.suffix]), e = n == null ? void 0 : n.toLowerCase(), d = {
126
+ }, U = (t, o) => o ? o.startsWith("http") ? o : `${t || location.origin}${o}` : "", re = (t, o) => {
127
+ var r, c, g, y;
128
+ const n = (r = t == null ? void 0 : t.response) != null && r.data ? te((g = (c = t == null ? void 0 : t.response) == null ? void 0 : c.data) == null ? void 0 : g.suffix) : ((y = t.raw) == null ? void 0 : y.type) || te(t[o.suffix]), e = n == null ? void 0 : n.toLowerCase(), d = {
129
129
  sheet: "excel",
130
130
  excel: "excel",
131
131
  zip: "zip",
@@ -230,13 +230,13 @@ const L = (t, o) => {
230
230
  ".vob": "video",
231
231
  ".txt": "txt",
232
232
  ".pdf": "pdf"
233
- }, ee = (t) => {
233
+ }, te = (t) => {
234
234
  const o = t == null ? void 0 : t.toLocaleLowerCase(), n = o != null && o.startsWith(".") ? o : `.${o}`;
235
235
  return n && Se[n] || "unknow";
236
- }, be = (t) => {
237
- let o = "", n = ["doc", "docx"], e = ["xls", "xlsx"], d = ["ppt", "pptx"], a = ["pdf"];
238
- return n.includes(t) && (o = "word"), e.includes(t) && (o = "cell"), d.includes(t) && (o = "slide"), a.includes(t) && (o = "text-pdf"), o;
239
- }, ze = {
236
+ }, ze = (t) => {
237
+ let o = "", n = ["doc", "docx"], e = ["xls", "xlsx"], d = ["ppt", "pptx"], r = ["pdf"];
238
+ return n.includes(t) && (o = "word"), e.includes(t) && (o = "cell"), d.includes(t) && (o = "slide"), r.includes(t) && (o = "text-pdf"), o;
239
+ }, be = {
240
240
  key: 0,
241
241
  t: "1686300059786",
242
242
  class: "icon",
@@ -367,7 +367,7 @@ const L = (t, o) => {
367
367
  "p-id": "8292",
368
368
  width: "200",
369
369
  height: "200"
370
- }, Le = /* @__PURE__ */ u(
370
+ }, He = /* @__PURE__ */ u(
371
371
  "path",
372
372
  {
373
373
  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",
@@ -377,7 +377,7 @@ const L = (t, o) => {
377
377
  null,
378
378
  -1
379
379
  /* HOISTED */
380
- ), He = /* @__PURE__ */ u(
380
+ ), Le = /* @__PURE__ */ u(
381
381
  "path",
382
382
  {
383
383
  d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
@@ -388,8 +388,8 @@ const L = (t, o) => {
388
388
  -1
389
389
  /* HOISTED */
390
390
  ), qe = [
391
- Le,
392
- He
391
+ He,
392
+ Le
393
393
  ], Ue = {
394
394
  key: 4,
395
395
  t: "1686300180947",
@@ -698,7 +698,7 @@ const L = (t, o) => {
698
698
  null,
699
699
  -1
700
700
  /* HOISTED */
701
- ), b3 = /* @__PURE__ */ u(
701
+ ), z3 = /* @__PURE__ */ u(
702
702
  "path",
703
703
  {
704
704
  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",
@@ -708,10 +708,10 @@ const L = (t, o) => {
708
708
  null,
709
709
  -1
710
710
  /* HOISTED */
711
- ), z3 = [
711
+ ), b3 = [
712
712
  x3,
713
713
  S3,
714
- b3
714
+ z3
715
715
  ], $3 = /* @__PURE__ */ B({
716
716
  __name: "FileIcon",
717
717
  props: {
@@ -733,19 +733,19 @@ const L = (t, o) => {
733
733
  }
734
734
  },
735
735
  setup(t) {
736
- const o = t, n = S(() => o.file ? ae(o.file, o.fields) : o.type);
737
- return (e, d) => n.value === "image" ? (l(), r("svg", ze, Te)) : n.value === "zip" ? (l(), r("svg", Be, Re)) : n.value === "ppt" ? (l(), r("svg", Ve, Pe)) : n.value === "word" ? (l(), r("svg", Ne, qe)) : n.value === "pdf" ? (l(), r("svg", Ue, Ke)) : n.value === "txt" ? (l(), r("svg", Ge, Je)) : n.value === "audio" ? (l(), r("svg", Ze, t3)) : n.value === "video" ? (l(), r("svg", o3, i3)) : n.value === "excel" ? (l(), r("svg", l3, d3)) : n.value === "exe" ? (l(), r("svg", u3, g3)) : n.value === "json" ? (l(), r("svg", _3, k3)) : (l(), r("svg", F3, z3));
736
+ const o = t, n = z(() => o.file ? re(o.file, o.fields) : o.type);
737
+ return (e, d) => n.value === "image" ? (l(), a("svg", be, Te)) : n.value === "zip" ? (l(), a("svg", Be, Re)) : n.value === "ppt" ? (l(), a("svg", Ve, Pe)) : n.value === "word" ? (l(), a("svg", Ne, qe)) : n.value === "pdf" ? (l(), a("svg", Ue, Ke)) : n.value === "txt" ? (l(), a("svg", Ge, Je)) : n.value === "audio" ? (l(), a("svg", Ze, t3)) : n.value === "video" ? (l(), a("svg", o3, i3)) : n.value === "excel" ? (l(), a("svg", l3, d3)) : n.value === "exe" ? (l(), a("svg", u3, g3)) : n.value === "json" ? (l(), a("svg", _3, k3)) : (l(), a("svg", F3, b3));
738
738
  }
739
- }), re = (t) => {
740
- const o = A("loadUrl"), n = S(() => t.loadUrl || (o == null ? void 0 : o.value)), e = A("uploadUrl"), d = S(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), a = A("token"), c = S(() => t.token || (a == null ? void 0 : a.value)), h = A("onlyofficeConfig"), _ = S(() => t.onlyofficeConfig || (h == null ? void 0 : h.value)), i = A("userInfo"), v = S(() => t.userInfo || (i == null ? void 0 : i.value));
739
+ }), ce = (t) => {
740
+ const o = N("loadUrl"), n = z(() => t.loadUrl || (o == null ? void 0 : o.value)), e = N("uploadUrl"), d = z(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), r = N("token"), c = z(() => t.token || (r == null ? void 0 : r.value)), g = N("onlyofficeConfig"), y = z(() => t.onlyofficeConfig || (g == null ? void 0 : g.value)), i = N("userInfo"), v = z(() => t.userInfo || (i == null ? void 0 : i.value));
741
741
  return {
742
742
  cLoadUrl: n,
743
743
  cUploadUrl: d,
744
744
  cToken: c,
745
- cOnlyofficeConfig: _,
745
+ cOnlyofficeConfig: y,
746
746
  cUserInfo: v
747
747
  };
748
- }, C3 = ["onClick"], I3 = { class: "text" }, O3 = { class: "fileName" }, T3 = { class: "size" }, B3 = /* @__PURE__ */ B({
748
+ }, C3 = ["onClick"], I3 = { class: "fileName simple" }, O3 = ["onClick"], T3 = { class: "text" }, B3 = { class: "fileName" }, D3 = { class: "size" }, E3 = /* @__PURE__ */ B({
749
749
  __name: "IkPreviewFile",
750
750
  props: {
751
751
  list: {
@@ -812,128 +812,190 @@ const L = (t, o) => {
812
812
  jwtToken: {
813
813
  type: String,
814
814
  default: ""
815
+ },
816
+ // 简单模式
817
+ simple: {
818
+ type: Boolean,
819
+ default: !1
815
820
  }
816
821
  },
817
822
  setup(t) {
818
- const o = t, { cLoadUrl: n, cOnlyofficeConfig: e } = re(o), d = S(() => ({
823
+ const o = t, { cLoadUrl: n, cOnlyofficeConfig: e } = ce(o), d = z(() => ({
819
824
  name: "name",
820
825
  url: "url",
821
826
  suffix: "suffix",
822
827
  size: "size",
823
828
  ...o.field
824
- })), a = P({}), c = P(!1), h = (p) => {
825
- var g, s;
826
- a.value = {
829
+ })), r = L({}), c = L(!1), g = (p) => {
830
+ var _, s;
831
+ r.value = {
827
832
  ...p,
828
833
  name: p.name,
829
- url: q(
834
+ url: U(
830
835
  n.value,
831
- p.url || ((s = (g = p == null ? void 0 : p.response) == null ? void 0 : g.data) == null ? void 0 : s.id) || (p == null ? void 0 : p.id)
836
+ p.url || ((s = (_ = p == null ? void 0 : p.response) == null ? void 0 : _.data) == null ? void 0 : s.id) || (p == null ? void 0 : p.id)
832
837
  )
833
838
  }, c.value = !0;
834
- }, _ = (p) => {
839
+ }, y = (p) => {
835
840
  _e.downloadFile(
836
- q(
841
+ U(
837
842
  n.value,
838
843
  p[d.value.url] || p.attachmentId || p.id
839
844
  ),
840
845
  p[d.value.name] || p.attachmentName
841
846
  );
842
- }, i = S(() => ge.isNumber(o.width) ? `${o.width}px` : o.width), v = S(() => o.list.map((p) => ({
847
+ }, i = z(() => ge.isNumber(o.width) ? `${o.width}px` : o.width), v = z(() => o.list.map((p) => ({
843
848
  ...p,
844
849
  name: p[d.value.name] || p.attachmentName,
845
850
  size: p[d.value.size] || p.fileSize || p.attachmentSize,
846
851
  suffix: p[d.value.suffix] || p.attachmentSuffix
847
852
  })));
848
- return (p, g) => {
849
- var s, k, $;
850
- return l(), r(
851
- I,
853
+ return (p, _) => {
854
+ var F, T, I;
855
+ const s = P("tmplate");
856
+ return l(), a(
857
+ b,
852
858
  null,
853
859
  [
854
- (s = t.list) != null && s.length ? (l(!0), r(
855
- I,
860
+ (F = t.list) != null && F.length ? (l(), a(
861
+ b,
856
862
  { key: 0 },
857
- M(v.value, (x, y) => {
858
- var b;
859
- return l(), r(
860
- "div",
861
- {
862
- class: O(["iking-privew-annex", { "is-bg": t.showBg }]),
863
- key: y,
864
- style: z({
865
- marginBottom: y == ((b = t.list) == null ? void 0 : b.length) - 1 ? "0" : "10px",
866
- width: i.value
867
- })
868
- },
869
- [
870
- u("div", {
871
- class: "file-card",
872
- onClick: (C) => h(x)
873
- }, [
874
- T($3, {
875
- file: x,
876
- style: z({ height: `${t.iconSize}px` }),
877
- class: "ikui-w-auto",
878
- fields: d.value
879
- }, null, 8, ["file", "style", "fields"]),
880
- u("div", I3, [
881
- u(
882
- "div",
883
- O3,
884
- m(x.name),
885
- 1
886
- /* TEXT */
887
- ),
888
- u(
863
+ [
864
+ t.simple ? (l(!0), a(
865
+ b,
866
+ { key: 0 },
867
+ V(v.value, (h, x) => (l(), a("div", {
868
+ class: "iking-privew-annex simple",
869
+ onClick: (S) => g(h),
870
+ style: $({ width: i.value })
871
+ }, [
872
+ u(
873
+ "div",
874
+ I3,
875
+ m(h.name),
876
+ 1
877
+ /* TEXT */
878
+ ),
879
+ u(
880
+ "div",
881
+ {
882
+ class: O(["flex flex-center", { "hover-show": t.iconHoverShow }])
883
+ },
884
+ [
885
+ C(k(M), {
886
+ name: "iksvg_daochu",
887
+ onClick: ee((S) => y(h), ["stop"]),
888
+ size: 20,
889
+ active: ""
890
+ }, null, 8, ["onClick"]),
891
+ C(k(M), {
892
+ name: "iksvg_yulan",
893
+ size: 20,
894
+ active: ""
895
+ }),
896
+ H(p.$slots, "operation", {
897
+ data: { ...h, findex: x }
898
+ })
899
+ ],
900
+ 2
901
+ /* CLASS */
902
+ )
903
+ ], 12, C3))),
904
+ 256
905
+ /* UNKEYED_FRAGMENT */
906
+ )) : (l(), R(s, { key: 1 }, {
907
+ default: E(() => [
908
+ (l(!0), a(
909
+ b,
910
+ null,
911
+ V(v.value, (h, x) => {
912
+ var S;
913
+ return l(), a(
889
914
  "div",
890
- T3,
891
- m(F(xe)(x.size)),
892
- 1
893
- /* TEXT */
894
- )
895
- ]),
896
- u(
897
- "div",
898
- {
899
- class: O(["flex flex-center", { "hover-show": t.iconHoverShow }])
900
- },
901
- [
902
- T(F(U), {
903
- name: "iksvg_daochu",
904
- onClick: de((C) => _(x), ["stop"]),
905
- bg: t.showBg,
906
- size: t.showBg ? "default" : 20
907
- }, null, 8, ["onClick", "bg", "size"]),
908
- T(F(U), {
909
- name: "iksvg_yulan",
910
- bg: t.showBg,
911
- size: t.showBg ? "default" : 20
912
- }, null, 8, ["bg", "size"]),
913
- H(p.$slots, "operation", {
914
- data: { ...x, findex: y }
915
- })
916
- ],
917
- 2
918
- /* CLASS */
919
- )
920
- ], 8, C3)
921
- ],
922
- 6
923
- /* CLASS, STYLE */
924
- );
925
- }),
926
- 128
927
- /* KEYED_FRAGMENT */
915
+ {
916
+ class: O(["iking-privew-annex", { "is-bg": t.showBg }]),
917
+ key: x,
918
+ style: $({
919
+ marginBottom: x == ((S = t.list) == null ? void 0 : S.length) - 1 ? "0" : "10px",
920
+ width: i.value
921
+ })
922
+ },
923
+ [
924
+ u("div", {
925
+ class: "file-card",
926
+ onClick: (D) => g(h)
927
+ }, [
928
+ C($3, {
929
+ file: h,
930
+ style: $({ height: `${t.iconSize}px` }),
931
+ class: "ikui-w-auto",
932
+ fields: d.value
933
+ }, null, 8, ["file", "style", "fields"]),
934
+ u("div", T3, [
935
+ u(
936
+ "div",
937
+ B3,
938
+ m(h.name),
939
+ 1
940
+ /* TEXT */
941
+ ),
942
+ u(
943
+ "div",
944
+ D3,
945
+ m(k(xe)(h.size)),
946
+ 1
947
+ /* TEXT */
948
+ )
949
+ ]),
950
+ u(
951
+ "div",
952
+ {
953
+ class: O(["flex flex-center", { "hover-show": t.iconHoverShow }])
954
+ },
955
+ [
956
+ C(k(M), {
957
+ name: "iksvg_daochu",
958
+ onClick: ee((D) => y(h), ["stop"]),
959
+ bg: t.showBg,
960
+ size: t.showBg ? "default" : 20
961
+ }, null, 8, ["onClick", "bg", "size"]),
962
+ C(k(M), {
963
+ name: "iksvg_yulan",
964
+ bg: t.showBg,
965
+ size: t.showBg ? "default" : 20
966
+ }, null, 8, ["bg", "size"]),
967
+ H(p.$slots, "operation", {
968
+ data: { ...h, findex: x }
969
+ })
970
+ ],
971
+ 2
972
+ /* CLASS */
973
+ )
974
+ ], 8, O3)
975
+ ],
976
+ 6
977
+ /* CLASS, STYLE */
978
+ );
979
+ }),
980
+ 128
981
+ /* KEYED_FRAGMENT */
982
+ ))
983
+ ]),
984
+ _: 3
985
+ /* FORWARDED */
986
+ }))
987
+ ],
988
+ 64
989
+ /* STABLE_FRAGMENT */
928
990
  )) : f("v-if", !0),
929
- T(F(R3), {
991
+ C(k(A3), {
930
992
  show: c.value,
931
- "onUpdate:show": g[0] || (g[0] = (x) => c.value = x),
932
- loadUrl: F(n),
933
- file: a.value,
934
- onlyofficeServer: ((k = F(e)) == null ? void 0 : k.serverUrl) || t.onlyofficeServer,
935
- onlyOfficeConfig: F(e),
936
- onlyOfficeAccept: (($ = F(e)) == null ? void 0 : $.accept) || t.onlyOfficeAccept
993
+ "onUpdate:show": _[0] || (_[0] = (h) => c.value = h),
994
+ loadUrl: k(n),
995
+ file: r.value,
996
+ onlyofficeServer: ((T = k(e)) == null ? void 0 : T.serverUrl) || t.onlyofficeServer,
997
+ onlyOfficeConfig: k(e),
998
+ onlyOfficeAccept: ((I = k(e)) == null ? void 0 : I.accept) || t.onlyOfficeAccept
937
999
  }, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
938
1000
  ],
939
1001
  64
@@ -942,9 +1004,9 @@ const L = (t, o) => {
942
1004
  };
943
1005
  }
944
1006
  });
945
- const D3 = L(B3), E3 = /* @__PURE__ */ B({
1007
+ const R3 = q(E3), V3 = /* @__PURE__ */ B({
946
1008
  __name: "IkPreviewFileDialog",
947
- props: /* @__PURE__ */ oe({
1009
+ props: /* @__PURE__ */ ne({
948
1010
  file: {
949
1011
  type: Object,
950
1012
  default: () => []
@@ -979,34 +1041,34 @@ const D3 = L(B3), E3 = /* @__PURE__ */ B({
979
1041
  }),
980
1042
  emits: ["update:show"],
981
1043
  setup(t) {
982
- const o = t, n = ne(t, "show"), e = S(() => ({
1044
+ const o = t, n = se(t, "show"), e = z(() => ({
983
1045
  name: "name",
984
1046
  url: "url",
985
1047
  suffix: "suffix",
986
1048
  size: "fileSize",
987
1049
  ...o.field
988
- })), d = P(null), a = P(null), c = se({
1050
+ })), d = L(null), r = L(null), c = ie({
989
1051
  image: !1,
990
1052
  office: !1,
991
1053
  video: !1
992
- }), h = (i) => {
993
- var v, p, g, s, k, $, x;
1054
+ }), g = (i) => {
1055
+ var v, p, _, s, F, T, I;
994
1056
  try {
995
- const y = ((v = i == null ? void 0 : i.response) == null ? void 0 : v.data) || i, b = y[e.value.url] || (y == null ? void 0 : y.id) || y.attachmentId, C = (p = y[e.value.suffix] || y.attachmentSuffix) == null ? void 0 : p.toLowerCase(), V = y[e.value.name] || (y == null ? void 0 : y.attachmentName) || (y == null ? void 0 : y.originName);
996
- if (a.value = {
1057
+ const h = ((v = i == null ? void 0 : i.response) == null ? void 0 : v.data) || i, x = h[e.value.url] || (h == null ? void 0 : h.id) || h.attachmentId, S = (p = h[e.value.suffix] || h.attachmentSuffix) == null ? void 0 : p.toLowerCase(), D = h[e.value.name] || (h == null ? void 0 : h.attachmentName) || (h == null ? void 0 : h.originName);
1058
+ if (r.value = {
997
1059
  ...i,
998
1060
  name: i[e.value.name],
999
- url: q(o.loadUrl, b)
1000
- }, i && ae(i, e.value) === "image") {
1061
+ url: U(o.loadUrl, x)
1062
+ }, i && re(i, e.value) === "image") {
1001
1063
  c.image = !0;
1002
1064
  return;
1003
- } else if ((((g = o.onlyOfficeConfig) == null ? void 0 : g.accept) || o.onlyOfficeAccept).includes(C)) {
1065
+ } else if ((((_ = o.onlyOfficeConfig) == null ? void 0 : _.accept) || o.onlyOfficeAccept).includes(S)) {
1004
1066
  c.office = !0, d.value = {
1005
1067
  ...o.onlyOfficeConfig,
1006
1068
  editorConfig: {
1007
1069
  ...((s = o.onlyOfficeConfig) == null ? void 0 : s.editorConfig) || {},
1008
1070
  customization: {
1009
- ...(($ = (k = o.onlyOfficeConfig) == null ? void 0 : k.editorConfig) == null ? void 0 : $.customization) || {},
1071
+ ...((T = (F = o.onlyOfficeConfig) == null ? void 0 : F.editorConfig) == null ? void 0 : T.customization) || {},
1010
1072
  review: {
1011
1073
  reviewDisplay: "final"
1012
1074
  }
@@ -1014,46 +1076,46 @@ const D3 = L(B3), E3 = /* @__PURE__ */ B({
1014
1076
  },
1015
1077
  document: {
1016
1078
  key: ye(),
1017
- title: V,
1018
- url: q(o.loadUrl, b),
1019
- fileType: C,
1020
- ...((x = o.onlyOfficeConfig) == null ? void 0 : x.document) || {}
1079
+ title: D,
1080
+ url: U(o.loadUrl, x),
1081
+ fileType: S,
1082
+ ...((I = o.onlyOfficeConfig) == null ? void 0 : I.document) || {}
1021
1083
  },
1022
- documentType: be(C)
1084
+ documentType: ze(S)
1023
1085
  };
1024
1086
  return;
1025
1087
  }
1026
- } catch (y) {
1027
- console.info("预览错误: ", y);
1088
+ } catch (h) {
1089
+ console.info("预览错误: ", h);
1028
1090
  }
1029
1091
  };
1030
- ie([n, o.file], ([i, v]) => {
1092
+ le([n, o.file], ([i, v]) => {
1031
1093
  i && G(() => {
1032
- h(o.file);
1094
+ g(o.file);
1033
1095
  });
1034
1096
  });
1035
- const _ = () => {
1097
+ const y = () => {
1036
1098
  n.value = !1, c.office = !1, c.image = !1, c.video = !1;
1037
1099
  };
1038
1100
  return (i, v) => {
1039
- var g, s;
1040
- const p = N("el-image-viewer");
1041
- return n.value ? (l(), r(
1042
- I,
1101
+ var _, s;
1102
+ const p = P("el-image-viewer");
1103
+ return n.value ? (l(), a(
1104
+ b,
1043
1105
  { key: 0 },
1044
1106
  [
1045
- (g = a.value) != null && g.url && c.image ? (l(), R(p, {
1107
+ (_ = r.value) != null && _.url && c.image ? (l(), R(p, {
1046
1108
  key: 0,
1047
- onClose: v[0] || (v[0] = (k) => {
1048
- a.value = null, c.image = !1;
1109
+ onClose: v[0] || (v[0] = (F) => {
1110
+ r.value = null, c.image = !1;
1049
1111
  }),
1050
1112
  ref: "previewImgRef",
1051
- "url-list": [(s = a.value) == null ? void 0 : s.url]
1113
+ "url-list": [(s = r.value) == null ? void 0 : s.url]
1052
1114
  }, null, 8, ["url-list"])) : f("v-if", !0),
1053
1115
  f(" 文档类 "),
1054
- T(F(X3), {
1116
+ C(k(Z3), {
1055
1117
  modelValue: c.office,
1056
- "onUpdate:modelValue": v[1] || (v[1] = (k) => c.office = k),
1118
+ "onUpdate:modelValue": v[1] || (v[1] = (F) => c.office = F),
1057
1119
  draggable: "",
1058
1120
  "no-footer": "",
1059
1121
  "no-header": "",
@@ -1063,15 +1125,15 @@ const D3 = L(B3), E3 = /* @__PURE__ */ B({
1063
1125
  "close-on-click-modal": "",
1064
1126
  "close-on-press-escape": !1,
1065
1127
  "append-to-body": "",
1066
- onClose: _,
1128
+ onClose: y,
1067
1129
  "modal-class": "ik-only-preview-dialog"
1068
1130
  }, {
1069
- default: D(() => {
1070
- var k;
1131
+ default: E(() => {
1132
+ var F;
1071
1133
  return [
1072
- T(F(s6), {
1134
+ C(k(l6), {
1073
1135
  "config-options": d.value,
1074
- "document-server-url": ((k = t.onlyOfficeConfig) == null ? void 0 : k.serverUrl) || t.onlyofficeServer
1136
+ "document-server-url": ((F = t.onlyOfficeConfig) == null ? void 0 : F.serverUrl) || t.onlyofficeServer
1075
1137
  }, null, 8, ["config-options", "document-server-url"])
1076
1138
  ];
1077
1139
  }),
@@ -1085,18 +1147,18 @@ const D3 = L(B3), E3 = /* @__PURE__ */ B({
1085
1147
  };
1086
1148
  }
1087
1149
  });
1088
- const R3 = L(E3), V3 = {
1150
+ const A3 = q(V3), M3 = {
1089
1151
  key: 0,
1090
1152
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
1091
- }, A3 = {
1153
+ }, P3 = {
1092
1154
  key: 1,
1093
1155
  class: "h-[1em] w-[1em]",
1094
1156
  "aria-hidden": "true"
1095
- }, M3 = ["xlink:href"], P3 = ["src"], N3 = {
1157
+ }, N3 = ["xlink:href"], H3 = ["src"], L3 = {
1096
1158
  key: 1,
1097
1159
  class: "h-[1em] w-[1em]",
1098
1160
  "aria-hidden": "true"
1099
- }, L3 = ["xlink:href"], H3 = ["src"], q3 = /* @__PURE__ */ B({
1161
+ }, q3 = ["xlink:href"], U3 = ["src"], j3 = /* @__PURE__ */ B({
1100
1162
  name: "IkSvgIcon",
1101
1163
  __name: "index",
1102
1164
  props: {
@@ -1123,13 +1185,13 @@ const R3 = L(E3), V3 = {
1123
1185
  tableIconType: {}
1124
1186
  },
1125
1187
  setup(t) {
1126
- const o = t, n = A("iconConfig"), e = S(() => ({
1188
+ const o = t, n = N("iconConfig"), e = z(() => ({
1127
1189
  ...(n == null ? void 0 : n.value) || {},
1128
1190
  ...o
1129
- })), d = S(() => {
1191
+ })), d = z(() => {
1130
1192
  const { name: c } = e.value;
1131
1193
  return /^http?:\/\//.test(c) ? "img" : /i-[^:]+:[^:]+/.test(c) ? "unocss" : c != null && c.startsWith("iksig") ? "iksig" : c != null && c.includes(":") ? "iconify" : c != null && c.startsWith("iksvg") ? "svg" : "i";
1132
- }), a = S(() => {
1194
+ }), r = z(() => {
1133
1195
  const c = [];
1134
1196
  if (e.value.flip)
1135
1197
  switch (e.value.flip) {
@@ -1144,7 +1206,7 @@ const R3 = L(E3), V3 = {
1144
1206
  break;
1145
1207
  }
1146
1208
  e.value.rotate && c.push(`rotate(${e.value.rotate % 360}deg)`);
1147
- const h = {
1209
+ const g = {
1148
1210
  ...e.value.color && { color: e.value.color },
1149
1211
  ...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
1150
1212
  ...c.length && { transform: c.join(" ") },
@@ -1154,12 +1216,12 @@ const R3 = L(E3), V3 = {
1154
1216
  "--ik-color-icon-light": e.value.colorLight || me.setOpacity(e.value.color, e.value.opacity)
1155
1217
  } : {}
1156
1218
  };
1157
- return e.value.width && (h.width = h.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), h;
1219
+ return e.value.width && (g.width = g.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), g;
1158
1220
  });
1159
- return (c, h) => {
1160
- const _ = N("el-tooltip"), i = N("el-button");
1161
- return e.value.tableIconType === "icon" || !e.value.tableIconType ? (l(), r("span", V3, [
1162
- e.value.notip || !e.value.title ? (l(), r(
1221
+ return (c, g) => {
1222
+ const y = P("el-tooltip"), i = P("el-button");
1223
+ return e.value.tableIconType === "icon" || !e.value.tableIconType ? (l(), a("span", M3, [
1224
+ e.value.notip || !e.value.title ? (l(), a(
1163
1225
  "i",
1164
1226
  {
1165
1227
  key: 0,
@@ -1176,34 +1238,34 @@ const R3 = L(E3), V3 = {
1176
1238
  active: e.value.active,
1177
1239
  disabled: e.value.disabled
1178
1240
  }]),
1179
- style: z(a.value)
1241
+ style: $(r.value)
1180
1242
  },
1181
1243
  [
1182
1244
  f(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1183
- d.value === "iksig" ? (l(), r(
1245
+ d.value === "iksig" ? (l(), a(
1184
1246
  "i",
1185
1247
  {
1186
1248
  key: 0,
1187
1249
  class: O(`iksig ${e.value.name}`),
1188
- style: z(a.value)
1250
+ style: $(r.value)
1189
1251
  },
1190
1252
  null,
1191
1253
  6
1192
1254
  /* CLASS, STYLE */
1193
- )) : d.value === "svg" ? (l(), r("svg", A3, [
1255
+ )) : d.value === "svg" ? (l(), a("svg", P3, [
1194
1256
  u("use", {
1195
1257
  "xlink:href": `#${e.value.name}`
1196
- }, null, 8, M3)
1197
- ])) : d.value === "img" ? (l(), r("img", {
1258
+ }, null, 8, N3)
1259
+ ])) : d.value === "img" ? (l(), a("img", {
1198
1260
  key: 2,
1199
1261
  src: e.value.name,
1200
1262
  class: "h-[1em] w-[1em]"
1201
- }, null, 8, P3)) : (l(), r(
1263
+ }, null, 8, H3)) : (l(), a(
1202
1264
  "i",
1203
1265
  {
1204
1266
  key: 3,
1205
1267
  class: O(e.value.name),
1206
- style: z(a.value)
1268
+ style: $(r.value)
1207
1269
  },
1208
1270
  null,
1209
1271
  6
@@ -1212,12 +1274,12 @@ const R3 = L(E3), V3 = {
1212
1274
  ],
1213
1275
  6
1214
1276
  /* CLASS, STYLE */
1215
- )) : (l(), R(_, {
1277
+ )) : (l(), R(y, {
1216
1278
  key: 1,
1217
1279
  content: e.value.title,
1218
1280
  placement: "top"
1219
1281
  }, {
1220
- default: D(() => [
1282
+ default: E(() => [
1221
1283
  u(
1222
1284
  "i",
1223
1285
  {
@@ -1233,33 +1295,33 @@ const R3 = L(E3), V3 = {
1233
1295
  error: e.value.error || e.value.type === "error",
1234
1296
  active: e.value.active
1235
1297
  }]),
1236
- style: z(a.value)
1298
+ style: $(r.value)
1237
1299
  },
1238
1300
  [
1239
- d.value === "iksig" ? (l(), r(
1301
+ d.value === "iksig" ? (l(), a(
1240
1302
  "i",
1241
1303
  {
1242
1304
  key: 0,
1243
1305
  class: O(`iksig ${e.value.name}`),
1244
- style: z(a.value)
1306
+ style: $(r.value)
1245
1307
  },
1246
1308
  null,
1247
1309
  6
1248
1310
  /* CLASS, STYLE */
1249
- )) : d.value === "svg" ? (l(), r("svg", N3, [
1311
+ )) : d.value === "svg" ? (l(), a("svg", L3, [
1250
1312
  u("use", {
1251
1313
  "xlink:href": `#${e.value.name}`
1252
- }, null, 8, L3)
1253
- ])) : d.value === "img" ? (l(), r("img", {
1314
+ }, null, 8, q3)
1315
+ ])) : d.value === "img" ? (l(), a("img", {
1254
1316
  key: 2,
1255
1317
  src: e.value.name,
1256
1318
  class: "h-[1em] w-[1em]"
1257
- }, null, 8, H3)) : (l(), r(
1319
+ }, null, 8, U3)) : (l(), a(
1258
1320
  "i",
1259
1321
  {
1260
1322
  key: 3,
1261
1323
  class: O(e.value.name),
1262
- style: z(a.value)
1324
+ style: $(r.value)
1263
1325
  },
1264
1326
  null,
1265
1327
  6
@@ -1277,8 +1339,8 @@ const R3 = L(E3), V3 = {
1277
1339
  key: 1,
1278
1340
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
1279
1341
  }, {
1280
- default: D(() => [
1281
- E(
1342
+ default: E(() => [
1343
+ A(
1282
1344
  m(e.value.title),
1283
1345
  1
1284
1346
  /* TEXT */
@@ -1290,10 +1352,10 @@ const R3 = L(E3), V3 = {
1290
1352
  };
1291
1353
  }
1292
1354
  });
1293
- const U3 = /* @__PURE__ */ j(q3, [["__scopeId", "data-v-7729b79a"]]), U = L(U3), j3 = {
1355
+ const W3 = /* @__PURE__ */ j(j3, [["__scopeId", "data-v-7729b79a"]]), M = q(W3), K3 = {
1294
1356
  key: 0,
1295
1357
  class: "exit-main-page-maximize"
1296
- }, W3 = /* @__PURE__ */ B({
1358
+ }, G3 = /* @__PURE__ */ B({
1297
1359
  __name: "CloseIcon",
1298
1360
  props: {
1299
1361
  showBg: {
@@ -1306,15 +1368,15 @@ const U3 = /* @__PURE__ */ j(q3, [["__scopeId", "data-v-7729b79a"]]), U = L(U3),
1306
1368
  }
1307
1369
  },
1308
1370
  setup(t) {
1309
- return (o, n) => (l(), r("div", null, [
1310
- t.showBg && t.fullscreen ? (l(), r("div", j3, [
1311
- T(F(U), {
1371
+ return (o, n) => (l(), a("div", null, [
1372
+ t.showBg && t.fullscreen ? (l(), a("div", K3, [
1373
+ C(k(M), {
1312
1374
  name: "iksvg_guanbidanchuang",
1313
1375
  title: "关闭",
1314
1376
  size: 20,
1315
1377
  error: ""
1316
1378
  })
1317
- ])) : (l(), R(F(U), {
1379
+ ])) : (l(), R(k(M), {
1318
1380
  key: 1,
1319
1381
  error: "",
1320
1382
  name: "iksvg_guanbidanchuang",
@@ -1324,9 +1386,9 @@ const U3 = /* @__PURE__ */ j(q3, [["__scopeId", "data-v-7729b79a"]]), U = L(U3),
1324
1386
  ]));
1325
1387
  }
1326
1388
  });
1327
- const K3 = /* @__PURE__ */ j(W3, [["__scopeId", "data-v-79f49df8"]]), G3 = { class: "base-header" }, Y3 = /* @__PURE__ */ B({
1389
+ const Y3 = /* @__PURE__ */ j(G3, [["__scopeId", "data-v-79f49df8"]]), X3 = { class: "base-header" }, J3 = /* @__PURE__ */ B({
1328
1390
  __name: "IkBaseDialog",
1329
- props: /* @__PURE__ */ oe({
1391
+ props: /* @__PURE__ */ ne({
1330
1392
  title: { default: "" },
1331
1393
  cancelText: { default: "取消" },
1332
1394
  confirmText: { default: "确认" },
@@ -1345,47 +1407,47 @@ const K3 = /* @__PURE__ */ j(W3, [["__scopeId", "data-v-79f49df8"]]), G3 = { cla
1345
1407
  }),
1346
1408
  emits: ["update:modelValue"],
1347
1409
  setup(t) {
1348
- const o = t, n = ne(t, "modelValue"), e = P(o.fullscreen), d = () => {
1410
+ const o = t, n = se(t, "modelValue"), e = L(o.fullscreen), d = () => {
1349
1411
  e.value = !e.value;
1350
- }, a = B({
1412
+ }, r = B({
1351
1413
  setup() {
1352
- return () => ue(K3, {
1414
+ return () => ue(Y3, {
1353
1415
  showBg: o.showCloseBg,
1354
1416
  fullscreen: o.fullscreen
1355
1417
  });
1356
1418
  }
1357
1419
  });
1358
- return (c, h) => {
1359
- const _ = N("el-dialog");
1360
- return l(), R(_, le({
1420
+ return (c, g) => {
1421
+ const y = P("el-dialog");
1422
+ return l(), R(y, ae({
1361
1423
  modelValue: n.value,
1362
- "onUpdate:modelValue": h[0] || (h[0] = (i) => n.value = i)
1424
+ "onUpdate:modelValue": g[0] || (g[0] = (i) => n.value = i)
1363
1425
  }, c.$attrs, {
1364
- "close-icon": F(a),
1426
+ "close-icon": k(r),
1365
1427
  class: `ik-base-dialog ${c.noHeader ? "no-header" : ""} ${c.noFooter ? "no-footer" : ""}`,
1366
1428
  fullscreen: e.value,
1367
1429
  "modal-class": "baseDialog"
1368
1430
  }), pe({
1369
- icon: D(() => [
1431
+ icon: E(() => [
1370
1432
  H(c.$slots, "title", {}, () => [
1371
- E(
1433
+ A(
1372
1434
  m(c.title),
1373
1435
  1
1374
1436
  /* TEXT */
1375
1437
  )
1376
1438
  ])
1377
1439
  ]),
1378
- header: D(() => [
1379
- u("div", G3, [
1440
+ header: E(() => [
1441
+ u("div", X3, [
1380
1442
  H(c.$slots, "header", {}, () => [
1381
- E(
1443
+ A(
1382
1444
  m(c.title),
1383
1445
  1
1384
1446
  /* TEXT */
1385
1447
  )
1386
1448
  ])
1387
1449
  ]),
1388
- c.$attrs.showClose ? (l(), R(F(U), {
1450
+ c.$attrs.showClose ? (l(), R(k(M), {
1389
1451
  key: 0,
1390
1452
  onClick: d,
1391
1453
  name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
@@ -1393,7 +1455,7 @@ const K3 = /* @__PURE__ */ j(W3, [["__scopeId", "data-v-79f49df8"]]), G3 = { cla
1393
1455
  title: e.value ? "退出全屏" : "全屏"
1394
1456
  }, null, 8, ["name", "title"])) : f("v-if", !0)
1395
1457
  ]),
1396
- default: D(() => [
1458
+ default: E(() => [
1397
1459
  H(c.$slots, "default")
1398
1460
  ]),
1399
1461
  _: 2
@@ -1401,7 +1463,7 @@ const K3 = /* @__PURE__ */ j(W3, [["__scopeId", "data-v-79f49df8"]]), G3 = { cla
1401
1463
  }, [
1402
1464
  c.$slots.footer ? {
1403
1465
  name: "footer",
1404
- fn: D(() => [
1466
+ fn: E(() => [
1405
1467
  H(c.$slots, "footer")
1406
1468
  ]),
1407
1469
  key: "0"
@@ -1410,22 +1472,22 @@ const K3 = /* @__PURE__ */ j(W3, [["__scopeId", "data-v-79f49df8"]]), G3 = { cla
1410
1472
  };
1411
1473
  }
1412
1474
  });
1413
- const X3 = L(Y3);
1414
- function J3(t, o, n, e) {
1415
- function d(a) {
1416
- return a instanceof n ? a : new n(function(c) {
1417
- c(a);
1475
+ const Z3 = q(J3);
1476
+ function Q3(t, o, n, e) {
1477
+ function d(r) {
1478
+ return r instanceof n ? r : new n(function(c) {
1479
+ c(r);
1418
1480
  });
1419
1481
  }
1420
- return new (n || (n = Promise))(function(a, c) {
1421
- function h(v) {
1482
+ return new (n || (n = Promise))(function(r, c) {
1483
+ function g(v) {
1422
1484
  try {
1423
1485
  i(e.next(v));
1424
1486
  } catch (p) {
1425
1487
  c(p);
1426
1488
  }
1427
1489
  }
1428
- function _(v) {
1490
+ function y(v) {
1429
1491
  try {
1430
1492
  i(e.throw(v));
1431
1493
  } catch (p) {
@@ -1433,36 +1495,36 @@ function J3(t, o, n, e) {
1433
1495
  }
1434
1496
  }
1435
1497
  function i(v) {
1436
- v.done ? a(v.value) : d(v.value).then(h, _);
1498
+ v.done ? r(v.value) : d(v.value).then(g, y);
1437
1499
  }
1438
1500
  i((e = e.apply(t, o || [])).next());
1439
1501
  });
1440
1502
  }
1441
- function Z3(t, o) {
1503
+ function e6(t, o) {
1442
1504
  var n = { label: 0, sent: function() {
1443
- if (a[0] & 1)
1444
- throw a[1];
1445
- return a[1];
1446
- }, trys: [], ops: [] }, e, d, a, c;
1447
- return c = { next: h(0), throw: h(1), return: h(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
1505
+ if (r[0] & 1)
1506
+ throw r[1];
1507
+ return r[1];
1508
+ }, trys: [], ops: [] }, e, d, r, c;
1509
+ return c = { next: g(0), throw: g(1), return: g(2) }, typeof Symbol == "function" && (c[Symbol.iterator] = function() {
1448
1510
  return this;
1449
1511
  }), c;
1450
- function h(i) {
1512
+ function g(i) {
1451
1513
  return function(v) {
1452
- return _([i, v]);
1514
+ return y([i, v]);
1453
1515
  };
1454
1516
  }
1455
- function _(i) {
1517
+ function y(i) {
1456
1518
  if (e)
1457
1519
  throw new TypeError("Generator is already executing.");
1458
1520
  for (; c && (c = 0, i[0] && (n = 0)), n; )
1459
1521
  try {
1460
- if (e = 1, d && (a = i[0] & 2 ? d.return : i[0] ? d.throw || ((a = d.return) && a.call(d), 0) : d.next) && !(a = a.call(d, i[1])).done)
1461
- return a;
1462
- switch (d = 0, a && (i = [i[0] & 2, a.value]), i[0]) {
1522
+ if (e = 1, d && (r = i[0] & 2 ? d.return : i[0] ? d.throw || ((r = d.return) && r.call(d), 0) : d.next) && !(r = r.call(d, i[1])).done)
1523
+ return r;
1524
+ switch (d = 0, r && (i = [i[0] & 2, r.value]), i[0]) {
1463
1525
  case 0:
1464
1526
  case 1:
1465
- a = i;
1527
+ r = i;
1466
1528
  break;
1467
1529
  case 4:
1468
1530
  return n.label++, { value: i[1], done: !1 };
@@ -1473,70 +1535,70 @@ function Z3(t, o) {
1473
1535
  i = n.ops.pop(), n.trys.pop();
1474
1536
  continue;
1475
1537
  default:
1476
- if (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (i[0] === 6 || i[0] === 2)) {
1538
+ if (r = n.trys, !(r = r.length > 0 && r[r.length - 1]) && (i[0] === 6 || i[0] === 2)) {
1477
1539
  n = 0;
1478
1540
  continue;
1479
1541
  }
1480
- if (i[0] === 3 && (!a || i[1] > a[0] && i[1] < a[3])) {
1542
+ if (i[0] === 3 && (!r || i[1] > r[0] && i[1] < r[3])) {
1481
1543
  n.label = i[1];
1482
1544
  break;
1483
1545
  }
1484
- if (i[0] === 6 && n.label < a[1]) {
1485
- n.label = a[1], a = i;
1546
+ if (i[0] === 6 && n.label < r[1]) {
1547
+ n.label = r[1], r = i;
1486
1548
  break;
1487
1549
  }
1488
- if (a && n.label < a[2]) {
1489
- n.label = a[2], n.ops.push(i);
1550
+ if (r && n.label < r[2]) {
1551
+ n.label = r[2], n.ops.push(i);
1490
1552
  break;
1491
1553
  }
1492
- a[2] && n.ops.pop(), n.trys.pop();
1554
+ r[2] && n.ops.pop(), n.trys.pop();
1493
1555
  continue;
1494
1556
  }
1495
1557
  i = o.call(t, n);
1496
1558
  } catch (v) {
1497
1559
  i = [6, v], d = 0;
1498
1560
  } finally {
1499
- e = a = 0;
1561
+ e = r = 0;
1500
1562
  }
1501
1563
  if (i[0] & 5)
1502
1564
  throw i[1];
1503
1565
  return { value: i[0] ? i[1] : void 0, done: !0 };
1504
1566
  }
1505
1567
  }
1506
- var Q3 = function(t, o) {
1507
- return J3(void 0, void 0, void 0, function() {
1508
- return Z3(this, function(n) {
1568
+ var t6 = function(t, o) {
1569
+ return Q3(void 0, void 0, void 0, function() {
1570
+ return e6(this, function(n) {
1509
1571
  return [2, new Promise(function(e, d) {
1510
1572
  try {
1511
1573
  if (window.DocsAPI)
1512
1574
  return e(null);
1513
- var a = document.getElementById(o);
1514
- if (a)
1575
+ var r = document.getElementById(o);
1576
+ if (r)
1515
1577
  var c = setInterval(function() {
1516
- var _ = a.getAttribute("loading");
1517
- if (!_) {
1578
+ var y = r.getAttribute("loading");
1579
+ if (!y) {
1518
1580
  if (clearInterval(c), window.DocsAPI)
1519
1581
  return e(null);
1520
- var i = te(o, t, e, d);
1521
- a.remove(), document.body.appendChild(i);
1582
+ var i = oe(o, t, e, d);
1583
+ r.remove(), document.body.appendChild(i);
1522
1584
  }
1523
1585
  }, 500);
1524
1586
  else {
1525
- var h = te(o, t, e, d);
1526
- document.body.appendChild(h);
1587
+ var g = oe(o, t, e, d);
1588
+ document.body.appendChild(g);
1527
1589
  }
1528
- } catch (_) {
1529
- console.error(_);
1590
+ } catch (y) {
1591
+ console.error(y);
1530
1592
  }
1531
1593
  })];
1532
1594
  });
1533
1595
  });
1534
- }, te = function(t, o, n, e) {
1596
+ }, oe = function(t, o, n, e) {
1535
1597
  var d = document.createElement("script");
1536
1598
  return d.id = t, d.type = "text/javascript", d.src = o, d.async = !0, d.onload = function() {
1537
1599
  d.removeAttribute("loading"), n(null);
1538
- }, d.onerror = function(a) {
1539
- d.removeAttribute("loading"), e(a);
1600
+ }, d.onerror = function(r) {
1601
+ d.removeAttribute("loading"), e(r);
1540
1602
  }, d.setAttribute("loading", ""), d;
1541
1603
  }, Y = B({
1542
1604
  name: "DocumentEditor",
@@ -1593,7 +1655,7 @@ var Q3 = function(t, o) {
1593
1655
  var t = this, o = this.documentServerUrl;
1594
1656
  o.endsWith("/") || (o += "/");
1595
1657
  var n = "".concat(o, "web-apps/apps/api/documents/api.js");
1596
- Q3(n, "onlyoffice-api-script").then(function() {
1658
+ t6(n, "onlyoffice-api-script").then(function() {
1597
1659
  return t.onLoad();
1598
1660
  }).catch(function() {
1599
1661
  t.onError(-2);
@@ -1679,8 +1741,8 @@ var Q3 = function(t, o) {
1679
1741
  width: this.width
1680
1742
  }, this.config || {}), d = window.DocsAPI.DocEditor(n, e);
1681
1743
  window.DocEditor.instances[n] = d;
1682
- } catch (a) {
1683
- console.error(a), this.onError(-1);
1744
+ } catch (r) {
1745
+ console.error(r), this.onError(-1);
1684
1746
  }
1685
1747
  },
1686
1748
  onError: function(t) {
@@ -1707,13 +1769,13 @@ var Q3 = function(t, o) {
1707
1769
  }
1708
1770
  }
1709
1771
  });
1710
- const e6 = ["id"];
1711
- function t6(t, o, n, e, d, a) {
1712
- return l(), r("div", { id: t.id }, null, 8, e6);
1772
+ const o6 = ["id"];
1773
+ function n6(t, o, n, e, d, r) {
1774
+ return l(), a("div", { id: t.id }, null, 8, o6);
1713
1775
  }
1714
- Y.render = t6;
1776
+ Y.render = n6;
1715
1777
  Y.__file = "src/components/DocumentEditor.vue";
1716
- const o6 = /* @__PURE__ */ B({
1778
+ const s6 = /* @__PURE__ */ B({
1717
1779
  __name: "IkOnlyOffice",
1718
1780
  props: {
1719
1781
  // 文件服务器的服务的地址
@@ -1734,7 +1796,7 @@ const o6 = /* @__PURE__ */ B({
1734
1796
  }
1735
1797
  },
1736
1798
  setup(t) {
1737
- const o = t, n = P({
1799
+ const o = t, n = L({
1738
1800
  width: "100%",
1739
1801
  height: "100%",
1740
1802
  ...o.configOptions || {},
@@ -1742,13 +1804,13 @@ const o6 = /* @__PURE__ */ B({
1742
1804
  }), e = () => {
1743
1805
  console.info("文档加载完成", o.configOptions);
1744
1806
  };
1745
- return (d, a) => (l(), r(
1807
+ return (d, r) => (l(), a(
1746
1808
  "div",
1747
1809
  {
1748
- style: z({ height: o.officeHeight })
1810
+ style: $({ height: o.officeHeight })
1749
1811
  },
1750
1812
  [
1751
- T(F(Y), {
1813
+ C(k(Y), {
1752
1814
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1753
1815
  ref: "editorRef",
1754
1816
  "document-server-url": t.documentServerUrl,
@@ -1761,13 +1823,13 @@ const o6 = /* @__PURE__ */ B({
1761
1823
  ));
1762
1824
  }
1763
1825
  });
1764
- const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6), X = (t) => (ve("data-v-93fd1f20"), t = t(), he(), t), i6 = {
1826
+ const i6 = /* @__PURE__ */ j(s6, [["__scopeId", "data-v-98d51ef9"]]), l6 = q(i6), X = (t) => (ve("data-v-93fd1f20"), t = t(), he(), t), a6 = {
1765
1827
  class: "approveProcess",
1766
1828
  id: "approveProcess"
1767
- }, l6 = ["id"], a6 = { class: "topBlock" }, r6 = { class: "left" }, c6 = { class: "nodeBg" }, d6 = ["src"], u6 = { class: "right" }, p6 = { class: "topInfo" }, f6 = { key: 0 }, v6 = {
1829
+ }, r6 = ["id"], c6 = { class: "topBlock" }, d6 = { class: "left" }, u6 = { class: "nodeBg" }, p6 = ["src"], f6 = { class: "right" }, v6 = { class: "topInfo" }, h6 = { key: 0 }, g6 = {
1768
1830
  key: 0,
1769
1831
  class: "main-text"
1770
- }, h6 = { class: "name" }, g6 = { key: 0 }, _6 = { key: 0 }, y6 = { key: 1 }, m6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1832
+ }, _6 = { class: "name" }, y6 = { key: 0 }, m6 = { key: 0 }, w6 = { key: 1 }, k6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1771
1833
  "span",
1772
1834
  {
1773
1835
  class: "red",
@@ -1776,52 +1838,52 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
1776
1838
  "退回至",
1777
1839
  -1
1778
1840
  /* HOISTED */
1779
- )), w6 = { key: 0 }, k6 = { key: 0 }, F6 = { key: 1 }, x6 = { key: 1 }, S6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1841
+ )), F6 = { key: 0 }, x6 = { key: 0 }, S6 = { key: 1 }, z6 = { key: 1 }, b6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1780
1842
  "div",
1781
1843
  { class: "main-text" },
1782
1844
  "抄送人员",
1783
1845
  -1
1784
1846
  /* HOISTED */
1785
- )), b6 = { class: "name" }, z6 = { key: 0 }, $6 = { style: { color: "#000" } }, C6 = {
1847
+ )), $6 = { class: "name" }, C6 = { key: 0 }, I6 = { style: { color: "#000" } }, O6 = {
1786
1848
  class: "blue",
1787
1849
  style: { "margin-left": "5px", "font-size": "12px" }
1788
- }, I6 = { key: 1 }, O6 = {
1850
+ }, T6 = { key: 1 }, B6 = {
1789
1851
  key: 0,
1790
1852
  class: "blue",
1791
1853
  style: { "font-size": "12px" }
1792
- }, T6 = { key: 1 }, B6 = {
1854
+ }, D6 = { key: 1 }, E6 = {
1793
1855
  key: 0,
1794
1856
  class: "blue",
1795
1857
  style: { "font-size": "12px" }
1796
- }, D6 = {
1858
+ }, R6 = {
1797
1859
  key: 1,
1798
1860
  class: "blue",
1799
1861
  style: { "font-size": "12px" }
1800
- }, E6 = { class: "time" }, R6 = { key: 0 }, V6 = { key: 1 }, A6 = ["onClick"], M6 = ["onClick"], P6 = {
1862
+ }, V6 = { class: "time" }, A6 = { key: 0 }, M6 = { key: 1 }, P6 = ["onClick"], N6 = ["onClick"], H6 = {
1801
1863
  key: 0,
1802
1864
  class: "opinion"
1803
- }, N6 = { key: 0 }, L6 = { key: 1 }, H6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1865
+ }, L6 = { key: 0 }, q6 = { key: 1 }, U6 = /* @__PURE__ */ X(() => /* @__PURE__ */ u(
1804
1866
  "span",
1805
1867
  { class: "ik-text-primary" },
1806
1868
  "添加审批人",
1807
1869
  -1
1808
1870
  /* HOISTED */
1809
- )), q6 = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, U6 = {
1871
+ )), j6 = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, W6 = {
1810
1872
  key: 2,
1811
1873
  class: "annexImage"
1812
- }, j6 = {
1874
+ }, K6 = {
1813
1875
  key: 3,
1814
1876
  class: "approveList"
1815
- }, W6 = { class: "nodeBg-list" }, K6 = ["src"], G6 = { key: 1 }, Y6 = {
1877
+ }, G6 = { class: "nodeBg-list" }, Y6 = ["src"], X6 = { key: 1 }, J6 = {
1816
1878
  key: 2,
1817
1879
  class: "ikapprove ikapprove-duihao2 green read"
1818
- }, X6 = ["title"], J6 = {
1880
+ }, Z6 = ["title"], Q6 = {
1819
1881
  key: 0,
1820
1882
  class: "branch"
1821
- }, Z6 = { class: "branch-card" }, Q6 = { class: "branch-name" }, et = {
1883
+ }, et = { class: "branch-card" }, tt = { class: "branch-name" }, ot = {
1822
1884
  name: "IkingApprovalProcessDetail"
1823
- }, tt = /* @__PURE__ */ B({
1824
- ...et,
1885
+ }, nt = /* @__PURE__ */ B({
1886
+ ...ot,
1825
1887
  props: {
1826
1888
  // 是否本地打开
1827
1889
  local: {
@@ -1881,9 +1943,9 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
1881
1943
  emits: ["preview"],
1882
1944
  setup(t, { emit: o }) {
1883
1945
  const n = t;
1884
- re(n);
1885
- const e = se(ke(n));
1886
- ie(
1946
+ ce(n);
1947
+ const e = ie(ke(n));
1948
+ le(
1887
1949
  () => n.dataList,
1888
1950
  (i) => {
1889
1951
  i && (G(() => {
@@ -1906,80 +1968,80 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
1906
1968
  return;
1907
1969
  let v = Array.from(new Array(i[1] + 1).keys()).slice(i[0]);
1908
1970
  G(() => {
1909
- a(v);
1971
+ r(v);
1910
1972
  });
1911
1973
  }
1912
- }, a = (i) => {
1913
- var x, y, b;
1914
- let v = document.createElement("div"), p = document.getElementById("approveProcess"), g = 0, s = (x = document.getElementById(`${i[0]}`)) == null ? void 0 : x.offsetWidth, k = (y = document.getElementById(`${i[0]}`)) == null ? void 0 : y.offsetLeft, $ = (b = document.getElementById(`${i[0]}`)) == null ? void 0 : b.offsetTop;
1915
- i.forEach((C) => {
1916
- let V = document.getElementById(`${C}`);
1917
- g += V.offsetHeight;
1974
+ }, r = (i) => {
1975
+ var I, h, x;
1976
+ let v = document.createElement("div"), p = document.getElementById("approveProcess"), _ = 0, s = (I = document.getElementById(`${i[0]}`)) == null ? void 0 : I.offsetWidth, F = (h = document.getElementById(`${i[0]}`)) == null ? void 0 : h.offsetLeft, T = (x = document.getElementById(`${i[0]}`)) == null ? void 0 : x.offsetTop;
1977
+ i.forEach((S) => {
1978
+ let D = document.getElementById(`${S}`);
1979
+ _ += D.offsetHeight;
1918
1980
  }), setTimeout(() => {
1919
- v.style.width = s + 32 + "px", v.style.height = g + "px", v.style.background = "#f9f9f9", v.style.position = "absolute", v.style.top = $ - 16 + "px", v.style.left = k - 16 + "px", v.style.zIndex = -1, p == null || p.appendChild(v);
1981
+ v.style.width = s + 32 + "px", v.style.height = _ + "px", v.style.background = "#f9f9f9", v.style.position = "absolute", v.style.top = T - 16 + "px", v.style.left = F - 16 + "px", v.style.zIndex = -1, p == null || p.appendChild(v);
1920
1982
  });
1921
1983
  }, c = (i, v) => {
1922
1984
  var s;
1923
- let p = (s = e.listData) == null ? void 0 : s.findIndex((k) => k.lineType == "dashed"), g = "";
1985
+ let p = (s = e.listData) == null ? void 0 : s.findIndex((F) => F.lineType == "dashed"), _ = "";
1924
1986
  switch (i) {
1925
1987
  case e.statusOption.发起:
1926
- g = "ikapprove-duihao2 green";
1988
+ _ = "ikapprove-duihao2 green";
1927
1989
  break;
1928
1990
  case e.statusOption.等待:
1929
- g = p == v ? "ikapprove-dengdai orange" : "";
1991
+ _ = p == v ? "ikapprove-dengdai orange" : "";
1930
1992
  break;
1931
1993
  case e.statusOption.同意:
1932
- g = "ikapprove-duihao2 green";
1994
+ _ = "ikapprove-duihao2 green";
1933
1995
  break;
1934
1996
  case e.statusOption.拒绝:
1935
- g = "ikapprove-jujue red";
1997
+ _ = "ikapprove-jujue red";
1936
1998
  break;
1937
1999
  case e.statusOption.转交:
1938
- g = "ikapprove-zhuanjiao blue";
2000
+ _ = "ikapprove-zhuanjiao blue";
1939
2001
  break;
1940
2002
  case e.statusOption.加签:
1941
- g = "ikapprove-tianjia blue";
2003
+ _ = "ikapprove-tianjia blue";
1942
2004
  break;
1943
2005
  case e.statusOption.退回:
1944
- g = "ikapprove-s_fanhui2 red";
2006
+ _ = "ikapprove-s_fanhui2 red";
1945
2007
  break;
1946
2008
  case e.statusOption.评论:
1947
- g = "ikapprove-pinglun1 blue";
2009
+ _ = "ikapprove-pinglun1 blue";
1948
2010
  break;
1949
2011
  }
1950
- return `ikapprove ${g}`;
1951
- }, h = (i, v) => {
2012
+ return `ikapprove ${_}`;
2013
+ }, g = (i, v) => {
1952
2014
  i.show = !i.show;
1953
- let p = document.getElementById(`${i[e.defaultFile.nodeId]}`), g = Array.from(p == null ? void 0 : p.getElementsByClassName("approveList"));
1954
- for (let s of g)
2015
+ let p = document.getElementById(`${i[e.defaultFile.nodeId]}`), _ = Array.from(p == null ? void 0 : p.getElementsByClassName("approveList"));
2016
+ for (let s of _)
1955
2017
  s.style.display = v;
1956
- }, _ = (i) => q(n.fileUrl, i);
2018
+ }, y = (i) => U(n.fileUrl, i);
1957
2019
  return (i, v) => {
1958
- const p = N("el-image"), g = N("IkingApprovalProcessDetail");
1959
- return l(), r("div", i6, [
1960
- (l(!0), r(
1961
- I,
2020
+ const p = P("el-image"), _ = P("IkingApprovalProcessDetail");
2021
+ return l(), a("div", a6, [
2022
+ (l(!0), a(
2023
+ b,
1962
2024
  null,
1963
- M(e.listData, (s, k) => {
1964
- var $, x, y, b, C, V, W, J, Z, Q;
1965
- return l(), r("div", {
2025
+ V(e.listData, (s, F) => {
2026
+ var T, I, h, x, S, D, W, J, Z, Q;
2027
+ return l(), a("div", {
1966
2028
  class: "approveBlock",
1967
2029
  id: s[e.defaultFile.nodeId],
1968
2030
  key: s[e.defaultFile.nodeId]
1969
2031
  }, [
1970
- u("div", a6, [
1971
- u("div", r6, [
1972
- u("span", c6, [
2032
+ u("div", c6, [
2033
+ u("div", d6, [
2034
+ u("span", u6, [
1973
2035
  f(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
1974
- (($ = s[e.defaultFile.approvePersonList]) == null ? void 0 : $.length) == 1 && s[e.defaultFile.approvePersonList][0].userAvatar ? (l(), r("img", {
2036
+ ((T = s[e.defaultFile.approvePersonList]) == null ? void 0 : T.length) == 1 && s[e.defaultFile.approvePersonList][0].userAvatar ? (l(), a("img", {
1975
2037
  key: 0,
1976
2038
  style: { width: "100%", height: "100%", "border-radius": "50%" },
1977
- src: _(
2039
+ src: y(
1978
2040
  s[e.defaultFile.approvePersonList][0].userAvatar
1979
2041
  ),
1980
2042
  alt: ""
1981
- }, null, 8, d6)) : (l(), r(
1982
- I,
2043
+ }, null, 8, p6)) : (l(), a(
2044
+ b,
1983
2045
  { key: 1 },
1984
2046
  [
1985
2047
  f(" 否则显示对应节点 "),
@@ -1987,7 +2049,7 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
1987
2049
  "i",
1988
2050
  {
1989
2051
  class: O(
1990
- F(Fe)(
2052
+ k(Fe)(
1991
2053
  e,
1992
2054
  s[e.defaultFile.nodeType],
1993
2055
  s[e.defaultFile.approvePersonList]
@@ -2007,7 +2069,7 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2007
2069
  "i",
2008
2070
  {
2009
2071
  class: O(
2010
- c(s[e.defaultFile.approveStatus], k)
2072
+ c(s[e.defaultFile.approveStatus], F)
2011
2073
  )
2012
2074
  },
2013
2075
  null,
@@ -2016,27 +2078,27 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2016
2078
  )
2017
2079
  ])
2018
2080
  ]),
2019
- u("div", u6, [
2020
- u("div", p6, [
2081
+ u("div", f6, [
2082
+ u("div", v6, [
2021
2083
  u("div", null, [
2022
2084
  f(" 不是抄送节点 "),
2023
- s[e.defaultFile.nodeType] != e.nodeType.抄送节点 ? (l(), r("div", f6, [
2085
+ s[e.defaultFile.nodeType] != e.nodeType.抄送节点 ? (l(), a("div", h6, [
2024
2086
  f(" 撤销,评论不显示节点名称 "),
2025
- s[e.defaultFile.approveStatus] != e.statusOption.撤销 && s[e.defaultFile.approveStatus] != e.statusOption.评论 ? (l(), r(
2087
+ s[e.defaultFile.approveStatus] != e.statusOption.撤销 && s[e.defaultFile.approveStatus] != e.statusOption.评论 ? (l(), a(
2026
2088
  "div",
2027
- v6,
2089
+ g6,
2028
2090
  m(s[e.defaultFile.nodeTypeName]),
2029
2091
  1
2030
2092
  /* TEXT */
2031
2093
  )) : f("v-if", !0),
2032
2094
  f(" 名字+审批状态 "),
2033
- u("div", h6, [
2095
+ u("div", _6, [
2034
2096
  f(" 已审批节点文本 "),
2035
- s[e.defaultFile.lineType] == "solid" ? (l(), r("div", g6, [
2097
+ s[e.defaultFile.lineType] == "solid" ? (l(), a("div", y6, [
2036
2098
  u(
2037
2099
  "span",
2038
2100
  {
2039
- style: z({
2101
+ style: $({
2040
2102
  color: s[e.defaultFile.approveStatus] == e.statusOption.评论 ? "#000" : ""
2041
2103
  })
2042
2104
  },
@@ -2045,45 +2107,45 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2045
2107
  /* TEXT, STYLE */
2046
2108
  ),
2047
2109
  f(" 发起,退回不显示状态 "),
2048
- s[e.defaultFile.approveStatusName] && s[e.defaultFile.approveStatus] != e.statusOption.发起 && s[e.defaultFile.approveStatus] != e.statusOption.退回 ? (l(), r(
2110
+ s[e.defaultFile.approveStatusName] && s[e.defaultFile.approveStatus] != e.statusOption.发起 && s[e.defaultFile.approveStatus] != e.statusOption.退回 ? (l(), a(
2049
2111
  "span",
2050
- _6,
2112
+ m6,
2051
2113
  m(s[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : "(" + s[e.defaultFile.approveStatusName] + ")"),
2052
2114
  1
2053
2115
  /* TEXT */
2054
2116
  )) : f("v-if", !0),
2055
2117
  f(" 退回状态显示 "),
2056
- s[e.defaultFile.approveStatus] == e.statusOption.退回 ? (l(), r("span", y6, [
2057
- m6,
2058
- E(
2118
+ s[e.defaultFile.approveStatus] == e.statusOption.退回 ? (l(), a("span", w6, [
2119
+ k6,
2120
+ A(
2059
2121
  m(s[e.defaultFile.backToRecordNodeName]),
2060
2122
  1
2061
2123
  /* TEXT */
2062
2124
  )
2063
2125
  ])) : f("v-if", !0)
2064
- ])) : (l(), r(
2065
- I,
2126
+ ])) : (l(), a(
2127
+ b,
2066
2128
  { key: 1 },
2067
2129
  [
2068
2130
  f(" 待审批节点 "),
2069
2131
  u("div", null, [
2070
- ((x = s[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) == 1 ? (l(), r("span", w6, [
2071
- E(
2132
+ ((I = s[e.defaultFile.approvePersonList]) == null ? void 0 : I.length) == 1 ? (l(), a("span", F6, [
2133
+ A(
2072
2134
  m(s[e.defaultFile.originator]) + " ",
2073
2135
  1
2074
2136
  /* TEXT */
2075
2137
  ),
2076
- s[e.defaultFile.approveStatus] == e.statusOption.等待 ? (l(), r(
2138
+ s[e.defaultFile.approveStatus] == e.statusOption.等待 ? (l(), a(
2077
2139
  "span",
2078
- k6,
2140
+ x6,
2079
2141
  m(`(${s[e.defaultFile.approveStatusName]})`),
2080
2142
  1
2081
2143
  /* TEXT */
2082
2144
  )) : f("v-if", !0)
2083
- ])) : s[e.defaultFile.approvePersonList] ? (l(), r(
2145
+ ])) : s[e.defaultFile.approvePersonList] ? (l(), a(
2084
2146
  "span",
2085
- F6,
2086
- m(`${(y = s[e.defaultFile.approvePersonList]) == null ? void 0 : y.length}人${s[e.defaultFile.approveTypeName]}`),
2147
+ S6,
2148
+ m(`${(h = s[e.defaultFile.approvePersonList]) == null ? void 0 : h.length}人${s[e.defaultFile.approveTypeName]}`),
2087
2149
  1
2088
2150
  /* TEXT */
2089
2151
  )) : f("v-if", !0)
@@ -2093,16 +2155,16 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2093
2155
  /* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
2094
2156
  ))
2095
2157
  ])
2096
- ])) : (l(), r("div", x6, [
2097
- S6,
2098
- u("div", b6, [
2158
+ ])) : (l(), a("div", z6, [
2159
+ b6,
2160
+ u("div", $6, [
2099
2161
  f(" 抄送一人时 "),
2100
- ((b = s[e.defaultFile.approvePersonList]) == null ? void 0 : b.length) == 1 ? (l(), r("span", z6, [
2162
+ ((x = s[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) == 1 ? (l(), a("span", C6, [
2101
2163
  u("span", null, [
2102
- E("已抄送给 "),
2164
+ A("已抄送给 "),
2103
2165
  u(
2104
2166
  "span",
2105
- $6,
2167
+ I6,
2106
2168
  m(s[e.defaultFile.approvePersonList][0].userName),
2107
2169
  1
2108
2170
  /* TEXT */
@@ -2110,24 +2172,24 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2110
2172
  ]),
2111
2173
  u(
2112
2174
  "span",
2113
- C6,
2175
+ O6,
2114
2176
  m(s[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
2115
2177
  1
2116
2178
  /* TEXT */
2117
2179
  )
2118
2180
  ])) : f("v-if", !0),
2119
2181
  f(" 抄送多人时 "),
2120
- ((C = s[e.defaultFile.approvePersonList]) == null ? void 0 : C.length) > 1 ? (l(), r("span", I6, [
2121
- E(
2122
- m(`已抄送${(V = s[e.defaultFile.approvePersonList]) == null ? void 0 : V.length}人`) + " ",
2182
+ ((S = s[e.defaultFile.approvePersonList]) == null ? void 0 : S.length) > 1 ? (l(), a("span", T6, [
2183
+ A(
2184
+ m(`已抄送${(D = s[e.defaultFile.approvePersonList]) == null ? void 0 : D.length}人`) + " ",
2123
2185
  1
2124
2186
  /* TEXT */
2125
2187
  ),
2126
- s[e.defaultFile.allRead] ? (l(), r("span", O6, " 全部已读 ")) : (l(), r("span", T6, [
2127
- s[e.defaultFile.read] ? f("v-if", !0) : (l(), r("span", B6, " 全部未读 ")),
2128
- s[e.defaultFile.read] ? (l(), r(
2188
+ s[e.defaultFile.allRead] ? (l(), a("span", B6, " 全部已读 ")) : (l(), a("span", D6, [
2189
+ s[e.defaultFile.read] ? f("v-if", !0) : (l(), a("span", E6, " 全部未读 ")),
2190
+ s[e.defaultFile.read] ? (l(), a(
2129
2191
  "span",
2130
- D6,
2192
+ R6,
2131
2193
  m(s[e.defaultFile.read]) + "人已读 ",
2132
2194
  1
2133
2195
  /* TEXT */
@@ -2137,12 +2199,12 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2137
2199
  ])
2138
2200
  ]))
2139
2201
  ]),
2140
- u("div", E6, [
2202
+ u("div", V6, [
2141
2203
  f(" 不是抄送节点,展示时间 "),
2142
- s[e.defaultFile.nodeType] != e.nodeType.抄送节点 && s[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (l(), r(
2204
+ s[e.defaultFile.nodeType] != e.nodeType.抄送节点 && s[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (l(), a(
2143
2205
  "span",
2144
- R6,
2145
- m(F(we).toDateTime(
2206
+ A6,
2207
+ m(k(we).toDateTime(
2146
2208
  s[e.defaultFile.operationTime],
2147
2209
  "MM/DD HH:mm"
2148
2210
  )),
@@ -2150,16 +2212,16 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2150
2212
  /* TEXT */
2151
2213
  )) : f("v-if", !0),
2152
2214
  f(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
2153
- s[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((W = s[e.defaultFile.approvePersonList]) == null ? void 0 : W.length) > 1 ? (l(), r("span", V6, [
2154
- s != null && s.show ? (l(), r("i", {
2215
+ s[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((W = s[e.defaultFile.approvePersonList]) == null ? void 0 : W.length) > 1 ? (l(), a("span", M6, [
2216
+ s != null && s.show ? (l(), a("i", {
2155
2217
  key: 0,
2156
2218
  class: "ikapprove ikapprove-a-putongjiantouzhankai",
2157
- onClick: (w) => h(s, "grid")
2158
- }, null, 8, A6)) : (l(), r("i", {
2219
+ onClick: (w) => g(s, "grid")
2220
+ }, null, 8, P6)) : (l(), a("i", {
2159
2221
  key: 1,
2160
- onClick: (w) => h(s, "none"),
2222
+ onClick: (w) => g(s, "none"),
2161
2223
  class: "ikapprove ikapprove-a-putongjiantoushouqi"
2162
- }, null, 8, M6))
2224
+ }, null, 8, N6))
2163
2225
  ])) : f("v-if", !0)
2164
2226
  ])
2165
2227
  ])
@@ -2169,28 +2231,28 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2169
2231
  "div",
2170
2232
  {
2171
2233
  class: "bottomBlock",
2172
- style: z({
2173
- borderLeft: k == e.listData.length - 1 ? "" : `2px ${s[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
2234
+ style: $({
2235
+ borderLeft: F == e.listData.length - 1 ? "" : `2px ${s[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
2174
2236
  })
2175
2237
  },
2176
2238
  [
2177
2239
  f(" 审批意见 "),
2178
- s[e.defaultFile.approveOpinion] || s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), r("div", P6, [
2179
- s[e.defaultFile.approveOpinion] ? (l(), r(
2240
+ s[e.defaultFile.approveOpinion] || s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), a("div", H6, [
2241
+ s[e.defaultFile.approveOpinion] ? (l(), a(
2180
2242
  "span",
2181
- N6,
2243
+ L6,
2182
2244
  m(s[e.defaultFile.approveOpinion]),
2183
2245
  1
2184
2246
  /* TEXT */
2185
2247
  )) : f("v-if", !0),
2186
- s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), r("span", L6, [
2187
- H6,
2188
- (l(!0), r(
2189
- I,
2248
+ s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), a("span", q6, [
2249
+ U6,
2250
+ (l(!0), a(
2251
+ b,
2190
2252
  null,
2191
- M(s[e.defaultFile.countersignPer], (w, K) => (l(), r(
2253
+ V(s[e.defaultFile.countersignPer], (w, K) => (l(), a(
2192
2254
  "span",
2193
- q6,
2255
+ j6,
2194
2256
  m(w == null ? void 0 : w.userName) + m(K < s[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
2195
2257
  1
2196
2258
  /* TEXT */
@@ -2201,26 +2263,26 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2201
2263
  ])) : f("v-if", !0)
2202
2264
  ])) : f("v-if", !0),
2203
2265
  f(" 附件 "),
2204
- (J = s[e.defaultFile.attachment]) != null && J.length ? (l(), R(F(D3), {
2266
+ (J = s[e.defaultFile.attachment]) != null && J.length ? (l(), R(k(R3), {
2205
2267
  key: 1,
2206
2268
  list: s[e.defaultFile.attachment]
2207
2269
  }, null, 8, ["list"])) : f("v-if", !0),
2208
2270
  f(" 附件图片 "),
2209
- (Z = s[e.defaultFile.attachmentImg]) != null && Z.length ? (l(), r("div", U6, [
2210
- (l(!0), r(
2211
- I,
2271
+ (Z = s[e.defaultFile.attachmentImg]) != null && Z.length ? (l(), a("div", W6, [
2272
+ (l(!0), a(
2273
+ b,
2212
2274
  null,
2213
- M(s[e.defaultFile.attachmentImg], (w, K) => (l(), r("div", {
2275
+ V(s[e.defaultFile.attachmentImg], (w, K) => (l(), a("div", {
2214
2276
  class: "image",
2215
2277
  key: K
2216
2278
  }, [
2217
- T(p, {
2218
- src: _(w),
2219
- "preview-src-list": s[e.defaultFile.attachmentImg].map((ce) => _(ce)),
2279
+ C(p, {
2280
+ src: y(w),
2281
+ "preview-src-list": s[e.defaultFile.attachmentImg].map((de) => y(de)),
2220
2282
  fit: "cover",
2221
2283
  "z-index": "9999",
2222
2284
  "zoom-rate": 1.2,
2223
- alt: _(w)
2285
+ alt: y(w)
2224
2286
  }, null, 8, ["src", "preview-src-list", "alt"])
2225
2287
  ]))),
2226
2288
  128
@@ -2228,33 +2290,33 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2228
2290
  ))
2229
2291
  ])) : f("v-if", !0),
2230
2292
  f(" 抄送节点或是等待审批状态并且列表长度大于1 "),
2231
- (s[e.defaultFile.nodeType] == e.nodeType.抄送节点 || s[e.defaultFile.approveStatus] == e.statusOption.等待) && ((Q = s[e.defaultFile.approvePersonList]) == null ? void 0 : Q.length) > 1 ? (l(), r("div", j6, [
2232
- (l(!0), r(
2233
- I,
2293
+ (s[e.defaultFile.nodeType] == e.nodeType.抄送节点 || s[e.defaultFile.approveStatus] == e.statusOption.等待) && ((Q = s[e.defaultFile.approvePersonList]) == null ? void 0 : Q.length) > 1 ? (l(), a("div", K6, [
2294
+ (l(!0), a(
2295
+ b,
2234
2296
  null,
2235
- M(s[e.defaultFile.approvePersonList], (w) => (l(), r("div", {
2297
+ V(s[e.defaultFile.approvePersonList], (w) => (l(), a("div", {
2236
2298
  class: "perBlock",
2237
2299
  key: w.userName
2238
2300
  }, [
2239
- u("span", W6, [
2240
- w.userAvatar ? (l(), r("img", {
2301
+ u("span", G6, [
2302
+ w.userAvatar ? (l(), a("img", {
2241
2303
  key: 0,
2242
2304
  style: { width: "100%", height: "100%", "border-radius": "50%" },
2243
- src: _(w.userAvatar),
2305
+ src: y(w.userAvatar),
2244
2306
  alt: ""
2245
- }, null, 8, K6)) : (l(), r(
2307
+ }, null, 8, Y6)) : (l(), a(
2246
2308
  "span",
2247
- G6,
2309
+ X6,
2248
2310
  m(w.userName.slice(-2)),
2249
2311
  1
2250
2312
  /* TEXT */
2251
2313
  )),
2252
- w.status === "END" ? (l(), r("i", Y6)) : f("v-if", !0)
2314
+ w.status === "END" ? (l(), a("i", J6)) : f("v-if", !0)
2253
2315
  ]),
2254
2316
  u("div", {
2255
2317
  class: "main-text",
2256
2318
  title: w.userName
2257
- }, m(w.userName), 9, X6)
2319
+ }, m(w.userName), 9, Z6)
2258
2320
  ]))),
2259
2321
  128
2260
2322
  /* KEYED_FRAGMENT */
@@ -2264,19 +2326,19 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2264
2326
  4
2265
2327
  /* STYLE */
2266
2328
  ),
2267
- s[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (l(), r("div", J6, [
2268
- (l(!0), r(
2269
- I,
2329
+ s[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (l(), a("div", Q6, [
2330
+ (l(!0), a(
2331
+ b,
2270
2332
  null,
2271
- M(s[e.defaultFile.parallelInstances], (w) => (l(), r("div", Z6, [
2333
+ V(s[e.defaultFile.parallelInstances], (w) => (l(), a("div", et, [
2272
2334
  u(
2273
2335
  "div",
2274
- Q6,
2336
+ tt,
2275
2337
  m(w.name),
2276
2338
  1
2277
2339
  /* TEXT */
2278
2340
  ),
2279
- T(g, le({ ref_for: !0 }, n, {
2341
+ C(_, ae({ ref_for: !0 }, n, {
2280
2342
  "data-list": (w == null ? void 0 : w.processInstanceNodes) || []
2281
2343
  }), null, 16, ["data-list"])
2282
2344
  ]))),
@@ -2284,7 +2346,7 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2284
2346
  /* UNKEYED_FRAGMENT */
2285
2347
  ))
2286
2348
  ])) : f("v-if", !0)
2287
- ], 8, l6);
2349
+ ], 8, r6);
2288
2350
  }),
2289
2351
  128
2290
2352
  /* KEYED_FRAGMENT */
@@ -2293,8 +2355,8 @@ const n6 = /* @__PURE__ */ j(o6, [["__scopeId", "data-v-98d51ef9"]]), s6 = L(n6)
2293
2355
  };
2294
2356
  }
2295
2357
  });
2296
- const ot = /* @__PURE__ */ j(tt, [["__scopeId", "data-v-93fd1f20"]]), it = L(ot);
2358
+ const st = /* @__PURE__ */ j(nt, [["__scopeId", "data-v-93fd1f20"]]), at = q(st);
2297
2359
  export {
2298
- it as IKApprovalProcessDetail,
2299
- it as default
2360
+ at as IKApprovalProcessDetail,
2361
+ at as default
2300
2362
  };