iking-web-ui-pro 0.1.91 → 0.1.93

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { defineComponent as k, computed as S, openBlock as c, createElementBlock as u, createElementVNode as r, ref as z, Fragment as M, renderList as H, normalizeClass as F, normalizeStyle as _, createVNode as y, toDisplayString as C, unref as w, withModifiers as W, renderSlot as $, createCommentVNode as V, mergeModels as P, useModel as L, reactive as K, watch as j, nextTick as X, resolveComponent as D, createBlock as I, withCtx as b, createTextVNode as O, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
1
+ import { defineComponent as k, computed as C, openBlock as c, createElementBlock as u, createElementVNode as r, ref as z, Fragment as M, renderList as H, normalizeClass as F, normalizeStyle as _, createVNode as y, toDisplayString as V, unref as w, withModifiers as W, renderSlot as $, createCommentVNode as x, mergeModels as P, useModel as L, reactive as K, watch as j, nextTick as X, resolveComponent as D, createBlock as I, withCtx as S, createTextVNode as O, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
2
2
  import { paramType as t3, ikFile as n3, buildUUID as o3, ikColor as i3, ikUrl as s3 } from "iking-utils-pro";
3
3
  const R = (n, e) => {
4
4
  if (n.install = (i) => {
@@ -632,7 +632,7 @@ const G = (n, e) => {
632
632
  }
633
633
  },
634
634
  setup(n) {
635
- const e = n, i = S(() => e.file ? G(e.file, e.fields) : e.type);
635
+ const e = n, i = C(() => e.file ? G(e.file, e.fields) : e.type);
636
636
  return (l, o) => i.value === "image" ? (c(), u("svg", c3, h3)) : i.value === "zip" ? (c(), u("svg", v3, w3)) : i.value === "ppt" ? (c(), u("svg", y3, z3)) : i.value === "word" ? (c(), u("svg", F3, S3)) : i.value === "pdf" ? (c(), u("svg", C3, I3)) : i.value === "txt" ? (c(), u("svg", R3, M3)) : i.value === "audio" ? (c(), u("svg", q3, O3)) : i.value === "video" ? (c(), u("svg", A3, P3)) : i.value === "excel" ? (c(), u("svg", L3, W3)) : i.value === "exe" ? (c(), u("svg", K3, Q3)) : i.value === "json" ? (c(), u("svg", e6, i6)) : (c(), u("svg", s6, c6));
637
637
  }
638
638
  }), u6 = ["onClick"], p6 = { class: "text" }, f6 = { class: "fileName" }, h6 = { class: "size" }, v6 = /* @__PURE__ */ k({
@@ -705,7 +705,7 @@ const G = (n, e) => {
705
705
  }
706
706
  },
707
707
  setup(n) {
708
- const e = n, i = S(() => ({
708
+ const e = n, i = C(() => ({
709
709
  name: "name",
710
710
  url: "url",
711
711
  suffix: "suffix",
@@ -729,7 +729,7 @@ const G = (n, e) => {
729
729
  ),
730
730
  t[i.value.name] || t.attachmentName
731
731
  );
732
- }, h = S(() => t3.isNumber(e.width) ? `${e.width}px` : e.width), g = S(() => e.list.map((t) => ({
732
+ }, h = C(() => t3.isNumber(e.width) ? `${e.width}px` : e.width), g = C(() => e.list.map((t) => ({
733
733
  ...t,
734
734
  name: t[i.value.name] || t.attachmentName,
735
735
  size: t[i.value.size] || t.fileSize || t.attachmentSize,
@@ -759,7 +759,7 @@ const G = (n, e) => {
759
759
  [
760
760
  r("div", {
761
761
  class: "file-card",
762
- onClick: (x) => s(p)
762
+ onClick: (b) => s(p)
763
763
  }, [
764
764
  y(d6, {
765
765
  file: p,
@@ -771,14 +771,14 @@ const G = (n, e) => {
771
771
  r(
772
772
  "div",
773
773
  f6,
774
- C(p.name),
774
+ V(p.name),
775
775
  1
776
776
  /* TEXT */
777
777
  ),
778
778
  r(
779
779
  "div",
780
780
  h6,
781
- C(w(l3)(p.size)),
781
+ V(w(l3)(p.size)),
782
782
  1
783
783
  /* TEXT */
784
784
  )
@@ -791,7 +791,7 @@ const G = (n, e) => {
791
791
  [
792
792
  y(w(B), {
793
793
  name: "iksvg_daochu",
794
- onClick: W((x) => a(p), ["stop"]),
794
+ onClick: W((b) => a(p), ["stop"]),
795
795
  bg: n.showBg,
796
796
  size: n.showBg ? "default" : 20
797
797
  }, null, 8, ["onClick", "bg", "size"]),
@@ -815,8 +815,8 @@ const G = (n, e) => {
815
815
  }),
816
816
  128
817
817
  /* KEYED_FRAGMENT */
818
- )) : V("v-if", !0),
819
- y(w(w6), {
818
+ )) : x("v-if", !0),
819
+ y(w(y6), {
820
820
  show: o.value,
821
821
  "onUpdate:show": d[0] || (d[0] = (p) => o.value = p),
822
822
  loadUrl: n.loadUrl,
@@ -832,7 +832,7 @@ const G = (n, e) => {
832
832
  };
833
833
  }
834
834
  });
835
- const g6 = R(v6), m6 = /* @__PURE__ */ k({
835
+ const g6 = R(v6), m6 = { key: 0 }, w6 = /* @__PURE__ */ k({
836
836
  __name: "IkPreviewFileDialog",
837
837
  props: /* @__PURE__ */ P({
838
838
  file: {
@@ -869,7 +869,9 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
869
869
  }),
870
870
  emits: ["update:show"],
871
871
  setup(n) {
872
- const e = n, i = L(n, "show"), l = S(() => ({
872
+ const e = n, i = L(n, "show");
873
+ console.log("props", e);
874
+ const l = C(() => ({
873
875
  name: "name",
874
876
  url: "url",
875
877
  suffix: "suffix",
@@ -882,7 +884,7 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
882
884
  }), h = (t) => {
883
885
  var d, v;
884
886
  try {
885
- const p = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, m = p[l.value.url] || (p == null ? void 0 : p.id) || p.attachmentId, f = (v = p[l.value.suffix] || p.attachmentSuffix) == null ? void 0 : v.toLowerCase(), x = p[l.value.name] || (p == null ? void 0 : p.attachmentName);
887
+ const p = ((d = t == null ? void 0 : t.response) == null ? void 0 : d.data) || t, m = p[l.value.url] || (p == null ? void 0 : p.id) || p.attachmentId, f = (v = p[l.value.suffix] || p.attachmentSuffix) == null ? void 0 : v.toLowerCase(), b = p[l.value.name] || (p == null ? void 0 : p.attachmentName);
886
888
  if (s.value = {
887
889
  ...t,
888
890
  name: t[l.value.name],
@@ -895,7 +897,7 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
895
897
  documentType: r3(f),
896
898
  document: {
897
899
  key: o3(),
898
- title: x,
900
+ title: b,
899
901
  url: q(e.loadUrl, m),
900
902
  fileType: f
901
903
  },
@@ -915,7 +917,7 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
915
917
  }
916
918
  };
917
919
  j([i, e.file], ([t, d]) => {
918
- t && X(() => {
920
+ console.log(t, d), t && X(() => {
919
921
  h(e.file);
920
922
  });
921
923
  });
@@ -925,7 +927,7 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
925
927
  return (t, d) => {
926
928
  var p, m;
927
929
  const v = D("el-image-viewer");
928
- return c(), u("template", null, [
930
+ return i.value ? (c(), u("div", m6, [
929
931
  (p = s.value) != null && p.url && a.image ? (c(), I(v, {
930
932
  key: 0,
931
933
  onClose: d[0] || (d[0] = (f) => {
@@ -933,9 +935,9 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
933
935
  }),
934
936
  ref: "previewImgRef",
935
937
  "url-list": [(m = s.value) == null ? void 0 : m.url]
936
- }, null, 8, ["url-list"])) : V("v-if", !0),
937
- V(" 文档类 "),
938
- y(w(D6), {
938
+ }, null, 8, ["url-list"])) : x("v-if", !0),
939
+ x(" 文档类 "),
940
+ y(w(M6), {
939
941
  modelValue: a.office,
940
942
  "onUpdate:modelValue": d[1] || (d[1] = (f) => a.office = f),
941
943
  draggable: "",
@@ -950,8 +952,8 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
950
952
  onClose: g,
951
953
  "modal-class": "ik-only-preview-dialog"
952
954
  }, {
953
- default: b(() => [
954
- y(w(T6), {
955
+ default: S(() => [
956
+ y(w(P6), {
955
957
  configOptions: o.value,
956
958
  documentServerUrl: n.onlyofficeServer,
957
959
  mode: "view"
@@ -960,22 +962,22 @@ const g6 = R(v6), m6 = /* @__PURE__ */ k({
960
962
  _: 1
961
963
  /* STABLE */
962
964
  }, 8, ["modelValue"])
963
- ]);
965
+ ])) : x("v-if", !0);
964
966
  };
965
967
  }
966
968
  });
967
- const w6 = R(m6), y6 = {
969
+ const y6 = R(w6), _6 = {
968
970
  key: 0,
969
971
  class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
970
- }, _6 = {
972
+ }, k6 = {
971
973
  key: 1,
972
974
  class: "h-[1em] w-[1em]",
973
975
  "aria-hidden": "true"
974
- }, k6 = ["xlink:href"], z6 = ["src"], F6 = {
976
+ }, z6 = ["xlink:href"], F6 = ["src"], x6 = {
975
977
  key: 1,
976
978
  class: "h-[1em] w-[1em]",
977
979
  "aria-hidden": "true"
978
- }, x6 = ["xlink:href"], b6 = ["src"], S6 = /* @__PURE__ */ k({
980
+ }, b6 = ["xlink:href"], S6 = ["src"], C6 = /* @__PURE__ */ k({
979
981
  name: "IkSvgIcon",
980
982
  __name: "index",
981
983
  props: {
@@ -1002,10 +1004,10 @@ const w6 = R(m6), y6 = {
1002
1004
  tableIconType: { default: "icon" }
1003
1005
  },
1004
1006
  setup(n) {
1005
- const e = n, i = S(() => {
1007
+ const e = n, i = C(() => {
1006
1008
  var o, s, a;
1007
1009
  return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
1008
- }), l = S(() => {
1010
+ }), l = C(() => {
1009
1011
  const o = [];
1010
1012
  if (e.flip)
1011
1013
  switch (e.flip) {
@@ -1034,7 +1036,7 @@ const w6 = R(m6), y6 = {
1034
1036
  });
1035
1037
  return (o, s) => {
1036
1038
  const a = D("el-tooltip"), h = D("el-button");
1037
- return o.tableIconType === "icon" ? (c(), u("span", y6, [
1039
+ return o.tableIconType === "icon" ? (c(), u("span", _6, [
1038
1040
  o.notip || !o.title ? (c(), u(
1039
1041
  "i",
1040
1042
  {
@@ -1055,7 +1057,7 @@ const w6 = R(m6), y6 = {
1055
1057
  style: _(l.value)
1056
1058
  },
1057
1059
  [
1058
- V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1060
+ x(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
1059
1061
  i.value === "iksig" ? (c(), u(
1060
1062
  "i",
1061
1063
  {
@@ -1066,15 +1068,15 @@ const w6 = R(m6), y6 = {
1066
1068
  null,
1067
1069
  6
1068
1070
  /* CLASS, STYLE */
1069
- )) : i.value === "svg" ? (c(), u("svg", _6, [
1071
+ )) : i.value === "svg" ? (c(), u("svg", k6, [
1070
1072
  r("use", {
1071
1073
  "xlink:href": `#${o.name}`
1072
- }, null, 8, k6)
1074
+ }, null, 8, z6)
1073
1075
  ])) : i.value === "img" ? (c(), u("img", {
1074
1076
  key: 2,
1075
1077
  src: o.name,
1076
1078
  class: "h-[1em] w-[1em]"
1077
- }, null, 8, z6)) : (c(), u(
1079
+ }, null, 8, F6)) : (c(), u(
1078
1080
  "i",
1079
1081
  {
1080
1082
  key: 3,
@@ -1093,7 +1095,7 @@ const w6 = R(m6), y6 = {
1093
1095
  content: o.title,
1094
1096
  placement: "top"
1095
1097
  }, {
1096
- default: b(() => [
1098
+ default: S(() => [
1097
1099
  r(
1098
1100
  "i",
1099
1101
  {
@@ -1122,15 +1124,15 @@ const w6 = R(m6), y6 = {
1122
1124
  null,
1123
1125
  6
1124
1126
  /* CLASS, STYLE */
1125
- )) : i.value === "svg" ? (c(), u("svg", F6, [
1127
+ )) : i.value === "svg" ? (c(), u("svg", x6, [
1126
1128
  r("use", {
1127
1129
  "xlink:href": `#${o.name}`
1128
- }, null, 8, x6)
1130
+ }, null, 8, b6)
1129
1131
  ])) : i.value === "img" ? (c(), u("img", {
1130
1132
  key: 2,
1131
1133
  src: o.name,
1132
1134
  class: "h-[1em] w-[1em]"
1133
- }, null, 8, b6)) : (c(), u(
1135
+ }, null, 8, S6)) : (c(), u(
1134
1136
  "i",
1135
1137
  {
1136
1138
  key: 3,
@@ -1153,9 +1155,9 @@ const w6 = R(m6), y6 = {
1153
1155
  key: 1,
1154
1156
  type: ["warning", "error"].includes(o.type) ? "danger" : ""
1155
1157
  }, {
1156
- default: b(() => [
1158
+ default: S(() => [
1157
1159
  O(
1158
- C(o.title),
1160
+ V(o.title),
1159
1161
  1
1160
1162
  /* TEXT */
1161
1163
  )
@@ -1166,10 +1168,10 @@ const w6 = R(m6), y6 = {
1166
1168
  };
1167
1169
  }
1168
1170
  });
1169
- const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6), V6 = {
1171
+ const V6 = /* @__PURE__ */ E(C6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(V6), B6 = {
1170
1172
  key: 0,
1171
1173
  class: "exit-main-page-maximize"
1172
- }, B6 = /* @__PURE__ */ k({
1174
+ }, I6 = /* @__PURE__ */ k({
1173
1175
  __name: "CloseIcon",
1174
1176
  props: {
1175
1177
  showBg: {
@@ -1183,7 +1185,7 @@ const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6),
1183
1185
  },
1184
1186
  setup(n) {
1185
1187
  return (e, i) => (c(), u("div", null, [
1186
- n.showBg && n.fullscreen ? (c(), u("div", V6, [
1188
+ n.showBg && n.fullscreen ? (c(), u("div", B6, [
1187
1189
  y(w(B), {
1188
1190
  name: "iksvg_guanbidanchuang",
1189
1191
  title: "关闭",
@@ -1200,7 +1202,7 @@ const C6 = /* @__PURE__ */ E(S6, [["__scopeId", "data-v-7d95dbf5"]]), B = R(C6),
1200
1202
  ]));
1201
1203
  }
1202
1204
  });
1203
- const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { class: "base-header" }, $6 = /* @__PURE__ */ k({
1205
+ const R6 = /* @__PURE__ */ E(I6, [["__scopeId", "data-v-79f49df8"]]), $6 = { class: "base-header" }, D6 = /* @__PURE__ */ k({
1204
1206
  __name: "IkBaseDialog",
1205
1207
  props: /* @__PURE__ */ P({
1206
1208
  title: { default: "" },
@@ -1225,7 +1227,7 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
1225
1227
  l.value = !l.value;
1226
1228
  }, s = k({
1227
1229
  setup() {
1228
- return () => Y(I6, {
1230
+ return () => Y(R6, {
1229
1231
  showBg: e.showCloseBg,
1230
1232
  fullscreen: e.fullscreen
1231
1233
  });
@@ -1242,20 +1244,20 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
1242
1244
  fullscreen: l.value,
1243
1245
  "modal-class": "baseDialog"
1244
1246
  }), J({
1245
- icon: b(() => [
1247
+ icon: S(() => [
1246
1248
  $(a.$slots, "title", {}, () => [
1247
1249
  O(
1248
- C(a.title),
1250
+ V(a.title),
1249
1251
  1
1250
1252
  /* TEXT */
1251
1253
  )
1252
1254
  ])
1253
1255
  ]),
1254
- header: b(() => [
1255
- r("div", R6, [
1256
+ header: S(() => [
1257
+ r("div", $6, [
1256
1258
  $(a.$slots, "header", {}, () => [
1257
1259
  O(
1258
- C(a.title),
1260
+ V(a.title),
1259
1261
  1
1260
1262
  /* TEXT */
1261
1263
  )
@@ -1267,9 +1269,9 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
1267
1269
  name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1268
1270
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1269
1271
  title: l.value ? "退出全屏" : "全屏"
1270
- }, null, 8, ["name", "title"])) : V("v-if", !0)
1272
+ }, null, 8, ["name", "title"])) : x("v-if", !0)
1271
1273
  ]),
1272
- default: b(() => [
1274
+ default: S(() => [
1273
1275
  $(a.$slots, "default")
1274
1276
  ]),
1275
1277
  _: 2
@@ -1277,7 +1279,7 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
1277
1279
  }, [
1278
1280
  a.$slots.footer ? {
1279
1281
  name: "footer",
1280
- fn: b(() => [
1282
+ fn: S(() => [
1281
1283
  $(a.$slots, "footer")
1282
1284
  ]),
1283
1285
  key: "0"
@@ -1286,8 +1288,8 @@ const I6 = /* @__PURE__ */ E(B6, [["__scopeId", "data-v-79f49df8"]]), R6 = { cla
1286
1288
  };
1287
1289
  }
1288
1290
  });
1289
- const D6 = R($6);
1290
- function M6(n, e, i, l) {
1291
+ const M6 = R(D6);
1292
+ function q6(n, e, i, l) {
1291
1293
  function o(s) {
1292
1294
  return s instanceof i ? s : new i(function(a) {
1293
1295
  a(s);
@@ -1314,7 +1316,7 @@ function M6(n, e, i, l) {
1314
1316
  t((l = l.apply(n, e || [])).next());
1315
1317
  });
1316
1318
  }
1317
- function q6(n, e) {
1319
+ function E6(n, e) {
1318
1320
  var i = { label: 0, sent: function() {
1319
1321
  if (s[0] & 1)
1320
1322
  throw s[1];
@@ -1379,9 +1381,9 @@ function q6(n, e) {
1379
1381
  return { value: t[0] ? t[1] : void 0, done: !0 };
1380
1382
  }
1381
1383
  }
1382
- var E6 = function(n, e) {
1383
- return M6(void 0, void 0, void 0, function() {
1384
- return q6(this, function(i) {
1384
+ var H6 = function(n, e) {
1385
+ return q6(void 0, void 0, void 0, function() {
1386
+ return E6(this, function(i) {
1385
1387
  return [2, new Promise(function(l, o) {
1386
1388
  try {
1387
1389
  if (window.DocsAPI)
@@ -1469,7 +1471,7 @@ var E6 = function(n, e) {
1469
1471
  var n = this, e = this.documentServerUrl;
1470
1472
  e.endsWith("/") || (e += "/");
1471
1473
  var i = "".concat(e, "web-apps/apps/api/documents/api.js");
1472
- E6(i, "onlyoffice-api-script").then(function() {
1474
+ H6(i, "onlyoffice-api-script").then(function() {
1473
1475
  return n.onLoad();
1474
1476
  }).catch(function() {
1475
1477
  n.onError(-2);
@@ -1583,13 +1585,13 @@ var E6 = function(n, e) {
1583
1585
  }
1584
1586
  }
1585
1587
  });
1586
- const H6 = ["id"];
1587
- function O6(n, e, i, l, o, s) {
1588
- return c(), u("div", { id: n.id }, null, 8, H6);
1588
+ const O6 = ["id"];
1589
+ function A6(n, e, i, l, o, s) {
1590
+ return c(), u("div", { id: n.id }, null, 8, O6);
1589
1591
  }
1590
- A.render = O6;
1592
+ A.render = A6;
1591
1593
  A.__file = "src/components/DocumentEditor.vue";
1592
- const A6 = /* @__PURE__ */ k({
1594
+ const U6 = /* @__PURE__ */ k({
1593
1595
  __name: "IkOnlyOffice",
1594
1596
  props: {
1595
1597
  // 文件服务器的服务的地址
@@ -1683,22 +1685,22 @@ const A6 = /* @__PURE__ */ k({
1683
1685
  ));
1684
1686
  }
1685
1687
  });
1686
- const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6), P6 = (n) => (Q("data-v-170abcfc"), n = n(), e3(), n), L6 = {
1688
+ const T6 = /* @__PURE__ */ E(U6, [["__scopeId", "data-v-ea0a8f6d"]]), P6 = R(T6), L6 = (n) => (Q("data-v-170abcfc"), n = n(), e3(), n), j6 = {
1687
1689
  key: 0,
1688
1690
  class: "preview-files"
1689
- }, j6 = {
1691
+ }, G6 = {
1690
1692
  class: "flex",
1691
1693
  style: { width: "80%", "align-items": "center" }
1692
- }, G6 = ["onClick"], N6 = ["title"], W6 = { style: { color: "#b8c6d9" } }, K6 = ["onClick"], X6 = /* @__PURE__ */ P6(() => /* @__PURE__ */ r(
1694
+ }, N6 = ["onClick"], W6 = ["title"], K6 = { style: { color: "#b8c6d9" } }, X6 = ["onClick"], Y6 = /* @__PURE__ */ L6(() => /* @__PURE__ */ r(
1693
1695
  "span",
1694
1696
  null,
1695
1697
  "预览",
1696
1698
  -1
1697
1699
  /* HOISTED */
1698
- )), Y6 = {
1700
+ )), Z6 = {
1699
1701
  key: 1,
1700
1702
  class: "flex preview-img"
1701
- }, Z6 = /* @__PURE__ */ k({
1703
+ }, J6 = /* @__PURE__ */ k({
1702
1704
  __name: "IKDetailPreviewFiles",
1703
1705
  props: {
1704
1706
  // 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
@@ -1756,14 +1758,14 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1756
1758
  var p, m;
1757
1759
  const v = D("el-image");
1758
1760
  return c(), u("div", null, [
1759
- e.fileType === "file" ? (c(), u("div", L6, [
1761
+ e.fileType === "file" ? (c(), u("div", j6, [
1760
1762
  (c(!0), u(
1761
1763
  M,
1762
1764
  null,
1763
- H(i.value, (f, x) => (c(), u(
1765
+ H(i.value, (f, b) => (c(), u(
1764
1766
  "div",
1765
1767
  {
1766
- key: x,
1768
+ key: b,
1767
1769
  class: "files-item",
1768
1770
  style: _({
1769
1771
  width: e.fileWidth,
@@ -1771,7 +1773,7 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1771
1773
  })
1772
1774
  },
1773
1775
  [
1774
- r("div", j6, [
1776
+ r("div", G6, [
1775
1777
  y(w(B), {
1776
1778
  name: a(f),
1777
1779
  style: _(`color:${h(f)}`),
@@ -1783,23 +1785,23 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1783
1785
  }, [
1784
1786
  r("p", {
1785
1787
  title: f.name
1786
- }, C(f.name), 9, N6),
1788
+ }, V(f.name), 9, W6),
1787
1789
  r(
1788
1790
  "p",
1789
- W6,
1790
- C((f.size / 1024).toFixed(2)) + "KB",
1791
+ K6,
1792
+ V((f.size / 1024).toFixed(2)) + "KB",
1791
1793
  1
1792
1794
  /* TEXT */
1793
1795
  )
1794
- ], 8, G6)
1796
+ ], 8, N6)
1795
1797
  ]),
1796
1798
  r("div", {
1797
1799
  class: "file-preview",
1798
1800
  onClick: (N) => s(f)
1799
1801
  }, [
1800
1802
  y(w(B), { name: "iksvg_yulan" }),
1801
- X6
1802
- ], 8, K6)
1803
+ Y6
1804
+ ], 8, X6)
1803
1805
  ],
1804
1806
  4
1805
1807
  /* STYLE */
@@ -1807,13 +1809,13 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1807
1809
  128
1808
1810
  /* KEYED_FRAGMENT */
1809
1811
  ))
1810
- ])) : V("v-if", !0),
1811
- e.fileType === "img" ? (c(), u("div", Y6, [
1812
+ ])) : x("v-if", !0),
1813
+ e.fileType === "img" ? (c(), u("div", Z6, [
1812
1814
  (c(!0), u(
1813
1815
  M,
1814
1816
  null,
1815
- H(i.value, (f, x) => (c(), u("div", {
1816
- key: x,
1817
+ H(i.value, (f, b) => (c(), u("div", {
1818
+ key: b,
1817
1819
  class: "preview-img"
1818
1820
  }, [
1819
1821
  y(v, {
@@ -1826,7 +1828,7 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1826
1828
  128
1827
1829
  /* KEYED_FRAGMENT */
1828
1830
  ))
1829
- ])) : V("v-if", !0),
1831
+ ])) : x("v-if", !0),
1830
1832
  y(w(g6), {
1831
1833
  modelValue: l.value,
1832
1834
  "onUpdate:modelValue": d[0] || (d[0] = (f) => l.value = f),
@@ -1839,8 +1841,8 @@ const U6 = /* @__PURE__ */ E(A6, [["__scopeId", "data-v-ea0a8f6d"]]), T6 = R(U6)
1839
1841
  };
1840
1842
  }
1841
1843
  });
1842
- const J6 = /* @__PURE__ */ E(Z6, [["__scopeId", "data-v-170abcfc"]]), te = R(J6);
1844
+ const Q6 = /* @__PURE__ */ E(J6, [["__scopeId", "data-v-170abcfc"]]), ne = R(Q6);
1843
1845
  export {
1844
- te as IKDetailPreviewFiles,
1845
- te as default
1846
+ ne as IKDetailPreviewFiles,
1847
+ ne as default
1846
1848
  };