iking-web-ui-pro 0.2.7 → 0.2.9
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 +394 -332
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +303 -241
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +838 -779
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +428 -366
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/index.es.js +15657 -15598
- package/dist/index.umd.js +65 -65
- package/dist/src/components/IKPreviewFile/index.d.ts +19 -0
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +9 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as B, computed as
|
|
2
|
-
import { paramType as
|
|
3
|
-
const
|
|
4
|
-
if (
|
|
5
|
-
for (const
|
|
6
|
-
|
|
7
|
-
},
|
|
8
|
-
for (const [
|
|
9
|
-
|
|
10
|
-
return
|
|
11
|
-
},
|
|
12
|
-
const
|
|
13
|
-
for (const [
|
|
14
|
-
|
|
15
|
-
return
|
|
16
|
-
},
|
|
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
|
+
import { paramType as ge, ikFile as _e, buildUUID as ye, ikColor as me, ikDate as we } from "iking-utils-pro";
|
|
3
|
+
const q = (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
|
+
return t;
|
|
11
|
+
}, j = (t, o) => {
|
|
12
|
+
const n = t.__vccOpts || t;
|
|
13
|
+
for (const [e, d] of o)
|
|
14
|
+
n[e] = d;
|
|
15
|
+
return n;
|
|
16
|
+
}, ke = (t) => ({
|
|
17
17
|
// ================all================
|
|
18
18
|
nodeType: {
|
|
19
19
|
发起人节点: "INITIATOR",
|
|
@@ -25,7 +25,7 @@ const L = (o, n) => {
|
|
|
25
25
|
结束节点: "END",
|
|
26
26
|
并行分支: "PARALLEL",
|
|
27
27
|
子流程: "SUB_PROCESS",
|
|
28
|
-
...
|
|
28
|
+
...t.defaultNodeType
|
|
29
29
|
},
|
|
30
30
|
defaultFile: {
|
|
31
31
|
id: "id",
|
|
@@ -67,7 +67,7 @@ const L = (o, n) => {
|
|
|
67
67
|
singleApproval: "singleApproval",
|
|
68
68
|
//是否单选
|
|
69
69
|
originator: "username",
|
|
70
|
-
...
|
|
70
|
+
...t.defaultFieldMap
|
|
71
71
|
},
|
|
72
72
|
// ================approval================
|
|
73
73
|
statusWithoutApprover: {
|
|
@@ -75,7 +75,7 @@ const L = (o, n) => {
|
|
|
75
75
|
自动拒绝: "AUTO_REJECT",
|
|
76
76
|
自动转交管理员: "TRANSMIT_TO_MANAGER",
|
|
77
77
|
指定人员审批: "SPECIFIED_USER",
|
|
78
|
-
...
|
|
78
|
+
...t.statusWithoutApprover
|
|
79
79
|
},
|
|
80
80
|
multiple: !1,
|
|
81
81
|
chooseType: [],
|
|
@@ -90,42 +90,42 @@ const L = (o, n) => {
|
|
|
90
90
|
退回: "7",
|
|
91
91
|
撤销: "8",
|
|
92
92
|
评论: "9",
|
|
93
|
-
...
|
|
93
|
+
...t.defaultStatus
|
|
94
94
|
},
|
|
95
95
|
listData: []
|
|
96
|
-
}),
|
|
97
|
-
let
|
|
98
|
-
switch (
|
|
99
|
-
case
|
|
100
|
-
|
|
96
|
+
}), Fe = (t, o, n) => {
|
|
97
|
+
let e = "";
|
|
98
|
+
switch (o) {
|
|
99
|
+
case t.nodeType.审批节点:
|
|
100
|
+
n && n.length == 1 ? e = "ikapprove-ziyuan" : e = "ikapprove-shenpi";
|
|
101
101
|
break;
|
|
102
|
-
case
|
|
103
|
-
|
|
102
|
+
case t.nodeType.办理节点:
|
|
103
|
+
e = "ikapprove-bianji";
|
|
104
104
|
break;
|
|
105
|
-
case
|
|
106
|
-
|
|
105
|
+
case t.nodeType.抄送节点:
|
|
106
|
+
e = "ikapprove-chaosong";
|
|
107
107
|
break;
|
|
108
|
-
case
|
|
109
|
-
|
|
108
|
+
case t.nodeType.并行分支:
|
|
109
|
+
e = "ikapprove-fenzhi";
|
|
110
110
|
break;
|
|
111
|
-
case
|
|
112
|
-
|
|
111
|
+
case t.nodeType.子流程:
|
|
112
|
+
e = "ikapprove-ziliucheng1";
|
|
113
113
|
break;
|
|
114
114
|
default:
|
|
115
|
-
|
|
115
|
+
e = "ikapprove-ziyuan";
|
|
116
116
|
}
|
|
117
|
-
return `ikapprove ${
|
|
118
|
-
},
|
|
119
|
-
if (
|
|
117
|
+
return `ikapprove ${e}`;
|
|
118
|
+
}, xe = (t, o = 2) => {
|
|
119
|
+
if (t === void 0)
|
|
120
120
|
return "";
|
|
121
|
-
if (
|
|
121
|
+
if (t === 0)
|
|
122
122
|
return "0 B";
|
|
123
|
-
const
|
|
124
|
-
let
|
|
125
|
-
return (
|
|
126
|
-
}, U = (
|
|
127
|
-
var
|
|
128
|
-
const
|
|
123
|
+
const n = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
|
|
124
|
+
let d = t / Math.pow(1024, e);
|
|
125
|
+
return (d % 1 === 0 ? d.toFixed(o || 0) : d.toFixed(o)) + " " + n[e];
|
|
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",
|
|
@@ -141,11 +141,11 @@ const L = (o, n) => {
|
|
|
141
141
|
exe: "exe",
|
|
142
142
|
json: "json"
|
|
143
143
|
};
|
|
144
|
-
for (let
|
|
145
|
-
if (typeof
|
|
146
|
-
return
|
|
144
|
+
for (let i in d)
|
|
145
|
+
if (typeof e == "string" && (e.includes(i) || e === i))
|
|
146
|
+
return d[i];
|
|
147
147
|
return "unknown";
|
|
148
|
-
},
|
|
148
|
+
}, Se = {
|
|
149
149
|
".doc": "word",
|
|
150
150
|
".docx": "word",
|
|
151
151
|
".docxf": "word",
|
|
@@ -230,13 +230,13 @@ const L = (o, n) => {
|
|
|
230
230
|
".vob": "video",
|
|
231
231
|
".txt": "txt",
|
|
232
232
|
".pdf": "pdf"
|
|
233
|
-
},
|
|
234
|
-
const
|
|
235
|
-
return
|
|
236
|
-
},
|
|
237
|
-
let
|
|
238
|
-
return
|
|
239
|
-
},
|
|
233
|
+
}, te = (t) => {
|
|
234
|
+
const o = t == null ? void 0 : t.toLocaleLowerCase(), n = o != null && o.startsWith(".") ? o : `.${o}`;
|
|
235
|
+
return n && Se[n] || "unknow";
|
|
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",
|
|
@@ -246,7 +246,7 @@ const L = (o, n) => {
|
|
|
246
246
|
"p-id": "7671",
|
|
247
247
|
width: "200",
|
|
248
248
|
height: "200"
|
|
249
|
-
},
|
|
249
|
+
}, $e = /* @__PURE__ */ u(
|
|
250
250
|
"path",
|
|
251
251
|
{
|
|
252
252
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -256,7 +256,7 @@ const L = (o, n) => {
|
|
|
256
256
|
null,
|
|
257
257
|
-1
|
|
258
258
|
/* HOISTED */
|
|
259
|
-
),
|
|
259
|
+
), Ce = /* @__PURE__ */ u(
|
|
260
260
|
"path",
|
|
261
261
|
{
|
|
262
262
|
d: "M258.528 742.0672L351.8336 604.928a14.5024 14.5024 0 0 1 22.1696-2.1824l61.664 60.416 135.296-212.064a14.5024 14.5024 0 0 1 24.8064 0.5568l168.1024 291.328a14.5024 14.5024 0 0 1-12.5696 21.7664H270.528a14.5024 14.5024 0 0 1-12.0064-22.6816z",
|
|
@@ -266,7 +266,7 @@ const L = (o, n) => {
|
|
|
266
266
|
null,
|
|
267
267
|
-1
|
|
268
268
|
/* HOISTED */
|
|
269
|
-
),
|
|
269
|
+
), Ie = /* @__PURE__ */ u(
|
|
270
270
|
"path",
|
|
271
271
|
{
|
|
272
272
|
d: "M359.616 431.5456m-73.1456 0a73.1456 73.1456 0 1 0 146.2912 0 73.1456 73.1456 0 1 0-146.2912 0Z",
|
|
@@ -276,7 +276,7 @@ const L = (o, n) => {
|
|
|
276
276
|
null,
|
|
277
277
|
-1
|
|
278
278
|
/* HOISTED */
|
|
279
|
-
),
|
|
279
|
+
), Oe = /* @__PURE__ */ u(
|
|
280
280
|
"path",
|
|
281
281
|
{
|
|
282
282
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -286,12 +286,12 @@ const L = (o, n) => {
|
|
|
286
286
|
null,
|
|
287
287
|
-1
|
|
288
288
|
/* HOISTED */
|
|
289
|
-
),
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
],
|
|
289
|
+
), Te = [
|
|
290
|
+
$e,
|
|
291
|
+
Ce,
|
|
292
|
+
Ie,
|
|
293
|
+
Oe
|
|
294
|
+
], Be = {
|
|
295
295
|
key: 1,
|
|
296
296
|
t: "1686301531714",
|
|
297
297
|
class: "icon",
|
|
@@ -301,7 +301,7 @@ const L = (o, n) => {
|
|
|
301
301
|
"p-id": "9067",
|
|
302
302
|
width: "200",
|
|
303
303
|
height: "200"
|
|
304
|
-
},
|
|
304
|
+
}, De = /* @__PURE__ */ u(
|
|
305
305
|
"path",
|
|
306
306
|
{
|
|
307
307
|
d: "M409.6 0v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133334H409.6v68.266666h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133334s13.653333 34.133333 34.133334 34.133333H409.6v68.266667h-34.133333c-20.48 0-34.133333 13.653333-34.133334 34.133333s13.653333 34.133333 34.133334 34.133333h68.266666c20.48 0 34.133333-13.653333 34.133334-34.133333V477.866667h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133334S532.48 409.6 512 409.6H477.866667V341.333333h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 273.066667 512 273.066667H477.866667V204.8h34.133333c20.48 0 34.133333-13.653333 34.133333-34.133333S532.48 136.533333 512 136.533333H477.866667V0h204.8l273.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 0h204.8z m0 682.666667h68.266667v68.266666H409.6v-68.266666z m-34.133333-68.266667c-20.48 0-34.133333 13.653333-34.133334 34.133333v136.533334c0 20.48 13.653333 34.133333 34.133334 34.133333h136.533333c20.48 0 34.133333-13.653333 34.133333-34.133333v-136.533334c0-20.48-13.653333-34.133333-34.133333-34.133333h-136.533333z",
|
|
@@ -311,7 +311,7 @@ const L = (o, n) => {
|
|
|
311
311
|
null,
|
|
312
312
|
-1
|
|
313
313
|
/* HOISTED */
|
|
314
|
-
),
|
|
314
|
+
), Ee = /* @__PURE__ */ u(
|
|
315
315
|
"path",
|
|
316
316
|
{
|
|
317
317
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -321,10 +321,10 @@ const L = (o, n) => {
|
|
|
321
321
|
null,
|
|
322
322
|
-1
|
|
323
323
|
/* HOISTED */
|
|
324
|
-
),
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
],
|
|
324
|
+
), Re = [
|
|
325
|
+
De,
|
|
326
|
+
Ee
|
|
327
|
+
], Ve = {
|
|
328
328
|
key: 2,
|
|
329
329
|
t: "1686300141125",
|
|
330
330
|
class: "icon",
|
|
@@ -334,7 +334,7 @@ const L = (o, n) => {
|
|
|
334
334
|
"p-id": "8137",
|
|
335
335
|
width: "200",
|
|
336
336
|
height: "200"
|
|
337
|
-
},
|
|
337
|
+
}, Ae = /* @__PURE__ */ u(
|
|
338
338
|
"path",
|
|
339
339
|
{
|
|
340
340
|
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 m204.8 546.133333V443.733333h204.8v136.533334H409.6V546.133333z m0 102.4h204.8c40.96 0 68.266667-27.306667 68.266667-68.266666v-136.533334c0-40.96-27.306667-68.266667-68.266667-68.266666H409.6c-40.96 0-68.266667 27.306667-68.266667 68.266666V819.2c0 20.48 13.653333 34.133333 34.133334 34.133333s34.133333-13.653333 34.133333-34.133333V648.533333z",
|
|
@@ -344,7 +344,7 @@ const L = (o, n) => {
|
|
|
344
344
|
null,
|
|
345
345
|
-1
|
|
346
346
|
/* HOISTED */
|
|
347
|
-
),
|
|
347
|
+
), Me = /* @__PURE__ */ u(
|
|
348
348
|
"path",
|
|
349
349
|
{
|
|
350
350
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -354,10 +354,10 @@ const L = (o, n) => {
|
|
|
354
354
|
null,
|
|
355
355
|
-1
|
|
356
356
|
/* HOISTED */
|
|
357
|
-
),
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
],
|
|
357
|
+
), Pe = [
|
|
358
|
+
Ae,
|
|
359
|
+
Me
|
|
360
|
+
], Ne = {
|
|
361
361
|
key: 3,
|
|
362
362
|
t: "1686300157181",
|
|
363
363
|
class: "icon",
|
|
@@ -367,7 +367,7 @@ const L = (o, n) => {
|
|
|
367
367
|
"p-id": "8292",
|
|
368
368
|
width: "200",
|
|
369
369
|
height: "200"
|
|
370
|
-
},
|
|
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 = (o, n) => {
|
|
|
377
377
|
null,
|
|
378
378
|
-1
|
|
379
379
|
/* HOISTED */
|
|
380
|
-
),
|
|
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",
|
|
@@ -387,10 +387,10 @@ const L = (o, n) => {
|
|
|
387
387
|
null,
|
|
388
388
|
-1
|
|
389
389
|
/* HOISTED */
|
|
390
|
-
),
|
|
391
|
-
|
|
392
|
-
|
|
393
|
-
],
|
|
390
|
+
), qe = [
|
|
391
|
+
He,
|
|
392
|
+
Le
|
|
393
|
+
], Ue = {
|
|
394
394
|
key: 4,
|
|
395
395
|
t: "1686300180947",
|
|
396
396
|
class: "icon",
|
|
@@ -400,7 +400,7 @@ const L = (o, n) => {
|
|
|
400
400
|
"p-id": "8447",
|
|
401
401
|
width: "200",
|
|
402
402
|
height: "200"
|
|
403
|
-
},
|
|
403
|
+
}, je = /* @__PURE__ */ u(
|
|
404
404
|
"path",
|
|
405
405
|
{
|
|
406
406
|
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 m477.866667 730.453333c20.48 0 68.266667 0 68.266666-47.786666 0-20.48-6.826667-47.786667-68.266666-47.786667-27.306667 0-54.613333 6.826667-81.92 6.826667-34.133333-27.306667-68.266667-61.44-88.746667-102.4 20.48-75.093333 20.48-122.88 6.826667-150.186667-6.826667-6.826667-20.48-13.653333-34.133334-13.653333-20.48 0-34.133333 6.826667-40.96 20.48-20.48 40.96 13.653333 116.053333 27.306667 150.186666-20.48 54.613333-40.96 109.226667-68.266667 163.84C273.066667 764.586667 273.066667 798.72 273.066667 812.373333c0 13.653333 6.826667 27.306667 20.48 34.133334 6.826667 6.826667 13.653333 6.826667 20.48 6.826666 34.133333 0 68.266667-34.133333 116.053333-109.226666 54.613333-20.48 102.4-40.96 157.013333-47.786667 27.306667 20.48 61.44 34.133333 95.573334 34.133333zM491.52 416.426667c6.826667 20.48 6.826667 47.786667 0 68.266666-13.653333-20.48-13.653333-40.96-13.653333-68.266666h13.653333z m-177.493333 395.946666c13.653333-20.48 27.306667-27.306667 47.786666-40.96-13.653333 20.48-27.306667 34.133333-47.786666 40.96z m184.32-204.8c13.653333 20.48 34.133333 47.786667 54.613333 68.266667H546.133333c-27.306667 6.826667-61.44 13.653333-88.746666 27.306667 13.653333-34.133333 27.306667-61.44 40.96-95.573334z m177.493333 68.266667c27.306667 0 34.133333 6.826667 34.133333 13.653333-6.826667 0-20.48 6.826667-27.306666 0-13.653333 0-27.306667-6.826667-40.96-13.653333h34.133333z",
|
|
@@ -410,7 +410,7 @@ const L = (o, n) => {
|
|
|
410
410
|
null,
|
|
411
411
|
-1
|
|
412
412
|
/* HOISTED */
|
|
413
|
-
),
|
|
413
|
+
), We = /* @__PURE__ */ u(
|
|
414
414
|
"path",
|
|
415
415
|
{
|
|
416
416
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -420,10 +420,10 @@ const L = (o, n) => {
|
|
|
420
420
|
null,
|
|
421
421
|
-1
|
|
422
422
|
/* HOISTED */
|
|
423
|
-
),
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
],
|
|
423
|
+
), Ke = [
|
|
424
|
+
je,
|
|
425
|
+
We
|
|
426
|
+
], Ge = {
|
|
427
427
|
key: 5,
|
|
428
428
|
t: "1686300195363",
|
|
429
429
|
class: "icon",
|
|
@@ -433,7 +433,7 @@ const L = (o, n) => {
|
|
|
433
433
|
"p-id": "8602",
|
|
434
434
|
width: "200",
|
|
435
435
|
height: "200"
|
|
436
|
-
},
|
|
436
|
+
}, Ye = /* @__PURE__ */ u(
|
|
437
437
|
"path",
|
|
438
438
|
{
|
|
439
439
|
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",
|
|
@@ -443,7 +443,7 @@ const L = (o, n) => {
|
|
|
443
443
|
null,
|
|
444
444
|
-1
|
|
445
445
|
/* HOISTED */
|
|
446
|
-
),
|
|
446
|
+
), Xe = /* @__PURE__ */ u(
|
|
447
447
|
"path",
|
|
448
448
|
{
|
|
449
449
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -453,10 +453,10 @@ const L = (o, n) => {
|
|
|
453
453
|
null,
|
|
454
454
|
-1
|
|
455
455
|
/* HOISTED */
|
|
456
|
-
),
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
],
|
|
456
|
+
), Je = [
|
|
457
|
+
Ye,
|
|
458
|
+
Xe
|
|
459
|
+
], Ze = {
|
|
460
460
|
key: 6,
|
|
461
461
|
t: "1686300209288",
|
|
462
462
|
class: "icon",
|
|
@@ -466,7 +466,7 @@ const L = (o, n) => {
|
|
|
466
466
|
"p-id": "8757",
|
|
467
467
|
width: "200",
|
|
468
468
|
height: "200"
|
|
469
|
-
},
|
|
469
|
+
}, Qe = /* @__PURE__ */ u(
|
|
470
470
|
"path",
|
|
471
471
|
{
|
|
472
472
|
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 m464.213333 375.466667l-232.106666 61.44c-27.306667 13.653333-47.786667 34.133333-47.786667 61.44v218.453333s-20.48-13.653333-54.613333-6.826667c-47.786667 6.826667-95.573333 47.786667-95.573334 88.746667 0 40.96 47.786667 61.44 95.573334 54.613333 54.613333-6.826667 95.573333-40.96 95.573333-81.92V559.786667c0-13.653333 27.306667-27.306667 27.306667-27.306667L655.36 477.866667s20.48-6.826667 20.48 13.653333v170.666667s-20.48-13.653333-54.613333-6.826667c-54.613333 6.826667-95.573333 40.96-95.573334 81.92s47.786667 68.266667 95.573334 61.44 95.573333-40.96 95.573333-81.92V409.6c0-27.306667-27.306667-40.96-47.786667-34.133333z",
|
|
@@ -476,7 +476,7 @@ const L = (o, n) => {
|
|
|
476
476
|
null,
|
|
477
477
|
-1
|
|
478
478
|
/* HOISTED */
|
|
479
|
-
),
|
|
479
|
+
), e3 = /* @__PURE__ */ u(
|
|
480
480
|
"path",
|
|
481
481
|
{
|
|
482
482
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -486,10 +486,10 @@ const L = (o, n) => {
|
|
|
486
486
|
null,
|
|
487
487
|
-1
|
|
488
488
|
/* HOISTED */
|
|
489
|
-
),
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
],
|
|
489
|
+
), t3 = [
|
|
490
|
+
Qe,
|
|
491
|
+
e3
|
|
492
|
+
], o3 = {
|
|
493
493
|
key: 7,
|
|
494
494
|
t: "1686300225262",
|
|
495
495
|
class: "icon",
|
|
@@ -499,7 +499,7 @@ const L = (o, n) => {
|
|
|
499
499
|
"p-id": "8912",
|
|
500
500
|
width: "200",
|
|
501
501
|
height: "200"
|
|
502
|
-
},
|
|
502
|
+
}, n3 = /* @__PURE__ */ u(
|
|
503
503
|
"path",
|
|
504
504
|
{
|
|
505
505
|
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 853.333333c150.186667 0 273.066667-122.88 273.066667-273.066666s-122.88-273.066667-273.066667-273.066667-273.066667 122.88-273.066667 273.066667 122.88 273.066667 273.066667 273.066666z m0-68.266666c-116.053333 0-204.8-88.746667-204.8-204.8s88.746667-204.8 204.8-204.8 204.8 88.746667 204.8 204.8-88.746667 204.8-204.8 204.8zM614.4 600.746667l6.826667-6.826667c6.826667-13.653333 6.826667-27.306667-6.826667-34.133333L484.693333 471.04s-6.826667-6.826667-13.653333-6.826667c-13.653333 0-27.306667 13.653333-27.306667 27.306667v170.666667c0 6.826667 0 13.653333 6.826667 13.653333 6.826667 13.653333 27.306667 13.653333 40.96 6.826667L614.4 600.746667z",
|
|
@@ -509,7 +509,7 @@ const L = (o, n) => {
|
|
|
509
509
|
null,
|
|
510
510
|
-1
|
|
511
511
|
/* HOISTED */
|
|
512
|
-
),
|
|
512
|
+
), s3 = /* @__PURE__ */ u(
|
|
513
513
|
"path",
|
|
514
514
|
{
|
|
515
515
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -519,10 +519,10 @@ const L = (o, n) => {
|
|
|
519
519
|
null,
|
|
520
520
|
-1
|
|
521
521
|
/* HOISTED */
|
|
522
|
-
),
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
],
|
|
522
|
+
), i3 = [
|
|
523
|
+
n3,
|
|
524
|
+
s3
|
|
525
|
+
], l3 = {
|
|
526
526
|
key: 8,
|
|
527
527
|
t: "1692251753690",
|
|
528
528
|
class: "icon",
|
|
@@ -532,7 +532,7 @@ const L = (o, n) => {
|
|
|
532
532
|
"p-id": "4336",
|
|
533
533
|
width: "200",
|
|
534
534
|
height: "200"
|
|
535
|
-
},
|
|
535
|
+
}, a3 = /* @__PURE__ */ u(
|
|
536
536
|
"path",
|
|
537
537
|
{
|
|
538
538
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -542,7 +542,7 @@ const L = (o, n) => {
|
|
|
542
542
|
null,
|
|
543
543
|
-1
|
|
544
544
|
/* HOISTED */
|
|
545
|
-
),
|
|
545
|
+
), r3 = /* @__PURE__ */ u(
|
|
546
546
|
"path",
|
|
547
547
|
{
|
|
548
548
|
d: "M388.5056 631.261867H307.541333v54.852266h95.095467v33.8944H265.3184v-204.765866h136.977067v34.167466H307.5072v48.810667h80.9984v33.041067z m112.093867-45.397334l38.4-70.621866h48.503466l-59.630933 101.546666 61.201067 103.2192h-49.117867l-39.355733-71.714133-39.389867 71.68h-49.0496l61.166933-103.185067-59.630933-101.546666h48.503467l38.4 70.587733z m266.922666 65.9456c-0.648533 9.898667-3.037867 19.592533-7.0656 28.672-3.7888 8.533333-9.352533 16.1792-16.315733 22.4256-6.929067 6.2464-15.36 11.127467-25.258667 14.6432-9.864533 3.4816-21.128533 5.256533-33.792 5.256534-13.1072 0-24.917333-2.286933-35.362133-6.826667a72.260267 72.260267 0 0 1-26.555733-19.626667 89.019733 89.019733 0 0 1-16.725334-30.993066 133.597867 133.597867 0 0 1-5.870933-40.8576v-13.482667c0-15.121067 2.048-28.740267 6.0416-40.925867 4.061867-12.1856 9.728-22.528 17.1008-31.061333 7.338667-8.533333 16.4864-15.2576 26.794667-19.694933 10.478933-4.608 22.186667-6.894933 35.157333-6.894934 12.731733 0 24.029867 1.809067 33.792 5.393067 9.8304 3.618133 18.1248 8.635733 24.9856 15.0528 6.826667 6.485333 12.288 14.267733 16.042667 22.9376 3.822933 8.874667 6.2464 18.466133 7.304533 28.8768h-42.1888a63.829333 63.829333 0 0 0-3.1744-16.145067 31.744 31.744 0 0 0-7.099733-11.810133 29.354667 29.354667 0 0 0-11.946667-7.2704 55.944533 55.944533 0 0 0-17.749333-2.4576c-14.2336 0-24.849067 5.188267-31.812267 15.5648-6.997333 10.3424-10.478933 26.385067-10.478933 48.128v13.789867c0 10.581333 0.750933 19.899733 2.321066 27.8528 1.536 7.953067 3.959467 14.609067 7.304534 19.968a32.221867 32.221867 0 0 0 12.970666 12.014933c5.256533 2.696533 11.639467 4.027733 19.182934 4.027733 6.656 0 12.3904-0.750933 17.2032-2.2528a30.549333 30.549333 0 0 0 12.0832-6.826666 30.685867 30.685867 0 0 0 7.509333-11.4688c1.809067-4.573867 2.935467-9.898667 3.413333-16.042667h42.154667z",
|
|
@@ -553,7 +553,7 @@ const L = (o, n) => {
|
|
|
553
553
|
null,
|
|
554
554
|
-1
|
|
555
555
|
/* HOISTED */
|
|
556
|
-
),
|
|
556
|
+
), c3 = /* @__PURE__ */ u(
|
|
557
557
|
"path",
|
|
558
558
|
{
|
|
559
559
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -563,11 +563,11 @@ const L = (o, n) => {
|
|
|
563
563
|
null,
|
|
564
564
|
-1
|
|
565
565
|
/* HOISTED */
|
|
566
|
-
),
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
],
|
|
566
|
+
), d3 = [
|
|
567
|
+
a3,
|
|
568
|
+
r3,
|
|
569
|
+
c3
|
|
570
|
+
], u3 = {
|
|
571
571
|
key: 9,
|
|
572
572
|
t: "1692251753690",
|
|
573
573
|
class: "icon",
|
|
@@ -577,7 +577,7 @@ const L = (o, n) => {
|
|
|
577
577
|
"p-id": "4336",
|
|
578
578
|
width: "200",
|
|
579
579
|
height: "200"
|
|
580
|
-
},
|
|
580
|
+
}, p3 = /* @__PURE__ */ u(
|
|
581
581
|
"path",
|
|
582
582
|
{
|
|
583
583
|
d: "M145.6 0C100.8 0 64 36.8 64 81.6v860.8C64 987.2 100.8 1024 145.6 1024h732.8c44.8 0 81.6-36.8 81.6-81.6V324.8L657.6 0h-512z",
|
|
@@ -587,7 +587,7 @@ const L = (o, n) => {
|
|
|
587
587
|
null,
|
|
588
588
|
-1
|
|
589
589
|
/* HOISTED */
|
|
590
|
-
),
|
|
590
|
+
), f3 = /* @__PURE__ */ u(
|
|
591
591
|
"path",
|
|
592
592
|
{
|
|
593
593
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -597,7 +597,7 @@ const L = (o, n) => {
|
|
|
597
597
|
null,
|
|
598
598
|
-1
|
|
599
599
|
/* HOISTED */
|
|
600
|
-
),
|
|
600
|
+
), v3 = /* @__PURE__ */ u(
|
|
601
601
|
"path",
|
|
602
602
|
{
|
|
603
603
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -608,7 +608,7 @@ const L = (o, n) => {
|
|
|
608
608
|
null,
|
|
609
609
|
-1
|
|
610
610
|
/* HOISTED */
|
|
611
|
-
),
|
|
611
|
+
), h3 = /* @__PURE__ */ u(
|
|
612
612
|
"path",
|
|
613
613
|
{
|
|
614
614
|
d: "M344 862.4h-100.8c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h100.8c4.8 0 9.6 4.8 9.6 11.2 0 6.4-4.8 9.6-9.6 9.6h-94.4v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h94.4c4.8 0 9.6 4.8 9.6 9.6 0 6.4-4.8 11.2-9.6 11.2z m193.6 1.6c-4.8 0-8 0-9.6-3.2l-59.2-80-60.8 80c-1.6 3.2-4.8 3.2-8 3.2-6.4 0-11.2-4.8-11.2-11.2 0-1.6 0-4.8 1.6-6.4l62.4-81.6-57.6-78.4c-1.6-1.6-3.2-3.2-3.2-6.4 0-4.8 4.8-11.2 12.8-11.2 3.2 0 6.4 1.6 8 4.8l56 73.6 54.4-73.6c1.6-3.2 4.8-4.8 9.6-4.8s11.2 4.8 11.2 11.2c0 3.2 0 4.8-1.6 6.4l-57.6 76.8 60.8 83.2c1.6 1.6 3.2 4.8 3.2 6.4 0 6.4-6.4 11.2-11.2 11.2z m171.2-1.6h-99.2c-9.6 0-17.6-8-17.6-17.6V688c0-9.6 8-17.6 17.6-17.6h99.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-92.8v62.4h91.2c6.4 0 11.2 4.8 11.2 11.2 0 6.4-4.8 9.6-11.2 9.6h-91.2v67.2h92.8c6.4 0 11.2 4.8 11.2 9.6 0 6.4-4.8 11.2-11.2 11.2z",
|
|
@@ -618,12 +618,12 @@ const L = (o, n) => {
|
|
|
618
618
|
null,
|
|
619
619
|
-1
|
|
620
620
|
/* HOISTED */
|
|
621
|
-
),
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
],
|
|
621
|
+
), g3 = [
|
|
622
|
+
p3,
|
|
623
|
+
f3,
|
|
624
|
+
v3,
|
|
625
|
+
h3
|
|
626
|
+
], _3 = {
|
|
627
627
|
key: 10,
|
|
628
628
|
t: "1714099890925",
|
|
629
629
|
class: "icon",
|
|
@@ -633,7 +633,7 @@ const L = (o, n) => {
|
|
|
633
633
|
"p-id": "2271",
|
|
634
634
|
width: "200",
|
|
635
635
|
height: "200"
|
|
636
|
-
},
|
|
636
|
+
}, y3 = /* @__PURE__ */ u(
|
|
637
637
|
"path",
|
|
638
638
|
{
|
|
639
639
|
d: "M227.555556 28.444444h389.404444a19.911111 19.911111 0 0 1 14.734222 6.542223l271.132445 298.211555a28.444444 28.444444 0 0 1 7.395555 19.143111V938.666667a56.888889 56.888889 0 0 1-56.888889 56.888889H227.555556a56.888889 56.888889 0 0 1-56.888889-56.888889V85.333333a56.888889 56.888889 0 0 1 56.888889-56.888889z",
|
|
@@ -643,7 +643,7 @@ const L = (o, n) => {
|
|
|
643
643
|
null,
|
|
644
644
|
-1
|
|
645
645
|
/* HOISTED */
|
|
646
|
-
),
|
|
646
|
+
), m3 = /* @__PURE__ */ u(
|
|
647
647
|
"path",
|
|
648
648
|
{
|
|
649
649
|
d: "M625.777778 30.492444a19.911111 19.911111 0 0 1 5.916444 4.465778l271.132445 298.24a28.444444 28.444444 0 0 1 5.176889 8.135111H682.666667a56.888889 56.888889 0 0 1-56.888889-56.888889V30.492444z",
|
|
@@ -654,7 +654,7 @@ const L = (o, n) => {
|
|
|
654
654
|
null,
|
|
655
655
|
-1
|
|
656
656
|
/* HOISTED */
|
|
657
|
-
),
|
|
657
|
+
), w3 = /* @__PURE__ */ u(
|
|
658
658
|
"path",
|
|
659
659
|
{
|
|
660
660
|
d: "M396.288 645.176889c0 5.461333-0.796444 10.865778-2.389333 16.156444-1.592889 5.319111-4.266667 10.069333-7.964445 14.222223-3.697778 4.181333-8.647111 7.509333-14.791111 10.012444a60.871111 60.871111 0 0 1-22.869333 3.754667c-15.160889 0-26.851556-3.982222-35.043556-11.946667-8.192-7.964444-12.288-19.683556-12.288-35.157333v-10.012445h21.617778v6.826667c0 4.721778 0.369778 9.045333 1.137778 12.970667a28.074667 28.074667 0 0 0 3.982222 10.24 18.773333 18.773333 0 0 0 7.964444 6.712888c3.413333 1.592889 7.765333 2.389333 13.084445 2.389334 9.870222 0 16.64-2.645333 20.366222-7.964445 3.697778-5.290667 5.575111-12.430222 5.575111-21.390222v-118.784h21.617778v121.969778z m44.145778 3.413333c0.142222 4.266667 1.137778 7.850667 2.958222 10.808889a20.593778 20.593778 0 0 0 7.168 7.054222c2.958222 1.763556 6.286222 3.015111 10.012444 3.754667 3.697778 0.768 7.537778 1.137778 11.491556 1.137778 3.043556 0 6.229333-0.227556 9.557333-0.682667 3.328-0.455111 6.4-1.28 9.216-2.503111a17.294222 17.294222 0 0 0 6.940445-5.347556 14.250667 14.250667 0 0 0 2.730666-8.988444 12.885333 12.885333 0 0 0-5.688888-11.377778c-3.783111-2.56-8.533333-4.664889-14.222223-6.257778a232.561778 232.561778 0 0 0-18.545777-4.323555 96.227556 96.227556 0 0 1-18.545778-5.461333 38.4 38.4 0 0 1-14.222222-9.898667c-3.783111-4.266667-5.688889-10.154667-5.688889-17.749333a28.16 28.16 0 0 1 3.982222-15.246223c2.645333-4.266667 6.058667-7.68 10.24-10.353777 4.181333-2.645333 8.874667-4.608 14.108444-5.916445 5.233778-1.28 10.439111-1.934222 15.587556-1.934222 6.684444 0 12.8 0.568889 18.432 1.706667 5.603556 1.137778 10.581333 3.128889 14.904889 5.916444 4.323556 2.816 7.765333 6.599111 10.353778 11.377778 2.56 4.778667 4.096 10.752 4.551111 17.863111h-19.342223a19.569778 19.569778 0 0 0-2.958222-9.443556 19.370667 19.370667 0 0 0-6.371555-6.030222 28.956444 28.956444 0 0 0-8.533334-3.299555 43.918222 43.918222 0 0 0-9.443555-1.024c-2.872889 0-5.802667 0.227556-8.760889 0.682666a29.496889 29.496889 0 0 0-8.078222 2.389334 16.270222 16.270222 0 0 0-5.916445 4.551111 11.463111 11.463111 0 0 0-2.275555 7.395555c0 3.356444 1.166222 6.115556 3.527111 8.305778a28.16 28.16 0 0 0 8.988444 5.461333c3.640889 1.422222 7.736889 2.673778 12.288 3.640889 4.551111 0.995556 9.102222 1.991111 13.653334 3.072 4.835556 1.080889 9.585778 2.360889 14.222222 3.868445 4.636444 1.536 8.732444 3.527111 12.288 6.030222s6.456889 5.660444 8.647111 9.443555a27.733333 27.733333 0 0 1 3.299555 14.108445c0 7.111111-1.479111 13.056-4.437333 17.749333a34.702222 34.702222 0 0 1-11.605333 11.377778 48.497778 48.497778 0 0 1-16.156445 6.030222c-5.973333 1.137778-11.946667 1.706667-17.863111 1.706667a82.773333 82.773333 0 0 1-18.659555-2.048 45.795556 45.795556 0 0 1-15.701334-6.712889 34.218667 34.218667 0 0 1-10.922666-12.288 42.581333 42.581333 0 0 1-4.551111-18.545778h19.342222z m116.053333-21.617778c0 7.111111 0.938667 13.482667 2.844445 19.000889 1.905778 5.546667 4.522667 10.183111 7.850666 13.880889a34.076444 34.076444 0 0 0 25.941334 11.491556 34.076444 34.076444 0 0 0 25.941333-11.491556c3.328-3.697778 5.973333-8.334222 7.850667-13.880889 1.905778-5.518222 2.844444-11.861333 2.844444-19.000889 0-7.111111-0.938667-13.454222-2.844444-19.000888a41.016889 41.016889 0 0 0-7.850667-13.994667 33.422222 33.422222 0 0 0-11.719111-8.647111 34.872889 34.872889 0 0 0-14.222222-2.958222c-5.006222 0-9.756444 0.995556-14.222223 2.958222-4.465778 1.991111-8.391111 4.835556-11.719111 8.647111-3.328 3.811556-5.973333 8.476444-7.850666 13.994667-1.905778 5.546667-2.844444 11.889778-2.844445 19.000888z m-20.48 0c0-8.647111 1.223111-16.725333 3.640889-24.234666a54.897778 54.897778 0 0 1 10.922667-19.569778c4.835556-5.518222 10.837333-9.898667 17.976889-13.084444 7.111111-3.185778 15.331556-4.778667 24.576-4.778667 9.386667 0 17.635556 1.592889 24.689777 4.778667 7.054222 3.185778 12.999111 7.566222 17.863111 13.084444 4.835556 5.546667 8.504889 12.060444 10.922667 19.569778 2.417778 7.509333 3.640889 15.587556 3.640889 24.234666 0 8.647111-1.223111 16.696889-3.640889 24.120889-2.417778 7.452444-6.058667 13.937778-10.922667 19.456-4.835556 5.546667-10.808889 9.870222-17.863111 12.970667-7.054222 3.128889-15.274667 4.664889-24.689777 4.664889-9.244444 0-17.436444-1.536-24.576-4.664889a50.261333 50.261333 0 0 1-17.976889-12.970667 55.068444 55.068444 0 0 1-10.922667-19.456 77.283556 77.283556 0 0 1-3.640889-24.120889z m136.988445-58.936888h18.204444v18.659555h0.455111c8.049778-14.250667 20.764444-21.390222 38.229333-21.390222 7.736889 0 14.193778 1.080889 19.342223 3.185778 5.148444 2.133333 9.329778 5.091556 12.515555 8.874666 3.185778 3.811556 5.404444 8.305778 6.712889 13.539556 1.28 5.233778 1.934222 11.036444 1.934222 17.408v77.368889h-19.342222v-79.644445c0-7.281778-2.133333-13.027556-6.371555-17.294222-4.266667-4.266667-10.097778-6.371556-17.521778-6.371555-5.916444 0-11.036444 0.910222-15.36 2.730666a28.814222 28.814222 0 0 0-10.808889 7.736889 33.336889 33.336889 0 0 0-6.485333 11.719111c-1.422222 4.494222-2.161778 9.386667-2.161778 14.677334v66.446222h-19.342222V568.035556z",
|
|
@@ -664,11 +664,11 @@ const L = (o, n) => {
|
|
|
664
664
|
null,
|
|
665
665
|
-1
|
|
666
666
|
/* HOISTED */
|
|
667
|
-
),
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
],
|
|
667
|
+
), k3 = [
|
|
668
|
+
y3,
|
|
669
|
+
m3,
|
|
670
|
+
w3
|
|
671
|
+
], F3 = {
|
|
672
672
|
key: 11,
|
|
673
673
|
t: "1686300037564",
|
|
674
674
|
class: "icon",
|
|
@@ -678,7 +678,7 @@ const L = (o, n) => {
|
|
|
678
678
|
"p-id": "7515",
|
|
679
679
|
width: "200",
|
|
680
680
|
height: "200"
|
|
681
|
-
},
|
|
681
|
+
}, x3 = /* @__PURE__ */ u(
|
|
682
682
|
"path",
|
|
683
683
|
{
|
|
684
684
|
d: "M160 0h512l256 256v704c0 35.3472-28.6528 64-64 64H160c-35.3472 0-64-28.6528-64-64V64c0-35.3472 28.6528-64 64-64z",
|
|
@@ -688,7 +688,7 @@ const L = (o, n) => {
|
|
|
688
688
|
null,
|
|
689
689
|
-1
|
|
690
690
|
/* HOISTED */
|
|
691
|
-
),
|
|
691
|
+
), S3 = /* @__PURE__ */ u(
|
|
692
692
|
"path",
|
|
693
693
|
{
|
|
694
694
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -698,7 +698,7 @@ const L = (o, n) => {
|
|
|
698
698
|
null,
|
|
699
699
|
-1
|
|
700
700
|
/* HOISTED */
|
|
701
|
-
),
|
|
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,11 +708,11 @@ const L = (o, n) => {
|
|
|
708
708
|
null,
|
|
709
709
|
-1
|
|
710
710
|
/* HOISTED */
|
|
711
|
-
),
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
],
|
|
711
|
+
), b3 = [
|
|
712
|
+
x3,
|
|
713
|
+
S3,
|
|
714
|
+
z3
|
|
715
|
+
], $3 = /* @__PURE__ */ B({
|
|
716
716
|
__name: "FileIcon",
|
|
717
717
|
props: {
|
|
718
718
|
type: {
|
|
@@ -732,20 +732,20 @@ const L = (o, n) => {
|
|
|
732
732
|
})
|
|
733
733
|
}
|
|
734
734
|
},
|
|
735
|
-
setup(
|
|
736
|
-
const
|
|
737
|
-
return (
|
|
735
|
+
setup(t) {
|
|
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
|
-
}),
|
|
740
|
-
const
|
|
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
|
-
cLoadUrl:
|
|
743
|
-
cUploadUrl:
|
|
742
|
+
cLoadUrl: n,
|
|
743
|
+
cUploadUrl: d,
|
|
744
744
|
cToken: c,
|
|
745
|
-
cOnlyofficeConfig:
|
|
746
|
-
cUserInfo:
|
|
745
|
+
cOnlyofficeConfig: y,
|
|
746
|
+
cUserInfo: v
|
|
747
747
|
};
|
|
748
|
-
},
|
|
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 = (o, n) => {
|
|
|
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
|
-
setup(
|
|
818
|
-
const
|
|
822
|
+
setup(t) {
|
|
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
|
-
...
|
|
824
|
-
})),
|
|
825
|
-
var
|
|
826
|
-
|
|
828
|
+
...o.field
|
|
829
|
+
})), r = L({}), c = L(!1), g = (p) => {
|
|
830
|
+
var _, s;
|
|
831
|
+
r.value = {
|
|
827
832
|
...p,
|
|
828
833
|
name: p.name,
|
|
829
834
|
url: U(
|
|
830
|
-
|
|
831
|
-
p.url || ((
|
|
835
|
+
n.value,
|
|
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
|
-
},
|
|
835
|
-
|
|
839
|
+
}, y = (p) => {
|
|
840
|
+
_e.downloadFile(
|
|
836
841
|
U(
|
|
837
|
-
|
|
838
|
-
p[
|
|
842
|
+
n.value,
|
|
843
|
+
p[d.value.url] || p.attachmentId || p.id
|
|
839
844
|
),
|
|
840
|
-
p[
|
|
845
|
+
p[d.value.name] || p.attachmentName
|
|
841
846
|
);
|
|
842
|
-
},
|
|
847
|
+
}, i = z(() => ge.isNumber(o.width) ? `${o.width}px` : o.width), v = z(() => o.list.map((p) => ({
|
|
843
848
|
...p,
|
|
844
|
-
name: p[
|
|
845
|
-
size: p[
|
|
846
|
-
suffix: p[
|
|
849
|
+
name: p[d.value.name] || p.attachmentName,
|
|
850
|
+
size: p[d.value.size] || p.fileSize || p.attachmentSize,
|
|
851
|
+
suffix: p[d.value.suffix] || p.attachmentSuffix
|
|
847
852
|
})));
|
|
848
|
-
return (p,
|
|
849
|
-
var
|
|
850
|
-
|
|
851
|
-
|
|
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
|
-
(
|
|
855
|
-
|
|
860
|
+
(F = t.list) != null && F.length ? (l(), a(
|
|
861
|
+
b,
|
|
856
862
|
{ key: 0 },
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
{
|
|
862
|
-
class:
|
|
863
|
-
|
|
864
|
-
style:
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
|
|
870
|
-
|
|
871
|
-
|
|
872
|
-
|
|
873
|
-
|
|
874
|
-
|
|
875
|
-
|
|
876
|
-
|
|
877
|
-
|
|
878
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
|
|
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
|
-
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
929
|
-
|
|
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 */
|
|
990
|
+
)) : f("v-if", !0),
|
|
991
|
+
C(k(A3), {
|
|
930
992
|
show: c.value,
|
|
931
|
-
"onUpdate:show":
|
|
932
|
-
loadUrl:
|
|
933
|
-
file:
|
|
934
|
-
onlyofficeServer: ((
|
|
935
|
-
onlyOfficeConfig:
|
|
936
|
-
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 = (o, n) => {
|
|
|
942
1004
|
};
|
|
943
1005
|
}
|
|
944
1006
|
});
|
|
945
|
-
const
|
|
1007
|
+
const R3 = q(E3), V3 = /* @__PURE__ */ B({
|
|
946
1008
|
__name: "IkPreviewFileDialog",
|
|
947
|
-
props: /* @__PURE__ */
|
|
1009
|
+
props: /* @__PURE__ */ ne({
|
|
948
1010
|
file: {
|
|
949
1011
|
type: Object,
|
|
950
1012
|
default: () => []
|
|
@@ -978,82 +1040,82 @@ const A3 = L(R3), V3 = /* @__PURE__ */ B({
|
|
|
978
1040
|
showModifiers: {}
|
|
979
1041
|
}),
|
|
980
1042
|
emits: ["update:show"],
|
|
981
|
-
setup(
|
|
982
|
-
const
|
|
1043
|
+
setup(t) {
|
|
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
|
-
...
|
|
988
|
-
})),
|
|
1049
|
+
...o.field
|
|
1050
|
+
})), d = L(null), r = L(null), c = ie({
|
|
989
1051
|
image: !1,
|
|
990
1052
|
office: !1,
|
|
991
1053
|
video: !1
|
|
992
|
-
}),
|
|
993
|
-
var
|
|
1054
|
+
}), g = (i) => {
|
|
1055
|
+
var v, p, _, s, F, T, I;
|
|
994
1056
|
try {
|
|
995
|
-
const
|
|
996
|
-
if (
|
|
997
|
-
...
|
|
998
|
-
name:
|
|
999
|
-
url: U(
|
|
1000
|
-
},
|
|
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 = {
|
|
1059
|
+
...i,
|
|
1060
|
+
name: i[e.value.name],
|
|
1061
|
+
url: U(o.loadUrl, x)
|
|
1062
|
+
}, i && re(i, e.value) === "image") {
|
|
1001
1063
|
c.image = !0;
|
|
1002
1064
|
return;
|
|
1003
|
-
} else if ((((
|
|
1004
|
-
c.office = !0,
|
|
1005
|
-
...
|
|
1065
|
+
} else if ((((_ = o.onlyOfficeConfig) == null ? void 0 : _.accept) || o.onlyOfficeAccept).includes(S)) {
|
|
1066
|
+
c.office = !0, d.value = {
|
|
1067
|
+
...o.onlyOfficeConfig,
|
|
1006
1068
|
editorConfig: {
|
|
1007
|
-
...((
|
|
1069
|
+
...((s = o.onlyOfficeConfig) == null ? void 0 : s.editorConfig) || {},
|
|
1008
1070
|
customization: {
|
|
1009
|
-
...((
|
|
1071
|
+
...((T = (F = o.onlyOfficeConfig) == null ? void 0 : F.editorConfig) == null ? void 0 : T.customization) || {},
|
|
1010
1072
|
review: {
|
|
1011
1073
|
reviewDisplay: "final"
|
|
1012
1074
|
}
|
|
1013
1075
|
}
|
|
1014
1076
|
},
|
|
1015
1077
|
document: {
|
|
1016
|
-
key:
|
|
1017
|
-
title:
|
|
1018
|
-
url: U(
|
|
1019
|
-
fileType:
|
|
1020
|
-
...((
|
|
1078
|
+
key: ye(),
|
|
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:
|
|
1084
|
+
documentType: ze(S)
|
|
1023
1085
|
};
|
|
1024
1086
|
return;
|
|
1025
1087
|
}
|
|
1026
|
-
} catch (
|
|
1027
|
-
console.info("预览错误: ",
|
|
1088
|
+
} catch (h) {
|
|
1089
|
+
console.info("预览错误: ", h);
|
|
1028
1090
|
}
|
|
1029
1091
|
};
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
|
|
1092
|
+
le([n, o.file], ([i, v]) => {
|
|
1093
|
+
i && G(() => {
|
|
1094
|
+
g(o.file);
|
|
1033
1095
|
});
|
|
1034
1096
|
});
|
|
1035
|
-
const
|
|
1036
|
-
|
|
1097
|
+
const y = () => {
|
|
1098
|
+
n.value = !1, c.office = !1, c.image = !1, c.video = !1;
|
|
1037
1099
|
};
|
|
1038
|
-
return (
|
|
1039
|
-
var
|
|
1040
|
-
const p =
|
|
1041
|
-
return
|
|
1042
|
-
|
|
1100
|
+
return (i, v) => {
|
|
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
|
-
(
|
|
1107
|
+
(_ = r.value) != null && _.url && c.image ? (l(), R(p, {
|
|
1046
1108
|
key: 0,
|
|
1047
|
-
onClose:
|
|
1048
|
-
|
|
1109
|
+
onClose: v[0] || (v[0] = (F) => {
|
|
1110
|
+
r.value = null, c.image = !1;
|
|
1049
1111
|
}),
|
|
1050
1112
|
ref: "previewImgRef",
|
|
1051
|
-
"url-list": [(
|
|
1052
|
-
}, null, 8, ["url-list"])) :
|
|
1053
|
-
|
|
1054
|
-
|
|
1113
|
+
"url-list": [(s = r.value) == null ? void 0 : s.url]
|
|
1114
|
+
}, null, 8, ["url-list"])) : f("v-if", !0),
|
|
1115
|
+
f(" 文档类 "),
|
|
1116
|
+
C(k(Z3), {
|
|
1055
1117
|
modelValue: c.office,
|
|
1056
|
-
"onUpdate:modelValue":
|
|
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 A3 = L(R3), V3 = /* @__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:
|
|
1070
|
-
var
|
|
1131
|
+
default: E(() => {
|
|
1132
|
+
var F;
|
|
1071
1133
|
return [
|
|
1072
|
-
|
|
1073
|
-
"config-options":
|
|
1074
|
-
"document-server-url": ((
|
|
1134
|
+
C(k(l6), {
|
|
1135
|
+
"config-options": d.value,
|
|
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
|
}),
|
|
@@ -1081,22 +1143,22 @@ const A3 = L(R3), V3 = /* @__PURE__ */ B({
|
|
|
1081
1143
|
],
|
|
1082
1144
|
64
|
|
1083
1145
|
/* STABLE_FRAGMENT */
|
|
1084
|
-
)) :
|
|
1146
|
+
)) : f("v-if", !0);
|
|
1085
1147
|
};
|
|
1086
1148
|
}
|
|
1087
1149
|
});
|
|
1088
|
-
const
|
|
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
|
-
},
|
|
1153
|
+
}, P3 = {
|
|
1092
1154
|
key: 1,
|
|
1093
1155
|
class: "h-[1em] w-[1em]",
|
|
1094
1156
|
"aria-hidden": "true"
|
|
1095
|
-
},
|
|
1157
|
+
}, N3 = ["xlink:href"], H3 = ["src"], L3 = {
|
|
1096
1158
|
key: 1,
|
|
1097
1159
|
class: "h-[1em] w-[1em]",
|
|
1098
1160
|
"aria-hidden": "true"
|
|
1099
|
-
},
|
|
1161
|
+
}, q3 = ["xlink:href"], U3 = ["src"], j3 = /* @__PURE__ */ B({
|
|
1100
1162
|
name: "IkSvgIcon",
|
|
1101
1163
|
__name: "index",
|
|
1102
1164
|
props: {
|
|
@@ -1122,17 +1184,17 @@ const M3 = L(V3), P3 = {
|
|
|
1122
1184
|
disabled: { type: Boolean, default: !1 },
|
|
1123
1185
|
tableIconType: {}
|
|
1124
1186
|
},
|
|
1125
|
-
setup(
|
|
1126
|
-
const
|
|
1127
|
-
...(
|
|
1128
|
-
...
|
|
1129
|
-
})),
|
|
1130
|
-
const { name: c } =
|
|
1187
|
+
setup(t) {
|
|
1188
|
+
const o = t, n = N("iconConfig"), e = z(() => ({
|
|
1189
|
+
...(n == null ? void 0 : n.value) || {},
|
|
1190
|
+
...o
|
|
1191
|
+
})), d = z(() => {
|
|
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
|
-
}),
|
|
1194
|
+
}), r = z(() => {
|
|
1133
1195
|
const c = [];
|
|
1134
|
-
if (
|
|
1135
|
-
switch (
|
|
1196
|
+
if (e.value.flip)
|
|
1197
|
+
switch (e.value.flip) {
|
|
1136
1198
|
case "horizontal":
|
|
1137
1199
|
c.push("rotateY(180deg)");
|
|
1138
1200
|
break;
|
|
@@ -1143,67 +1205,67 @@ const M3 = L(V3), P3 = {
|
|
|
1143
1205
|
c.push("rotateX(180deg)"), c.push("rotateY(180deg)");
|
|
1144
1206
|
break;
|
|
1145
1207
|
}
|
|
1146
|
-
|
|
1147
|
-
const
|
|
1148
|
-
...
|
|
1149
|
-
...
|
|
1208
|
+
e.value.rotate && c.push(`rotate(${e.value.rotate % 360}deg)`);
|
|
1209
|
+
const g = {
|
|
1210
|
+
...e.value.color && { color: e.value.color },
|
|
1211
|
+
...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
|
|
1150
1212
|
...c.length && { transform: c.join(" ") },
|
|
1151
|
-
padding:
|
|
1152
|
-
...
|
|
1153
|
-
"--ik-color-icon-dark":
|
|
1154
|
-
"--ik-color-icon-light":
|
|
1213
|
+
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
1214
|
+
...e.value.color && d.value !== "iksig" ? {
|
|
1215
|
+
"--ik-color-icon-dark": e.value.color,
|
|
1216
|
+
"--ik-color-icon-light": e.value.colorLight || me.setOpacity(e.value.color, e.value.opacity)
|
|
1155
1217
|
} : {}
|
|
1156
1218
|
};
|
|
1157
|
-
return
|
|
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,
|
|
1160
|
-
const
|
|
1161
|
-
return
|
|
1162
|
-
|
|
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,
|
|
1166
1228
|
class: O(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1167
|
-
[c.name]:
|
|
1168
|
-
"show-bg":
|
|
1169
|
-
default:
|
|
1170
|
-
small:
|
|
1171
|
-
big:
|
|
1172
|
-
warning:
|
|
1173
|
-
primary:
|
|
1174
|
-
success: c.success ||
|
|
1175
|
-
error:
|
|
1176
|
-
active:
|
|
1177
|
-
disabled:
|
|
1229
|
+
[c.name]: d.value === "unocss",
|
|
1230
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
1231
|
+
default: e.value.size === "default",
|
|
1232
|
+
small: e.value.size === "small",
|
|
1233
|
+
big: e.value.size === "big",
|
|
1234
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
1235
|
+
primary: e.value.primary || e.value.type === "primary",
|
|
1236
|
+
success: c.success || e.value.type === "success",
|
|
1237
|
+
error: e.value.error || e.value.type === "error",
|
|
1238
|
+
active: e.value.active,
|
|
1239
|
+
disabled: e.value.disabled
|
|
1178
1240
|
}]),
|
|
1179
|
-
style:
|
|
1241
|
+
style: $(r.value)
|
|
1180
1242
|
},
|
|
1181
1243
|
[
|
|
1182
|
-
|
|
1183
|
-
|
|
1244
|
+
f(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1245
|
+
d.value === "iksig" ? (l(), a(
|
|
1184
1246
|
"i",
|
|
1185
1247
|
{
|
|
1186
1248
|
key: 0,
|
|
1187
|
-
class: O(`iksig ${
|
|
1188
|
-
style:
|
|
1249
|
+
class: O(`iksig ${e.value.name}`),
|
|
1250
|
+
style: $(r.value)
|
|
1189
1251
|
},
|
|
1190
1252
|
null,
|
|
1191
1253
|
6
|
|
1192
1254
|
/* CLASS, STYLE */
|
|
1193
|
-
)) :
|
|
1255
|
+
)) : d.value === "svg" ? (l(), a("svg", P3, [
|
|
1194
1256
|
u("use", {
|
|
1195
|
-
"xlink:href": `#${
|
|
1196
|
-
}, null, 8,
|
|
1197
|
-
])) :
|
|
1257
|
+
"xlink:href": `#${e.value.name}`
|
|
1258
|
+
}, null, 8, N3)
|
|
1259
|
+
])) : d.value === "img" ? (l(), a("img", {
|
|
1198
1260
|
key: 2,
|
|
1199
|
-
src:
|
|
1261
|
+
src: e.value.name,
|
|
1200
1262
|
class: "h-[1em] w-[1em]"
|
|
1201
|
-
}, null, 8, H3)) : (l(),
|
|
1263
|
+
}, null, 8, H3)) : (l(), a(
|
|
1202
1264
|
"i",
|
|
1203
1265
|
{
|
|
1204
1266
|
key: 3,
|
|
1205
|
-
class: O(
|
|
1206
|
-
style:
|
|
1267
|
+
class: O(e.value.name),
|
|
1268
|
+
style: $(r.value)
|
|
1207
1269
|
},
|
|
1208
1270
|
null,
|
|
1209
1271
|
6
|
|
@@ -1212,54 +1274,54 @@ const M3 = L(V3), P3 = {
|
|
|
1212
1274
|
],
|
|
1213
1275
|
6
|
|
1214
1276
|
/* CLASS, STYLE */
|
|
1215
|
-
)) : (l(), R(
|
|
1277
|
+
)) : (l(), R(y, {
|
|
1216
1278
|
key: 1,
|
|
1217
|
-
content:
|
|
1279
|
+
content: e.value.title,
|
|
1218
1280
|
placement: "top"
|
|
1219
1281
|
}, {
|
|
1220
|
-
default:
|
|
1282
|
+
default: E(() => [
|
|
1221
1283
|
u(
|
|
1222
1284
|
"i",
|
|
1223
1285
|
{
|
|
1224
1286
|
class: O(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1225
|
-
[c.name]:
|
|
1226
|
-
"show-bg":
|
|
1227
|
-
default:
|
|
1228
|
-
small:
|
|
1229
|
-
big:
|
|
1230
|
-
warning:
|
|
1231
|
-
primary: c.primary ||
|
|
1232
|
-
success: c.success ||
|
|
1233
|
-
error:
|
|
1234
|
-
active:
|
|
1287
|
+
[c.name]: d.value === "unocss",
|
|
1288
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
1289
|
+
default: e.value.size === "default",
|
|
1290
|
+
small: e.value.size === "small",
|
|
1291
|
+
big: e.value.size === "big",
|
|
1292
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
1293
|
+
primary: c.primary || e.value.type === "primary",
|
|
1294
|
+
success: c.success || e.value.type === "success",
|
|
1295
|
+
error: e.value.error || e.value.type === "error",
|
|
1296
|
+
active: e.value.active
|
|
1235
1297
|
}]),
|
|
1236
|
-
style:
|
|
1298
|
+
style: $(r.value)
|
|
1237
1299
|
},
|
|
1238
1300
|
[
|
|
1239
|
-
|
|
1301
|
+
d.value === "iksig" ? (l(), a(
|
|
1240
1302
|
"i",
|
|
1241
1303
|
{
|
|
1242
1304
|
key: 0,
|
|
1243
|
-
class: O(`iksig ${
|
|
1244
|
-
style:
|
|
1305
|
+
class: O(`iksig ${e.value.name}`),
|
|
1306
|
+
style: $(r.value)
|
|
1245
1307
|
},
|
|
1246
1308
|
null,
|
|
1247
1309
|
6
|
|
1248
1310
|
/* CLASS, STYLE */
|
|
1249
|
-
)) :
|
|
1311
|
+
)) : d.value === "svg" ? (l(), a("svg", L3, [
|
|
1250
1312
|
u("use", {
|
|
1251
|
-
"xlink:href": `#${
|
|
1252
|
-
}, null, 8,
|
|
1253
|
-
])) :
|
|
1313
|
+
"xlink:href": `#${e.value.name}`
|
|
1314
|
+
}, null, 8, q3)
|
|
1315
|
+
])) : d.value === "img" ? (l(), a("img", {
|
|
1254
1316
|
key: 2,
|
|
1255
|
-
src:
|
|
1317
|
+
src: e.value.name,
|
|
1256
1318
|
class: "h-[1em] w-[1em]"
|
|
1257
|
-
}, null, 8,
|
|
1319
|
+
}, null, 8, U3)) : (l(), a(
|
|
1258
1320
|
"i",
|
|
1259
1321
|
{
|
|
1260
1322
|
key: 3,
|
|
1261
|
-
class: O(
|
|
1262
|
-
style:
|
|
1323
|
+
class: O(e.value.name),
|
|
1324
|
+
style: $(r.value)
|
|
1263
1325
|
},
|
|
1264
1326
|
null,
|
|
1265
1327
|
6
|
|
@@ -1273,13 +1335,13 @@ const M3 = L(V3), P3 = {
|
|
|
1273
1335
|
_: 1
|
|
1274
1336
|
/* STABLE */
|
|
1275
1337
|
}, 8, ["content"]))
|
|
1276
|
-
])) : (l(), R(
|
|
1338
|
+
])) : (l(), R(i, {
|
|
1277
1339
|
key: 1,
|
|
1278
|
-
type: ["warning", "error"].includes(
|
|
1340
|
+
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
1279
1341
|
}, {
|
|
1280
|
-
default:
|
|
1281
|
-
|
|
1282
|
-
|
|
1342
|
+
default: E(() => [
|
|
1343
|
+
A(
|
|
1344
|
+
m(e.value.title),
|
|
1283
1345
|
1
|
|
1284
1346
|
/* TEXT */
|
|
1285
1347
|
)
|
|
@@ -1290,10 +1352,10 @@ const M3 = L(V3), P3 = {
|
|
|
1290
1352
|
};
|
|
1291
1353
|
}
|
|
1292
1354
|
});
|
|
1293
|
-
const
|
|
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
|
-
},
|
|
1358
|
+
}, G3 = /* @__PURE__ */ B({
|
|
1297
1359
|
__name: "CloseIcon",
|
|
1298
1360
|
props: {
|
|
1299
1361
|
showBg: {
|
|
@@ -1305,16 +1367,16 @@ const K3 = /* @__PURE__ */ W(W3, [["__scopeId", "data-v-7729b79a"]]), j = L(K3),
|
|
|
1305
1367
|
default: !1
|
|
1306
1368
|
}
|
|
1307
1369
|
},
|
|
1308
|
-
setup(
|
|
1309
|
-
return (
|
|
1310
|
-
|
|
1311
|
-
|
|
1370
|
+
setup(t) {
|
|
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(
|
|
1379
|
+
])) : (l(), R(k(M), {
|
|
1318
1380
|
key: 1,
|
|
1319
1381
|
error: "",
|
|
1320
1382
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1324,9 +1386,9 @@ const K3 = /* @__PURE__ */ W(W3, [["__scopeId", "data-v-7729b79a"]]), j = L(K3),
|
|
|
1324
1386
|
]));
|
|
1325
1387
|
}
|
|
1326
1388
|
});
|
|
1327
|
-
const
|
|
1389
|
+
const Y3 = /* @__PURE__ */ j(G3, [["__scopeId", "data-v-79f49df8"]]), X3 = { class: "base-header" }, J3 = /* @__PURE__ */ B({
|
|
1328
1390
|
__name: "IkBaseDialog",
|
|
1329
|
-
props: /* @__PURE__ */
|
|
1391
|
+
props: /* @__PURE__ */ ne({
|
|
1330
1392
|
title: { default: "" },
|
|
1331
1393
|
cancelText: { default: "取消" },
|
|
1332
1394
|
confirmText: { default: "确认" },
|
|
@@ -1344,65 +1406,65 @@ const X3 = /* @__PURE__ */ W(Y3, [["__scopeId", "data-v-79f49df8"]]), J3 = { cla
|
|
|
1344
1406
|
modelModifiers: {}
|
|
1345
1407
|
}),
|
|
1346
1408
|
emits: ["update:modelValue"],
|
|
1347
|
-
setup(
|
|
1348
|
-
const
|
|
1349
|
-
|
|
1350
|
-
},
|
|
1409
|
+
setup(t) {
|
|
1410
|
+
const o = t, n = se(t, "modelValue"), e = L(o.fullscreen), d = () => {
|
|
1411
|
+
e.value = !e.value;
|
|
1412
|
+
}, r = B({
|
|
1351
1413
|
setup() {
|
|
1352
|
-
return () =>
|
|
1353
|
-
showBg:
|
|
1354
|
-
fullscreen:
|
|
1414
|
+
return () => ue(Y3, {
|
|
1415
|
+
showBg: o.showCloseBg,
|
|
1416
|
+
fullscreen: o.fullscreen
|
|
1355
1417
|
});
|
|
1356
1418
|
}
|
|
1357
1419
|
});
|
|
1358
|
-
return (c,
|
|
1359
|
-
const
|
|
1360
|
-
return l(), R(
|
|
1361
|
-
modelValue:
|
|
1362
|
-
"onUpdate:modelValue":
|
|
1420
|
+
return (c, g) => {
|
|
1421
|
+
const y = P("el-dialog");
|
|
1422
|
+
return l(), R(y, ae({
|
|
1423
|
+
modelValue: n.value,
|
|
1424
|
+
"onUpdate:modelValue": g[0] || (g[0] = (i) => n.value = i)
|
|
1363
1425
|
}, c.$attrs, {
|
|
1364
|
-
"close-icon":
|
|
1426
|
+
"close-icon": k(r),
|
|
1365
1427
|
class: `ik-base-dialog ${c.noHeader ? "no-header" : ""} ${c.noFooter ? "no-footer" : ""}`,
|
|
1366
|
-
fullscreen:
|
|
1428
|
+
fullscreen: e.value,
|
|
1367
1429
|
"modal-class": "baseDialog"
|
|
1368
|
-
}),
|
|
1369
|
-
icon:
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1430
|
+
}), pe({
|
|
1431
|
+
icon: E(() => [
|
|
1432
|
+
H(c.$slots, "title", {}, () => [
|
|
1433
|
+
A(
|
|
1434
|
+
m(c.title),
|
|
1373
1435
|
1
|
|
1374
1436
|
/* TEXT */
|
|
1375
1437
|
)
|
|
1376
1438
|
])
|
|
1377
1439
|
]),
|
|
1378
|
-
header:
|
|
1379
|
-
u("div",
|
|
1380
|
-
|
|
1381
|
-
|
|
1382
|
-
|
|
1440
|
+
header: E(() => [
|
|
1441
|
+
u("div", X3, [
|
|
1442
|
+
H(c.$slots, "header", {}, () => [
|
|
1443
|
+
A(
|
|
1444
|
+
m(c.title),
|
|
1383
1445
|
1
|
|
1384
1446
|
/* TEXT */
|
|
1385
1447
|
)
|
|
1386
1448
|
])
|
|
1387
1449
|
]),
|
|
1388
|
-
c.$attrs.showClose ? (l(), R(
|
|
1450
|
+
c.$attrs.showClose ? (l(), R(k(M), {
|
|
1389
1451
|
key: 0,
|
|
1390
|
-
onClick:
|
|
1391
|
-
name:
|
|
1452
|
+
onClick: d,
|
|
1453
|
+
name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1392
1454
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1393
|
-
title:
|
|
1394
|
-
}, null, 8, ["name", "title"])) :
|
|
1455
|
+
title: e.value ? "退出全屏" : "全屏"
|
|
1456
|
+
}, null, 8, ["name", "title"])) : f("v-if", !0)
|
|
1395
1457
|
]),
|
|
1396
|
-
default:
|
|
1397
|
-
|
|
1458
|
+
default: E(() => [
|
|
1459
|
+
H(c.$slots, "default")
|
|
1398
1460
|
]),
|
|
1399
1461
|
_: 2
|
|
1400
1462
|
/* DYNAMIC */
|
|
1401
1463
|
}, [
|
|
1402
1464
|
c.$slots.footer ? {
|
|
1403
1465
|
name: "footer",
|
|
1404
|
-
fn:
|
|
1405
|
-
|
|
1466
|
+
fn: E(() => [
|
|
1467
|
+
H(c.$slots, "footer")
|
|
1406
1468
|
]),
|
|
1407
1469
|
key: "0"
|
|
1408
1470
|
} : void 0
|
|
@@ -1410,134 +1472,134 @@ const X3 = /* @__PURE__ */ W(Y3, [["__scopeId", "data-v-79f49df8"]]), J3 = { cla
|
|
|
1410
1472
|
};
|
|
1411
1473
|
}
|
|
1412
1474
|
});
|
|
1413
|
-
const
|
|
1414
|
-
function
|
|
1415
|
-
function
|
|
1416
|
-
return
|
|
1417
|
-
c(
|
|
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 (
|
|
1421
|
-
function
|
|
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
|
|
1490
|
+
function y(v) {
|
|
1429
1491
|
try {
|
|
1430
|
-
|
|
1492
|
+
i(e.throw(v));
|
|
1431
1493
|
} catch (p) {
|
|
1432
1494
|
c(p);
|
|
1433
1495
|
}
|
|
1434
1496
|
}
|
|
1435
|
-
function
|
|
1436
|
-
|
|
1497
|
+
function i(v) {
|
|
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
|
|
1442
|
-
var
|
|
1443
|
-
if (
|
|
1444
|
-
throw
|
|
1445
|
-
return
|
|
1446
|
-
}, trys: [], ops: [] },
|
|
1447
|
-
return c = { next:
|
|
1503
|
+
function e6(t, o) {
|
|
1504
|
+
var n = { label: 0, sent: 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
|
|
1451
|
-
return function(
|
|
1452
|
-
return
|
|
1512
|
+
function g(i) {
|
|
1513
|
+
return function(v) {
|
|
1514
|
+
return y([i, v]);
|
|
1453
1515
|
};
|
|
1454
1516
|
}
|
|
1455
|
-
function
|
|
1456
|
-
if (
|
|
1517
|
+
function y(i) {
|
|
1518
|
+
if (e)
|
|
1457
1519
|
throw new TypeError("Generator is already executing.");
|
|
1458
|
-
for (; c && (c = 0,
|
|
1520
|
+
for (; c && (c = 0, i[0] && (n = 0)), n; )
|
|
1459
1521
|
try {
|
|
1460
|
-
if (
|
|
1461
|
-
return
|
|
1462
|
-
switch (
|
|
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
|
-
|
|
1527
|
+
r = i;
|
|
1466
1528
|
break;
|
|
1467
1529
|
case 4:
|
|
1468
|
-
return
|
|
1530
|
+
return n.label++, { value: i[1], done: !1 };
|
|
1469
1531
|
case 5:
|
|
1470
|
-
|
|
1532
|
+
n.label++, d = i[1], i = [0];
|
|
1471
1533
|
continue;
|
|
1472
1534
|
case 7:
|
|
1473
|
-
|
|
1535
|
+
i = n.ops.pop(), n.trys.pop();
|
|
1474
1536
|
continue;
|
|
1475
1537
|
default:
|
|
1476
|
-
if (
|
|
1477
|
-
|
|
1538
|
+
if (r = n.trys, !(r = r.length > 0 && r[r.length - 1]) && (i[0] === 6 || i[0] === 2)) {
|
|
1539
|
+
n = 0;
|
|
1478
1540
|
continue;
|
|
1479
1541
|
}
|
|
1480
|
-
if (
|
|
1481
|
-
|
|
1542
|
+
if (i[0] === 3 && (!r || i[1] > r[0] && i[1] < r[3])) {
|
|
1543
|
+
n.label = i[1];
|
|
1482
1544
|
break;
|
|
1483
1545
|
}
|
|
1484
|
-
if (
|
|
1485
|
-
|
|
1546
|
+
if (i[0] === 6 && n.label < r[1]) {
|
|
1547
|
+
n.label = r[1], r = i;
|
|
1486
1548
|
break;
|
|
1487
1549
|
}
|
|
1488
|
-
if (
|
|
1489
|
-
|
|
1550
|
+
if (r && n.label < r[2]) {
|
|
1551
|
+
n.label = r[2], n.ops.push(i);
|
|
1490
1552
|
break;
|
|
1491
1553
|
}
|
|
1492
|
-
|
|
1554
|
+
r[2] && n.ops.pop(), n.trys.pop();
|
|
1493
1555
|
continue;
|
|
1494
1556
|
}
|
|
1495
|
-
|
|
1496
|
-
} catch (
|
|
1497
|
-
|
|
1557
|
+
i = o.call(t, n);
|
|
1558
|
+
} catch (v) {
|
|
1559
|
+
i = [6, v], d = 0;
|
|
1498
1560
|
} finally {
|
|
1499
|
-
|
|
1561
|
+
e = r = 0;
|
|
1500
1562
|
}
|
|
1501
|
-
if (
|
|
1502
|
-
throw
|
|
1503
|
-
return { value:
|
|
1563
|
+
if (i[0] & 5)
|
|
1564
|
+
throw i[1];
|
|
1565
|
+
return { value: i[0] ? i[1] : void 0, done: !0 };
|
|
1504
1566
|
}
|
|
1505
1567
|
}
|
|
1506
|
-
var
|
|
1507
|
-
return
|
|
1508
|
-
return
|
|
1509
|
-
return [2, new Promise(function(
|
|
1568
|
+
var t6 = function(t, o) {
|
|
1569
|
+
return Q3(void 0, void 0, void 0, function() {
|
|
1570
|
+
return e6(this, function(n) {
|
|
1571
|
+
return [2, new Promise(function(e, d) {
|
|
1510
1572
|
try {
|
|
1511
1573
|
if (window.DocsAPI)
|
|
1512
|
-
return
|
|
1513
|
-
var
|
|
1514
|
-
if (
|
|
1574
|
+
return e(null);
|
|
1575
|
+
var r = document.getElementById(o);
|
|
1576
|
+
if (r)
|
|
1515
1577
|
var c = setInterval(function() {
|
|
1516
|
-
var
|
|
1517
|
-
if (!
|
|
1578
|
+
var y = r.getAttribute("loading");
|
|
1579
|
+
if (!y) {
|
|
1518
1580
|
if (clearInterval(c), window.DocsAPI)
|
|
1519
|
-
return
|
|
1520
|
-
var
|
|
1521
|
-
|
|
1581
|
+
return e(null);
|
|
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
|
|
1526
|
-
document.body.appendChild(
|
|
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
|
-
},
|
|
1535
|
-
var
|
|
1536
|
-
return
|
|
1537
|
-
|
|
1538
|
-
},
|
|
1539
|
-
|
|
1540
|
-
},
|
|
1596
|
+
}, oe = function(t, o, n, e) {
|
|
1597
|
+
var d = document.createElement("script");
|
|
1598
|
+
return d.id = t, d.type = "text/javascript", d.src = o, d.async = !0, d.onload = function() {
|
|
1599
|
+
d.removeAttribute("loading"), n(null);
|
|
1600
|
+
}, d.onerror = function(r) {
|
|
1601
|
+
d.removeAttribute("loading"), e(r);
|
|
1602
|
+
}, d.setAttribute("loading", ""), d;
|
|
1541
1603
|
}, Y = B({
|
|
1542
1604
|
name: "DocumentEditor",
|
|
1543
1605
|
props: {
|
|
@@ -1590,59 +1652,59 @@ var o6 = function(o, n) {
|
|
|
1590
1652
|
events_onRequestSelectDocument: Function
|
|
1591
1653
|
},
|
|
1592
1654
|
mounted: function() {
|
|
1593
|
-
var
|
|
1594
|
-
|
|
1595
|
-
var
|
|
1596
|
-
|
|
1597
|
-
return
|
|
1655
|
+
var t = this, o = this.documentServerUrl;
|
|
1656
|
+
o.endsWith("/") || (o += "/");
|
|
1657
|
+
var n = "".concat(o, "web-apps/apps/api/documents/api.js");
|
|
1658
|
+
t6(n, "onlyoffice-api-script").then(function() {
|
|
1659
|
+
return t.onLoad();
|
|
1598
1660
|
}).catch(function() {
|
|
1599
|
-
|
|
1661
|
+
t.onError(-2);
|
|
1600
1662
|
});
|
|
1601
1663
|
},
|
|
1602
1664
|
unmounted: function() {
|
|
1603
|
-
var
|
|
1604
|
-
!((
|
|
1665
|
+
var t, o = this.id || "";
|
|
1666
|
+
!((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);
|
|
1605
1667
|
},
|
|
1606
1668
|
watch: {
|
|
1607
1669
|
config: {
|
|
1608
|
-
handler: function(
|
|
1670
|
+
handler: function(t, o) {
|
|
1609
1671
|
this.onChangeProps();
|
|
1610
1672
|
},
|
|
1611
1673
|
deep: !0
|
|
1612
1674
|
},
|
|
1613
|
-
document_fileType: function(
|
|
1675
|
+
document_fileType: function(t, o) {
|
|
1614
1676
|
this.onChangeProps();
|
|
1615
1677
|
},
|
|
1616
|
-
document_title: function(
|
|
1678
|
+
document_title: function(t, o) {
|
|
1617
1679
|
this.onChangeProps();
|
|
1618
1680
|
},
|
|
1619
|
-
documentType: function(
|
|
1681
|
+
documentType: function(t, o) {
|
|
1620
1682
|
this.onChangeProps();
|
|
1621
1683
|
},
|
|
1622
|
-
editorConfig_lang: function(
|
|
1684
|
+
editorConfig_lang: function(t, o) {
|
|
1623
1685
|
this.onChangeProps();
|
|
1624
1686
|
},
|
|
1625
|
-
height: function(
|
|
1687
|
+
height: function(t, o) {
|
|
1626
1688
|
this.onChangeProps();
|
|
1627
1689
|
},
|
|
1628
|
-
type: function(
|
|
1690
|
+
type: function(t, o) {
|
|
1629
1691
|
this.onChangeProps();
|
|
1630
1692
|
},
|
|
1631
|
-
width: function(
|
|
1693
|
+
width: function(t, o) {
|
|
1632
1694
|
this.onChangeProps();
|
|
1633
1695
|
}
|
|
1634
1696
|
},
|
|
1635
1697
|
methods: {
|
|
1636
1698
|
onLoad: function() {
|
|
1637
|
-
var
|
|
1699
|
+
var t, o;
|
|
1638
1700
|
try {
|
|
1639
|
-
var
|
|
1640
|
-
if (window.DocsAPI || this.onError(-3), !((
|
|
1641
|
-
console.log("Skip loading. Instance already exists",
|
|
1701
|
+
var n = this.id || "";
|
|
1702
|
+
if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n]) {
|
|
1703
|
+
console.log("Skip loading. Instance already exists", n);
|
|
1642
1704
|
return;
|
|
1643
1705
|
}
|
|
1644
|
-
!((
|
|
1645
|
-
var
|
|
1706
|
+
!((o = window == null ? void 0 : window.DocEditor) === null || o === void 0) && o.instances || (window.DocEditor = { instances: {} });
|
|
1707
|
+
var e = Object.assign({
|
|
1646
1708
|
document: {
|
|
1647
1709
|
fileType: this.document_fileType,
|
|
1648
1710
|
title: this.document_title
|
|
@@ -1677,43 +1739,43 @@ var o6 = function(o, n) {
|
|
|
1677
1739
|
height: this.height,
|
|
1678
1740
|
type: this.type,
|
|
1679
1741
|
width: this.width
|
|
1680
|
-
}, this.config || {}),
|
|
1681
|
-
window.DocEditor.instances[
|
|
1682
|
-
} catch (
|
|
1683
|
-
console.error(
|
|
1742
|
+
}, this.config || {}), d = window.DocsAPI.DocEditor(n, e);
|
|
1743
|
+
window.DocEditor.instances[n] = d;
|
|
1744
|
+
} catch (r) {
|
|
1745
|
+
console.error(r), this.onError(-1);
|
|
1684
1746
|
}
|
|
1685
1747
|
},
|
|
1686
|
-
onError: function(
|
|
1687
|
-
var
|
|
1688
|
-
switch (
|
|
1748
|
+
onError: function(t) {
|
|
1749
|
+
var o;
|
|
1750
|
+
switch (t) {
|
|
1689
1751
|
case -2:
|
|
1690
|
-
|
|
1752
|
+
o = "Error load DocsAPI from " + this.documentServerUrl;
|
|
1691
1753
|
break;
|
|
1692
1754
|
case -3:
|
|
1693
|
-
|
|
1755
|
+
o = "DocsAPI is not defined";
|
|
1694
1756
|
break;
|
|
1695
1757
|
default:
|
|
1696
|
-
|
|
1758
|
+
o = "Unknown error loading component", t = -1;
|
|
1697
1759
|
}
|
|
1698
|
-
typeof this.onLoadComponentError > "u" ? console.error(
|
|
1760
|
+
typeof this.onLoadComponentError > "u" ? console.error(o) : this.onLoadComponentError(t, o);
|
|
1699
1761
|
},
|
|
1700
1762
|
onAppReady: function() {
|
|
1701
|
-
var
|
|
1702
|
-
this.events_onAppReady(window.DocEditor.instances[
|
|
1763
|
+
var t = this.id || "";
|
|
1764
|
+
this.events_onAppReady(window.DocEditor.instances[t]);
|
|
1703
1765
|
},
|
|
1704
1766
|
onChangeProps: function() {
|
|
1705
|
-
var
|
|
1706
|
-
!((
|
|
1767
|
+
var t, o = this.id || "";
|
|
1768
|
+
!((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());
|
|
1707
1769
|
}
|
|
1708
1770
|
}
|
|
1709
1771
|
});
|
|
1710
|
-
const
|
|
1711
|
-
function
|
|
1712
|
-
return l(),
|
|
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 =
|
|
1776
|
+
Y.render = n6;
|
|
1715
1777
|
Y.__file = "src/components/DocumentEditor.vue";
|
|
1716
|
-
const
|
|
1778
|
+
const s6 = /* @__PURE__ */ B({
|
|
1717
1779
|
__name: "IkOnlyOffice",
|
|
1718
1780
|
props: {
|
|
1719
1781
|
// 文件服务器的服务的地址
|
|
@@ -1733,27 +1795,27 @@ const i6 = /* @__PURE__ */ B({
|
|
|
1733
1795
|
default: "100%"
|
|
1734
1796
|
}
|
|
1735
1797
|
},
|
|
1736
|
-
setup(
|
|
1737
|
-
const
|
|
1798
|
+
setup(t) {
|
|
1799
|
+
const o = t, n = L({
|
|
1738
1800
|
width: "100%",
|
|
1739
1801
|
height: "100%",
|
|
1740
|
-
...
|
|
1741
|
-
...
|
|
1742
|
-
}),
|
|
1743
|
-
console.info("文档加载完成",
|
|
1802
|
+
...o.configOptions || {},
|
|
1803
|
+
...o.configOptions
|
|
1804
|
+
}), e = () => {
|
|
1805
|
+
console.info("文档加载完成", o.configOptions);
|
|
1744
1806
|
};
|
|
1745
|
-
return (
|
|
1807
|
+
return (d, r) => (l(), a(
|
|
1746
1808
|
"div",
|
|
1747
1809
|
{
|
|
1748
|
-
style:
|
|
1810
|
+
style: $({ height: o.officeHeight })
|
|
1749
1811
|
},
|
|
1750
1812
|
[
|
|
1751
|
-
|
|
1813
|
+
C(k(Y), {
|
|
1752
1814
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1753
1815
|
ref: "editorRef",
|
|
1754
|
-
"document-server-url":
|
|
1755
|
-
config:
|
|
1756
|
-
events_onDocumentReady:
|
|
1816
|
+
"document-server-url": t.documentServerUrl,
|
|
1817
|
+
config: n.value,
|
|
1818
|
+
events_onDocumentReady: e
|
|
1757
1819
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1758
1820
|
],
|
|
1759
1821
|
4
|
|
@@ -1761,13 +1823,13 @@ const i6 = /* @__PURE__ */ B({
|
|
|
1761
1823
|
));
|
|
1762
1824
|
}
|
|
1763
1825
|
});
|
|
1764
|
-
const
|
|
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
|
-
},
|
|
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
|
-
}, _6 = { class: "name" },
|
|
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 l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
1776
1838
|
"退回至",
|
|
1777
1839
|
-1
|
|
1778
1840
|
/* HOISTED */
|
|
1779
|
-
)),
|
|
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
|
-
)),
|
|
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
|
-
},
|
|
1850
|
+
}, T6 = { key: 1 }, B6 = {
|
|
1789
1851
|
key: 0,
|
|
1790
1852
|
class: "blue",
|
|
1791
1853
|
style: { "font-size": "12px" }
|
|
1792
|
-
},
|
|
1854
|
+
}, D6 = { key: 1 }, E6 = {
|
|
1793
1855
|
key: 0,
|
|
1794
1856
|
class: "blue",
|
|
1795
1857
|
style: { "font-size": "12px" }
|
|
1796
|
-
},
|
|
1858
|
+
}, R6 = {
|
|
1797
1859
|
key: 1,
|
|
1798
1860
|
class: "blue",
|
|
1799
1861
|
style: { "font-size": "12px" }
|
|
1800
|
-
}, V6 = { class: "time" },
|
|
1862
|
+
}, V6 = { class: "time" }, A6 = { key: 0 }, M6 = { key: 1 }, P6 = ["onClick"], N6 = ["onClick"], H6 = {
|
|
1801
1863
|
key: 0,
|
|
1802
1864
|
class: "opinion"
|
|
1803
|
-
},
|
|
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
|
-
)),
|
|
1871
|
+
)), j6 = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, W6 = {
|
|
1810
1872
|
key: 2,
|
|
1811
1873
|
class: "annexImage"
|
|
1812
|
-
},
|
|
1874
|
+
}, K6 = {
|
|
1813
1875
|
key: 3,
|
|
1814
1876
|
class: "approveList"
|
|
1815
|
-
},
|
|
1877
|
+
}, G6 = { class: "nodeBg-list" }, Y6 = ["src"], X6 = { key: 1 }, J6 = {
|
|
1816
1878
|
key: 2,
|
|
1817
1879
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
1818
|
-
},
|
|
1880
|
+
}, Z6 = ["title"], Q6 = {
|
|
1819
1881
|
key: 0,
|
|
1820
1882
|
class: "branch"
|
|
1821
|
-
},
|
|
1883
|
+
}, et = { class: "branch-card" }, tt = { class: "branch-name" }, ot = {
|
|
1822
1884
|
name: "IkingApprovalProcessDetail"
|
|
1823
|
-
},
|
|
1824
|
-
...
|
|
1885
|
+
}, nt = /* @__PURE__ */ B({
|
|
1886
|
+
...ot,
|
|
1825
1887
|
props: {
|
|
1826
1888
|
// 是否本地打开
|
|
1827
1889
|
local: {
|
|
@@ -1879,116 +1941,118 @@ const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
1879
1941
|
}
|
|
1880
1942
|
},
|
|
1881
1943
|
emits: ["preview"],
|
|
1882
|
-
setup(
|
|
1883
|
-
const
|
|
1884
|
-
|
|
1885
|
-
|
|
1886
|
-
|
|
1887
|
-
|
|
1888
|
-
|
|
1944
|
+
setup(t, { emit: o }) {
|
|
1945
|
+
const n = t;
|
|
1946
|
+
ce(n);
|
|
1947
|
+
const e = ie(ke(n));
|
|
1948
|
+
le(
|
|
1949
|
+
() => n.dataList,
|
|
1950
|
+
(i) => {
|
|
1951
|
+
i && (G(() => {
|
|
1952
|
+
e.listData = i;
|
|
1889
1953
|
}), setTimeout(() => {
|
|
1890
|
-
|
|
1954
|
+
n.returnNode.length && d();
|
|
1891
1955
|
}, 500));
|
|
1892
1956
|
},
|
|
1893
1957
|
{ deep: !0 }
|
|
1894
|
-
),
|
|
1895
|
-
|
|
1896
|
-
|
|
1958
|
+
), fe(() => {
|
|
1959
|
+
n.dataList.length && (e.listData = n.dataList, setTimeout(() => {
|
|
1960
|
+
n.returnNode.length && d();
|
|
1897
1961
|
}, 500));
|
|
1898
1962
|
});
|
|
1899
|
-
const
|
|
1900
|
-
let
|
|
1901
|
-
if (
|
|
1902
|
-
for (
|
|
1903
|
-
if (isNaN(
|
|
1963
|
+
const d = () => {
|
|
1964
|
+
let i = null;
|
|
1965
|
+
if (n != null && n.returnNode)
|
|
1966
|
+
for (i of n == null ? void 0 : n.returnNode) {
|
|
1967
|
+
if (isNaN(i[1]))
|
|
1904
1968
|
return;
|
|
1905
|
-
let
|
|
1969
|
+
let v = Array.from(new Array(i[1] + 1).keys()).slice(i[0]);
|
|
1906
1970
|
G(() => {
|
|
1907
|
-
|
|
1971
|
+
r(v);
|
|
1908
1972
|
});
|
|
1909
1973
|
}
|
|
1910
|
-
},
|
|
1911
|
-
var
|
|
1912
|
-
let
|
|
1913
|
-
|
|
1914
|
-
let
|
|
1915
|
-
|
|
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;
|
|
1916
1980
|
}), setTimeout(() => {
|
|
1917
|
-
|
|
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);
|
|
1918
1982
|
});
|
|
1919
|
-
},
|
|
1920
|
-
var
|
|
1921
|
-
let
|
|
1922
|
-
switch (
|
|
1983
|
+
}, c = (i, v) => {
|
|
1984
|
+
var s;
|
|
1985
|
+
let p = (s = e.listData) == null ? void 0 : s.findIndex((F) => F.lineType == "dashed"), _ = "";
|
|
1986
|
+
switch (i) {
|
|
1923
1987
|
case e.statusOption.发起:
|
|
1924
|
-
|
|
1988
|
+
_ = "ikapprove-duihao2 green";
|
|
1925
1989
|
break;
|
|
1926
1990
|
case e.statusOption.等待:
|
|
1927
|
-
|
|
1991
|
+
_ = p == v ? "ikapprove-dengdai orange" : "";
|
|
1928
1992
|
break;
|
|
1929
1993
|
case e.statusOption.同意:
|
|
1930
|
-
|
|
1994
|
+
_ = "ikapprove-duihao2 green";
|
|
1931
1995
|
break;
|
|
1932
1996
|
case e.statusOption.拒绝:
|
|
1933
|
-
|
|
1997
|
+
_ = "ikapprove-jujue red";
|
|
1934
1998
|
break;
|
|
1935
1999
|
case e.statusOption.转交:
|
|
1936
|
-
|
|
2000
|
+
_ = "ikapprove-zhuanjiao blue";
|
|
1937
2001
|
break;
|
|
1938
2002
|
case e.statusOption.加签:
|
|
1939
|
-
|
|
2003
|
+
_ = "ikapprove-tianjia blue";
|
|
1940
2004
|
break;
|
|
1941
2005
|
case e.statusOption.退回:
|
|
1942
|
-
|
|
2006
|
+
_ = "ikapprove-s_fanhui2 red";
|
|
1943
2007
|
break;
|
|
1944
2008
|
case e.statusOption.评论:
|
|
1945
|
-
|
|
2009
|
+
_ = "ikapprove-pinglun1 blue";
|
|
1946
2010
|
break;
|
|
1947
2011
|
}
|
|
1948
|
-
return `ikapprove ${
|
|
1949
|
-
},
|
|
1950
|
-
|
|
1951
|
-
let
|
|
1952
|
-
for (let
|
|
1953
|
-
|
|
1954
|
-
},
|
|
1955
|
-
return (
|
|
1956
|
-
const
|
|
1957
|
-
return l(),
|
|
1958
|
-
(l(!0),
|
|
1959
|
-
|
|
2012
|
+
return `ikapprove ${_}`;
|
|
2013
|
+
}, g = (i, v) => {
|
|
2014
|
+
i.show = !i.show;
|
|
2015
|
+
let p = document.getElementById(`${i[e.defaultFile.nodeId]}`), _ = Array.from(p == null ? void 0 : p.getElementsByClassName("approveList"));
|
|
2016
|
+
for (let s of _)
|
|
2017
|
+
s.style.display = v;
|
|
2018
|
+
}, y = (i) => U(n.fileUrl, i);
|
|
2019
|
+
return (i, v) => {
|
|
2020
|
+
const p = P("el-image"), _ = P("IkingApprovalProcessDetail");
|
|
2021
|
+
return l(), a("div", a6, [
|
|
2022
|
+
(l(!0), a(
|
|
2023
|
+
b,
|
|
1960
2024
|
null,
|
|
1961
|
-
|
|
1962
|
-
var
|
|
1963
|
-
return l(),
|
|
2025
|
+
V(e.listData, (s, F) => {
|
|
2026
|
+
var T, I, h, x, S, D, W, J, Z, Q;
|
|
2027
|
+
return l(), a("div", {
|
|
1964
2028
|
class: "approveBlock",
|
|
1965
|
-
id:
|
|
1966
|
-
key:
|
|
2029
|
+
id: s[e.defaultFile.nodeId],
|
|
2030
|
+
key: s[e.defaultFile.nodeId]
|
|
1967
2031
|
}, [
|
|
1968
|
-
u("div",
|
|
1969
|
-
u("div",
|
|
1970
|
-
u("span",
|
|
1971
|
-
|
|
1972
|
-
((
|
|
2032
|
+
u("div", c6, [
|
|
2033
|
+
u("div", d6, [
|
|
2034
|
+
u("span", u6, [
|
|
2035
|
+
f(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
2036
|
+
((T = s[e.defaultFile.approvePersonList]) == null ? void 0 : T.length) == 1 && s[e.defaultFile.approvePersonList][0].userAvatar ? (l(), a("img", {
|
|
1973
2037
|
key: 0,
|
|
1974
2038
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
1975
|
-
src:
|
|
1976
|
-
|
|
2039
|
+
src: y(
|
|
2040
|
+
s[e.defaultFile.approvePersonList][0].userAvatar
|
|
1977
2041
|
),
|
|
1978
2042
|
alt: ""
|
|
1979
|
-
}, null, 8,
|
|
1980
|
-
|
|
2043
|
+
}, null, 8, p6)) : (l(), a(
|
|
2044
|
+
b,
|
|
1981
2045
|
{ key: 1 },
|
|
1982
2046
|
[
|
|
1983
|
-
|
|
2047
|
+
f(" 否则显示对应节点 "),
|
|
1984
2048
|
u(
|
|
1985
2049
|
"i",
|
|
1986
2050
|
{
|
|
1987
2051
|
class: O(
|
|
1988
|
-
|
|
2052
|
+
k(Fe)(
|
|
1989
2053
|
e,
|
|
1990
|
-
|
|
1991
|
-
|
|
2054
|
+
s[e.defaultFile.nodeType],
|
|
2055
|
+
s[e.defaultFile.approvePersonList]
|
|
1992
2056
|
)
|
|
1993
2057
|
)
|
|
1994
2058
|
},
|
|
@@ -2000,12 +2064,12 @@ const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
2000
2064
|
2112
|
|
2001
2065
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2002
2066
|
)),
|
|
2003
|
-
|
|
2067
|
+
f(" 审批状态图标 "),
|
|
2004
2068
|
u(
|
|
2005
2069
|
"i",
|
|
2006
2070
|
{
|
|
2007
2071
|
class: O(
|
|
2008
|
-
|
|
2072
|
+
c(s[e.defaultFile.approveStatus], F)
|
|
2009
2073
|
)
|
|
2010
2074
|
},
|
|
2011
2075
|
null,
|
|
@@ -2014,151 +2078,151 @@ const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
2014
2078
|
)
|
|
2015
2079
|
])
|
|
2016
2080
|
]),
|
|
2017
|
-
u("div",
|
|
2018
|
-
u("div",
|
|
2081
|
+
u("div", f6, [
|
|
2082
|
+
u("div", v6, [
|
|
2019
2083
|
u("div", null, [
|
|
2020
|
-
|
|
2021
|
-
|
|
2022
|
-
|
|
2023
|
-
|
|
2084
|
+
f(" 不是抄送节点 "),
|
|
2085
|
+
s[e.defaultFile.nodeType] != e.nodeType.抄送节点 ? (l(), a("div", h6, [
|
|
2086
|
+
f(" 撤销,评论不显示节点名称 "),
|
|
2087
|
+
s[e.defaultFile.approveStatus] != e.statusOption.撤销 && s[e.defaultFile.approveStatus] != e.statusOption.评论 ? (l(), a(
|
|
2024
2088
|
"div",
|
|
2025
|
-
|
|
2026
|
-
|
|
2089
|
+
g6,
|
|
2090
|
+
m(s[e.defaultFile.nodeTypeName]),
|
|
2027
2091
|
1
|
|
2028
2092
|
/* TEXT */
|
|
2029
|
-
)) :
|
|
2030
|
-
|
|
2093
|
+
)) : f("v-if", !0),
|
|
2094
|
+
f(" 名字+审批状态 "),
|
|
2031
2095
|
u("div", _6, [
|
|
2032
|
-
|
|
2033
|
-
|
|
2096
|
+
f(" 已审批节点文本 "),
|
|
2097
|
+
s[e.defaultFile.lineType] == "solid" ? (l(), a("div", y6, [
|
|
2034
2098
|
u(
|
|
2035
2099
|
"span",
|
|
2036
2100
|
{
|
|
2037
|
-
style:
|
|
2038
|
-
color:
|
|
2101
|
+
style: $({
|
|
2102
|
+
color: s[e.defaultFile.approveStatus] == e.statusOption.评论 ? "#000" : ""
|
|
2039
2103
|
})
|
|
2040
2104
|
},
|
|
2041
|
-
|
|
2105
|
+
m(s[e.defaultFile.originator]),
|
|
2042
2106
|
5
|
|
2043
2107
|
/* TEXT, STYLE */
|
|
2044
2108
|
),
|
|
2045
|
-
|
|
2046
|
-
|
|
2109
|
+
f(" 发起,退回不显示状态 "),
|
|
2110
|
+
s[e.defaultFile.approveStatusName] && s[e.defaultFile.approveStatus] != e.statusOption.发起 && s[e.defaultFile.approveStatus] != e.statusOption.退回 ? (l(), a(
|
|
2047
2111
|
"span",
|
|
2048
|
-
|
|
2049
|
-
|
|
2112
|
+
m6,
|
|
2113
|
+
m(s[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : "(" + s[e.defaultFile.approveStatusName] + ")"),
|
|
2050
2114
|
1
|
|
2051
2115
|
/* TEXT */
|
|
2052
|
-
)) :
|
|
2053
|
-
|
|
2054
|
-
|
|
2055
|
-
|
|
2056
|
-
|
|
2057
|
-
|
|
2116
|
+
)) : f("v-if", !0),
|
|
2117
|
+
f(" 退回状态显示 "),
|
|
2118
|
+
s[e.defaultFile.approveStatus] == e.statusOption.退回 ? (l(), a("span", w6, [
|
|
2119
|
+
k6,
|
|
2120
|
+
A(
|
|
2121
|
+
m(s[e.defaultFile.backToRecordNodeName]),
|
|
2058
2122
|
1
|
|
2059
2123
|
/* TEXT */
|
|
2060
2124
|
)
|
|
2061
|
-
])) :
|
|
2062
|
-
])) : (l(),
|
|
2063
|
-
|
|
2125
|
+
])) : f("v-if", !0)
|
|
2126
|
+
])) : (l(), a(
|
|
2127
|
+
b,
|
|
2064
2128
|
{ key: 1 },
|
|
2065
2129
|
[
|
|
2066
|
-
|
|
2130
|
+
f(" 待审批节点 "),
|
|
2067
2131
|
u("div", null, [
|
|
2068
|
-
((
|
|
2069
|
-
|
|
2070
|
-
|
|
2132
|
+
((I = s[e.defaultFile.approvePersonList]) == null ? void 0 : I.length) == 1 ? (l(), a("span", F6, [
|
|
2133
|
+
A(
|
|
2134
|
+
m(s[e.defaultFile.originator]) + " ",
|
|
2071
2135
|
1
|
|
2072
2136
|
/* TEXT */
|
|
2073
2137
|
),
|
|
2074
|
-
|
|
2138
|
+
s[e.defaultFile.approveStatus] == e.statusOption.等待 ? (l(), a(
|
|
2075
2139
|
"span",
|
|
2076
|
-
|
|
2077
|
-
|
|
2140
|
+
x6,
|
|
2141
|
+
m(`(${s[e.defaultFile.approveStatusName]})`),
|
|
2078
2142
|
1
|
|
2079
2143
|
/* TEXT */
|
|
2080
|
-
)) :
|
|
2081
|
-
])) :
|
|
2144
|
+
)) : f("v-if", !0)
|
|
2145
|
+
])) : s[e.defaultFile.approvePersonList] ? (l(), a(
|
|
2082
2146
|
"span",
|
|
2083
|
-
|
|
2084
|
-
|
|
2147
|
+
S6,
|
|
2148
|
+
m(`${(h = s[e.defaultFile.approvePersonList]) == null ? void 0 : h.length}人${s[e.defaultFile.approveTypeName]}`),
|
|
2085
2149
|
1
|
|
2086
2150
|
/* TEXT */
|
|
2087
|
-
)) :
|
|
2151
|
+
)) : f("v-if", !0)
|
|
2088
2152
|
])
|
|
2089
2153
|
],
|
|
2090
2154
|
2112
|
|
2091
2155
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2092
2156
|
))
|
|
2093
2157
|
])
|
|
2094
|
-
])) : (l(),
|
|
2095
|
-
|
|
2096
|
-
u("div",
|
|
2097
|
-
|
|
2098
|
-
((
|
|
2158
|
+
])) : (l(), a("div", z6, [
|
|
2159
|
+
b6,
|
|
2160
|
+
u("div", $6, [
|
|
2161
|
+
f(" 抄送一人时 "),
|
|
2162
|
+
((x = s[e.defaultFile.approvePersonList]) == null ? void 0 : x.length) == 1 ? (l(), a("span", C6, [
|
|
2099
2163
|
u("span", null, [
|
|
2100
|
-
|
|
2164
|
+
A("已抄送给 "),
|
|
2101
2165
|
u(
|
|
2102
2166
|
"span",
|
|
2103
|
-
|
|
2104
|
-
|
|
2167
|
+
I6,
|
|
2168
|
+
m(s[e.defaultFile.approvePersonList][0].userName),
|
|
2105
2169
|
1
|
|
2106
2170
|
/* TEXT */
|
|
2107
2171
|
)
|
|
2108
2172
|
]),
|
|
2109
2173
|
u(
|
|
2110
2174
|
"span",
|
|
2111
|
-
|
|
2112
|
-
|
|
2175
|
+
O6,
|
|
2176
|
+
m(s[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
2113
2177
|
1
|
|
2114
2178
|
/* TEXT */
|
|
2115
2179
|
)
|
|
2116
|
-
])) :
|
|
2117
|
-
|
|
2118
|
-
((
|
|
2119
|
-
|
|
2120
|
-
|
|
2180
|
+
])) : f("v-if", !0),
|
|
2181
|
+
f(" 抄送多人时 "),
|
|
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}人`) + " ",
|
|
2121
2185
|
1
|
|
2122
2186
|
/* TEXT */
|
|
2123
2187
|
),
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
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(
|
|
2127
2191
|
"span",
|
|
2128
|
-
|
|
2129
|
-
|
|
2192
|
+
R6,
|
|
2193
|
+
m(s[e.defaultFile.read]) + "人已读 ",
|
|
2130
2194
|
1
|
|
2131
2195
|
/* TEXT */
|
|
2132
|
-
)) :
|
|
2196
|
+
)) : f("v-if", !0)
|
|
2133
2197
|
]))
|
|
2134
|
-
])) :
|
|
2198
|
+
])) : f("v-if", !0)
|
|
2135
2199
|
])
|
|
2136
2200
|
]))
|
|
2137
2201
|
]),
|
|
2138
2202
|
u("div", V6, [
|
|
2139
|
-
|
|
2140
|
-
|
|
2203
|
+
f(" 不是抄送节点,展示时间 "),
|
|
2204
|
+
s[e.defaultFile.nodeType] != e.nodeType.抄送节点 && s[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (l(), a(
|
|
2141
2205
|
"span",
|
|
2142
|
-
|
|
2143
|
-
|
|
2144
|
-
|
|
2206
|
+
A6,
|
|
2207
|
+
m(k(we).toDateTime(
|
|
2208
|
+
s[e.defaultFile.operationTime],
|
|
2145
2209
|
"MM/DD HH:mm"
|
|
2146
2210
|
)),
|
|
2147
2211
|
1
|
|
2148
2212
|
/* TEXT */
|
|
2149
|
-
)) :
|
|
2150
|
-
|
|
2151
|
-
|
|
2152
|
-
|
|
2213
|
+
)) : f("v-if", !0),
|
|
2214
|
+
f(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
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", {
|
|
2153
2217
|
key: 0,
|
|
2154
2218
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
2155
|
-
onClick: (
|
|
2156
|
-
}, null, 8,
|
|
2219
|
+
onClick: (w) => g(s, "grid")
|
|
2220
|
+
}, null, 8, P6)) : (l(), a("i", {
|
|
2157
2221
|
key: 1,
|
|
2158
|
-
onClick: (
|
|
2222
|
+
onClick: (w) => g(s, "none"),
|
|
2159
2223
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
2160
|
-
}, null, 8,
|
|
2161
|
-
])) :
|
|
2224
|
+
}, null, 8, N6))
|
|
2225
|
+
])) : f("v-if", !0)
|
|
2162
2226
|
])
|
|
2163
2227
|
])
|
|
2164
2228
|
])
|
|
@@ -2167,127 +2231,122 @@ const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
2167
2231
|
"div",
|
|
2168
2232
|
{
|
|
2169
2233
|
class: "bottomBlock",
|
|
2170
|
-
style:
|
|
2171
|
-
borderLeft:
|
|
2234
|
+
style: $({
|
|
2235
|
+
borderLeft: F == e.listData.length - 1 ? "" : `2px ${s[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
|
|
2172
2236
|
})
|
|
2173
2237
|
},
|
|
2174
2238
|
[
|
|
2175
|
-
|
|
2176
|
-
|
|
2177
|
-
|
|
2239
|
+
f(" 审批意见 "),
|
|
2240
|
+
s[e.defaultFile.approveOpinion] || s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), a("div", H6, [
|
|
2241
|
+
s[e.defaultFile.approveOpinion] ? (l(), a(
|
|
2178
2242
|
"span",
|
|
2179
|
-
|
|
2180
|
-
|
|
2243
|
+
L6,
|
|
2244
|
+
m(s[e.defaultFile.approveOpinion]),
|
|
2181
2245
|
1
|
|
2182
2246
|
/* TEXT */
|
|
2183
|
-
)) :
|
|
2184
|
-
|
|
2185
|
-
|
|
2186
|
-
(l(!0),
|
|
2187
|
-
|
|
2247
|
+
)) : f("v-if", !0),
|
|
2248
|
+
s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (l(), a("span", q6, [
|
|
2249
|
+
U6,
|
|
2250
|
+
(l(!0), a(
|
|
2251
|
+
b,
|
|
2188
2252
|
null,
|
|
2189
|
-
|
|
2253
|
+
V(s[e.defaultFile.countersignPer], (w, K) => (l(), a(
|
|
2190
2254
|
"span",
|
|
2191
|
-
|
|
2192
|
-
w
|
|
2255
|
+
j6,
|
|
2256
|
+
m(w == null ? void 0 : w.userName) + m(K < s[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
2193
2257
|
1
|
|
2194
2258
|
/* TEXT */
|
|
2195
2259
|
))),
|
|
2196
2260
|
256
|
|
2197
2261
|
/* UNKEYED_FRAGMENT */
|
|
2198
2262
|
))
|
|
2199
|
-
])) :
|
|
2200
|
-
])) :
|
|
2201
|
-
|
|
2202
|
-
(
|
|
2263
|
+
])) : f("v-if", !0)
|
|
2264
|
+
])) : f("v-if", !0),
|
|
2265
|
+
f(" 附件 "),
|
|
2266
|
+
(J = s[e.defaultFile.attachment]) != null && J.length ? (l(), R(k(R3), {
|
|
2203
2267
|
key: 1,
|
|
2204
|
-
|
|
2205
|
-
|
|
2206
|
-
|
|
2207
|
-
|
|
2208
|
-
|
|
2209
|
-
|
|
2210
|
-
}, null, 8, ["kk-url", "load-url", "list", "is-only-office-preview", "only-office-accept", "onlyoffice-server"])) : v("v-if", !0),
|
|
2211
|
-
v(" 附件图片 "),
|
|
2212
|
-
(te = i[e.defaultFile.attachmentImg]) != null && te.length ? (l(), r("div", K6, [
|
|
2213
|
-
(l(!0), r(
|
|
2214
|
-
I,
|
|
2268
|
+
list: s[e.defaultFile.attachment]
|
|
2269
|
+
}, null, 8, ["list"])) : f("v-if", !0),
|
|
2270
|
+
f(" 附件图片 "),
|
|
2271
|
+
(Z = s[e.defaultFile.attachmentImg]) != null && Z.length ? (l(), a("div", W6, [
|
|
2272
|
+
(l(!0), a(
|
|
2273
|
+
b,
|
|
2215
2274
|
null,
|
|
2216
|
-
|
|
2275
|
+
V(s[e.defaultFile.attachmentImg], (w, K) => (l(), a("div", {
|
|
2217
2276
|
class: "image",
|
|
2218
2277
|
key: K
|
|
2219
2278
|
}, [
|
|
2220
|
-
|
|
2221
|
-
src:
|
|
2222
|
-
"preview-src-list":
|
|
2279
|
+
C(p, {
|
|
2280
|
+
src: y(w),
|
|
2281
|
+
"preview-src-list": s[e.defaultFile.attachmentImg].map((de) => y(de)),
|
|
2223
2282
|
fit: "cover",
|
|
2224
2283
|
"z-index": "9999",
|
|
2225
2284
|
"zoom-rate": 1.2,
|
|
2226
|
-
alt:
|
|
2285
|
+
alt: y(w)
|
|
2227
2286
|
}, null, 8, ["src", "preview-src-list", "alt"])
|
|
2228
2287
|
]))),
|
|
2229
2288
|
128
|
|
2230
2289
|
/* KEYED_FRAGMENT */
|
|
2231
2290
|
))
|
|
2232
|
-
])) :
|
|
2233
|
-
|
|
2234
|
-
(
|
|
2235
|
-
(l(!0),
|
|
2236
|
-
|
|
2291
|
+
])) : f("v-if", !0),
|
|
2292
|
+
f(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
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,
|
|
2237
2296
|
null,
|
|
2238
|
-
|
|
2297
|
+
V(s[e.defaultFile.approvePersonList], (w) => (l(), a("div", {
|
|
2239
2298
|
class: "perBlock",
|
|
2240
|
-
key:
|
|
2299
|
+
key: w.userName
|
|
2241
2300
|
}, [
|
|
2242
|
-
u("span",
|
|
2243
|
-
|
|
2301
|
+
u("span", G6, [
|
|
2302
|
+
w.userAvatar ? (l(), a("img", {
|
|
2244
2303
|
key: 0,
|
|
2245
2304
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
2246
|
-
src:
|
|
2305
|
+
src: y(w.userAvatar),
|
|
2247
2306
|
alt: ""
|
|
2248
|
-
}, null, 8,
|
|
2307
|
+
}, null, 8, Y6)) : (l(), a(
|
|
2249
2308
|
"span",
|
|
2250
|
-
|
|
2251
|
-
w
|
|
2309
|
+
X6,
|
|
2310
|
+
m(w.userName.slice(-2)),
|
|
2252
2311
|
1
|
|
2253
2312
|
/* TEXT */
|
|
2254
2313
|
)),
|
|
2255
|
-
|
|
2314
|
+
w.status === "END" ? (l(), a("i", J6)) : f("v-if", !0)
|
|
2256
2315
|
]),
|
|
2257
2316
|
u("div", {
|
|
2258
2317
|
class: "main-text",
|
|
2259
|
-
title:
|
|
2260
|
-
}, w
|
|
2318
|
+
title: w.userName
|
|
2319
|
+
}, m(w.userName), 9, Z6)
|
|
2261
2320
|
]))),
|
|
2262
2321
|
128
|
|
2263
2322
|
/* KEYED_FRAGMENT */
|
|
2264
2323
|
))
|
|
2265
|
-
])) :
|
|
2324
|
+
])) : f("v-if", !0)
|
|
2266
2325
|
],
|
|
2267
2326
|
4
|
|
2268
2327
|
/* STYLE */
|
|
2269
2328
|
),
|
|
2270
|
-
|
|
2271
|
-
(l(!0),
|
|
2272
|
-
|
|
2329
|
+
s[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (l(), a("div", Q6, [
|
|
2330
|
+
(l(!0), a(
|
|
2331
|
+
b,
|
|
2273
2332
|
null,
|
|
2274
|
-
|
|
2333
|
+
V(s[e.defaultFile.parallelInstances], (w) => (l(), a("div", et, [
|
|
2275
2334
|
u(
|
|
2276
2335
|
"div",
|
|
2277
|
-
|
|
2278
|
-
w
|
|
2336
|
+
tt,
|
|
2337
|
+
m(w.name),
|
|
2279
2338
|
1
|
|
2280
2339
|
/* TEXT */
|
|
2281
2340
|
),
|
|
2282
|
-
|
|
2283
|
-
"data-list": (
|
|
2341
|
+
C(_, ae({ ref_for: !0 }, n, {
|
|
2342
|
+
"data-list": (w == null ? void 0 : w.processInstanceNodes) || []
|
|
2284
2343
|
}), null, 16, ["data-list"])
|
|
2285
2344
|
]))),
|
|
2286
2345
|
256
|
|
2287
2346
|
/* UNKEYED_FRAGMENT */
|
|
2288
2347
|
))
|
|
2289
|
-
])) :
|
|
2290
|
-
], 8,
|
|
2348
|
+
])) : f("v-if", !0)
|
|
2349
|
+
], 8, r6);
|
|
2291
2350
|
}),
|
|
2292
2351
|
128
|
|
2293
2352
|
/* KEYED_FRAGMENT */
|
|
@@ -2296,8 +2355,8 @@ const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = L(l6)
|
|
|
2296
2355
|
};
|
|
2297
2356
|
}
|
|
2298
2357
|
});
|
|
2299
|
-
const
|
|
2358
|
+
const st = /* @__PURE__ */ j(nt, [["__scopeId", "data-v-93fd1f20"]]), at = q(st);
|
|
2300
2359
|
export {
|
|
2301
|
-
|
|
2302
|
-
|
|
2360
|
+
at as IKApprovalProcessDetail,
|
|
2361
|
+
at as default
|
|
2303
2362
|
};
|