iking-web-ui-pro 0.1.60 → 0.1.62
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.
- package/dist/IKDetailPreviewFiles/ik.index.es.js +67 -65
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +57 -55
- package/dist/IKPreviewFile/ik.index.umd.js +2 -2
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +5 -3
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +5 -5
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +9 -7
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +44 -42
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +55 -53
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +8 -6
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as Q, computed as ue, openBlock as h, createElementBlock as g, createElementVNode as f, createVNode as M, unref as $, createBlock as pe, mergeModels as Fn, useModel as Rn, ref as z, resolveComponent as
|
|
1
|
+
import { defineComponent as Q, computed as ue, openBlock as h, createElementBlock as g, createElementVNode as f, createVNode as M, unref as $, createBlock as pe, mergeModels as Fn, useModel as Rn, ref as z, resolveComponent as Oe, mergeProps as $n, createSlots as Dn, withCtx as te, renderSlot as me, createTextVNode as Rt, toDisplayString as he, createCommentVNode as q, normalizeStyle as k, reactive as In, Fragment as Be, renderList as et, normalizeClass as G, withModifiers as zn, withDirectives as kn, nextTick as Mn, watch as Tn, pushScopeId as Pn, popScopeId as An } from "vue";
|
|
2
2
|
import { paramType as Hn, buildUUID as Bn, ikFile as jn, ikColor as Un, ikUrl as Ln } from "iking-utils-pro";
|
|
3
3
|
import { ElDialog as qn, vLoading as Kn } from "element-plus";
|
|
4
4
|
const dt = (e, t) => {
|
|
@@ -357,7 +357,7 @@ const Yn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
357
357
|
"p-id": "8602",
|
|
358
358
|
width: "200",
|
|
359
359
|
height: "200"
|
|
360
|
-
},
|
|
360
|
+
}, Oo = /* @__PURE__ */ f(
|
|
361
361
|
"path",
|
|
362
362
|
{
|
|
363
363
|
d: "M204.8 0h477.866667l273.066666 273.066667v614.4c0 75.093333-61.44 136.533333-136.533333 136.533333H204.8c-75.093333 0-136.533333-61.44-136.533333-136.533333V136.533333C68.266667 61.44 129.706667 0 204.8 0z m341.333333 512h136.533334c20.48 0 34.133333-13.653333 34.133333-34.133333s-13.653333-34.133333-34.133333-34.133334H341.333333c-20.48 0-34.133333 13.653333-34.133333 34.133334s13.653333 34.133333 34.133333 34.133333h136.533334V819.2c0 20.48 13.653333 34.133333 34.133333 34.133333s34.133333-13.653333 34.133333-34.133333V512z",
|
|
@@ -367,7 +367,7 @@ const Yn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
367
367
|
null,
|
|
368
368
|
-1
|
|
369
369
|
/* HOISTED */
|
|
370
|
-
),
|
|
370
|
+
), Vo = /* @__PURE__ */ f(
|
|
371
371
|
"path",
|
|
372
372
|
{
|
|
373
373
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -378,8 +378,8 @@ const Yn = (e) => e.replace(/=/g, "").replace(/[+\/]/g, (t) => t == "+" ? "-" :
|
|
|
378
378
|
-1
|
|
379
379
|
/* HOISTED */
|
|
380
380
|
), No = [
|
|
381
|
-
|
|
382
|
-
|
|
381
|
+
Oo,
|
|
382
|
+
Vo
|
|
383
383
|
], Fo = {
|
|
384
384
|
key: 6,
|
|
385
385
|
t: "1686300209288",
|
|
@@ -710,7 +710,7 @@ const Y = process.env.NODE_ENV !== "production" ? Object.freeze({}) : {};
|
|
|
710
710
|
process.env.NODE_ENV !== "production" && Object.freeze([]);
|
|
711
711
|
const le = () => {
|
|
712
712
|
}, as = (e) => e.charCodeAt(0) === 111 && e.charCodeAt(1) === 110 && // uppercase letter
|
|
713
|
-
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), H = Object.assign, us = Object.prototype.hasOwnProperty, C = (e, t) => us.call(e, t), y = Array.isArray, de = (e) => We(e) === "[object Map]", ds = (e) => We(e) === "[object Set]",
|
|
713
|
+
(e.charCodeAt(2) > 122 || e.charCodeAt(2) < 97), H = Object.assign, us = Object.prototype.hasOwnProperty, C = (e, t) => us.call(e, t), y = Array.isArray, de = (e) => We(e) === "[object Map]", ds = (e) => We(e) === "[object Set]", V = (e) => typeof e == "function", P = (e) => typeof e == "string", Fe = (e) => typeof e == "symbol", D = (e) => e !== null && typeof e == "object", fs = (e) => (D(e) || V(e)) && V(e.then) && V(e.catch), ps = Object.prototype.toString, We = (e) => ps.call(e), Zt = (e) => We(e).slice(8, -1), hs = (e) => We(e) === "[object Object]", ht = (e) => P(e) && e !== "NaN" && e[0] !== "-" && "" + parseInt(e, 10) === e, gs = (e) => {
|
|
714
714
|
const t = /* @__PURE__ */ Object.create(null);
|
|
715
715
|
return (n) => t[n] || (t[n] = e(n));
|
|
716
716
|
}, _s = gs((e) => e.charAt(0).toUpperCase() + e.slice(1)), ge = (e, t) => !Object.is(e, t), vs = (e, t, n, s = !1) => {
|
|
@@ -765,7 +765,7 @@ function _t(e) {
|
|
|
765
765
|
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
766
766
|
* @license MIT
|
|
767
767
|
**/
|
|
768
|
-
function
|
|
768
|
+
function Ve(e, ...t) {
|
|
769
769
|
console.warn(`[Vue warn] ${e}`, ...t);
|
|
770
770
|
}
|
|
771
771
|
let Es;
|
|
@@ -839,7 +839,7 @@ function mt() {
|
|
|
839
839
|
for (tt--; !tt && nt.length; )
|
|
840
840
|
nt.shift()();
|
|
841
841
|
}
|
|
842
|
-
function
|
|
842
|
+
function Os(e, t, n) {
|
|
843
843
|
var s;
|
|
844
844
|
if (t.get(e) !== e._trackId) {
|
|
845
845
|
t.set(e, e._trackId);
|
|
@@ -848,7 +848,7 @@ function Vs(e, t, n) {
|
|
|
848
848
|
}
|
|
849
849
|
}
|
|
850
850
|
const nt = [];
|
|
851
|
-
function
|
|
851
|
+
function Vs(e, t, n) {
|
|
852
852
|
var s;
|
|
853
853
|
vt();
|
|
854
854
|
for (const o of e.keys()) {
|
|
@@ -866,7 +866,7 @@ function N(e, t, n) {
|
|
|
866
866
|
let s = ot.get(e);
|
|
867
867
|
s || ot.set(e, s = /* @__PURE__ */ new Map());
|
|
868
868
|
let o = s.get(n);
|
|
869
|
-
o || s.set(n, o = Ns(() => s.delete(n))),
|
|
869
|
+
o || s.set(n, o = Ns(() => s.delete(n))), Os(
|
|
870
870
|
Ee,
|
|
871
871
|
o,
|
|
872
872
|
process.env.NODE_ENV !== "production" ? {
|
|
@@ -903,7 +903,7 @@ function Z(e, t, n, s, o, r) {
|
|
|
903
903
|
}
|
|
904
904
|
vt();
|
|
905
905
|
for (const a of c)
|
|
906
|
-
a &&
|
|
906
|
+
a && Vs(
|
|
907
907
|
a,
|
|
908
908
|
4,
|
|
909
909
|
process.env.NODE_ENV !== "production" ? {
|
|
@@ -1005,13 +1005,13 @@ class sn extends on {
|
|
|
1005
1005
|
super(!0, t);
|
|
1006
1006
|
}
|
|
1007
1007
|
set(t, n) {
|
|
1008
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1008
|
+
return process.env.NODE_ENV !== "production" && Ve(
|
|
1009
1009
|
`Set operation on key "${String(n)}" failed: target is readonly.`,
|
|
1010
1010
|
t
|
|
1011
1011
|
), !0;
|
|
1012
1012
|
}
|
|
1013
1013
|
deleteProperty(t, n) {
|
|
1014
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1014
|
+
return process.env.NODE_ENV !== "production" && Ve(
|
|
1015
1015
|
`Delete operation on key "${String(n)}" failed: target is readonly.`,
|
|
1016
1016
|
t
|
|
1017
1017
|
), !0;
|
|
@@ -1093,7 +1093,7 @@ function W(e) {
|
|
|
1093
1093
|
return function(...t) {
|
|
1094
1094
|
if (process.env.NODE_ENV !== "production") {
|
|
1095
1095
|
const n = t[0] ? `on key "${t[0]}" ` : "";
|
|
1096
|
-
|
|
1096
|
+
Ve(
|
|
1097
1097
|
`${_s(e)} operation ${n}failed: target is readonly.`,
|
|
1098
1098
|
m(this)
|
|
1099
1099
|
);
|
|
@@ -1202,7 +1202,7 @@ function rn(e, t, n) {
|
|
|
1202
1202
|
const s = m(n);
|
|
1203
1203
|
if (s !== n && t.call(e, s)) {
|
|
1204
1204
|
const o = Zt(e);
|
|
1205
|
-
|
|
1205
|
+
Ve(
|
|
1206
1206
|
`Reactive ${o} contains both the raw and reactive versions of the same object${o === "Map" ? " as keys" : ""}, which can lead to inconsistencies. Avoid differentiating between the raw and reactive versions of an object and only use the reactive version if possible.`
|
|
1207
1207
|
);
|
|
1208
1208
|
}
|
|
@@ -1254,7 +1254,7 @@ function Me(e) {
|
|
|
1254
1254
|
}
|
|
1255
1255
|
function bt(e, t, n, s, o) {
|
|
1256
1256
|
if (!D(e))
|
|
1257
|
-
return process.env.NODE_ENV !== "production" &&
|
|
1257
|
+
return process.env.NODE_ENV !== "production" && Ve(`value cannot be made reactive: ${String(e)}`), e;
|
|
1258
1258
|
if (e.__v_raw && !(t && e.__v_isReactive))
|
|
1259
1259
|
return e;
|
|
1260
1260
|
const r = o.get(e);
|
|
@@ -1332,7 +1332,7 @@ function E(e, ...t) {
|
|
|
1332
1332
|
}).join(""),
|
|
1333
1333
|
n && n.proxy,
|
|
1334
1334
|
o.map(
|
|
1335
|
-
({ vnode: r }) => `at <${
|
|
1335
|
+
({ vnode: r }) => `at <${Vn(n, r.type)}>`
|
|
1336
1336
|
).join(`
|
|
1337
1337
|
`),
|
|
1338
1338
|
o
|
|
@@ -1369,7 +1369,7 @@ function e3(e) {
|
|
|
1369
1369
|
}), t;
|
|
1370
1370
|
}
|
|
1371
1371
|
function t3({ vnode: e, recurseCount: t }) {
|
|
1372
|
-
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, o = ` at <${
|
|
1372
|
+
const n = t > 0 ? `... (${t} recursive calls)` : "", s = e.component ? e.component.parent == null : !1, o = ` at <${Vn(
|
|
1373
1373
|
e.component,
|
|
1374
1374
|
e.type,
|
|
1375
1375
|
s
|
|
@@ -1383,7 +1383,7 @@ function n3(e) {
|
|
|
1383
1383
|
}), n.length > 3 && t.push(" ..."), t;
|
|
1384
1384
|
}
|
|
1385
1385
|
function fn(e, t, n) {
|
|
1386
|
-
return P(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : A(t) ? (t = fn(e, m(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) :
|
|
1386
|
+
return P(t) ? (t = JSON.stringify(t), n ? t : [`${e}=${t}`]) : typeof t == "number" || typeof t == "boolean" || t == null ? n ? t : [`${e}=${t}`] : A(t) ? (t = fn(e, m(t.value), !0), n ? t : [`${e}=Ref<`, t, ">"]) : V(t) ? [`${e}=fn${t.name ? `<${t.name}>` : ""}`] : (t = m(t), n ? t : [`${e}=`, t]);
|
|
1387
1387
|
}
|
|
1388
1388
|
const pn = {
|
|
1389
1389
|
sp: "serverPrefetch hook",
|
|
@@ -1424,7 +1424,7 @@ function re(e, t, n, s) {
|
|
|
1424
1424
|
}
|
|
1425
1425
|
}
|
|
1426
1426
|
function Ae(e, t, n, s) {
|
|
1427
|
-
if (
|
|
1427
|
+
if (V(e)) {
|
|
1428
1428
|
const o = re(e, t, n, s);
|
|
1429
1429
|
return o && fs(o) && o.catch((r) => {
|
|
1430
1430
|
St(r, t, n);
|
|
@@ -1496,7 +1496,7 @@ function i3(e) {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
return t;
|
|
1498
1498
|
}
|
|
1499
|
-
function
|
|
1499
|
+
function Ot(e) {
|
|
1500
1500
|
(!T.length || !T.includes(
|
|
1501
1501
|
e,
|
|
1502
1502
|
Ue && e.allowRecurse ? X + 1 : X
|
|
@@ -1557,7 +1557,7 @@ function mn(e, t) {
|
|
|
1557
1557
|
else {
|
|
1558
1558
|
const n = e.get(t);
|
|
1559
1559
|
if (n > s3) {
|
|
1560
|
-
const s = t.ownerInstance, o = s &&
|
|
1560
|
+
const s = t.ownerInstance, o = s && On(s.type);
|
|
1561
1561
|
return St(
|
|
1562
1562
|
`Maximum recursive updates exceeded${o ? ` in component <${o}>` : ""}. This means you have a reactive effect that is mutating its own dependencies and thus recursively triggering itself. Possible sources include component template, render function, updated hook or watcher source function.`,
|
|
1563
1563
|
null,
|
|
@@ -1597,7 +1597,7 @@ function d3(e, t) {
|
|
|
1597
1597
|
const s = [...n.instances];
|
|
1598
1598
|
for (const o of s) {
|
|
1599
1599
|
const r = Se(o.type);
|
|
1600
|
-
ve.has(r) || (r !== n.initialDef && jt(r, t), ve.add(r)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (ve.add(r), o.ceReload(t.styles), ve.delete(r)) : o.parent ? (o.parent.effect.dirty = !0,
|
|
1600
|
+
ve.has(r) || (r !== n.initialDef && jt(r, t), ve.add(r)), o.appContext.propsCache.delete(o.type), o.appContext.emitsCache.delete(o.type), o.appContext.optionsCache.delete(o.type), o.ceReload ? (ve.add(r), o.ceReload(t.styles), ve.delete(r)) : o.parent ? (o.parent.effect.dirty = !0, Ot(o.parent.update)) : o.appContext.reload ? o.appContext.reload() : typeof window < "u" ? window.location.reload() : console.warn(
|
|
1601
1601
|
"[HMR] Root or manually mounted instance modified. Full reload required."
|
|
1602
1602
|
);
|
|
1603
1603
|
}
|
|
@@ -1687,10 +1687,10 @@ function m3(e, t, {
|
|
|
1687
1687
|
return p.value;
|
|
1688
1688
|
if (xe(p))
|
|
1689
1689
|
return u(p);
|
|
1690
|
-
if (
|
|
1690
|
+
if (V(p))
|
|
1691
1691
|
return re(p, l, 2);
|
|
1692
1692
|
process.env.NODE_ENV !== "production" && a(p);
|
|
1693
|
-
})) :
|
|
1693
|
+
})) : V(e) ? t ? _ = () => re(e, l, 2) : _ = () => (w && w(), Ae(
|
|
1694
1694
|
e,
|
|
1695
1695
|
l,
|
|
1696
1696
|
3,
|
|
@@ -1715,7 +1715,7 @@ function m3(e, t, {
|
|
|
1715
1715
|
} else
|
|
1716
1716
|
return le;
|
|
1717
1717
|
let v = x ? new Array(e.length).fill(Pe) : Pe;
|
|
1718
|
-
const
|
|
1718
|
+
const O = () => {
|
|
1719
1719
|
if (!(!S.active || !S.dirty))
|
|
1720
1720
|
if (t) {
|
|
1721
1721
|
const p = S.run();
|
|
@@ -1728,13 +1728,13 @@ function m3(e, t, {
|
|
|
1728
1728
|
} else
|
|
1729
1729
|
S.run();
|
|
1730
1730
|
};
|
|
1731
|
-
|
|
1731
|
+
O.allowRecurse = !!t;
|
|
1732
1732
|
let F;
|
|
1733
|
-
o === "sync" ? F =
|
|
1733
|
+
o === "sync" ? F = O : o === "post" ? F = () => Gt(O, l && l.suspense) : (O.pre = !0, l && (O.id = l.uid), F = () => Ot(O));
|
|
1734
1734
|
const S = new Ss(_, le, F), I = () => {
|
|
1735
1735
|
S.stop();
|
|
1736
1736
|
};
|
|
1737
|
-
return process.env.NODE_ENV !== "production" && (S.onTrack = i, S.onTrigger = c), t ? n ?
|
|
1737
|
+
return process.env.NODE_ENV !== "production" && (S.onTrack = i, S.onTrigger = c), t ? n ? O() : v = S.run() : o === "post" ? Gt(
|
|
1738
1738
|
S.run.bind(S),
|
|
1739
1739
|
l && l.suspense
|
|
1740
1740
|
) : S.run(), d && d.push(I), I;
|
|
@@ -1742,7 +1742,7 @@ function m3(e, t, {
|
|
|
1742
1742
|
function w3(e, t, n) {
|
|
1743
1743
|
const s = this.proxy, o = P(e) ? e.includes(".") ? y3(s, e) : () => s[e] : e.bind(s, s);
|
|
1744
1744
|
let r;
|
|
1745
|
-
|
|
1745
|
+
V(t) ? r = t : (r = t.handler, n = t);
|
|
1746
1746
|
const i = P3(this), c = m3(o, r.bind(s), n);
|
|
1747
1747
|
return i(), c;
|
|
1748
1748
|
}
|
|
@@ -1775,7 +1775,7 @@ function ce(e, t = 1 / 0, n) {
|
|
|
1775
1775
|
/*! #__NO_SIDE_EFFECTS__ */
|
|
1776
1776
|
// @__NO_SIDE_EFFECTS__
|
|
1777
1777
|
function b3(e, t) {
|
|
1778
|
-
return
|
|
1778
|
+
return V(e) ? (
|
|
1779
1779
|
// #8326: extend call and options.name access are considered side-effects
|
|
1780
1780
|
// by Rollup, so we have to wrap it in a pure-annotated IIFE.
|
|
1781
1781
|
/* @__PURE__ */ (() => H({ name: e.name }, t, { setup: e }))()
|
|
@@ -1797,7 +1797,7 @@ const ct = (e) => e ? A3(e) ? H3(e) || e.proxy : ct(e.parent) : null, Ce = (
|
|
|
1797
1797
|
$emit: (e) => e.emit,
|
|
1798
1798
|
$options: (e) => S3(e),
|
|
1799
1799
|
$forceUpdate: (e) => e.f || (e.f = () => {
|
|
1800
|
-
e.effect.dirty = !0,
|
|
1800
|
+
e.effect.dirty = !0, Ot(e.update);
|
|
1801
1801
|
}),
|
|
1802
1802
|
$nextTick: (e) => e.n || (e.n = r3.bind(e.proxy)),
|
|
1803
1803
|
$watch: (e) => w3.bind(e)
|
|
@@ -1947,20 +1947,20 @@ const C3 = {
|
|
|
1947
1947
|
components: ye,
|
|
1948
1948
|
directives: ye,
|
|
1949
1949
|
// watch
|
|
1950
|
-
watch:
|
|
1950
|
+
watch: V3,
|
|
1951
1951
|
// provide / inject
|
|
1952
1952
|
provide: Lt,
|
|
1953
|
-
inject:
|
|
1953
|
+
inject: O3
|
|
1954
1954
|
};
|
|
1955
1955
|
function Lt(e, t) {
|
|
1956
1956
|
return t ? e ? function() {
|
|
1957
1957
|
return H(
|
|
1958
|
-
|
|
1959
|
-
|
|
1958
|
+
V(e) ? e.call(this, this) : e,
|
|
1959
|
+
V(t) ? t.call(this, this) : t
|
|
1960
1960
|
);
|
|
1961
1961
|
} : t : e;
|
|
1962
1962
|
}
|
|
1963
|
-
function
|
|
1963
|
+
function O3(e, t) {
|
|
1964
1964
|
return ye(qt(e), qt(t));
|
|
1965
1965
|
}
|
|
1966
1966
|
function qt(e) {
|
|
@@ -1985,7 +1985,7 @@ function Kt(e, t) {
|
|
|
1985
1985
|
Ut(t ?? {})
|
|
1986
1986
|
) : t;
|
|
1987
1987
|
}
|
|
1988
|
-
function
|
|
1988
|
+
function V3(e, t) {
|
|
1989
1989
|
if (!e)
|
|
1990
1990
|
return t;
|
|
1991
1991
|
if (!t)
|
|
@@ -2003,7 +2003,7 @@ function N3(e, t, n = !1) {
|
|
|
2003
2003
|
if (o && e in o)
|
|
2004
2004
|
return o[e];
|
|
2005
2005
|
if (arguments.length > 1)
|
|
2006
|
-
return n &&
|
|
2006
|
+
return n && V(t) ? t.call(s && s.proxy) : t;
|
|
2007
2007
|
process.env.NODE_ENV !== "production" && E(`injection "${String(e)}" not found.`);
|
|
2008
2008
|
} else
|
|
2009
2009
|
process.env.NODE_ENV !== "production" && E("inject() can only be used inside setup() or functional components.");
|
|
@@ -2019,7 +2019,7 @@ const I3 = (...e) => xn(
|
|
|
2019
2019
|
ref: e,
|
|
2020
2020
|
ref_key: t,
|
|
2021
2021
|
ref_for: n
|
|
2022
|
-
}) => (typeof e == "number" && (e = "" + e), e != null ? P(e) || A(e) ||
|
|
2022
|
+
}) => (typeof e == "number" && (e = "" + e), e != null ? P(e) || A(e) || V(e) ? { i: K, r: e, k: t, f: !!n } : e : null);
|
|
2023
2023
|
function z3(e, t = null, n = null, s = 0, o = null, r = e === bn ? 0 : 1, i = !1, c = !1) {
|
|
2024
2024
|
const a = {
|
|
2025
2025
|
__v_isVNode: !0,
|
|
@@ -2049,7 +2049,7 @@ function z3(e, t = null, n = null, s = 0, o = null, r = e === bn ? 0 : 1, i = !1
|
|
|
2049
2049
|
appContext: null,
|
|
2050
2050
|
ctx: K
|
|
2051
2051
|
};
|
|
2052
|
-
return c ? (
|
|
2052
|
+
return c ? (Vt(a, n), r & 128 && e.normalize(a)) : n && (a.shapeFlag |= P(n) ? 8 : 16), process.env.NODE_ENV !== "production" && a.key !== a.key && E("VNode created with invalid key (NaN). VNode type:", a.type), // avoid a block node from tracking itself
|
|
2053
2053
|
!i && // has current parent block
|
|
2054
2054
|
ae && // presence of a patch flag indicates this node needs patching on updates.
|
|
2055
2055
|
// component nodes also should always be patched, because even if the
|
|
@@ -2068,14 +2068,14 @@ function xn(e, t = null, n = null, s = 0, o = null, r = !1) {
|
|
|
2068
2068
|
!0
|
|
2069
2069
|
/* mergeRef: true */
|
|
2070
2070
|
);
|
|
2071
|
-
return n &&
|
|
2071
|
+
return n && Vt(c, n), !r && ae && (c.shapeFlag & 6 ? ae[ae.indexOf(e)] = c : ae.push(c)), c.patchFlag |= -2, c;
|
|
2072
2072
|
}
|
|
2073
2073
|
if (Nn(e) && (e = e.__vccOpts), t) {
|
|
2074
2074
|
t = k3(t);
|
|
2075
2075
|
let { class: c, style: a } = t;
|
|
2076
2076
|
c && !P(c) && (t.class = _t(c)), D(a) && (it(a) && !y(a) && (a = H({}, a)), t.style = gt(a));
|
|
2077
2077
|
}
|
|
2078
|
-
const i = P(e) ? 1 : h3(e) ? 128 : R3(e) ? 64 : D(e) ? 4 :
|
|
2078
|
+
const i = P(e) ? 1 : h3(e) ? 128 : R3(e) ? 64 : D(e) ? 4 : V(e) ? 2 : 0;
|
|
2079
2079
|
return process.env.NODE_ENV !== "production" && i & 4 && it(e) && (e = m(e), E(
|
|
2080
2080
|
"Vue received a Component that was made a reactive object. This can lead to unnecessary performance overhead and should be avoided by marking the component with `markRaw` or using `shallowRef` instead of `ref`.",
|
|
2081
2081
|
`
|
|
@@ -2147,7 +2147,7 @@ function Sn(e) {
|
|
|
2147
2147
|
function M3(e = " ", t = 0) {
|
|
2148
2148
|
return be($3, null, e, t);
|
|
2149
2149
|
}
|
|
2150
|
-
function
|
|
2150
|
+
function Vt(e, t) {
|
|
2151
2151
|
let n = 0;
|
|
2152
2152
|
const { shapeFlag: s } = e;
|
|
2153
2153
|
if (t == null)
|
|
@@ -2157,7 +2157,7 @@ function Ot(e, t) {
|
|
|
2157
2157
|
else if (typeof t == "object")
|
|
2158
2158
|
if (s & 65) {
|
|
2159
2159
|
const o = t.default;
|
|
2160
|
-
o && (o._c && (o._d = !1),
|
|
2160
|
+
o && (o._c && (o._d = !1), Vt(e, o()), o._c && (o._d = !0));
|
|
2161
2161
|
return;
|
|
2162
2162
|
} else {
|
|
2163
2163
|
n = 32;
|
|
@@ -2165,7 +2165,7 @@ function Ot(e, t) {
|
|
|
2165
2165
|
!o && !yn(t) ? t._ctx = K : o === 3 && K && (K.slots._ === 1 ? t._ = 1 : (t._ = 2, e.patchFlag |= 1024));
|
|
2166
2166
|
}
|
|
2167
2167
|
else
|
|
2168
|
-
|
|
2168
|
+
V(t) ? (t = { default: t, _ctx: K }, n = 32) : (t = String(t), s & 64 ? (n = 16, t = [M3(t)]) : n = 8);
|
|
2169
2169
|
e.children = t, e.shapeFlag |= n;
|
|
2170
2170
|
}
|
|
2171
2171
|
function T3(...e) {
|
|
@@ -2227,11 +2227,11 @@ function H3(e) {
|
|
|
2227
2227
|
}));
|
|
2228
2228
|
}
|
|
2229
2229
|
const B3 = /(?:^|[-_])(\w)/g, j3 = (e) => e.replace(B3, (t) => t.toUpperCase()).replace(/[-_]/g, "");
|
|
2230
|
-
function
|
|
2231
|
-
return
|
|
2230
|
+
function On(e, t = !0) {
|
|
2231
|
+
return V(e) ? e.displayName || e.name : e.name || t && e.__name;
|
|
2232
2232
|
}
|
|
2233
|
-
function
|
|
2234
|
-
let s =
|
|
2233
|
+
function Vn(e, t, n = !1) {
|
|
2234
|
+
let s = On(t);
|
|
2235
2235
|
if (!s && t.__file) {
|
|
2236
2236
|
const o = t.__file.match(/([^/\\]+)\.\w+$/);
|
|
2237
2237
|
o && (s = o[1]);
|
|
@@ -2249,7 +2249,7 @@ function On(e, t, n = !1) {
|
|
|
2249
2249
|
return s ? j3(s) : n ? "App" : "Anonymous";
|
|
2250
2250
|
}
|
|
2251
2251
|
function Nn(e) {
|
|
2252
|
-
return
|
|
2252
|
+
return V(e) && "__vccOpts" in e;
|
|
2253
2253
|
}
|
|
2254
2254
|
function U3(e, t, n) {
|
|
2255
2255
|
const s = arguments.length;
|
|
@@ -2290,7 +2290,7 @@ const L3 = { class: "base-header" }, q3 = /* @__PURE__ */ Q({
|
|
|
2290
2290
|
}
|
|
2291
2291
|
});
|
|
2292
2292
|
return (i, c) => {
|
|
2293
|
-
const a =
|
|
2293
|
+
const a = Oe("IkSvgIcon"), l = Oe("el-dialog");
|
|
2294
2294
|
return h(), pe(l, $n({
|
|
2295
2295
|
modelValue: n.value,
|
|
2296
2296
|
"onUpdate:modelValue": c[0] || (c[0] = (u) => n.value = u)
|
|
@@ -2718,7 +2718,9 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
2718
2718
|
},
|
|
2719
2719
|
mode: t.mode,
|
|
2720
2720
|
token: t.token
|
|
2721
|
-
})
|
|
2721
|
+
});
|
|
2722
|
+
console.log("OnlyOffice Config", t.configOptions);
|
|
2723
|
+
const s = () => {
|
|
2722
2724
|
console.info("文档加载中");
|
|
2723
2725
|
};
|
|
2724
2726
|
return (a, l) => (h(), g(
|
|
@@ -2740,7 +2742,7 @@ const X3 = /* @__PURE__ */ Q({
|
|
|
2740
2742
|
));
|
|
2741
2743
|
}
|
|
2742
2744
|
});
|
|
2743
|
-
const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-
|
|
2745
|
+
const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-ba92918d"]]), Q3 = ["onClick"], er = { class: "text" }, tr = { class: "fileName" }, nr = { class: "size" }, or = { class: "w-full h-full overflow-hidden flex-center" }, sr = ["src"], rr = /* @__PURE__ */ Q({
|
|
2744
2746
|
__name: "IKPreviewFile",
|
|
2745
2747
|
props: {
|
|
2746
2748
|
list: {
|
|
@@ -2823,7 +2825,7 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
2823
2825
|
size: "size",
|
|
2824
2826
|
...t.field
|
|
2825
2827
|
})), s = z(null), o = ue(() => {
|
|
2826
|
-
var v,
|
|
2828
|
+
var v, O, F;
|
|
2827
2829
|
if (!t.kkUrl || !((v = r.data) != null && v[n.value.url]))
|
|
2828
2830
|
return "";
|
|
2829
2831
|
const d = t.loadUrl ? t.loadUrl : location.href;
|
|
@@ -2831,7 +2833,7 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
2831
2833
|
to(
|
|
2832
2834
|
`${Re(
|
|
2833
2835
|
d,
|
|
2834
|
-
(
|
|
2836
|
+
(O = r.data) == null ? void 0 : O[n.value.url]
|
|
2835
2837
|
)}&fullfilename=${(F = r.data) == null ? void 0 : F[n.value.name]}`
|
|
2836
2838
|
)
|
|
2837
2839
|
)}`;
|
|
@@ -2839,13 +2841,13 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
2839
2841
|
show: !1,
|
|
2840
2842
|
data: {}
|
|
2841
2843
|
}), i = z(null), c = z(!1), a = z(!1), l = z(null), u = (d) => {
|
|
2842
|
-
var v,
|
|
2844
|
+
var v, O, F, S, I, p, j, ee;
|
|
2843
2845
|
if (i.value = {
|
|
2844
2846
|
...d,
|
|
2845
2847
|
name: d[n.value.name],
|
|
2846
2848
|
url: Re(
|
|
2847
2849
|
t.loadUrl,
|
|
2848
|
-
d[n.value.url] || ((
|
|
2850
|
+
d[n.value.url] || ((O = (v = d == null ? void 0 : d.response) == null ? void 0 : v.data) == null ? void 0 : O.id)
|
|
2849
2851
|
)
|
|
2850
2852
|
}, t.isOnlyOfficePreview && (t.onlyOfficeAccept.includes(d[n.value.suffix]) || t.onlyOfficeAccept.includes(
|
|
2851
2853
|
(F = d == null ? void 0 : d.response) == null ? void 0 : F.data[n.value.suffix]
|
|
@@ -2883,8 +2885,8 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
2883
2885
|
}
|
|
2884
2886
|
}));
|
|
2885
2887
|
}, _ = (d) => {
|
|
2886
|
-
let v = "",
|
|
2887
|
-
return
|
|
2888
|
+
let v = "", O = ["doc", "docx"], F = ["xls", "xlsx"], S = ["ppt", "pptx"], I = ["pdf"];
|
|
2889
|
+
return O.includes(d) && (v = "word"), F.includes(d) && (v = "cell"), S.includes(d) && (v = "slide"), I.includes(d) && (v = "text-pdf"), console.log("docType", v), v;
|
|
2888
2890
|
}, b = (d) => {
|
|
2889
2891
|
jn.downloadFile(
|
|
2890
2892
|
Re(t.loadUrl, d[n.value.url]),
|
|
@@ -2895,7 +2897,7 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
2895
2897
|
};
|
|
2896
2898
|
return (d, v) => {
|
|
2897
2899
|
var F, S, I;
|
|
2898
|
-
const
|
|
2900
|
+
const O = Oe("el-image-viewer");
|
|
2899
2901
|
return h(), g(
|
|
2900
2902
|
Be,
|
|
2901
2903
|
null,
|
|
@@ -3004,7 +3006,7 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
3004
3006
|
_: 1
|
|
3005
3007
|
/* STABLE */
|
|
3006
3008
|
}, 8, ["modelValue"]),
|
|
3007
|
-
(S = i.value) != null && S.url && c.value ? (h(), pe(
|
|
3009
|
+
(S = i.value) != null && S.url && c.value ? (h(), pe(O, {
|
|
3008
3010
|
key: 1,
|
|
3009
3011
|
onClose: v[2] || (v[2] = (p) => (i.value = null, c.value = !1)),
|
|
3010
3012
|
ref: "previewImgRef",
|
|
@@ -3024,7 +3026,7 @@ const Z3 = /* @__PURE__ */ ft(X3, [["__scopeId", "data-v-d3dc17ff"]]), Q3 = ["on
|
|
|
3024
3026
|
"close-on-press-escape": !1,
|
|
3025
3027
|
"append-to-body": "",
|
|
3026
3028
|
onClose: B,
|
|
3027
|
-
"modal-class": "preview-dialog"
|
|
3029
|
+
"modal-class": "ik-only-preview-dialog"
|
|
3028
3030
|
}, {
|
|
3029
3031
|
default: te(() => [
|
|
3030
3032
|
a.value ? (h(), pe(Z3, {
|
|
@@ -3113,7 +3115,7 @@ const ir = dt(rr), lr = { class: "ik-svg-icon ik-icon inline-block inline-flex j
|
|
|
3113
3115
|
};
|
|
3114
3116
|
});
|
|
3115
3117
|
return (o, r) => {
|
|
3116
|
-
const i =
|
|
3118
|
+
const i = Oe("el-tooltip");
|
|
3117
3119
|
return h(), g("span", lr, [
|
|
3118
3120
|
o.notip || !o.title ? (h(), g(
|
|
3119
3121
|
"i",
|
|
@@ -3299,7 +3301,7 @@ const ir = dt(rr), lr = { class: "ik-svg-icon ik-icon inline-block inline-flex j
|
|
|
3299
3301
|
};
|
|
3300
3302
|
return (l, u) => {
|
|
3301
3303
|
var b, x;
|
|
3302
|
-
const _ =
|
|
3304
|
+
const _ = Oe("el-image");
|
|
3303
3305
|
return h(), g("div", null, [
|
|
3304
3306
|
t.fileType === "file" ? (h(), g("div", _r, [
|
|
3305
3307
|
(h(!0), g(
|