iking-web-ui-pro 0.2.11 → 0.2.13

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.
Files changed (64) hide show
  1. package/dist/IKDetailPreviewFiles/ik.index.es.js +116 -111
  2. package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
  3. package/dist/IKDetailPreviewFiles/style.css +1 -1
  4. package/dist/IKExpandCollapse/ik.index.es.js +2 -2
  5. package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
  6. package/dist/IKExpandCollapse/style.css +1 -1
  7. package/dist/IKPreviewFile/ik.index.es.js +172 -167
  8. package/dist/IKPreviewFile/ik.index.umd.js +1 -1
  9. package/dist/IKPreviewFile/style.css +1 -1
  10. package/dist/IKVerticalStepBar/ik.index.es.js +2 -2
  11. package/dist/IKVerticalStepBar/ik.index.umd.js +1 -1
  12. package/dist/IKVerticalStepBar/style.css +1 -1
  13. package/dist/IkApprovalProcess/ik.index.es.js +194 -190
  14. package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
  15. package/dist/IkApprovalProcessDetail/ik.index.es.js +645 -636
  16. package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
  17. package/dist/IkApprovalProcessDetail/style.css +1 -1
  18. package/dist/IkBaseDialog/ik.index.es.js +2 -2
  19. package/dist/IkBaseDialog/ik.index.umd.js +1 -1
  20. package/dist/IkBaseDialog/style.css +1 -1
  21. package/dist/IkBtnSetting/ik.index.es.js +2 -2
  22. package/dist/IkBtnSetting/ik.index.umd.js +1 -1
  23. package/dist/IkBtnSetting/style.css +1 -1
  24. package/dist/IkCollapseCard/ik.index.es.js +2 -2
  25. package/dist/IkCollapseCard/ik.index.umd.js +1 -1
  26. package/dist/IkCollapseCard/style.css +1 -1
  27. package/dist/IkDescription/ik.index.es.js +329 -324
  28. package/dist/IkDescription/ik.index.umd.js +1 -1
  29. package/dist/IkDescription/style.css +1 -1
  30. package/dist/IkIconPicker/ik.index.es.js +2 -2
  31. package/dist/IkIconPicker/ik.index.umd.js +1 -1
  32. package/dist/IkIconPicker/style.css +1 -1
  33. package/dist/IkMonacoEditor/ik.index.es.js +2 -2
  34. package/dist/IkMonacoEditor/ik.index.umd.js +1 -1
  35. package/dist/IkMonacoEditor/style.css +1 -1
  36. package/dist/IkPageFull/ik.index.es.js +2 -2
  37. package/dist/IkPageFull/ik.index.umd.js +1 -1
  38. package/dist/IkPageFull/style.css +1 -1
  39. package/dist/IkPreviewFileDialog/ik.index.es.js +206 -203
  40. package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
  41. package/dist/IkPreviewFileDialog/style.css +1 -1
  42. package/dist/IkSchedule/ik.index.es.js +2 -2
  43. package/dist/IkSchedule/ik.index.umd.js +1 -1
  44. package/dist/IkSchedule/style.css +1 -1
  45. package/dist/IkSideText/ik.index.es.js +2 -2
  46. package/dist/IkSideText/ik.index.umd.js +1 -1
  47. package/dist/IkSideText/style.css +1 -1
  48. package/dist/IkSvgIcon/ik.index.es.js +8 -8
  49. package/dist/IkSvgIcon/ik.index.umd.js +1 -1
  50. package/dist/IkSvgIcon/style.css +1 -1
  51. package/dist/IkUploadFile/ik.index.es.js +112 -109
  52. package/dist/IkUploadFile/ik.index.umd.js +1 -1
  53. package/dist/IkUploadFile/style.css +1 -1
  54. package/dist/IkUploadImage/ik.index.es.js +84 -84
  55. package/dist/IkUploadImage/ik.index.umd.js +1 -1
  56. package/dist/IkUploadImage/style.css +1 -1
  57. package/dist/index.es.js +12672 -12663
  58. package/dist/index.umd.js +60 -60
  59. package/dist/src/components/IkMonacoEditor/src/editor-config.d.ts +1 -1
  60. package/dist/src/components/IkPlayer-beta/index.d.ts +76 -0
  61. package/dist/src/components/IkPlayer-beta/src/player.d.ts +19 -0
  62. package/dist/style.css +1 -1
  63. package/package.json +1 -1
  64. package/dist/src/components/IkPickerUser/src/list/utils.d.ts +0 -3
@@ -1,38 +1,38 @@
1
- import { inject as R, computed as m, defineComponent as F, mergeModels as X, useModel as Y, ref as D, reactive as J, watch as Q, nextTick as e3, resolveComponent as E, openBlock as r, createElementBlock as u, Fragment as O, createBlock as B, createCommentVNode as M, createVNode as k, unref as g, withCtx as S, createElementVNode as c, normalizeClass as z, normalizeStyle as x, createTextVNode as U, toDisplayString as $, h as t3, mergeProps as n3, createSlots as o3, renderSlot as I, renderList as N, withModifiers as W } from "vue";
1
+ import { inject as I, computed as m, defineComponent as F, mergeModels as Y, useModel as Z, ref as D, reactive as J, watch as Q, nextTick as e3, resolveComponent as E, openBlock as r, createElementBlock as u, Fragment as O, createBlock as R, createCommentVNode as V, createVNode as k, unref as g, withCtx as S, createElementVNode as c, normalizeClass as z, normalizeStyle as x, createTextVNode as U, toDisplayString as $, h as t3, mergeProps as o3, createSlots as n3, renderSlot as M, renderList as W, withModifiers as G } from "vue";
2
2
  import { buildUUID as i3, ikColor as s3, paramType as l3, ikFile as a3 } from "iking-utils-pro";
3
- const A = (t, n) => {
4
- if (t.install = (o) => {
5
- for (const e of [t, ...Object.values(n ?? {})])
6
- o.component(e.name, e);
7
- }, n)
8
- for (const [o, e] of Object.entries(n))
9
- t[o] = e;
3
+ const A = (t, o) => {
4
+ if (t.install = (n) => {
5
+ for (const e of [t, ...Object.values(o ?? {})])
6
+ n.component(e.name, e);
7
+ }, o)
8
+ for (const [n, e] of Object.entries(o))
9
+ t[n] = e;
10
10
  return t;
11
- }, j = (t, n) => {
12
- const o = t.__vccOpts || t;
13
- for (const [e, l] of n)
14
- o[e] = l;
15
- return o;
16
- }, c3 = (t, n = 2) => {
11
+ }, L = (t, o) => {
12
+ const n = t.__vccOpts || t;
13
+ for (const [e, l] of o)
14
+ n[e] = l;
15
+ return n;
16
+ }, c3 = (t, o = 2) => {
17
17
  if (t === void 0)
18
18
  return "";
19
19
  if (t === 0)
20
20
  return "0 B";
21
- const o = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
21
+ const n = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
22
22
  let l = t / Math.pow(1024, e);
23
- return (l % 1 === 0 ? l.toFixed(n || 0) : l.toFixed(n)) + " " + o[e];
24
- }, T = (t, n) => n ? n.startsWith("http") ? n : `${t || location.origin}${n}` : "", r3 = (t) => {
25
- const n = R("loadUrl"), o = m(() => t.loadUrl || (n == null ? void 0 : n.value)), e = R("uploadUrl"), l = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = R("token"), s = m(() => t.token || (i == null ? void 0 : i.value)), h = R("onlyofficeConfig"), f = m(() => t.onlyofficeConfig || (h == null ? void 0 : h.value)), a = R("userInfo"), p = m(() => t.userInfo || (a == null ? void 0 : a.value));
23
+ return (l % 1 === 0 ? l.toFixed(o || 0) : l.toFixed(o)) + " " + n[e];
24
+ }, T = (t, o) => o ? o.startsWith("http") ? o : `${t || location.origin}${o}` : "", r3 = (t) => {
25
+ const o = I("loadUrl"), n = m(() => t.loadUrl || t.fileUrl || (o == null ? void 0 : o.value)), e = I("uploadUrl"), l = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = I("token"), s = m(() => t.token || (i == null ? void 0 : i.value)), h = I("onlyofficeConfig"), f = m(() => t.onlyofficeConfig || (h == null ? void 0 : h.value)), a = I("userInfo"), p = m(() => t.userInfo || (a == null ? void 0 : a.value));
26
26
  return {
27
- cLoadUrl: o,
27
+ cLoadUrl: n,
28
28
  cUploadUrl: l,
29
29
  cToken: s,
30
30
  cOnlyofficeConfig: f,
31
31
  cUserInfo: p
32
32
  };
33
- }, d3 = r3, Z = (t, n) => {
33
+ }, d3 = r3, j = (t, o) => {
34
34
  var i, s, h, f;
35
- const o = (i = t == null ? void 0 : t.response) != null && i.data ? G((h = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : h.suffix) : ((f = t.raw) == null ? void 0 : f.type) || G(t[n.suffix]), e = o == null ? void 0 : o.toLowerCase(), l = {
35
+ const n = (i = t == null ? void 0 : t.response) != null && i.data ? K((h = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : h.suffix) : ((f = t.raw) == null ? void 0 : f.type) || K(t[o.suffix]), e = n == null ? void 0 : n.toLowerCase(), l = {
36
36
  sheet: "excel",
37
37
  excel: "excel",
38
38
  zip: "zip",
@@ -137,15 +137,15 @@ const A = (t, n) => {
137
137
  ".vob": "video",
138
138
  ".txt": "txt",
139
139
  ".pdf": "pdf"
140
- }, G = (t) => {
141
- const n = t == null ? void 0 : t.toLocaleLowerCase(), o = n != null && n.startsWith(".") ? n : `.${n}`;
142
- return o && u3[o] || "unknow";
140
+ }, K = (t) => {
141
+ const o = t == null ? void 0 : t.toLocaleLowerCase(), n = o != null && o.startsWith(".") ? o : `.${o}`;
142
+ return n && u3[n] || "unknow";
143
143
  }, v3 = (t) => {
144
- let n = "", o = ["doc", "docx"], e = ["xls", "xlsx"], l = ["ppt", "pptx"], i = ["pdf"];
145
- return o.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), l.includes(t) && (n = "slide"), i.includes(t) && (n = "text-pdf"), n;
144
+ let o = "", n = ["doc", "docx"], e = ["xls", "xlsx"], l = ["ppt", "pptx"], i = ["pdf"];
145
+ return n.includes(t) && (o = "word"), e.includes(t) && (o = "cell"), l.includes(t) && (o = "slide"), i.includes(t) && (o = "text-pdf"), o;
146
146
  }, h3 = /* @__PURE__ */ F({
147
147
  __name: "IkPreviewFileDialog",
148
- props: /* @__PURE__ */ X({
148
+ props: /* @__PURE__ */ Y({
149
149
  file: {
150
150
  type: Object,
151
151
  default: () => []
@@ -180,12 +180,12 @@ const A = (t, n) => {
180
180
  }),
181
181
  emits: ["update:show"],
182
182
  setup(t) {
183
- const n = t, o = Y(t, "show"), e = m(() => ({
183
+ const o = t, n = Z(t, "show"), e = m(() => ({
184
184
  name: "name",
185
185
  url: "url",
186
186
  suffix: "suffix",
187
187
  size: "fileSize",
188
- ...n.field
188
+ ...o.field
189
189
  })), l = D(null), i = D(null), s = J({
190
190
  image: !1,
191
191
  office: !1,
@@ -197,17 +197,20 @@ const A = (t, n) => {
197
197
  if (i.value = {
198
198
  ...a,
199
199
  name: a[e.value.name],
200
- url: T(n.loadUrl, b)
201
- }, a && Z(a, e.value) === "image") {
200
+ url: T(o.loadUrl, b)
201
+ }, a && j(a, e.value) === "image") {
202
202
  s.image = !0;
203
203
  return;
204
- } else if ((((w = n.onlyOfficeConfig) == null ? void 0 : w.accept) || n.onlyOfficeAccept).includes(C)) {
204
+ } else if (a && j(a, e.value) === "video") {
205
+ s.video = !0, console.log("modal.video = true;", s.video);
206
+ return;
207
+ } else if ((((w = o.onlyOfficeConfig) == null ? void 0 : w.accept) || o.onlyOfficeAccept).includes(C)) {
205
208
  s.office = !0, l.value = {
206
- ...n.onlyOfficeConfig,
209
+ ...o.onlyOfficeConfig,
207
210
  editorConfig: {
208
- ...((y = n.onlyOfficeConfig) == null ? void 0 : y.editorConfig) || {},
211
+ ...((y = o.onlyOfficeConfig) == null ? void 0 : y.editorConfig) || {},
209
212
  customization: {
210
- ...((H = (_ = n.onlyOfficeConfig) == null ? void 0 : _.editorConfig) == null ? void 0 : H.customization) || {},
213
+ ...((H = (_ = o.onlyOfficeConfig) == null ? void 0 : _.editorConfig) == null ? void 0 : H.customization) || {},
211
214
  review: {
212
215
  reviewDisplay: "final"
213
216
  }
@@ -216,9 +219,9 @@ const A = (t, n) => {
216
219
  document: {
217
220
  key: i3(),
218
221
  title: P,
219
- url: T(n.loadUrl, b),
222
+ url: T(o.loadUrl, b),
220
223
  fileType: C,
221
- ...((q = n.onlyOfficeConfig) == null ? void 0 : q.document) || {}
224
+ ...((q = o.onlyOfficeConfig) == null ? void 0 : q.document) || {}
222
225
  },
223
226
  documentType: v3(C)
224
227
  };
@@ -228,30 +231,30 @@ const A = (t, n) => {
228
231
  console.info("预览错误: ", v);
229
232
  }
230
233
  };
231
- Q([o, n.file], ([a, p]) => {
234
+ Q([n, o.file], ([a, p]) => {
232
235
  a && e3(() => {
233
- h(n.file);
236
+ h(o.file);
234
237
  });
235
238
  });
236
239
  const f = () => {
237
- o.value = !1, s.office = !1, s.image = !1, s.video = !1;
240
+ n.value = !1, s.office = !1, s.image = !1, s.video = !1, i.value = null;
238
241
  };
239
242
  return (a, p) => {
240
243
  var w, y;
241
244
  const d = E("el-image-viewer");
242
- return o.value ? (r(), u(
245
+ return n.value ? (r(), u(
243
246
  O,
244
247
  { key: 0 },
245
248
  [
246
- (w = i.value) != null && w.url && s.image ? (r(), B(d, {
249
+ (w = i.value) != null && w.url && s.image ? (r(), R(d, {
247
250
  key: 0,
248
- onClose: p[0] || (p[0] = (_) => {
249
- i.value = null, s.image = !1;
250
- }),
251
+ onClose: p[0] || (p[0] = (_) => f()),
251
252
  ref: "previewImgRef",
252
- "url-list": [(y = i.value) == null ? void 0 : y.url]
253
- }, null, 8, ["url-list"])) : M("v-if", !0),
254
- M(" 文档类 "),
253
+ "url-list": [(y = i.value) == null ? void 0 : y.url],
254
+ teleported: ""
255
+ }, null, 8, ["url-list"])) : V("v-if", !0),
256
+ V(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
257
+ V(" 文档类 "),
255
258
  k(g(I6), {
256
259
  modelValue: s.office,
257
260
  "onUpdate:modelValue": p[1] || (p[1] = (_) => s.office = _),
@@ -282,7 +285,7 @@ const A = (t, n) => {
282
285
  ],
283
286
  64
284
287
  /* STABLE_FRAGMENT */
285
- )) : M("v-if", !0);
288
+ )) : V("v-if", !0);
286
289
  };
287
290
  }
288
291
  });
@@ -637,7 +640,7 @@ const p3 = A(h3), f3 = {
637
640
  null,
638
641
  -1
639
642
  /* HOISTED */
640
- ), n6 = /* @__PURE__ */ c(
643
+ ), o6 = /* @__PURE__ */ c(
641
644
  "path",
642
645
  {
643
646
  d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
@@ -647,7 +650,7 @@ const p3 = A(h3), f3 = {
647
650
  null,
648
651
  -1
649
652
  /* HOISTED */
650
- ), o6 = /* @__PURE__ */ c(
653
+ ), n6 = /* @__PURE__ */ c(
651
654
  "path",
652
655
  {
653
656
  d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
@@ -670,8 +673,8 @@ const p3 = A(h3), f3 = {
670
673
  /* HOISTED */
671
674
  ), s6 = [
672
675
  t6,
673
- n6,
674
676
  o6,
677
+ n6,
675
678
  i6
676
679
  ], l6 = {
677
680
  key: 10,
@@ -783,12 +786,12 @@ const p3 = A(h3), f3 = {
783
786
  }
784
787
  },
785
788
  setup(t) {
786
- const n = t, o = m(() => n.file ? Z(n.file, n.fields) : n.type);
787
- return (e, l) => o.value === "image" ? (r(), u("svg", f3, y3)) : o.value === "zip" ? (r(), u("svg", k3, F3)) : o.value === "ppt" ? (r(), u("svg", b3, V3)) : o.value === "word" ? (r(), u("svg", B3, M3)) : o.value === "pdf" ? (r(), u("svg", $3, q3)) : o.value === "txt" ? (r(), u("svg", O3, T3)) : o.value === "audio" ? (r(), u("svg", P3, L3)) : o.value === "video" ? (r(), u("svg", N3, K3)) : o.value === "excel" ? (r(), u("svg", X3, Q3)) : o.value === "exe" ? (r(), u("svg", e6, s6)) : o.value === "json" ? (r(), u("svg", l6, d6)) : (r(), u("svg", u6, f6));
789
+ const o = t, n = m(() => o.file ? j(o.file, o.fields) : o.type);
790
+ return (e, l) => n.value === "image" ? (r(), u("svg", f3, y3)) : n.value === "zip" ? (r(), u("svg", k3, F3)) : n.value === "ppt" ? (r(), u("svg", b3, V3)) : n.value === "word" ? (r(), u("svg", B3, M3)) : n.value === "pdf" ? (r(), u("svg", $3, q3)) : n.value === "txt" ? (r(), u("svg", O3, T3)) : n.value === "audio" ? (r(), u("svg", P3, L3)) : n.value === "video" ? (r(), u("svg", N3, K3)) : n.value === "excel" ? (r(), u("svg", X3, Q3)) : n.value === "exe" ? (r(), u("svg", e6, s6)) : n.value === "json" ? (r(), u("svg", l6, d6)) : (r(), u("svg", u6, f6));
788
791
  }
789
792
  }), m6 = {
790
793
  key: 0,
791
- class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
794
+ class: "ik-svg-icon ik-icon-span inline-block inline-flex justify-center box-content line-height-[0]"
792
795
  }, w6 = {
793
796
  key: 1,
794
797
  class: "h-[1em] w-[1em]",
@@ -824,9 +827,9 @@ const p3 = A(h3), f3 = {
824
827
  tableIconType: {}
825
828
  },
826
829
  setup(t) {
827
- const n = t, o = R("iconConfig"), e = m(() => ({
828
- ...(o == null ? void 0 : o.value) || {},
829
- ...n
830
+ const o = t, n = I("iconConfig"), e = m(() => ({
831
+ ...(n == null ? void 0 : n.value) || {},
832
+ ...o
830
833
  })), l = m(() => {
831
834
  const { name: s } = e.value;
832
835
  return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
@@ -880,7 +883,7 @@ const p3 = A(h3), f3 = {
880
883
  style: x(i.value)
881
884
  },
882
885
  [
883
- M(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
886
+ V(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
884
887
  l.value === "iksig" ? (r(), u(
885
888
  "i",
886
889
  {
@@ -913,7 +916,7 @@ const p3 = A(h3), f3 = {
913
916
  ],
914
917
  6
915
918
  /* CLASS, STYLE */
916
- )) : (r(), B(f, {
919
+ )) : (r(), R(f, {
917
920
  key: 1,
918
921
  content: e.value.title,
919
922
  placement: "top"
@@ -974,7 +977,7 @@ const p3 = A(h3), f3 = {
974
977
  _: 1
975
978
  /* STABLE */
976
979
  }, 8, ["content"]))
977
- ])) : (r(), B(a, {
980
+ ])) : (r(), R(a, {
978
981
  key: 1,
979
982
  type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
980
983
  }, {
@@ -991,7 +994,7 @@ const p3 = A(h3), f3 = {
991
994
  };
992
995
  }
993
996
  });
994
- const b6 = /* @__PURE__ */ j(F6, [["__scopeId", "data-v-7729b79a"]]), V = A(b6), C6 = {
997
+ const b6 = /* @__PURE__ */ L(F6, [["__scopeId", "data-v-76d7e119"]]), B = A(b6), C6 = {
995
998
  key: 0,
996
999
  class: "exit-main-page-maximize"
997
1000
  }, S6 = /* @__PURE__ */ F({
@@ -1007,15 +1010,15 @@ const b6 = /* @__PURE__ */ j(F6, [["__scopeId", "data-v-7729b79a"]]), V = A(b6),
1007
1010
  }
1008
1011
  },
1009
1012
  setup(t) {
1010
- return (n, o) => (r(), u("div", null, [
1013
+ return (o, n) => (r(), u("div", null, [
1011
1014
  t.showBg && t.fullscreen ? (r(), u("div", C6, [
1012
- k(g(V), {
1015
+ k(g(B), {
1013
1016
  name: "iksvg_guanbidanchuang",
1014
1017
  title: "关闭",
1015
1018
  size: 20,
1016
1019
  error: ""
1017
1020
  })
1018
- ])) : (r(), B(g(V), {
1021
+ ])) : (r(), R(g(B), {
1019
1022
  key: 1,
1020
1023
  error: "",
1021
1024
  name: "iksvg_guanbidanchuang",
@@ -1025,9 +1028,9 @@ const b6 = /* @__PURE__ */ j(F6, [["__scopeId", "data-v-7729b79a"]]), V = A(b6),
1025
1028
  ]));
1026
1029
  }
1027
1030
  });
1028
- const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { class: "base-header" }, R6 = /* @__PURE__ */ F({
1031
+ const V6 = /* @__PURE__ */ L(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { class: "base-header" }, R6 = /* @__PURE__ */ F({
1029
1032
  __name: "IkBaseDialog",
1030
- props: /* @__PURE__ */ X({
1033
+ props: /* @__PURE__ */ Y({
1031
1034
  title: { default: "" },
1032
1035
  cancelText: { default: "取消" },
1033
1036
  confirmText: { default: "确认" },
@@ -1046,29 +1049,29 @@ const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { cla
1046
1049
  }),
1047
1050
  emits: ["update:modelValue"],
1048
1051
  setup(t) {
1049
- const n = t, o = Y(t, "modelValue"), e = D(n.fullscreen), l = () => {
1052
+ const o = t, n = Z(t, "modelValue"), e = D(o.fullscreen), l = () => {
1050
1053
  e.value = !e.value;
1051
1054
  }, i = F({
1052
1055
  setup() {
1053
1056
  return () => t3(V6, {
1054
- showBg: n.showCloseBg,
1055
- fullscreen: n.fullscreen
1057
+ showBg: o.showCloseBg,
1058
+ fullscreen: o.fullscreen
1056
1059
  });
1057
1060
  }
1058
1061
  });
1059
1062
  return (s, h) => {
1060
1063
  const f = E("el-dialog");
1061
- return r(), B(f, n3({
1062
- modelValue: o.value,
1063
- "onUpdate:modelValue": h[0] || (h[0] = (a) => o.value = a)
1064
+ return r(), R(f, o3({
1065
+ modelValue: n.value,
1066
+ "onUpdate:modelValue": h[0] || (h[0] = (a) => n.value = a)
1064
1067
  }, s.$attrs, {
1065
1068
  "close-icon": g(i),
1066
1069
  class: `ik-base-dialog ${s.noHeader ? "no-header" : ""} ${s.noFooter ? "no-footer" : ""}`,
1067
1070
  fullscreen: e.value,
1068
1071
  "modal-class": "baseDialog"
1069
- }), o3({
1072
+ }), n3({
1070
1073
  icon: S(() => [
1071
- I(s.$slots, "title", {}, () => [
1074
+ M(s.$slots, "title", {}, () => [
1072
1075
  U(
1073
1076
  $(s.title),
1074
1077
  1
@@ -1078,7 +1081,7 @@ const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { cla
1078
1081
  ]),
1079
1082
  header: S(() => [
1080
1083
  c("div", B6, [
1081
- I(s.$slots, "header", {}, () => [
1084
+ M(s.$slots, "header", {}, () => [
1082
1085
  U(
1083
1086
  $(s.title),
1084
1087
  1
@@ -1086,16 +1089,16 @@ const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { cla
1086
1089
  )
1087
1090
  ])
1088
1091
  ]),
1089
- s.$attrs.showClose ? (r(), B(g(V), {
1092
+ s.$attrs.showClose ? (r(), R(g(B), {
1090
1093
  key: 0,
1091
1094
  onClick: l,
1092
1095
  name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
1093
1096
  class: "absolute! top-[18px] right-[50px] icon-dialog-full",
1094
1097
  title: e.value ? "退出全屏" : "全屏"
1095
- }, null, 8, ["name", "title"])) : M("v-if", !0)
1098
+ }, null, 8, ["name", "title"])) : V("v-if", !0)
1096
1099
  ]),
1097
1100
  default: S(() => [
1098
- I(s.$slots, "default")
1101
+ M(s.$slots, "default")
1099
1102
  ]),
1100
1103
  _: 2
1101
1104
  /* DYNAMIC */
@@ -1103,7 +1106,7 @@ const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { cla
1103
1106
  s.$slots.footer ? {
1104
1107
  name: "footer",
1105
1108
  fn: S(() => [
1106
- I(s.$slots, "footer")
1109
+ M(s.$slots, "footer")
1107
1110
  ]),
1108
1111
  key: "0"
1109
1112
  } : void 0
@@ -1112,13 +1115,13 @@ const V6 = /* @__PURE__ */ j(S6, [["__scopeId", "data-v-79f49df8"]]), B6 = { cla
1112
1115
  }
1113
1116
  });
1114
1117
  const I6 = A(R6);
1115
- function M6(t, n, o, e) {
1118
+ function M6(t, o, n, e) {
1116
1119
  function l(i) {
1117
- return i instanceof o ? i : new o(function(s) {
1120
+ return i instanceof n ? i : new n(function(s) {
1118
1121
  s(i);
1119
1122
  });
1120
1123
  }
1121
- return new (o || (o = Promise))(function(i, s) {
1124
+ return new (n || (n = Promise))(function(i, s) {
1122
1125
  function h(p) {
1123
1126
  try {
1124
1127
  a(e.next(p));
@@ -1136,11 +1139,11 @@ function M6(t, n, o, e) {
1136
1139
  function a(p) {
1137
1140
  p.done ? i(p.value) : l(p.value).then(h, f);
1138
1141
  }
1139
- a((e = e.apply(t, n || [])).next());
1142
+ a((e = e.apply(t, o || [])).next());
1140
1143
  });
1141
1144
  }
1142
- function $6(t, n) {
1143
- var o = { label: 0, sent: function() {
1145
+ function $6(t, o) {
1146
+ var n = { label: 0, sent: function() {
1144
1147
  if (i[0] & 1)
1145
1148
  throw i[1];
1146
1149
  return i[1];
@@ -1156,7 +1159,7 @@ function $6(t, n) {
1156
1159
  function f(a) {
1157
1160
  if (e)
1158
1161
  throw new TypeError("Generator is already executing.");
1159
- for (; s && (s = 0, a[0] && (o = 0)), o; )
1162
+ for (; s && (s = 0, a[0] && (n = 0)), n; )
1160
1163
  try {
1161
1164
  if (e = 1, l && (i = a[0] & 2 ? l.return : a[0] ? l.throw || ((i = l.return) && i.call(l), 0) : l.next) && !(i = i.call(l, a[1])).done)
1162
1165
  return i;
@@ -1166,34 +1169,34 @@ function $6(t, n) {
1166
1169
  i = a;
1167
1170
  break;
1168
1171
  case 4:
1169
- return o.label++, { value: a[1], done: !1 };
1172
+ return n.label++, { value: a[1], done: !1 };
1170
1173
  case 5:
1171
- o.label++, l = a[1], a = [0];
1174
+ n.label++, l = a[1], a = [0];
1172
1175
  continue;
1173
1176
  case 7:
1174
- a = o.ops.pop(), o.trys.pop();
1177
+ a = n.ops.pop(), n.trys.pop();
1175
1178
  continue;
1176
1179
  default:
1177
- if (i = o.trys, !(i = i.length > 0 && i[i.length - 1]) && (a[0] === 6 || a[0] === 2)) {
1178
- o = 0;
1180
+ if (i = n.trys, !(i = i.length > 0 && i[i.length - 1]) && (a[0] === 6 || a[0] === 2)) {
1181
+ n = 0;
1179
1182
  continue;
1180
1183
  }
1181
1184
  if (a[0] === 3 && (!i || a[1] > i[0] && a[1] < i[3])) {
1182
- o.label = a[1];
1185
+ n.label = a[1];
1183
1186
  break;
1184
1187
  }
1185
- if (a[0] === 6 && o.label < i[1]) {
1186
- o.label = i[1], i = a;
1188
+ if (a[0] === 6 && n.label < i[1]) {
1189
+ n.label = i[1], i = a;
1187
1190
  break;
1188
1191
  }
1189
- if (i && o.label < i[2]) {
1190
- o.label = i[2], o.ops.push(a);
1192
+ if (i && n.label < i[2]) {
1193
+ n.label = i[2], n.ops.push(a);
1191
1194
  break;
1192
1195
  }
1193
- i[2] && o.ops.pop(), o.trys.pop();
1196
+ i[2] && n.ops.pop(), n.trys.pop();
1194
1197
  continue;
1195
1198
  }
1196
- a = n.call(t, o);
1199
+ a = o.call(t, n);
1197
1200
  } catch (p) {
1198
1201
  a = [6, p], l = 0;
1199
1202
  } finally {
@@ -1204,26 +1207,26 @@ function $6(t, n) {
1204
1207
  return { value: a[0] ? a[1] : void 0, done: !0 };
1205
1208
  }
1206
1209
  }
1207
- var D6 = function(t, n) {
1210
+ var D6 = function(t, o) {
1208
1211
  return M6(void 0, void 0, void 0, function() {
1209
- return $6(this, function(o) {
1212
+ return $6(this, function(n) {
1210
1213
  return [2, new Promise(function(e, l) {
1211
1214
  try {
1212
1215
  if (window.DocsAPI)
1213
1216
  return e(null);
1214
- var i = document.getElementById(n);
1217
+ var i = document.getElementById(o);
1215
1218
  if (i)
1216
1219
  var s = setInterval(function() {
1217
1220
  var f = i.getAttribute("loading");
1218
1221
  if (!f) {
1219
1222
  if (clearInterval(s), window.DocsAPI)
1220
1223
  return e(null);
1221
- var a = K(n, t, e, l);
1224
+ var a = X(o, t, e, l);
1222
1225
  i.remove(), document.body.appendChild(a);
1223
1226
  }
1224
1227
  }, 500);
1225
1228
  else {
1226
- var h = K(n, t, e, l);
1229
+ var h = X(o, t, e, l);
1227
1230
  document.body.appendChild(h);
1228
1231
  }
1229
1232
  } catch (f) {
@@ -1232,14 +1235,14 @@ var D6 = function(t, n) {
1232
1235
  })];
1233
1236
  });
1234
1237
  });
1235
- }, K = function(t, n, o, e) {
1238
+ }, X = function(t, o, n, e) {
1236
1239
  var l = document.createElement("script");
1237
- return l.id = t, l.type = "text/javascript", l.src = n, l.async = !0, l.onload = function() {
1238
- l.removeAttribute("loading"), o(null);
1240
+ return l.id = t, l.type = "text/javascript", l.src = o, l.async = !0, l.onload = function() {
1241
+ l.removeAttribute("loading"), n(null);
1239
1242
  }, l.onerror = function(i) {
1240
1243
  l.removeAttribute("loading"), e(i);
1241
1244
  }, l.setAttribute("loading", ""), l;
1242
- }, L = F({
1245
+ }, N = F({
1243
1246
  name: "DocumentEditor",
1244
1247
  props: {
1245
1248
  id: {
@@ -1291,58 +1294,58 @@ var D6 = function(t, n) {
1291
1294
  events_onRequestSelectDocument: Function
1292
1295
  },
1293
1296
  mounted: function() {
1294
- var t = this, n = this.documentServerUrl;
1295
- n.endsWith("/") || (n += "/");
1296
- var o = "".concat(n, "web-apps/apps/api/documents/api.js");
1297
- D6(o, "onlyoffice-api-script").then(function() {
1297
+ var t = this, o = this.documentServerUrl;
1298
+ o.endsWith("/") || (o += "/");
1299
+ var n = "".concat(o, "web-apps/apps/api/documents/api.js");
1300
+ D6(n, "onlyoffice-api-script").then(function() {
1298
1301
  return t.onLoad();
1299
1302
  }).catch(function() {
1300
1303
  t.onError(-2);
1301
1304
  });
1302
1305
  },
1303
1306
  unmounted: function() {
1304
- var t, n = this.id || "";
1305
- !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0);
1307
+ var t, o = this.id || "";
1308
+ !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[o] && (window.DocEditor.instances[o].destroyEditor(), window.DocEditor.instances[o] = void 0);
1306
1309
  },
1307
1310
  watch: {
1308
1311
  config: {
1309
- handler: function(t, n) {
1312
+ handler: function(t, o) {
1310
1313
  this.onChangeProps();
1311
1314
  },
1312
1315
  deep: !0
1313
1316
  },
1314
- document_fileType: function(t, n) {
1317
+ document_fileType: function(t, o) {
1315
1318
  this.onChangeProps();
1316
1319
  },
1317
- document_title: function(t, n) {
1320
+ document_title: function(t, o) {
1318
1321
  this.onChangeProps();
1319
1322
  },
1320
- documentType: function(t, n) {
1323
+ documentType: function(t, o) {
1321
1324
  this.onChangeProps();
1322
1325
  },
1323
- editorConfig_lang: function(t, n) {
1326
+ editorConfig_lang: function(t, o) {
1324
1327
  this.onChangeProps();
1325
1328
  },
1326
- height: function(t, n) {
1329
+ height: function(t, o) {
1327
1330
  this.onChangeProps();
1328
1331
  },
1329
- type: function(t, n) {
1332
+ type: function(t, o) {
1330
1333
  this.onChangeProps();
1331
1334
  },
1332
- width: function(t, n) {
1335
+ width: function(t, o) {
1333
1336
  this.onChangeProps();
1334
1337
  }
1335
1338
  },
1336
1339
  methods: {
1337
1340
  onLoad: function() {
1338
- var t, n;
1341
+ var t, o;
1339
1342
  try {
1340
- var o = this.id || "";
1341
- if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[o]) {
1342
- console.log("Skip loading. Instance already exists", o);
1343
+ var n = this.id || "";
1344
+ if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n]) {
1345
+ console.log("Skip loading. Instance already exists", n);
1343
1346
  return;
1344
1347
  }
1345
- !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances || (window.DocEditor = { instances: {} });
1348
+ !((o = window == null ? void 0 : window.DocEditor) === null || o === void 0) && o.instances || (window.DocEditor = { instances: {} });
1346
1349
  var e = Object.assign({
1347
1350
  document: {
1348
1351
  fileType: this.document_fileType,
@@ -1378,42 +1381,42 @@ var D6 = function(t, n) {
1378
1381
  height: this.height,
1379
1382
  type: this.type,
1380
1383
  width: this.width
1381
- }, this.config || {}), l = window.DocsAPI.DocEditor(o, e);
1382
- window.DocEditor.instances[o] = l;
1384
+ }, this.config || {}), l = window.DocsAPI.DocEditor(n, e);
1385
+ window.DocEditor.instances[n] = l;
1383
1386
  } catch (i) {
1384
1387
  console.error(i), this.onError(-1);
1385
1388
  }
1386
1389
  },
1387
1390
  onError: function(t) {
1388
- var n;
1391
+ var o;
1389
1392
  switch (t) {
1390
1393
  case -2:
1391
- n = "Error load DocsAPI from " + this.documentServerUrl;
1394
+ o = "Error load DocsAPI from " + this.documentServerUrl;
1392
1395
  break;
1393
1396
  case -3:
1394
- n = "DocsAPI is not defined";
1397
+ o = "DocsAPI is not defined";
1395
1398
  break;
1396
1399
  default:
1397
- n = "Unknown error loading component", t = -1;
1400
+ o = "Unknown error loading component", t = -1;
1398
1401
  }
1399
- typeof this.onLoadComponentError > "u" ? console.error(n) : this.onLoadComponentError(t, n);
1402
+ typeof this.onLoadComponentError > "u" ? console.error(o) : this.onLoadComponentError(t, o);
1400
1403
  },
1401
1404
  onAppReady: function() {
1402
1405
  var t = this.id || "";
1403
1406
  this.events_onAppReady(window.DocEditor.instances[t]);
1404
1407
  },
1405
1408
  onChangeProps: function() {
1406
- var t, n = this.id || "";
1407
- !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
1409
+ var t, o = this.id || "";
1410
+ !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[o] && (window.DocEditor.instances[o].destroyEditor(), window.DocEditor.instances[o] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
1408
1411
  }
1409
1412
  }
1410
1413
  });
1411
1414
  const H6 = ["id"];
1412
- function q6(t, n, o, e, l, i) {
1415
+ function q6(t, o, n, e, l, i) {
1413
1416
  return r(), u("div", { id: t.id }, null, 8, H6);
1414
1417
  }
1415
- L.render = q6;
1416
- L.__file = "src/components/DocumentEditor.vue";
1418
+ N.render = q6;
1419
+ N.__file = "src/components/DocumentEditor.vue";
1417
1420
  const O6 = /* @__PURE__ */ F({
1418
1421
  __name: "IkOnlyOffice",
1419
1422
  props: {
@@ -1435,25 +1438,25 @@ const O6 = /* @__PURE__ */ F({
1435
1438
  }
1436
1439
  },
1437
1440
  setup(t) {
1438
- const n = t, o = D({
1441
+ const o = t, n = D({
1439
1442
  width: "100%",
1440
1443
  height: "100%",
1441
- ...n.configOptions || {},
1442
- ...n.configOptions
1444
+ ...o.configOptions || {},
1445
+ ...o.configOptions
1443
1446
  }), e = () => {
1444
- console.info("文档加载完成", n.configOptions);
1447
+ console.info("文档加载完成", o.configOptions);
1445
1448
  };
1446
1449
  return (l, i) => (r(), u(
1447
1450
  "div",
1448
1451
  {
1449
- style: x({ height: n.officeHeight })
1452
+ style: x({ height: o.officeHeight })
1450
1453
  },
1451
1454
  [
1452
- k(g(L), {
1455
+ k(g(N), {
1453
1456
  id: `${(/* @__PURE__ */ new Date()).getTime()}`,
1454
1457
  ref: "editorRef",
1455
1458
  "document-server-url": t.documentServerUrl,
1456
- config: o.value,
1459
+ config: n.value,
1457
1460
  events_onDocumentReady: e
1458
1461
  }, null, 8, ["id", "document-server-url", "config"])
1459
1462
  ],
@@ -1462,7 +1465,7 @@ const O6 = /* @__PURE__ */ F({
1462
1465
  ));
1463
1466
  }
1464
1467
  });
1465
- const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6), T6 = ["onClick"], P6 = { class: "fileName simple" }, U6 = ["onClick"], j6 = { class: "text" }, L6 = { class: "fileName" }, N6 = { class: "size" }, W6 = /* @__PURE__ */ F({
1468
+ const E6 = /* @__PURE__ */ L(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6), T6 = ["onClick"], P6 = { class: "fileName simple" }, U6 = ["onClick"], j6 = { class: "text" }, L6 = { class: "fileName" }, N6 = { class: "size" }, W6 = /* @__PURE__ */ F({
1466
1469
  __name: "IkPreviewFile",
1467
1470
  props: {
1468
1471
  list: {
@@ -1537,31 +1540,31 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1537
1540
  }
1538
1541
  },
1539
1542
  setup(t) {
1540
- const n = t, { cLoadUrl: o, cOnlyofficeConfig: e } = d3(n), l = m(() => ({
1543
+ const o = t, { cLoadUrl: n, cOnlyofficeConfig: e } = d3(o), l = m(() => ({
1541
1544
  name: "name",
1542
1545
  url: "url",
1543
1546
  suffix: "suffix",
1544
1547
  size: "size",
1545
- ...n.field
1548
+ ...o.field
1546
1549
  })), i = D({}), s = D(!1), h = (d) => {
1547
1550
  var w, y;
1548
1551
  i.value = {
1549
1552
  ...d,
1550
1553
  name: d.name,
1551
1554
  url: T(
1552
- o.value,
1555
+ n.value,
1553
1556
  d.url || ((y = (w = d == null ? void 0 : d.response) == null ? void 0 : w.data) == null ? void 0 : y.id) || (d == null ? void 0 : d.id)
1554
1557
  )
1555
1558
  }, s.value = !0;
1556
1559
  }, f = (d) => {
1557
1560
  a3.downloadFile(
1558
1561
  T(
1559
- o.value,
1562
+ n.value,
1560
1563
  d[l.value.url] || d.attachmentId || d.id
1561
1564
  ),
1562
1565
  d[l.value.name] || d.attachmentName
1563
1566
  );
1564
- }, a = m(() => l3.isNumber(n.width) ? `${n.width}px` : n.width), p = m(() => n.list.map((d) => ({
1567
+ }, a = m(() => l3.isNumber(o.width) ? `${o.width}px` : o.width), p = m(() => o.list.map((d) => ({
1565
1568
  ...d,
1566
1569
  name: d[l.value.name] || d.attachmentName,
1567
1570
  size: d[l.value.size] || d.fileSize || d.attachmentSize,
@@ -1581,7 +1584,7 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1581
1584
  t.simple ? (r(!0), u(
1582
1585
  O,
1583
1586
  { key: 0 },
1584
- N(p.value, (v, b) => (r(), u("div", {
1587
+ W(p.value, (v, b) => (r(), u("div", {
1585
1588
  class: "iking-privew-annex simple",
1586
1589
  onClick: (C) => h(v),
1587
1590
  style: x({ width: a.value })
@@ -1599,18 +1602,18 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1599
1602
  class: z(["flex flex-center", { "hover-show": t.iconHoverShow }])
1600
1603
  },
1601
1604
  [
1602
- k(g(V), {
1605
+ k(g(B), {
1603
1606
  name: "iksvg_daochu",
1604
- onClick: W((C) => f(v), ["stop"]),
1607
+ onClick: G((C) => f(v), ["stop"]),
1605
1608
  size: 20,
1606
1609
  active: ""
1607
1610
  }, null, 8, ["onClick"]),
1608
- k(g(V), {
1611
+ k(g(B), {
1609
1612
  name: "iksvg_yulan",
1610
1613
  size: 20,
1611
1614
  active: ""
1612
1615
  }),
1613
- I(d.$slots, "operation", {
1616
+ M(d.$slots, "operation", {
1614
1617
  data: { ...v, findex: b }
1615
1618
  })
1616
1619
  ],
@@ -1620,12 +1623,12 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1620
1623
  ], 12, T6))),
1621
1624
  256
1622
1625
  /* UNKEYED_FRAGMENT */
1623
- )) : (r(), B(y, { key: 1 }, {
1626
+ )) : (r(), R(y, { key: 1 }, {
1624
1627
  default: S(() => [
1625
1628
  (r(!0), u(
1626
1629
  O,
1627
1630
  null,
1628
- N(p.value, (v, b) => {
1631
+ W(p.value, (v, b) => {
1629
1632
  var C;
1630
1633
  return r(), u(
1631
1634
  "div",
@@ -1670,18 +1673,20 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1670
1673
  class: z(["flex flex-center", { "hover-show": t.iconHoverShow }])
1671
1674
  },
1672
1675
  [
1673
- k(g(V), {
1676
+ k(g(B), {
1674
1677
  name: "iksvg_daochu",
1675
- onClick: W((P) => f(v), ["stop"]),
1678
+ onClick: G((P) => f(v), ["stop"]),
1676
1679
  bg: t.showBg,
1677
- size: t.showBg ? "default" : 20
1680
+ size: t.showBg ? "default" : 20,
1681
+ title: "下载"
1678
1682
  }, null, 8, ["onClick", "bg", "size"]),
1679
- k(g(V), {
1683
+ k(g(B), {
1680
1684
  name: "iksvg_yulan",
1681
1685
  bg: t.showBg,
1682
- size: t.showBg ? "default" : 20
1686
+ size: t.showBg ? "default" : 20,
1687
+ title: "预览"
1683
1688
  }, null, 8, ["bg", "size"]),
1684
- I(d.$slots, "operation", {
1689
+ M(d.$slots, "operation", {
1685
1690
  data: { ...v, findex: b }
1686
1691
  })
1687
1692
  ],
@@ -1704,11 +1709,11 @@ const E6 = /* @__PURE__ */ j(O6, [["__scopeId", "data-v-98d51ef9"]]), A6 = A(E6)
1704
1709
  ],
1705
1710
  64
1706
1711
  /* STABLE_FRAGMENT */
1707
- )) : M("v-if", !0),
1712
+ )) : V("v-if", !0),
1708
1713
  k(g(p3), {
1709
1714
  show: s.value,
1710
1715
  "onUpdate:show": w[0] || (w[0] = (v) => s.value = v),
1711
- loadUrl: g(o),
1716
+ loadUrl: g(n),
1712
1717
  file: i.value,
1713
1718
  onlyofficeServer: ((H = g(e)) == null ? void 0 : H.serverUrl) || t.onlyofficeServer,
1714
1719
  onlyOfficeConfig: g(e),