iking-web-ui-pro 0.2.3 → 0.2.5
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 +522 -510
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +410 -398
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +1 -0
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcess/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +685 -672
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +417 -405
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +59 -58
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +85 -82
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +12 -11
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/ik.index.es.js +868 -853
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +284 -275
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +1607 -0
- package/dist/Provider/ik.index.umd.js +17 -0
- package/dist/index.es.js +39185 -37575
- package/dist/index.umd.js +95 -79
- package/dist/src/components/IKDetailPreviewFiles/index.d.ts +1 -1
- package/dist/src/components/IKDetailPreviewFiles/src/IKDetailPreviewFiles.vue.d.ts +1 -1
- package/dist/src/components/IKPreviewFile/index.d.ts +3 -3
- package/dist/src/components/IKPreviewFile/src/IkPreviewFile.vue.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/index.d.ts +1 -1
- package/dist/src/components/IkApprovalProcess/src/IKApprovalProcess.vue.d.ts +1 -1
- package/dist/src/components/IkDescription/index.d.ts +3 -3
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/index.d.ts +1 -1
- package/dist/src/components/IkPreviewFileDialog/src/IkPreviewFileDialog.vue.d.ts +1 -1
- package/dist/src/components/IkTinymce/index.d.ts +1 -1
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadFile/index.d.ts +3 -3
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkUploadImage/index.d.ts +3 -3
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +57 -0
- package/dist/src/components/Provider/index.d.ts +120 -0
- package/dist/src/components/index.d.ts +1 -0
- package/dist/src/utils/use-provider.d.ts +8 -0
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { paramType as
|
|
1
|
+
import { defineComponent as B, computed as b, openBlock as i, createElementBlock as r, createElementVNode as d, inject as H, ref as M, Fragment as I, renderList as V, normalizeClass as O, normalizeStyle as C, createVNode as T, toDisplayString as m, unref as F, withModifiers as fe, renderSlot as q, createCommentVNode as h, mergeModels as ie, useModel as le, reactive as ae, watch as re, nextTick as G, resolveComponent as P, createBlock as R, withCtx as D, createTextVNode as E, h as he, mergeProps as ce, createSlots as ve, onMounted as ge, pushScopeId as ye, popScopeId as _e } from "vue";
|
|
2
|
+
import { paramType as me, ikFile as we, buildUUID as ke, ikColor as Fe, ikDate as Se } from "iking-utils-pro";
|
|
3
3
|
const N = (o, t) => {
|
|
4
4
|
if (o.install = (n) => {
|
|
5
|
-
for (const
|
|
6
|
-
n.component(
|
|
5
|
+
for (const l of [o, ...Object.values(t ?? {})])
|
|
6
|
+
n.component(l.name, l);
|
|
7
7
|
}, t)
|
|
8
|
-
for (const [n,
|
|
9
|
-
o[n] =
|
|
8
|
+
for (const [n, l] of Object.entries(t))
|
|
9
|
+
o[n] = l;
|
|
10
10
|
return o;
|
|
11
|
-
},
|
|
11
|
+
}, W = (o, t) => {
|
|
12
12
|
const n = o.__vccOpts || o;
|
|
13
|
-
for (const [
|
|
14
|
-
n[
|
|
13
|
+
for (const [l, e] of t)
|
|
14
|
+
n[l] = e;
|
|
15
15
|
return n;
|
|
16
|
-
},
|
|
16
|
+
}, xe = (o) => ({
|
|
17
17
|
// ================all================
|
|
18
18
|
nodeType: {
|
|
19
19
|
发起人节点: "INITIATOR",
|
|
@@ -66,6 +66,7 @@ const N = (o, t) => {
|
|
|
66
66
|
//自选方式
|
|
67
67
|
singleApproval: "singleApproval",
|
|
68
68
|
//是否单选
|
|
69
|
+
originator: "username",
|
|
69
70
|
...o.defaultFieldMap
|
|
70
71
|
},
|
|
71
72
|
// ================approval================
|
|
@@ -92,39 +93,39 @@ const N = (o, t) => {
|
|
|
92
93
|
...o.defaultStatus
|
|
93
94
|
},
|
|
94
95
|
listData: []
|
|
95
|
-
}),
|
|
96
|
-
let
|
|
96
|
+
}), be = (o, t, n) => {
|
|
97
|
+
let l = "";
|
|
97
98
|
switch (t) {
|
|
98
99
|
case o.nodeType.审批节点:
|
|
99
|
-
n && n.length == 1 ?
|
|
100
|
+
n && n.length == 1 ? l = "ikapprove-ziyuan" : l = "ikapprove-shenpi";
|
|
100
101
|
break;
|
|
101
102
|
case o.nodeType.办理节点:
|
|
102
|
-
|
|
103
|
+
l = "ikapprove-bianji";
|
|
103
104
|
break;
|
|
104
105
|
case o.nodeType.抄送节点:
|
|
105
|
-
|
|
106
|
+
l = "ikapprove-chaosong";
|
|
106
107
|
break;
|
|
107
108
|
case o.nodeType.并行分支:
|
|
108
|
-
|
|
109
|
+
l = "ikapprove-fenzhi";
|
|
109
110
|
break;
|
|
110
111
|
case o.nodeType.子流程:
|
|
111
|
-
|
|
112
|
+
l = "ikapprove-ziliucheng1";
|
|
112
113
|
break;
|
|
113
114
|
default:
|
|
114
|
-
|
|
115
|
+
l = "ikapprove-ziyuan";
|
|
115
116
|
}
|
|
116
|
-
return `ikapprove ${
|
|
117
|
-
},
|
|
117
|
+
return `ikapprove ${l}`;
|
|
118
|
+
}, ze = (o, t = 2) => {
|
|
118
119
|
if (o === void 0)
|
|
119
120
|
return "";
|
|
120
121
|
if (o === 0)
|
|
121
122
|
return "0 B";
|
|
122
|
-
const n = ["B", "KB", "MB", "GB", "TB"],
|
|
123
|
-
let
|
|
124
|
-
return (
|
|
125
|
-
},
|
|
126
|
-
var
|
|
127
|
-
const n = (
|
|
123
|
+
const n = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(o) / Math.log(1024));
|
|
124
|
+
let e = o / Math.pow(1024, l);
|
|
125
|
+
return (e % 1 === 0 ? e.toFixed(t || 0) : e.toFixed(t)) + " " + n[l];
|
|
126
|
+
}, U = (o, t) => t ? t.startsWith("http") ? t : `${o || location.origin}${t}` : "", de = (o, t) => {
|
|
127
|
+
var a, p, y, w;
|
|
128
|
+
const n = (a = o == null ? void 0 : o.response) != null && a.data ? ne((y = (p = o == null ? void 0 : o.response) == null ? void 0 : p.data) == null ? void 0 : y.suffix) : ((w = o.raw) == null ? void 0 : w.type) || ne(o[t.suffix]), l = n == null ? void 0 : n.toLowerCase(), e = {
|
|
128
129
|
sheet: "excel",
|
|
129
130
|
excel: "excel",
|
|
130
131
|
zip: "zip",
|
|
@@ -140,11 +141,11 @@ const N = (o, t) => {
|
|
|
140
141
|
exe: "exe",
|
|
141
142
|
json: "json"
|
|
142
143
|
};
|
|
143
|
-
for (let
|
|
144
|
-
if (typeof
|
|
145
|
-
return
|
|
144
|
+
for (let c in e)
|
|
145
|
+
if (typeof l == "string" && (l.includes(c) || l === c))
|
|
146
|
+
return e[c];
|
|
146
147
|
return "unknown";
|
|
147
|
-
},
|
|
148
|
+
}, $e = {
|
|
148
149
|
".doc": "word",
|
|
149
150
|
".docx": "word",
|
|
150
151
|
".docxf": "word",
|
|
@@ -229,13 +230,13 @@ const N = (o, t) => {
|
|
|
229
230
|
".vob": "video",
|
|
230
231
|
".txt": "txt",
|
|
231
232
|
".pdf": "pdf"
|
|
232
|
-
},
|
|
233
|
+
}, ne = (o) => {
|
|
233
234
|
const t = o == null ? void 0 : o.toLocaleLowerCase(), n = t != null && t.startsWith(".") ? t : `.${t}`;
|
|
234
|
-
return n &&
|
|
235
|
-
},
|
|
236
|
-
let t = "", n = ["doc", "docx"],
|
|
237
|
-
return n.includes(o) && (t = "word"),
|
|
238
|
-
},
|
|
235
|
+
return n && $e[n] || "unknow";
|
|
236
|
+
}, Ce = (o) => {
|
|
237
|
+
let t = "", n = ["doc", "docx"], l = ["xls", "xlsx"], e = ["ppt", "pptx"], a = ["pdf"];
|
|
238
|
+
return n.includes(o) && (t = "word"), l.includes(o) && (t = "cell"), e.includes(o) && (t = "slide"), a.includes(o) && (t = "text-pdf"), t;
|
|
239
|
+
}, Ie = {
|
|
239
240
|
key: 0,
|
|
240
241
|
t: "1686300059786",
|
|
241
242
|
class: "icon",
|
|
@@ -245,7 +246,7 @@ const N = (o, t) => {
|
|
|
245
246
|
"p-id": "7671",
|
|
246
247
|
width: "200",
|
|
247
248
|
height: "200"
|
|
248
|
-
},
|
|
249
|
+
}, Oe = /* @__PURE__ */ d(
|
|
249
250
|
"path",
|
|
250
251
|
{
|
|
251
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",
|
|
@@ -255,7 +256,7 @@ const N = (o, t) => {
|
|
|
255
256
|
null,
|
|
256
257
|
-1
|
|
257
258
|
/* HOISTED */
|
|
258
|
-
),
|
|
259
|
+
), Te = /* @__PURE__ */ d(
|
|
259
260
|
"path",
|
|
260
261
|
{
|
|
261
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",
|
|
@@ -265,7 +266,7 @@ const N = (o, t) => {
|
|
|
265
266
|
null,
|
|
266
267
|
-1
|
|
267
268
|
/* HOISTED */
|
|
268
|
-
),
|
|
269
|
+
), Be = /* @__PURE__ */ d(
|
|
269
270
|
"path",
|
|
270
271
|
{
|
|
271
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",
|
|
@@ -275,7 +276,7 @@ const N = (o, t) => {
|
|
|
275
276
|
null,
|
|
276
277
|
-1
|
|
277
278
|
/* HOISTED */
|
|
278
|
-
),
|
|
279
|
+
), De = /* @__PURE__ */ d(
|
|
279
280
|
"path",
|
|
280
281
|
{
|
|
281
282
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -285,12 +286,12 @@ const N = (o, t) => {
|
|
|
285
286
|
null,
|
|
286
287
|
-1
|
|
287
288
|
/* HOISTED */
|
|
288
|
-
),
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
],
|
|
289
|
+
), Ee = [
|
|
290
|
+
Oe,
|
|
291
|
+
Te,
|
|
292
|
+
Be,
|
|
293
|
+
De
|
|
294
|
+
], Re = {
|
|
294
295
|
key: 1,
|
|
295
296
|
t: "1686301531714",
|
|
296
297
|
class: "icon",
|
|
@@ -300,7 +301,7 @@ const N = (o, t) => {
|
|
|
300
301
|
"p-id": "9067",
|
|
301
302
|
width: "200",
|
|
302
303
|
height: "200"
|
|
303
|
-
},
|
|
304
|
+
}, Ae = /* @__PURE__ */ d(
|
|
304
305
|
"path",
|
|
305
306
|
{
|
|
306
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",
|
|
@@ -310,7 +311,7 @@ const N = (o, t) => {
|
|
|
310
311
|
null,
|
|
311
312
|
-1
|
|
312
313
|
/* HOISTED */
|
|
313
|
-
),
|
|
314
|
+
), Ve = /* @__PURE__ */ d(
|
|
314
315
|
"path",
|
|
315
316
|
{
|
|
316
317
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -320,10 +321,10 @@ const N = (o, t) => {
|
|
|
320
321
|
null,
|
|
321
322
|
-1
|
|
322
323
|
/* HOISTED */
|
|
323
|
-
),
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
],
|
|
324
|
+
), Me = [
|
|
325
|
+
Ae,
|
|
326
|
+
Ve
|
|
327
|
+
], Pe = {
|
|
327
328
|
key: 2,
|
|
328
329
|
t: "1686300141125",
|
|
329
330
|
class: "icon",
|
|
@@ -333,7 +334,7 @@ const N = (o, t) => {
|
|
|
333
334
|
"p-id": "8137",
|
|
334
335
|
width: "200",
|
|
335
336
|
height: "200"
|
|
336
|
-
},
|
|
337
|
+
}, Ne = /* @__PURE__ */ d(
|
|
337
338
|
"path",
|
|
338
339
|
{
|
|
339
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",
|
|
@@ -343,7 +344,7 @@ const N = (o, t) => {
|
|
|
343
344
|
null,
|
|
344
345
|
-1
|
|
345
346
|
/* HOISTED */
|
|
346
|
-
),
|
|
347
|
+
), Le = /* @__PURE__ */ d(
|
|
347
348
|
"path",
|
|
348
349
|
{
|
|
349
350
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -353,10 +354,10 @@ const N = (o, t) => {
|
|
|
353
354
|
null,
|
|
354
355
|
-1
|
|
355
356
|
/* HOISTED */
|
|
356
|
-
),
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
],
|
|
357
|
+
), He = [
|
|
358
|
+
Ne,
|
|
359
|
+
Le
|
|
360
|
+
], qe = {
|
|
360
361
|
key: 3,
|
|
361
362
|
t: "1686300157181",
|
|
362
363
|
class: "icon",
|
|
@@ -366,7 +367,7 @@ const N = (o, t) => {
|
|
|
366
367
|
"p-id": "8292",
|
|
367
368
|
width: "200",
|
|
368
369
|
height: "200"
|
|
369
|
-
},
|
|
370
|
+
}, Ue = /* @__PURE__ */ d(
|
|
370
371
|
"path",
|
|
371
372
|
{
|
|
372
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",
|
|
@@ -376,7 +377,7 @@ const N = (o, t) => {
|
|
|
376
377
|
null,
|
|
377
378
|
-1
|
|
378
379
|
/* HOISTED */
|
|
379
|
-
),
|
|
380
|
+
), je = /* @__PURE__ */ d(
|
|
380
381
|
"path",
|
|
381
382
|
{
|
|
382
383
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -386,10 +387,10 @@ const N = (o, t) => {
|
|
|
386
387
|
null,
|
|
387
388
|
-1
|
|
388
389
|
/* HOISTED */
|
|
389
|
-
),
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
],
|
|
390
|
+
), We = [
|
|
391
|
+
Ue,
|
|
392
|
+
je
|
|
393
|
+
], Ke = {
|
|
393
394
|
key: 4,
|
|
394
395
|
t: "1686300180947",
|
|
395
396
|
class: "icon",
|
|
@@ -399,7 +400,7 @@ const N = (o, t) => {
|
|
|
399
400
|
"p-id": "8447",
|
|
400
401
|
width: "200",
|
|
401
402
|
height: "200"
|
|
402
|
-
},
|
|
403
|
+
}, Ge = /* @__PURE__ */ d(
|
|
403
404
|
"path",
|
|
404
405
|
{
|
|
405
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",
|
|
@@ -409,7 +410,7 @@ const N = (o, t) => {
|
|
|
409
410
|
null,
|
|
410
411
|
-1
|
|
411
412
|
/* HOISTED */
|
|
412
|
-
),
|
|
413
|
+
), Ye = /* @__PURE__ */ d(
|
|
413
414
|
"path",
|
|
414
415
|
{
|
|
415
416
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -419,10 +420,10 @@ const N = (o, t) => {
|
|
|
419
420
|
null,
|
|
420
421
|
-1
|
|
421
422
|
/* HOISTED */
|
|
422
|
-
),
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
],
|
|
423
|
+
), Xe = [
|
|
424
|
+
Ge,
|
|
425
|
+
Ye
|
|
426
|
+
], Je = {
|
|
426
427
|
key: 5,
|
|
427
428
|
t: "1686300195363",
|
|
428
429
|
class: "icon",
|
|
@@ -432,7 +433,7 @@ const N = (o, t) => {
|
|
|
432
433
|
"p-id": "8602",
|
|
433
434
|
width: "200",
|
|
434
435
|
height: "200"
|
|
435
|
-
},
|
|
436
|
+
}, Ze = /* @__PURE__ */ d(
|
|
436
437
|
"path",
|
|
437
438
|
{
|
|
438
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",
|
|
@@ -442,7 +443,7 @@ const N = (o, t) => {
|
|
|
442
443
|
null,
|
|
443
444
|
-1
|
|
444
445
|
/* HOISTED */
|
|
445
|
-
),
|
|
446
|
+
), Qe = /* @__PURE__ */ d(
|
|
446
447
|
"path",
|
|
447
448
|
{
|
|
448
449
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -452,10 +453,10 @@ const N = (o, t) => {
|
|
|
452
453
|
null,
|
|
453
454
|
-1
|
|
454
455
|
/* HOISTED */
|
|
455
|
-
),
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
],
|
|
456
|
+
), e3 = [
|
|
457
|
+
Ze,
|
|
458
|
+
Qe
|
|
459
|
+
], t3 = {
|
|
459
460
|
key: 6,
|
|
460
461
|
t: "1686300209288",
|
|
461
462
|
class: "icon",
|
|
@@ -465,7 +466,7 @@ const N = (o, t) => {
|
|
|
465
466
|
"p-id": "8757",
|
|
466
467
|
width: "200",
|
|
467
468
|
height: "200"
|
|
468
|
-
},
|
|
469
|
+
}, o3 = /* @__PURE__ */ d(
|
|
469
470
|
"path",
|
|
470
471
|
{
|
|
471
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",
|
|
@@ -475,7 +476,7 @@ const N = (o, t) => {
|
|
|
475
476
|
null,
|
|
476
477
|
-1
|
|
477
478
|
/* HOISTED */
|
|
478
|
-
),
|
|
479
|
+
), n3 = /* @__PURE__ */ d(
|
|
479
480
|
"path",
|
|
480
481
|
{
|
|
481
482
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -485,10 +486,10 @@ const N = (o, t) => {
|
|
|
485
486
|
null,
|
|
486
487
|
-1
|
|
487
488
|
/* HOISTED */
|
|
488
|
-
),
|
|
489
|
-
|
|
490
|
-
|
|
491
|
-
],
|
|
489
|
+
), s3 = [
|
|
490
|
+
o3,
|
|
491
|
+
n3
|
|
492
|
+
], i3 = {
|
|
492
493
|
key: 7,
|
|
493
494
|
t: "1686300225262",
|
|
494
495
|
class: "icon",
|
|
@@ -498,7 +499,7 @@ const N = (o, t) => {
|
|
|
498
499
|
"p-id": "8912",
|
|
499
500
|
width: "200",
|
|
500
501
|
height: "200"
|
|
501
|
-
},
|
|
502
|
+
}, l3 = /* @__PURE__ */ d(
|
|
502
503
|
"path",
|
|
503
504
|
{
|
|
504
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",
|
|
@@ -508,7 +509,7 @@ const N = (o, t) => {
|
|
|
508
509
|
null,
|
|
509
510
|
-1
|
|
510
511
|
/* HOISTED */
|
|
511
|
-
),
|
|
512
|
+
), a3 = /* @__PURE__ */ d(
|
|
512
513
|
"path",
|
|
513
514
|
{
|
|
514
515
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -518,10 +519,10 @@ const N = (o, t) => {
|
|
|
518
519
|
null,
|
|
519
520
|
-1
|
|
520
521
|
/* HOISTED */
|
|
521
|
-
),
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
],
|
|
522
|
+
), r3 = [
|
|
523
|
+
l3,
|
|
524
|
+
a3
|
|
525
|
+
], c3 = {
|
|
525
526
|
key: 8,
|
|
526
527
|
t: "1692251753690",
|
|
527
528
|
class: "icon",
|
|
@@ -531,7 +532,7 @@ const N = (o, t) => {
|
|
|
531
532
|
"p-id": "4336",
|
|
532
533
|
width: "200",
|
|
533
534
|
height: "200"
|
|
534
|
-
},
|
|
535
|
+
}, d3 = /* @__PURE__ */ d(
|
|
535
536
|
"path",
|
|
536
537
|
{
|
|
537
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",
|
|
@@ -541,7 +542,7 @@ const N = (o, t) => {
|
|
|
541
542
|
null,
|
|
542
543
|
-1
|
|
543
544
|
/* HOISTED */
|
|
544
|
-
),
|
|
545
|
+
), u3 = /* @__PURE__ */ d(
|
|
545
546
|
"path",
|
|
546
547
|
{
|
|
547
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",
|
|
@@ -552,7 +553,7 @@ const N = (o, t) => {
|
|
|
552
553
|
null,
|
|
553
554
|
-1
|
|
554
555
|
/* HOISTED */
|
|
555
|
-
),
|
|
556
|
+
), p3 = /* @__PURE__ */ d(
|
|
556
557
|
"path",
|
|
557
558
|
{
|
|
558
559
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -562,11 +563,11 @@ const N = (o, t) => {
|
|
|
562
563
|
null,
|
|
563
564
|
-1
|
|
564
565
|
/* HOISTED */
|
|
565
|
-
),
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
],
|
|
566
|
+
), f3 = [
|
|
567
|
+
d3,
|
|
568
|
+
u3,
|
|
569
|
+
p3
|
|
570
|
+
], h3 = {
|
|
570
571
|
key: 9,
|
|
571
572
|
t: "1692251753690",
|
|
572
573
|
class: "icon",
|
|
@@ -576,7 +577,7 @@ const N = (o, t) => {
|
|
|
576
577
|
"p-id": "4336",
|
|
577
578
|
width: "200",
|
|
578
579
|
height: "200"
|
|
579
|
-
},
|
|
580
|
+
}, v3 = /* @__PURE__ */ d(
|
|
580
581
|
"path",
|
|
581
582
|
{
|
|
582
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",
|
|
@@ -586,7 +587,7 @@ const N = (o, t) => {
|
|
|
586
587
|
null,
|
|
587
588
|
-1
|
|
588
589
|
/* HOISTED */
|
|
589
|
-
),
|
|
590
|
+
), g3 = /* @__PURE__ */ d(
|
|
590
591
|
"path",
|
|
591
592
|
{
|
|
592
593
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -596,7 +597,7 @@ const N = (o, t) => {
|
|
|
596
597
|
null,
|
|
597
598
|
-1
|
|
598
599
|
/* HOISTED */
|
|
599
|
-
),
|
|
600
|
+
), y3 = /* @__PURE__ */ d(
|
|
600
601
|
"path",
|
|
601
602
|
{
|
|
602
603
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -607,7 +608,7 @@ const N = (o, t) => {
|
|
|
607
608
|
null,
|
|
608
609
|
-1
|
|
609
610
|
/* HOISTED */
|
|
610
|
-
),
|
|
611
|
+
), _3 = /* @__PURE__ */ d(
|
|
611
612
|
"path",
|
|
612
613
|
{
|
|
613
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",
|
|
@@ -617,12 +618,12 @@ const N = (o, t) => {
|
|
|
617
618
|
null,
|
|
618
619
|
-1
|
|
619
620
|
/* HOISTED */
|
|
620
|
-
),
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
],
|
|
621
|
+
), m3 = [
|
|
622
|
+
v3,
|
|
623
|
+
g3,
|
|
624
|
+
y3,
|
|
625
|
+
_3
|
|
626
|
+
], w3 = {
|
|
626
627
|
key: 10,
|
|
627
628
|
t: "1714099890925",
|
|
628
629
|
class: "icon",
|
|
@@ -632,7 +633,7 @@ const N = (o, t) => {
|
|
|
632
633
|
"p-id": "2271",
|
|
633
634
|
width: "200",
|
|
634
635
|
height: "200"
|
|
635
|
-
},
|
|
636
|
+
}, k3 = /* @__PURE__ */ d(
|
|
636
637
|
"path",
|
|
637
638
|
{
|
|
638
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",
|
|
@@ -642,7 +643,7 @@ const N = (o, t) => {
|
|
|
642
643
|
null,
|
|
643
644
|
-1
|
|
644
645
|
/* HOISTED */
|
|
645
|
-
),
|
|
646
|
+
), F3 = /* @__PURE__ */ d(
|
|
646
647
|
"path",
|
|
647
648
|
{
|
|
648
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",
|
|
@@ -653,7 +654,7 @@ const N = (o, t) => {
|
|
|
653
654
|
null,
|
|
654
655
|
-1
|
|
655
656
|
/* HOISTED */
|
|
656
|
-
),
|
|
657
|
+
), S3 = /* @__PURE__ */ d(
|
|
657
658
|
"path",
|
|
658
659
|
{
|
|
659
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",
|
|
@@ -663,11 +664,11 @@ const N = (o, t) => {
|
|
|
663
664
|
null,
|
|
664
665
|
-1
|
|
665
666
|
/* HOISTED */
|
|
666
|
-
),
|
|
667
|
-
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
],
|
|
667
|
+
), x3 = [
|
|
668
|
+
k3,
|
|
669
|
+
F3,
|
|
670
|
+
S3
|
|
671
|
+
], b3 = {
|
|
671
672
|
key: 11,
|
|
672
673
|
t: "1686300037564",
|
|
673
674
|
class: "icon",
|
|
@@ -677,7 +678,7 @@ const N = (o, t) => {
|
|
|
677
678
|
"p-id": "7515",
|
|
678
679
|
width: "200",
|
|
679
680
|
height: "200"
|
|
680
|
-
},
|
|
681
|
+
}, z3 = /* @__PURE__ */ d(
|
|
681
682
|
"path",
|
|
682
683
|
{
|
|
683
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",
|
|
@@ -687,7 +688,7 @@ const N = (o, t) => {
|
|
|
687
688
|
null,
|
|
688
689
|
-1
|
|
689
690
|
/* HOISTED */
|
|
690
|
-
),
|
|
691
|
+
), $3 = /* @__PURE__ */ d(
|
|
691
692
|
"path",
|
|
692
693
|
{
|
|
693
694
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -697,7 +698,7 @@ const N = (o, t) => {
|
|
|
697
698
|
null,
|
|
698
699
|
-1
|
|
699
700
|
/* HOISTED */
|
|
700
|
-
),
|
|
701
|
+
), C3 = /* @__PURE__ */ d(
|
|
701
702
|
"path",
|
|
702
703
|
{
|
|
703
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",
|
|
@@ -707,11 +708,11 @@ const N = (o, t) => {
|
|
|
707
708
|
null,
|
|
708
709
|
-1
|
|
709
710
|
/* HOISTED */
|
|
710
|
-
),
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
],
|
|
711
|
+
), I3 = [
|
|
712
|
+
z3,
|
|
713
|
+
$3,
|
|
714
|
+
C3
|
|
715
|
+
], O3 = /* @__PURE__ */ B({
|
|
715
716
|
__name: "FileIcon",
|
|
716
717
|
props: {
|
|
717
718
|
type: {
|
|
@@ -732,10 +733,19 @@ const N = (o, t) => {
|
|
|
732
733
|
}
|
|
733
734
|
},
|
|
734
735
|
setup(o) {
|
|
735
|
-
const t = o, n =
|
|
736
|
-
return (
|
|
736
|
+
const t = o, n = b(() => t.file ? de(t.file, t.fields) : t.type);
|
|
737
|
+
return (l, e) => n.value === "image" ? (i(), r("svg", Ie, Ee)) : n.value === "zip" ? (i(), r("svg", Re, Me)) : n.value === "ppt" ? (i(), r("svg", Pe, He)) : n.value === "word" ? (i(), r("svg", qe, We)) : n.value === "pdf" ? (i(), r("svg", Ke, Xe)) : n.value === "txt" ? (i(), r("svg", Je, e3)) : n.value === "audio" ? (i(), r("svg", t3, s3)) : n.value === "video" ? (i(), r("svg", i3, r3)) : n.value === "excel" ? (i(), r("svg", c3, f3)) : n.value === "exe" ? (i(), r("svg", h3, m3)) : n.value === "json" ? (i(), r("svg", w3, x3)) : (i(), r("svg", b3, I3));
|
|
737
738
|
}
|
|
738
|
-
}),
|
|
739
|
+
}), ue = (o) => {
|
|
740
|
+
const t = H("loadUrl"), n = b(() => o.loadUrl || (t == null ? void 0 : t.value)), l = H("uploadUrl"), e = b(() => o.action || o.uploadUrl || (l == null ? void 0 : l.value)), a = H("token"), p = b(() => o.token || (a == null ? void 0 : a.value)), y = H("onlyofficeConfig"), w = b(() => o.onlyofficeConfig || (y == null ? void 0 : y.value)), c = H("userInfo"), f = b(() => o.userInfo || (c == null ? void 0 : c.value));
|
|
741
|
+
return {
|
|
742
|
+
cLoadUrl: n,
|
|
743
|
+
cUploadUrl: e,
|
|
744
|
+
cToken: p,
|
|
745
|
+
cOnlyofficeConfig: w,
|
|
746
|
+
cUserInfo: f
|
|
747
|
+
};
|
|
748
|
+
}, T3 = ["onClick"], B3 = { class: "text" }, D3 = { class: "fileName" }, E3 = { class: "size" }, R3 = /* @__PURE__ */ B({
|
|
739
749
|
__name: "IkPreviewFile",
|
|
740
750
|
props: {
|
|
741
751
|
list: {
|
|
@@ -805,80 +815,80 @@ const N = (o, t) => {
|
|
|
805
815
|
}
|
|
806
816
|
},
|
|
807
817
|
setup(o) {
|
|
808
|
-
const t = o, n =
|
|
818
|
+
const t = o, { cLoadUrl: n, cOnlyofficeConfig: l } = ue(t), e = b(() => ({
|
|
809
819
|
name: "name",
|
|
810
820
|
url: "url",
|
|
811
821
|
suffix: "suffix",
|
|
812
822
|
size: "size",
|
|
813
823
|
...t.field
|
|
814
|
-
})),
|
|
815
|
-
var
|
|
816
|
-
|
|
817
|
-
...
|
|
818
|
-
name:
|
|
819
|
-
url:
|
|
820
|
-
|
|
821
|
-
|
|
824
|
+
})), a = M({}), p = M(!1), y = (u) => {
|
|
825
|
+
var _, v;
|
|
826
|
+
a.value = {
|
|
827
|
+
...u,
|
|
828
|
+
name: u.name,
|
|
829
|
+
url: U(
|
|
830
|
+
n.value,
|
|
831
|
+
u.url || ((v = (_ = u == null ? void 0 : u.response) == null ? void 0 : _.data) == null ? void 0 : v.id) || (u == null ? void 0 : u.id)
|
|
822
832
|
)
|
|
823
|
-
},
|
|
824
|
-
},
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
|
|
828
|
-
|
|
833
|
+
}, p.value = !0;
|
|
834
|
+
}, w = (u) => {
|
|
835
|
+
we.downloadFile(
|
|
836
|
+
U(
|
|
837
|
+
n.value,
|
|
838
|
+
u[e.value.url] || u.attachmentId || u.id
|
|
829
839
|
),
|
|
830
|
-
|
|
840
|
+
u[e.value.name] || u.attachmentName
|
|
831
841
|
);
|
|
832
|
-
},
|
|
833
|
-
...
|
|
834
|
-
name:
|
|
835
|
-
size:
|
|
836
|
-
suffix:
|
|
842
|
+
}, c = b(() => me.isNumber(t.width) ? `${t.width}px` : t.width), f = b(() => t.list.map((u) => ({
|
|
843
|
+
...u,
|
|
844
|
+
name: u[e.value.name] || u.attachmentName,
|
|
845
|
+
size: u[e.value.size] || u.fileSize || u.attachmentSize,
|
|
846
|
+
suffix: u[e.value.suffix] || u.attachmentSuffix
|
|
837
847
|
})));
|
|
838
|
-
return (
|
|
839
|
-
var v;
|
|
840
|
-
return
|
|
841
|
-
|
|
848
|
+
return (u, _) => {
|
|
849
|
+
var v, s, x;
|
|
850
|
+
return i(), r(
|
|
851
|
+
I,
|
|
842
852
|
null,
|
|
843
853
|
[
|
|
844
|
-
(v = o.list) != null && v.length ? (
|
|
845
|
-
|
|
854
|
+
(v = o.list) != null && v.length ? (i(!0), r(
|
|
855
|
+
I,
|
|
846
856
|
{ key: 0 },
|
|
847
|
-
V(
|
|
848
|
-
var
|
|
849
|
-
return
|
|
857
|
+
V(f.value, (S, g) => {
|
|
858
|
+
var z;
|
|
859
|
+
return i(), r(
|
|
850
860
|
"div",
|
|
851
861
|
{
|
|
852
|
-
class:
|
|
853
|
-
key:
|
|
854
|
-
style:
|
|
855
|
-
marginBottom:
|
|
856
|
-
width:
|
|
862
|
+
class: O(["iking-privew-annex", { "is-bg": o.showBg }]),
|
|
863
|
+
key: g,
|
|
864
|
+
style: C({
|
|
865
|
+
marginBottom: g == ((z = o.list) == null ? void 0 : z.length) - 1 ? "0" : "10px",
|
|
866
|
+
width: c.value
|
|
857
867
|
})
|
|
858
868
|
},
|
|
859
869
|
[
|
|
860
870
|
d("div", {
|
|
861
871
|
class: "file-card",
|
|
862
|
-
onClick: (
|
|
872
|
+
onClick: ($) => y(S)
|
|
863
873
|
}, [
|
|
864
|
-
|
|
865
|
-
file:
|
|
866
|
-
style:
|
|
874
|
+
T(O3, {
|
|
875
|
+
file: S,
|
|
876
|
+
style: C({ height: `${o.iconSize}px` }),
|
|
867
877
|
class: "ikui-w-auto",
|
|
868
|
-
fields:
|
|
878
|
+
fields: e.value
|
|
869
879
|
}, null, 8, ["file", "style", "fields"]),
|
|
870
|
-
d("div",
|
|
880
|
+
d("div", B3, [
|
|
871
881
|
d(
|
|
872
882
|
"div",
|
|
873
|
-
|
|
874
|
-
|
|
883
|
+
D3,
|
|
884
|
+
m(S.name),
|
|
875
885
|
1
|
|
876
886
|
/* TEXT */
|
|
877
887
|
),
|
|
878
888
|
d(
|
|
879
889
|
"div",
|
|
880
|
-
|
|
881
|
-
|
|
890
|
+
E3,
|
|
891
|
+
m(F(ze)(S.size)),
|
|
882
892
|
1
|
|
883
893
|
/* TEXT */
|
|
884
894
|
)
|
|
@@ -886,28 +896,28 @@ const N = (o, t) => {
|
|
|
886
896
|
d(
|
|
887
897
|
"div",
|
|
888
898
|
{
|
|
889
|
-
class:
|
|
899
|
+
class: O(["flex flex-center", { "hover-show": o.iconHoverShow }])
|
|
890
900
|
},
|
|
891
901
|
[
|
|
892
|
-
|
|
902
|
+
T(F(j), {
|
|
893
903
|
name: "iksvg_daochu",
|
|
894
|
-
onClick:
|
|
904
|
+
onClick: fe(($) => w(S), ["stop"]),
|
|
895
905
|
bg: o.showBg,
|
|
896
906
|
size: o.showBg ? "default" : 20
|
|
897
907
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
898
|
-
|
|
908
|
+
T(F(j), {
|
|
899
909
|
name: "iksvg_yulan",
|
|
900
910
|
bg: o.showBg,
|
|
901
911
|
size: o.showBg ? "default" : 20
|
|
902
912
|
}, null, 8, ["bg", "size"]),
|
|
903
|
-
|
|
904
|
-
data: { ...
|
|
913
|
+
q(u.$slots, "operation", {
|
|
914
|
+
data: { ...S, findex: g }
|
|
905
915
|
})
|
|
906
916
|
],
|
|
907
917
|
2
|
|
908
918
|
/* CLASS */
|
|
909
919
|
)
|
|
910
|
-
], 8,
|
|
920
|
+
], 8, T3)
|
|
911
921
|
],
|
|
912
922
|
6
|
|
913
923
|
/* CLASS, STYLE */
|
|
@@ -915,15 +925,15 @@ const N = (o, t) => {
|
|
|
915
925
|
}),
|
|
916
926
|
128
|
|
917
927
|
/* KEYED_FRAGMENT */
|
|
918
|
-
)) :
|
|
919
|
-
|
|
920
|
-
show:
|
|
921
|
-
"onUpdate:show":
|
|
922
|
-
loadUrl:
|
|
923
|
-
file:
|
|
924
|
-
onlyofficeServer: o.onlyofficeServer,
|
|
925
|
-
onlyOfficeConfig:
|
|
926
|
-
onlyOfficeAccept: o.onlyOfficeAccept
|
|
928
|
+
)) : h("v-if", !0),
|
|
929
|
+
T(F(M3), {
|
|
930
|
+
show: p.value,
|
|
931
|
+
"onUpdate:show": _[0] || (_[0] = (S) => p.value = S),
|
|
932
|
+
loadUrl: F(n),
|
|
933
|
+
file: a.value,
|
|
934
|
+
onlyofficeServer: ((s = F(l)) == null ? void 0 : s.serverUrl) || o.onlyofficeServer,
|
|
935
|
+
onlyOfficeConfig: F(l),
|
|
936
|
+
onlyOfficeAccept: ((x = F(l)) == null ? void 0 : x.accept) || o.onlyOfficeAccept
|
|
927
937
|
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
|
|
928
938
|
],
|
|
929
939
|
64
|
|
@@ -932,9 +942,9 @@ const N = (o, t) => {
|
|
|
932
942
|
};
|
|
933
943
|
}
|
|
934
944
|
});
|
|
935
|
-
const
|
|
945
|
+
const A3 = N(R3), V3 = /* @__PURE__ */ B({
|
|
936
946
|
__name: "IkPreviewFileDialog",
|
|
937
|
-
props: /* @__PURE__ */
|
|
947
|
+
props: /* @__PURE__ */ ie({
|
|
938
948
|
file: {
|
|
939
949
|
type: Object,
|
|
940
950
|
default: () => []
|
|
@@ -969,81 +979,81 @@ const T3 = N(O3), B3 = /* @__PURE__ */ $({
|
|
|
969
979
|
}),
|
|
970
980
|
emits: ["update:show"],
|
|
971
981
|
setup(o) {
|
|
972
|
-
const t = o, n =
|
|
982
|
+
const t = o, n = le(o, "show"), l = b(() => ({
|
|
973
983
|
name: "name",
|
|
974
984
|
url: "url",
|
|
975
985
|
suffix: "suffix",
|
|
976
986
|
size: "fileSize",
|
|
977
987
|
...t.field
|
|
978
|
-
})),
|
|
988
|
+
})), e = M(null), a = M(null), p = ae({
|
|
979
989
|
image: !1,
|
|
980
990
|
office: !1,
|
|
981
991
|
video: !1
|
|
982
|
-
}), y = (
|
|
983
|
-
var f,
|
|
992
|
+
}), y = (c) => {
|
|
993
|
+
var f, u, _, v, s, x, S;
|
|
984
994
|
try {
|
|
985
|
-
const
|
|
986
|
-
if (
|
|
987
|
-
...
|
|
988
|
-
name:
|
|
989
|
-
url:
|
|
990
|
-
},
|
|
991
|
-
|
|
995
|
+
const g = ((f = c == null ? void 0 : c.response) == null ? void 0 : f.data) || c, z = g[l.value.url] || (g == null ? void 0 : g.id) || g.attachmentId, $ = (u = g[l.value.suffix] || g.attachmentSuffix) == null ? void 0 : u.toLowerCase(), A = g[l.value.name] || (g == null ? void 0 : g.attachmentName) || (g == null ? void 0 : g.originName);
|
|
996
|
+
if (a.value = {
|
|
997
|
+
...c,
|
|
998
|
+
name: c[l.value.name],
|
|
999
|
+
url: U(t.loadUrl, z)
|
|
1000
|
+
}, c && de(c, l.value) === "image") {
|
|
1001
|
+
p.image = !0;
|
|
992
1002
|
return;
|
|
993
|
-
} else if ((((
|
|
994
|
-
|
|
1003
|
+
} else if ((((_ = t.onlyOfficeConfig) == null ? void 0 : _.accept) || t.onlyOfficeAccept).includes($)) {
|
|
1004
|
+
p.office = !0, e.value = {
|
|
995
1005
|
...t.onlyOfficeConfig,
|
|
996
1006
|
editorConfig: {
|
|
997
|
-
...((
|
|
1007
|
+
...((v = t.onlyOfficeConfig) == null ? void 0 : v.editorConfig) || {},
|
|
998
1008
|
customization: {
|
|
999
|
-
...((
|
|
1009
|
+
...((x = (s = t.onlyOfficeConfig) == null ? void 0 : s.editorConfig) == null ? void 0 : x.customization) || {},
|
|
1000
1010
|
review: {
|
|
1001
1011
|
reviewDisplay: "final"
|
|
1002
1012
|
}
|
|
1003
1013
|
}
|
|
1004
1014
|
},
|
|
1005
1015
|
document: {
|
|
1006
|
-
key:
|
|
1016
|
+
key: ke(),
|
|
1007
1017
|
title: A,
|
|
1008
|
-
url:
|
|
1009
|
-
fileType:
|
|
1010
|
-
...((
|
|
1018
|
+
url: U(t.loadUrl, z),
|
|
1019
|
+
fileType: $,
|
|
1020
|
+
...((S = t.onlyOfficeConfig) == null ? void 0 : S.document) || {}
|
|
1011
1021
|
},
|
|
1012
|
-
documentType:
|
|
1022
|
+
documentType: Ce($)
|
|
1013
1023
|
};
|
|
1014
1024
|
return;
|
|
1015
1025
|
}
|
|
1016
|
-
} catch (
|
|
1017
|
-
console.info("预览错误: ",
|
|
1026
|
+
} catch (g) {
|
|
1027
|
+
console.info("预览错误: ", g);
|
|
1018
1028
|
}
|
|
1019
1029
|
};
|
|
1020
|
-
|
|
1021
|
-
|
|
1030
|
+
re([n, t.file], ([c, f]) => {
|
|
1031
|
+
c && G(() => {
|
|
1022
1032
|
y(t.file);
|
|
1023
1033
|
});
|
|
1024
1034
|
});
|
|
1025
|
-
const
|
|
1026
|
-
n.value = !1,
|
|
1035
|
+
const w = () => {
|
|
1036
|
+
n.value = !1, p.office = !1, p.image = !1, p.video = !1;
|
|
1027
1037
|
};
|
|
1028
|
-
return (
|
|
1029
|
-
var
|
|
1030
|
-
const
|
|
1031
|
-
return n.value ? (
|
|
1032
|
-
|
|
1038
|
+
return (c, f) => {
|
|
1039
|
+
var _, v;
|
|
1040
|
+
const u = P("el-image-viewer");
|
|
1041
|
+
return n.value ? (i(), r(
|
|
1042
|
+
I,
|
|
1033
1043
|
{ key: 0 },
|
|
1034
1044
|
[
|
|
1035
|
-
(
|
|
1045
|
+
(_ = a.value) != null && _.url && p.image ? (i(), R(u, {
|
|
1036
1046
|
key: 0,
|
|
1037
|
-
onClose: f[0] || (f[0] = (
|
|
1038
|
-
|
|
1047
|
+
onClose: f[0] || (f[0] = (s) => {
|
|
1048
|
+
a.value = null, p.image = !1;
|
|
1039
1049
|
}),
|
|
1040
1050
|
ref: "previewImgRef",
|
|
1041
|
-
"url-list": [(
|
|
1042
|
-
}, null, 8, ["url-list"])) :
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
modelValue:
|
|
1046
|
-
"onUpdate:modelValue": f[1] || (f[1] = (
|
|
1051
|
+
"url-list": [(v = a.value) == null ? void 0 : v.url]
|
|
1052
|
+
}, null, 8, ["url-list"])) : h("v-if", !0),
|
|
1053
|
+
h(" 文档类 "),
|
|
1054
|
+
T(F(Q3), {
|
|
1055
|
+
modelValue: p.office,
|
|
1056
|
+
"onUpdate:modelValue": f[1] || (f[1] = (s) => p.office = s),
|
|
1047
1057
|
draggable: "",
|
|
1048
1058
|
"no-footer": "",
|
|
1049
1059
|
"no-header": "",
|
|
@@ -1053,38 +1063,40 @@ const T3 = N(O3), B3 = /* @__PURE__ */ $({
|
|
|
1053
1063
|
"close-on-click-modal": "",
|
|
1054
1064
|
"close-on-press-escape": !1,
|
|
1055
1065
|
"append-to-body": "",
|
|
1056
|
-
onClose:
|
|
1066
|
+
onClose: w,
|
|
1057
1067
|
"modal-class": "ik-only-preview-dialog"
|
|
1058
1068
|
}, {
|
|
1059
|
-
default:
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
|
|
1063
|
-
|
|
1064
|
-
|
|
1065
|
-
|
|
1069
|
+
default: D(() => {
|
|
1070
|
+
var s;
|
|
1071
|
+
return [
|
|
1072
|
+
T(F(a6), {
|
|
1073
|
+
"config-options": e.value,
|
|
1074
|
+
"document-server-url": ((s = o.onlyOfficeConfig) == null ? void 0 : s.serverUrl) || o.onlyofficeServer
|
|
1075
|
+
}, null, 8, ["config-options", "document-server-url"])
|
|
1076
|
+
];
|
|
1077
|
+
}),
|
|
1066
1078
|
_: 1
|
|
1067
1079
|
/* STABLE */
|
|
1068
1080
|
}, 8, ["modelValue"])
|
|
1069
1081
|
],
|
|
1070
1082
|
64
|
|
1071
1083
|
/* STABLE_FRAGMENT */
|
|
1072
|
-
)) :
|
|
1084
|
+
)) : h("v-if", !0);
|
|
1073
1085
|
};
|
|
1074
1086
|
}
|
|
1075
1087
|
});
|
|
1076
|
-
const
|
|
1088
|
+
const M3 = N(V3), P3 = {
|
|
1077
1089
|
key: 0,
|
|
1078
1090
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
1079
|
-
},
|
|
1091
|
+
}, N3 = {
|
|
1080
1092
|
key: 1,
|
|
1081
1093
|
class: "h-[1em] w-[1em]",
|
|
1082
1094
|
"aria-hidden": "true"
|
|
1083
|
-
},
|
|
1095
|
+
}, L3 = ["xlink:href"], H3 = ["src"], q3 = {
|
|
1084
1096
|
key: 1,
|
|
1085
1097
|
class: "h-[1em] w-[1em]",
|
|
1086
1098
|
"aria-hidden": "true"
|
|
1087
|
-
},
|
|
1099
|
+
}, U3 = ["xlink:href"], j3 = ["src"], W3 = /* @__PURE__ */ B({
|
|
1088
1100
|
name: "IkSvgIcon",
|
|
1089
1101
|
__name: "index",
|
|
1090
1102
|
props: {
|
|
@@ -1111,84 +1123,84 @@ const D3 = N(B3), E3 = {
|
|
|
1111
1123
|
tableIconType: { default: "icon" }
|
|
1112
1124
|
},
|
|
1113
1125
|
setup(o) {
|
|
1114
|
-
const t = o, n =
|
|
1115
|
-
var
|
|
1116
|
-
return /^http?:\/\//.test(t.name) ? "img" : /i-[^:]+:[^:]+/.test(t.name) ? "unocss" : (
|
|
1117
|
-
}),
|
|
1118
|
-
const
|
|
1126
|
+
const t = o, n = b(() => {
|
|
1127
|
+
var e, a, p;
|
|
1128
|
+
return /^http?:\/\//.test(t.name) ? "img" : /i-[^:]+:[^:]+/.test(t.name) ? "unocss" : (e = t.name) != null && e.startsWith("iksig") ? "iksig" : (a = t.name) != null && a.includes(":") ? "iconify" : (p = t.name) != null && p.startsWith("iksvg") ? "svg" : "i";
|
|
1129
|
+
}), l = b(() => {
|
|
1130
|
+
const e = [];
|
|
1119
1131
|
if (t.flip)
|
|
1120
1132
|
switch (t.flip) {
|
|
1121
1133
|
case "horizontal":
|
|
1122
|
-
|
|
1134
|
+
e.push("rotateY(180deg)");
|
|
1123
1135
|
break;
|
|
1124
1136
|
case "vertical":
|
|
1125
|
-
|
|
1137
|
+
e.push("rotateX(180deg)");
|
|
1126
1138
|
break;
|
|
1127
1139
|
case "both":
|
|
1128
|
-
|
|
1140
|
+
e.push("rotateX(180deg)"), e.push("rotateY(180deg)");
|
|
1129
1141
|
break;
|
|
1130
1142
|
}
|
|
1131
|
-
t.rotate &&
|
|
1132
|
-
const
|
|
1143
|
+
t.rotate && e.push(`rotate(${t.rotate % 360}deg)`);
|
|
1144
|
+
const a = {
|
|
1133
1145
|
...t.color && { color: t.color },
|
|
1134
1146
|
...t.size && { fontSize: typeof t.size == "number" ? `${t.size}px` : t.size },
|
|
1135
|
-
...
|
|
1147
|
+
...e.length && { transform: e.join(" ") },
|
|
1136
1148
|
padding: t.showBg || t.bg ? t.padding : 0,
|
|
1137
1149
|
...t.color && n.value !== "iksig" ? {
|
|
1138
1150
|
"--ik-color-icon-dark": t.color,
|
|
1139
|
-
"--ik-color-icon-light": t.colorLight ||
|
|
1151
|
+
"--ik-color-icon-light": t.colorLight || Fe.setOpacity(t.color, t.opacity)
|
|
1140
1152
|
} : {}
|
|
1141
1153
|
};
|
|
1142
|
-
return t.width && (
|
|
1154
|
+
return t.width && (a.width = a.height = typeof t.width == "number" ? `${t.width}px` : t.width), a;
|
|
1143
1155
|
});
|
|
1144
|
-
return (
|
|
1145
|
-
const
|
|
1146
|
-
return
|
|
1147
|
-
|
|
1156
|
+
return (e, a) => {
|
|
1157
|
+
const p = P("el-tooltip"), y = P("el-button");
|
|
1158
|
+
return e.tableIconType === "icon" ? (i(), r("span", P3, [
|
|
1159
|
+
e.notip || !e.title ? (i(), r(
|
|
1148
1160
|
"i",
|
|
1149
1161
|
{
|
|
1150
1162
|
key: 0,
|
|
1151
|
-
class:
|
|
1152
|
-
[
|
|
1153
|
-
"show-bg":
|
|
1154
|
-
default:
|
|
1155
|
-
small:
|
|
1156
|
-
big:
|
|
1157
|
-
warning:
|
|
1158
|
-
primary:
|
|
1159
|
-
success:
|
|
1160
|
-
error:
|
|
1161
|
-
active:
|
|
1162
|
-
disabled:
|
|
1163
|
+
class: O(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1164
|
+
[e.name]: n.value === "unocss",
|
|
1165
|
+
"show-bg": e.showBg || e.bg,
|
|
1166
|
+
default: e.size === "default",
|
|
1167
|
+
small: e.size === "small",
|
|
1168
|
+
big: e.size === "big",
|
|
1169
|
+
warning: e.warning || t.type === "warning",
|
|
1170
|
+
primary: e.primary || t.type === "primary",
|
|
1171
|
+
success: e.success || t.type === "success",
|
|
1172
|
+
error: e.error || t.type === "error",
|
|
1173
|
+
active: e.active,
|
|
1174
|
+
disabled: e.disabled
|
|
1163
1175
|
}]),
|
|
1164
|
-
style:
|
|
1176
|
+
style: C(l.value)
|
|
1165
1177
|
},
|
|
1166
1178
|
[
|
|
1167
|
-
|
|
1168
|
-
n.value === "iksig" ? (
|
|
1179
|
+
h(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1180
|
+
n.value === "iksig" ? (i(), r(
|
|
1169
1181
|
"i",
|
|
1170
1182
|
{
|
|
1171
1183
|
key: 0,
|
|
1172
|
-
class:
|
|
1173
|
-
style:
|
|
1184
|
+
class: O(`iksig ${e.name}`),
|
|
1185
|
+
style: C(l.value)
|
|
1174
1186
|
},
|
|
1175
1187
|
null,
|
|
1176
1188
|
6
|
|
1177
1189
|
/* CLASS, STYLE */
|
|
1178
|
-
)) : n.value === "svg" ? (
|
|
1190
|
+
)) : n.value === "svg" ? (i(), r("svg", N3, [
|
|
1179
1191
|
d("use", {
|
|
1180
|
-
"xlink:href": `#${
|
|
1181
|
-
}, null, 8,
|
|
1182
|
-
])) : n.value === "img" ? (
|
|
1192
|
+
"xlink:href": `#${e.name}`
|
|
1193
|
+
}, null, 8, L3)
|
|
1194
|
+
])) : n.value === "img" ? (i(), r("img", {
|
|
1183
1195
|
key: 2,
|
|
1184
|
-
src:
|
|
1196
|
+
src: e.name,
|
|
1185
1197
|
class: "h-[1em] w-[1em]"
|
|
1186
|
-
}, null, 8,
|
|
1198
|
+
}, null, 8, H3)) : (i(), r(
|
|
1187
1199
|
"i",
|
|
1188
1200
|
{
|
|
1189
1201
|
key: 3,
|
|
1190
|
-
class:
|
|
1191
|
-
style:
|
|
1202
|
+
class: O(e.name),
|
|
1203
|
+
style: C(l.value)
|
|
1192
1204
|
},
|
|
1193
1205
|
null,
|
|
1194
1206
|
6
|
|
@@ -1197,54 +1209,54 @@ const D3 = N(B3), E3 = {
|
|
|
1197
1209
|
],
|
|
1198
1210
|
6
|
|
1199
1211
|
/* CLASS, STYLE */
|
|
1200
|
-
)) : (
|
|
1212
|
+
)) : (i(), R(p, {
|
|
1201
1213
|
key: 1,
|
|
1202
|
-
content:
|
|
1214
|
+
content: e.title,
|
|
1203
1215
|
placement: "top"
|
|
1204
1216
|
}, {
|
|
1205
|
-
default:
|
|
1217
|
+
default: D(() => [
|
|
1206
1218
|
d(
|
|
1207
1219
|
"i",
|
|
1208
1220
|
{
|
|
1209
|
-
class:
|
|
1210
|
-
[
|
|
1211
|
-
"show-bg":
|
|
1212
|
-
default:
|
|
1213
|
-
small:
|
|
1214
|
-
big:
|
|
1215
|
-
warning:
|
|
1216
|
-
primary:
|
|
1217
|
-
success:
|
|
1218
|
-
error:
|
|
1219
|
-
active:
|
|
1221
|
+
class: O(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1222
|
+
[e.name]: n.value === "unocss",
|
|
1223
|
+
"show-bg": e.showBg || e.bg,
|
|
1224
|
+
default: e.size === "default",
|
|
1225
|
+
small: e.size === "small",
|
|
1226
|
+
big: e.size === "big",
|
|
1227
|
+
warning: e.warning || t.type === "warning",
|
|
1228
|
+
primary: e.primary || t.type === "primary",
|
|
1229
|
+
success: e.success || t.type === "success",
|
|
1230
|
+
error: e.error || t.type === "error",
|
|
1231
|
+
active: e.active
|
|
1220
1232
|
}]),
|
|
1221
|
-
style:
|
|
1233
|
+
style: C(l.value)
|
|
1222
1234
|
},
|
|
1223
1235
|
[
|
|
1224
|
-
n.value === "iksig" ? (
|
|
1236
|
+
n.value === "iksig" ? (i(), r(
|
|
1225
1237
|
"i",
|
|
1226
1238
|
{
|
|
1227
1239
|
key: 0,
|
|
1228
|
-
class:
|
|
1229
|
-
style:
|
|
1240
|
+
class: O(`iksig ${e.name}`),
|
|
1241
|
+
style: C(l.value)
|
|
1230
1242
|
},
|
|
1231
1243
|
null,
|
|
1232
1244
|
6
|
|
1233
1245
|
/* CLASS, STYLE */
|
|
1234
|
-
)) : n.value === "svg" ? (
|
|
1246
|
+
)) : n.value === "svg" ? (i(), r("svg", q3, [
|
|
1235
1247
|
d("use", {
|
|
1236
|
-
"xlink:href": `#${
|
|
1237
|
-
}, null, 8,
|
|
1238
|
-
])) : n.value === "img" ? (
|
|
1248
|
+
"xlink:href": `#${e.name}`
|
|
1249
|
+
}, null, 8, U3)
|
|
1250
|
+
])) : n.value === "img" ? (i(), r("img", {
|
|
1239
1251
|
key: 2,
|
|
1240
|
-
src:
|
|
1252
|
+
src: e.name,
|
|
1241
1253
|
class: "h-[1em] w-[1em]"
|
|
1242
|
-
}, null, 8,
|
|
1254
|
+
}, null, 8, j3)) : (i(), r(
|
|
1243
1255
|
"i",
|
|
1244
1256
|
{
|
|
1245
1257
|
key: 3,
|
|
1246
|
-
class:
|
|
1247
|
-
style:
|
|
1258
|
+
class: O(e.name),
|
|
1259
|
+
style: C(l.value)
|
|
1248
1260
|
},
|
|
1249
1261
|
null,
|
|
1250
1262
|
6
|
|
@@ -1258,13 +1270,13 @@ const D3 = N(B3), E3 = {
|
|
|
1258
1270
|
_: 1
|
|
1259
1271
|
/* STABLE */
|
|
1260
1272
|
}, 8, ["content"]))
|
|
1261
|
-
])) : (
|
|
1273
|
+
])) : (i(), R(y, {
|
|
1262
1274
|
key: 1,
|
|
1263
|
-
type: ["warning", "error"].includes(
|
|
1275
|
+
type: ["warning", "error"].includes(e.type) ? "danger" : ""
|
|
1264
1276
|
}, {
|
|
1265
|
-
default:
|
|
1266
|
-
|
|
1267
|
-
|
|
1277
|
+
default: D(() => [
|
|
1278
|
+
E(
|
|
1279
|
+
m(e.title),
|
|
1268
1280
|
1
|
|
1269
1281
|
/* TEXT */
|
|
1270
1282
|
)
|
|
@@ -1275,10 +1287,10 @@ const D3 = N(B3), E3 = {
|
|
|
1275
1287
|
};
|
|
1276
1288
|
}
|
|
1277
1289
|
});
|
|
1278
|
-
const
|
|
1290
|
+
const K3 = /* @__PURE__ */ W(W3, [["__scopeId", "data-v-7d95dbf5"]]), j = N(K3), G3 = {
|
|
1279
1291
|
key: 0,
|
|
1280
1292
|
class: "exit-main-page-maximize"
|
|
1281
|
-
},
|
|
1293
|
+
}, Y3 = /* @__PURE__ */ B({
|
|
1282
1294
|
__name: "CloseIcon",
|
|
1283
1295
|
props: {
|
|
1284
1296
|
showBg: {
|
|
@@ -1291,15 +1303,15 @@ const L3 = /* @__PURE__ */ U(H3, [["__scopeId", "data-v-7d95dbf5"]]), q = N(L3),
|
|
|
1291
1303
|
}
|
|
1292
1304
|
},
|
|
1293
1305
|
setup(o) {
|
|
1294
|
-
return (t, n) => (
|
|
1295
|
-
o.showBg && o.fullscreen ? (
|
|
1296
|
-
|
|
1306
|
+
return (t, n) => (i(), r("div", null, [
|
|
1307
|
+
o.showBg && o.fullscreen ? (i(), r("div", G3, [
|
|
1308
|
+
T(F(j), {
|
|
1297
1309
|
name: "iksvg_guanbidanchuang",
|
|
1298
1310
|
title: "关闭",
|
|
1299
1311
|
size: 20,
|
|
1300
1312
|
error: ""
|
|
1301
1313
|
})
|
|
1302
|
-
])) : (
|
|
1314
|
+
])) : (i(), R(F(j), {
|
|
1303
1315
|
key: 1,
|
|
1304
1316
|
error: "",
|
|
1305
1317
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1309,9 +1321,9 @@ const L3 = /* @__PURE__ */ U(H3, [["__scopeId", "data-v-7d95dbf5"]]), q = N(L3),
|
|
|
1309
1321
|
]));
|
|
1310
1322
|
}
|
|
1311
1323
|
});
|
|
1312
|
-
const
|
|
1324
|
+
const X3 = /* @__PURE__ */ W(Y3, [["__scopeId", "data-v-79f49df8"]]), J3 = { class: "base-header" }, Z3 = /* @__PURE__ */ B({
|
|
1313
1325
|
__name: "IkBaseDialog",
|
|
1314
|
-
props: /* @__PURE__ */
|
|
1326
|
+
props: /* @__PURE__ */ ie({
|
|
1315
1327
|
title: { default: "" },
|
|
1316
1328
|
cancelText: { default: "取消" },
|
|
1317
1329
|
confirmText: { default: "确认" },
|
|
@@ -1330,64 +1342,64 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
|
|
|
1330
1342
|
}),
|
|
1331
1343
|
emits: ["update:modelValue"],
|
|
1332
1344
|
setup(o) {
|
|
1333
|
-
const t = o, n =
|
|
1334
|
-
|
|
1335
|
-
},
|
|
1345
|
+
const t = o, n = le(o, "modelValue"), l = M(t.fullscreen), e = () => {
|
|
1346
|
+
l.value = !l.value;
|
|
1347
|
+
}, a = B({
|
|
1336
1348
|
setup() {
|
|
1337
|
-
return () =>
|
|
1349
|
+
return () => he(X3, {
|
|
1338
1350
|
showBg: t.showCloseBg,
|
|
1339
1351
|
fullscreen: t.fullscreen
|
|
1340
1352
|
});
|
|
1341
1353
|
}
|
|
1342
1354
|
});
|
|
1343
|
-
return (
|
|
1344
|
-
const
|
|
1345
|
-
return
|
|
1355
|
+
return (p, y) => {
|
|
1356
|
+
const w = P("el-dialog");
|
|
1357
|
+
return i(), R(w, ce({
|
|
1346
1358
|
modelValue: n.value,
|
|
1347
|
-
"onUpdate:modelValue": y[0] || (y[0] = (
|
|
1348
|
-
},
|
|
1349
|
-
"close-icon": F(
|
|
1350
|
-
class: `ik-base-dialog ${
|
|
1351
|
-
fullscreen:
|
|
1359
|
+
"onUpdate:modelValue": y[0] || (y[0] = (c) => n.value = c)
|
|
1360
|
+
}, p.$attrs, {
|
|
1361
|
+
"close-icon": F(a),
|
|
1362
|
+
class: `ik-base-dialog ${p.noHeader ? "no-header" : ""} ${p.noFooter ? "no-footer" : ""}`,
|
|
1363
|
+
fullscreen: l.value,
|
|
1352
1364
|
"modal-class": "baseDialog"
|
|
1353
|
-
}),
|
|
1354
|
-
icon:
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1365
|
+
}), ve({
|
|
1366
|
+
icon: D(() => [
|
|
1367
|
+
q(p.$slots, "title", {}, () => [
|
|
1368
|
+
E(
|
|
1369
|
+
m(p.title),
|
|
1358
1370
|
1
|
|
1359
1371
|
/* TEXT */
|
|
1360
1372
|
)
|
|
1361
1373
|
])
|
|
1362
1374
|
]),
|
|
1363
|
-
header:
|
|
1364
|
-
d("div",
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1375
|
+
header: D(() => [
|
|
1376
|
+
d("div", J3, [
|
|
1377
|
+
q(p.$slots, "header", {}, () => [
|
|
1378
|
+
E(
|
|
1379
|
+
m(p.title),
|
|
1368
1380
|
1
|
|
1369
1381
|
/* TEXT */
|
|
1370
1382
|
)
|
|
1371
1383
|
])
|
|
1372
1384
|
]),
|
|
1373
|
-
|
|
1385
|
+
p.$attrs.showClose ? (i(), R(F(j), {
|
|
1374
1386
|
key: 0,
|
|
1375
|
-
onClick:
|
|
1376
|
-
name:
|
|
1387
|
+
onClick: e,
|
|
1388
|
+
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1377
1389
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1378
|
-
title:
|
|
1379
|
-
}, null, 8, ["name", "title"])) :
|
|
1390
|
+
title: l.value ? "退出全屏" : "全屏"
|
|
1391
|
+
}, null, 8, ["name", "title"])) : h("v-if", !0)
|
|
1380
1392
|
]),
|
|
1381
|
-
default:
|
|
1382
|
-
|
|
1393
|
+
default: D(() => [
|
|
1394
|
+
q(p.$slots, "default")
|
|
1383
1395
|
]),
|
|
1384
1396
|
_: 2
|
|
1385
1397
|
/* DYNAMIC */
|
|
1386
1398
|
}, [
|
|
1387
|
-
|
|
1399
|
+
p.$slots.footer ? {
|
|
1388
1400
|
name: "footer",
|
|
1389
|
-
fn:
|
|
1390
|
-
|
|
1401
|
+
fn: D(() => [
|
|
1402
|
+
q(p.$slots, "footer")
|
|
1391
1403
|
]),
|
|
1392
1404
|
key: "0"
|
|
1393
1405
|
} : void 0
|
|
@@ -1395,135 +1407,135 @@ const j3 = /* @__PURE__ */ U(U3, [["__scopeId", "data-v-79f49df8"]]), W3 = { cla
|
|
|
1395
1407
|
};
|
|
1396
1408
|
}
|
|
1397
1409
|
});
|
|
1398
|
-
const
|
|
1399
|
-
function
|
|
1400
|
-
function
|
|
1401
|
-
return
|
|
1402
|
-
|
|
1410
|
+
const Q3 = N(Z3);
|
|
1411
|
+
function e6(o, t, n, l) {
|
|
1412
|
+
function e(a) {
|
|
1413
|
+
return a instanceof n ? a : new n(function(p) {
|
|
1414
|
+
p(a);
|
|
1403
1415
|
});
|
|
1404
1416
|
}
|
|
1405
|
-
return new (n || (n = Promise))(function(
|
|
1417
|
+
return new (n || (n = Promise))(function(a, p) {
|
|
1406
1418
|
function y(f) {
|
|
1407
1419
|
try {
|
|
1408
|
-
|
|
1409
|
-
} catch (
|
|
1410
|
-
u
|
|
1420
|
+
c(l.next(f));
|
|
1421
|
+
} catch (u) {
|
|
1422
|
+
p(u);
|
|
1411
1423
|
}
|
|
1412
1424
|
}
|
|
1413
|
-
function
|
|
1425
|
+
function w(f) {
|
|
1414
1426
|
try {
|
|
1415
|
-
|
|
1416
|
-
} catch (
|
|
1417
|
-
u
|
|
1427
|
+
c(l.throw(f));
|
|
1428
|
+
} catch (u) {
|
|
1429
|
+
p(u);
|
|
1418
1430
|
}
|
|
1419
1431
|
}
|
|
1420
|
-
function
|
|
1421
|
-
f.done ?
|
|
1432
|
+
function c(f) {
|
|
1433
|
+
f.done ? a(f.value) : e(f.value).then(y, w);
|
|
1422
1434
|
}
|
|
1423
|
-
|
|
1435
|
+
c((l = l.apply(o, t || [])).next());
|
|
1424
1436
|
});
|
|
1425
1437
|
}
|
|
1426
|
-
function
|
|
1438
|
+
function t6(o, t) {
|
|
1427
1439
|
var n = { label: 0, sent: function() {
|
|
1428
|
-
if (
|
|
1429
|
-
throw
|
|
1430
|
-
return
|
|
1431
|
-
}, trys: [], ops: [] },
|
|
1432
|
-
return
|
|
1440
|
+
if (a[0] & 1)
|
|
1441
|
+
throw a[1];
|
|
1442
|
+
return a[1];
|
|
1443
|
+
}, trys: [], ops: [] }, l, e, a, p;
|
|
1444
|
+
return p = { next: y(0), throw: y(1), return: y(2) }, typeof Symbol == "function" && (p[Symbol.iterator] = function() {
|
|
1433
1445
|
return this;
|
|
1434
|
-
}),
|
|
1435
|
-
function y(
|
|
1446
|
+
}), p;
|
|
1447
|
+
function y(c) {
|
|
1436
1448
|
return function(f) {
|
|
1437
|
-
return
|
|
1449
|
+
return w([c, f]);
|
|
1438
1450
|
};
|
|
1439
1451
|
}
|
|
1440
|
-
function
|
|
1441
|
-
if (
|
|
1452
|
+
function w(c) {
|
|
1453
|
+
if (l)
|
|
1442
1454
|
throw new TypeError("Generator is already executing.");
|
|
1443
|
-
for (;
|
|
1455
|
+
for (; p && (p = 0, c[0] && (n = 0)), n; )
|
|
1444
1456
|
try {
|
|
1445
|
-
if (
|
|
1446
|
-
return
|
|
1447
|
-
switch (
|
|
1457
|
+
if (l = 1, e && (a = c[0] & 2 ? e.return : c[0] ? e.throw || ((a = e.return) && a.call(e), 0) : e.next) && !(a = a.call(e, c[1])).done)
|
|
1458
|
+
return a;
|
|
1459
|
+
switch (e = 0, a && (c = [c[0] & 2, a.value]), c[0]) {
|
|
1448
1460
|
case 0:
|
|
1449
1461
|
case 1:
|
|
1450
|
-
|
|
1462
|
+
a = c;
|
|
1451
1463
|
break;
|
|
1452
1464
|
case 4:
|
|
1453
|
-
return n.label++, { value:
|
|
1465
|
+
return n.label++, { value: c[1], done: !1 };
|
|
1454
1466
|
case 5:
|
|
1455
|
-
n.label++,
|
|
1467
|
+
n.label++, e = c[1], c = [0];
|
|
1456
1468
|
continue;
|
|
1457
1469
|
case 7:
|
|
1458
|
-
|
|
1470
|
+
c = n.ops.pop(), n.trys.pop();
|
|
1459
1471
|
continue;
|
|
1460
1472
|
default:
|
|
1461
|
-
if (
|
|
1473
|
+
if (a = n.trys, !(a = a.length > 0 && a[a.length - 1]) && (c[0] === 6 || c[0] === 2)) {
|
|
1462
1474
|
n = 0;
|
|
1463
1475
|
continue;
|
|
1464
1476
|
}
|
|
1465
|
-
if (
|
|
1466
|
-
n.label =
|
|
1477
|
+
if (c[0] === 3 && (!a || c[1] > a[0] && c[1] < a[3])) {
|
|
1478
|
+
n.label = c[1];
|
|
1467
1479
|
break;
|
|
1468
1480
|
}
|
|
1469
|
-
if (
|
|
1470
|
-
n.label =
|
|
1481
|
+
if (c[0] === 6 && n.label < a[1]) {
|
|
1482
|
+
n.label = a[1], a = c;
|
|
1471
1483
|
break;
|
|
1472
1484
|
}
|
|
1473
|
-
if (
|
|
1474
|
-
n.label =
|
|
1485
|
+
if (a && n.label < a[2]) {
|
|
1486
|
+
n.label = a[2], n.ops.push(c);
|
|
1475
1487
|
break;
|
|
1476
1488
|
}
|
|
1477
|
-
|
|
1489
|
+
a[2] && n.ops.pop(), n.trys.pop();
|
|
1478
1490
|
continue;
|
|
1479
1491
|
}
|
|
1480
|
-
|
|
1492
|
+
c = t.call(o, n);
|
|
1481
1493
|
} catch (f) {
|
|
1482
|
-
|
|
1494
|
+
c = [6, f], e = 0;
|
|
1483
1495
|
} finally {
|
|
1484
|
-
|
|
1496
|
+
l = a = 0;
|
|
1485
1497
|
}
|
|
1486
|
-
if (
|
|
1487
|
-
throw
|
|
1488
|
-
return { value:
|
|
1498
|
+
if (c[0] & 5)
|
|
1499
|
+
throw c[1];
|
|
1500
|
+
return { value: c[0] ? c[1] : void 0, done: !0 };
|
|
1489
1501
|
}
|
|
1490
1502
|
}
|
|
1491
|
-
var
|
|
1492
|
-
return
|
|
1493
|
-
return
|
|
1494
|
-
return [2, new Promise(function(
|
|
1503
|
+
var o6 = function(o, t) {
|
|
1504
|
+
return e6(void 0, void 0, void 0, function() {
|
|
1505
|
+
return t6(this, function(n) {
|
|
1506
|
+
return [2, new Promise(function(l, e) {
|
|
1495
1507
|
try {
|
|
1496
1508
|
if (window.DocsAPI)
|
|
1497
|
-
return
|
|
1498
|
-
var
|
|
1499
|
-
if (
|
|
1500
|
-
var
|
|
1501
|
-
var
|
|
1502
|
-
if (!
|
|
1503
|
-
if (clearInterval(
|
|
1504
|
-
return
|
|
1505
|
-
var
|
|
1506
|
-
|
|
1509
|
+
return l(null);
|
|
1510
|
+
var a = document.getElementById(t);
|
|
1511
|
+
if (a)
|
|
1512
|
+
var p = setInterval(function() {
|
|
1513
|
+
var w = a.getAttribute("loading");
|
|
1514
|
+
if (!w) {
|
|
1515
|
+
if (clearInterval(p), window.DocsAPI)
|
|
1516
|
+
return l(null);
|
|
1517
|
+
var c = se(t, o, l, e);
|
|
1518
|
+
a.remove(), document.body.appendChild(c);
|
|
1507
1519
|
}
|
|
1508
1520
|
}, 500);
|
|
1509
1521
|
else {
|
|
1510
|
-
var y =
|
|
1522
|
+
var y = se(t, o, l, e);
|
|
1511
1523
|
document.body.appendChild(y);
|
|
1512
1524
|
}
|
|
1513
|
-
} catch (
|
|
1514
|
-
console.error(
|
|
1525
|
+
} catch (w) {
|
|
1526
|
+
console.error(w);
|
|
1515
1527
|
}
|
|
1516
1528
|
})];
|
|
1517
1529
|
});
|
|
1518
1530
|
});
|
|
1519
|
-
},
|
|
1520
|
-
var
|
|
1521
|
-
return
|
|
1522
|
-
|
|
1523
|
-
},
|
|
1524
|
-
|
|
1525
|
-
},
|
|
1526
|
-
},
|
|
1531
|
+
}, se = function(o, t, n, l) {
|
|
1532
|
+
var e = document.createElement("script");
|
|
1533
|
+
return e.id = o, e.type = "text/javascript", e.src = t, e.async = !0, e.onload = function() {
|
|
1534
|
+
e.removeAttribute("loading"), n(null);
|
|
1535
|
+
}, e.onerror = function(a) {
|
|
1536
|
+
e.removeAttribute("loading"), l(a);
|
|
1537
|
+
}, e.setAttribute("loading", ""), e;
|
|
1538
|
+
}, Y = B({
|
|
1527
1539
|
name: "DocumentEditor",
|
|
1528
1540
|
props: {
|
|
1529
1541
|
id: {
|
|
@@ -1578,7 +1590,7 @@ var J3 = function(o, t) {
|
|
|
1578
1590
|
var o = this, t = this.documentServerUrl;
|
|
1579
1591
|
t.endsWith("/") || (t += "/");
|
|
1580
1592
|
var n = "".concat(t, "web-apps/apps/api/documents/api.js");
|
|
1581
|
-
|
|
1593
|
+
o6(n, "onlyoffice-api-script").then(function() {
|
|
1582
1594
|
return o.onLoad();
|
|
1583
1595
|
}).catch(function() {
|
|
1584
1596
|
o.onError(-2);
|
|
@@ -1627,7 +1639,7 @@ var J3 = function(o, t) {
|
|
|
1627
1639
|
return;
|
|
1628
1640
|
}
|
|
1629
1641
|
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances || (window.DocEditor = { instances: {} });
|
|
1630
|
-
var
|
|
1642
|
+
var l = Object.assign({
|
|
1631
1643
|
document: {
|
|
1632
1644
|
fileType: this.document_fileType,
|
|
1633
1645
|
title: this.document_title
|
|
@@ -1662,10 +1674,10 @@ var J3 = function(o, t) {
|
|
|
1662
1674
|
height: this.height,
|
|
1663
1675
|
type: this.type,
|
|
1664
1676
|
width: this.width
|
|
1665
|
-
}, this.config || {}),
|
|
1666
|
-
window.DocEditor.instances[n] =
|
|
1667
|
-
} catch (
|
|
1668
|
-
console.error(
|
|
1677
|
+
}, this.config || {}), e = window.DocsAPI.DocEditor(n, l);
|
|
1678
|
+
window.DocEditor.instances[n] = e;
|
|
1679
|
+
} catch (a) {
|
|
1680
|
+
console.error(a), this.onError(-1);
|
|
1669
1681
|
}
|
|
1670
1682
|
},
|
|
1671
1683
|
onError: function(o) {
|
|
@@ -1692,13 +1704,13 @@ var J3 = function(o, t) {
|
|
|
1692
1704
|
}
|
|
1693
1705
|
}
|
|
1694
1706
|
});
|
|
1695
|
-
const
|
|
1696
|
-
function
|
|
1697
|
-
return
|
|
1707
|
+
const n6 = ["id"];
|
|
1708
|
+
function s6(o, t, n, l, e, a) {
|
|
1709
|
+
return i(), r("div", { id: o.id }, null, 8, n6);
|
|
1698
1710
|
}
|
|
1699
|
-
|
|
1700
|
-
|
|
1701
|
-
const
|
|
1711
|
+
Y.render = s6;
|
|
1712
|
+
Y.__file = "src/components/DocumentEditor.vue";
|
|
1713
|
+
const i6 = /* @__PURE__ */ B({
|
|
1702
1714
|
__name: "IkOnlyOffice",
|
|
1703
1715
|
props: {
|
|
1704
1716
|
// 文件服务器的服务的地址
|
|
@@ -1722,22 +1734,23 @@ const e6 = /* @__PURE__ */ $({
|
|
|
1722
1734
|
const t = o, n = M({
|
|
1723
1735
|
width: "100%",
|
|
1724
1736
|
height: "100%",
|
|
1725
|
-
...t.configOptions || {}
|
|
1726
|
-
|
|
1737
|
+
...t.configOptions || {},
|
|
1738
|
+
...t.configOptions
|
|
1739
|
+
}), l = () => {
|
|
1727
1740
|
console.info("文档加载完成", t.configOptions);
|
|
1728
1741
|
};
|
|
1729
|
-
return (
|
|
1742
|
+
return (e, a) => (i(), r(
|
|
1730
1743
|
"div",
|
|
1731
1744
|
{
|
|
1732
|
-
style:
|
|
1745
|
+
style: C({ height: t.officeHeight })
|
|
1733
1746
|
},
|
|
1734
1747
|
[
|
|
1735
|
-
|
|
1748
|
+
T(F(Y), {
|
|
1736
1749
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1737
1750
|
ref: "editorRef",
|
|
1738
1751
|
"document-server-url": o.documentServerUrl,
|
|
1739
1752
|
config: n.value,
|
|
1740
|
-
events_onDocumentReady:
|
|
1753
|
+
events_onDocumentReady: l
|
|
1741
1754
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1742
1755
|
],
|
|
1743
1756
|
4
|
|
@@ -1745,13 +1758,13 @@ const e6 = /* @__PURE__ */ $({
|
|
|
1745
1758
|
));
|
|
1746
1759
|
}
|
|
1747
1760
|
});
|
|
1748
|
-
const
|
|
1761
|
+
const l6 = /* @__PURE__ */ W(i6, [["__scopeId", "data-v-98d51ef9"]]), a6 = N(l6), X = (o) => (ye("data-v-f00f4785"), o = o(), _e(), o), r6 = {
|
|
1749
1762
|
class: "approveProcess",
|
|
1750
1763
|
id: "approveProcess"
|
|
1751
|
-
},
|
|
1764
|
+
}, c6 = ["id"], d6 = { class: "topBlock" }, u6 = { class: "left" }, p6 = { class: "nodeBg" }, f6 = ["src"], h6 = { class: "right" }, v6 = { class: "topInfo" }, g6 = { key: 0 }, y6 = {
|
|
1752
1765
|
key: 0,
|
|
1753
1766
|
class: "main-text"
|
|
1754
|
-
},
|
|
1767
|
+
}, _6 = { class: "name" }, m6 = { key: 0 }, w6 = { key: 0 }, k6 = { key: 1 }, F6 = /* @__PURE__ */ X(() => /* @__PURE__ */ d(
|
|
1755
1768
|
"span",
|
|
1756
1769
|
{
|
|
1757
1770
|
class: "red",
|
|
@@ -1760,52 +1773,52 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
1760
1773
|
"退回至",
|
|
1761
1774
|
-1
|
|
1762
1775
|
/* HOISTED */
|
|
1763
|
-
)),
|
|
1776
|
+
)), S6 = { key: 0 }, x6 = { key: 0 }, b6 = { key: 1 }, z6 = { key: 1 }, $6 = /* @__PURE__ */ X(() => /* @__PURE__ */ d(
|
|
1764
1777
|
"div",
|
|
1765
1778
|
{ class: "main-text" },
|
|
1766
1779
|
"抄送人员",
|
|
1767
1780
|
-1
|
|
1768
1781
|
/* HOISTED */
|
|
1769
|
-
)),
|
|
1782
|
+
)), C6 = { class: "name" }, I6 = { key: 0 }, O6 = { style: { color: "#000" } }, T6 = {
|
|
1770
1783
|
class: "blue",
|
|
1771
1784
|
style: { "margin-left": "5px", "font-size": "12px" }
|
|
1772
|
-
},
|
|
1785
|
+
}, B6 = { key: 1 }, D6 = {
|
|
1773
1786
|
key: 0,
|
|
1774
1787
|
class: "blue",
|
|
1775
1788
|
style: { "font-size": "12px" }
|
|
1776
|
-
},
|
|
1789
|
+
}, E6 = { key: 1 }, R6 = {
|
|
1777
1790
|
key: 0,
|
|
1778
1791
|
class: "blue",
|
|
1779
1792
|
style: { "font-size": "12px" }
|
|
1780
|
-
},
|
|
1793
|
+
}, A6 = {
|
|
1781
1794
|
key: 1,
|
|
1782
1795
|
class: "blue",
|
|
1783
1796
|
style: { "font-size": "12px" }
|
|
1784
|
-
},
|
|
1797
|
+
}, V6 = { class: "time" }, M6 = { key: 0 }, P6 = { key: 1 }, N6 = ["onClick"], L6 = ["onClick"], H6 = {
|
|
1785
1798
|
key: 0,
|
|
1786
1799
|
class: "opinion"
|
|
1787
|
-
},
|
|
1800
|
+
}, q6 = { key: 0 }, U6 = { key: 1 }, j6 = /* @__PURE__ */ X(() => /* @__PURE__ */ d(
|
|
1788
1801
|
"span",
|
|
1789
1802
|
{ class: "ik-text-primary" },
|
|
1790
1803
|
"添加审批人",
|
|
1791
1804
|
-1
|
|
1792
1805
|
/* HOISTED */
|
|
1793
|
-
)),
|
|
1806
|
+
)), W6 = { style: { color: "var(--el-text-color-primary)", "margin-left": "8px" } }, K6 = {
|
|
1794
1807
|
key: 2,
|
|
1795
1808
|
class: "annexImage"
|
|
1796
|
-
},
|
|
1809
|
+
}, G6 = {
|
|
1797
1810
|
key: 3,
|
|
1798
1811
|
class: "approveList"
|
|
1799
|
-
},
|
|
1812
|
+
}, Y6 = { class: "nodeBg-list" }, X6 = ["src"], J6 = { key: 1 }, Z6 = {
|
|
1800
1813
|
key: 2,
|
|
1801
1814
|
class: "ikapprove ikapprove-duihao2 green read"
|
|
1802
|
-
},
|
|
1815
|
+
}, Q6 = ["title"], et = {
|
|
1803
1816
|
key: 0,
|
|
1804
1817
|
class: "branch"
|
|
1805
|
-
},
|
|
1818
|
+
}, tt = { class: "branch-card" }, ot = { class: "branch-name" }, nt = {
|
|
1806
1819
|
name: "IkingApprovalProcessDetail"
|
|
1807
|
-
},
|
|
1808
|
-
...
|
|
1820
|
+
}, st = /* @__PURE__ */ B({
|
|
1821
|
+
...nt,
|
|
1809
1822
|
props: {
|
|
1810
1823
|
// 是否本地打开
|
|
1811
1824
|
local: {
|
|
@@ -1864,115 +1877,115 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
1864
1877
|
},
|
|
1865
1878
|
emits: ["preview"],
|
|
1866
1879
|
setup(o, { emit: t }) {
|
|
1867
|
-
const n = o, e =
|
|
1868
|
-
|
|
1880
|
+
const n = o, { cOnlyofficeConfig: l } = ue(n), e = ae(xe(n));
|
|
1881
|
+
re(
|
|
1869
1882
|
() => n.dataList,
|
|
1870
|
-
(
|
|
1871
|
-
|
|
1872
|
-
e.listData =
|
|
1883
|
+
(f) => {
|
|
1884
|
+
f && (G(() => {
|
|
1885
|
+
e.listData = f;
|
|
1873
1886
|
}), setTimeout(() => {
|
|
1874
|
-
n.returnNode.length &&
|
|
1887
|
+
n.returnNode.length && a();
|
|
1875
1888
|
}, 500));
|
|
1876
1889
|
},
|
|
1877
1890
|
{ deep: !0 }
|
|
1878
|
-
),
|
|
1891
|
+
), ge(() => {
|
|
1879
1892
|
n.dataList.length && (e.listData = n.dataList, setTimeout(() => {
|
|
1880
|
-
n.returnNode.length &&
|
|
1893
|
+
n.returnNode.length && a();
|
|
1881
1894
|
}, 500));
|
|
1882
1895
|
});
|
|
1883
|
-
const
|
|
1884
|
-
let
|
|
1896
|
+
const a = () => {
|
|
1897
|
+
let f = null;
|
|
1885
1898
|
if (n != null && n.returnNode)
|
|
1886
|
-
for (
|
|
1887
|
-
if (isNaN(
|
|
1899
|
+
for (f of n == null ? void 0 : n.returnNode) {
|
|
1900
|
+
if (isNaN(f[1]))
|
|
1888
1901
|
return;
|
|
1889
|
-
let
|
|
1890
|
-
|
|
1891
|
-
|
|
1902
|
+
let u = Array.from(new Array(f[1] + 1).keys()).slice(f[0]);
|
|
1903
|
+
G(() => {
|
|
1904
|
+
p(u);
|
|
1892
1905
|
});
|
|
1893
1906
|
}
|
|
1894
|
-
},
|
|
1895
|
-
var
|
|
1896
|
-
let
|
|
1897
|
-
|
|
1898
|
-
let
|
|
1899
|
-
|
|
1907
|
+
}, p = (f) => {
|
|
1908
|
+
var g, z, $;
|
|
1909
|
+
let u = document.createElement("div"), _ = document.getElementById("approveProcess"), v = 0, s = (g = document.getElementById(`${f[0]}`)) == null ? void 0 : g.offsetWidth, x = (z = document.getElementById(`${f[0]}`)) == null ? void 0 : z.offsetLeft, S = ($ = document.getElementById(`${f[0]}`)) == null ? void 0 : $.offsetTop;
|
|
1910
|
+
f.forEach((A) => {
|
|
1911
|
+
let L = document.getElementById(`${A}`);
|
|
1912
|
+
v += L.offsetHeight;
|
|
1900
1913
|
}), setTimeout(() => {
|
|
1901
|
-
|
|
1914
|
+
u.style.width = s + 32 + "px", u.style.height = v + "px", u.style.background = "#f9f9f9", u.style.position = "absolute", u.style.top = S - 16 + "px", u.style.left = x - 16 + "px", u.style.zIndex = -1, _ == null || _.appendChild(u);
|
|
1902
1915
|
});
|
|
1903
|
-
},
|
|
1904
|
-
var
|
|
1905
|
-
let
|
|
1906
|
-
switch (
|
|
1916
|
+
}, y = (f, u) => {
|
|
1917
|
+
var s;
|
|
1918
|
+
let _ = (s = e.listData) == null ? void 0 : s.findIndex((x) => x.lineType == "dashed"), v = "";
|
|
1919
|
+
switch (f) {
|
|
1907
1920
|
case e.statusOption.发起:
|
|
1908
|
-
|
|
1921
|
+
v = "ikapprove-duihao2 green";
|
|
1909
1922
|
break;
|
|
1910
1923
|
case e.statusOption.等待:
|
|
1911
|
-
|
|
1924
|
+
v = _ == u ? "ikapprove-dengdai orange" : "";
|
|
1912
1925
|
break;
|
|
1913
1926
|
case e.statusOption.同意:
|
|
1914
|
-
|
|
1927
|
+
v = "ikapprove-duihao2 green";
|
|
1915
1928
|
break;
|
|
1916
1929
|
case e.statusOption.拒绝:
|
|
1917
|
-
|
|
1930
|
+
v = "ikapprove-jujue red";
|
|
1918
1931
|
break;
|
|
1919
1932
|
case e.statusOption.转交:
|
|
1920
|
-
|
|
1933
|
+
v = "ikapprove-zhuanjiao blue";
|
|
1921
1934
|
break;
|
|
1922
1935
|
case e.statusOption.加签:
|
|
1923
|
-
|
|
1936
|
+
v = "ikapprove-tianjia blue";
|
|
1924
1937
|
break;
|
|
1925
1938
|
case e.statusOption.退回:
|
|
1926
|
-
|
|
1939
|
+
v = "ikapprove-s_fanhui2 red";
|
|
1927
1940
|
break;
|
|
1928
1941
|
case e.statusOption.评论:
|
|
1929
|
-
|
|
1942
|
+
v = "ikapprove-pinglun1 blue";
|
|
1930
1943
|
break;
|
|
1931
1944
|
}
|
|
1932
|
-
return `ikapprove ${
|
|
1933
|
-
},
|
|
1934
|
-
|
|
1935
|
-
let
|
|
1936
|
-
for (let
|
|
1937
|
-
|
|
1938
|
-
},
|
|
1939
|
-
return (
|
|
1940
|
-
const
|
|
1941
|
-
return
|
|
1942
|
-
(
|
|
1943
|
-
|
|
1945
|
+
return `ikapprove ${v}`;
|
|
1946
|
+
}, w = (f, u) => {
|
|
1947
|
+
f.show = !f.show;
|
|
1948
|
+
let _ = document.getElementById(`${f[e.defaultFile.nodeId]}`), v = Array.from(_ == null ? void 0 : _.getElementsByClassName("approveList"));
|
|
1949
|
+
for (let s of v)
|
|
1950
|
+
s.style.display = u;
|
|
1951
|
+
}, c = (f) => U(n.fileUrl, f);
|
|
1952
|
+
return (f, u) => {
|
|
1953
|
+
const _ = P("el-image"), v = P("IkingApprovalProcessDetail");
|
|
1954
|
+
return i(), r("div", r6, [
|
|
1955
|
+
(i(!0), r(
|
|
1956
|
+
I,
|
|
1944
1957
|
null,
|
|
1945
|
-
V(e.listData, (
|
|
1946
|
-
var
|
|
1947
|
-
return
|
|
1958
|
+
V(e.listData, (s, x) => {
|
|
1959
|
+
var S, g, z, $, A, L, J, Z, Q, ee, te, oe;
|
|
1960
|
+
return i(), r("div", {
|
|
1948
1961
|
class: "approveBlock",
|
|
1949
|
-
id:
|
|
1950
|
-
key:
|
|
1962
|
+
id: s[e.defaultFile.nodeId],
|
|
1963
|
+
key: s[e.defaultFile.nodeId]
|
|
1951
1964
|
}, [
|
|
1952
|
-
d("div",
|
|
1953
|
-
d("div",
|
|
1954
|
-
d("span",
|
|
1955
|
-
|
|
1956
|
-
((
|
|
1965
|
+
d("div", d6, [
|
|
1966
|
+
d("div", u6, [
|
|
1967
|
+
d("span", p6, [
|
|
1968
|
+
h(' 用户列表长度等于1, :src="formatUrl(it)"并且存在头像 '),
|
|
1969
|
+
((S = s[e.defaultFile.approvePersonList]) == null ? void 0 : S.length) == 1 && s[e.defaultFile.approvePersonList][0].userAvatar ? (i(), r("img", {
|
|
1957
1970
|
key: 0,
|
|
1958
1971
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
1959
|
-
src:
|
|
1960
|
-
|
|
1972
|
+
src: c(
|
|
1973
|
+
s[e.defaultFile.approvePersonList][0].userAvatar
|
|
1961
1974
|
),
|
|
1962
1975
|
alt: ""
|
|
1963
|
-
}, null, 8,
|
|
1964
|
-
|
|
1976
|
+
}, null, 8, f6)) : (i(), r(
|
|
1977
|
+
I,
|
|
1965
1978
|
{ key: 1 },
|
|
1966
1979
|
[
|
|
1967
|
-
|
|
1980
|
+
h(" 否则显示对应节点 "),
|
|
1968
1981
|
d(
|
|
1969
1982
|
"i",
|
|
1970
1983
|
{
|
|
1971
|
-
class:
|
|
1972
|
-
F(
|
|
1984
|
+
class: O(
|
|
1985
|
+
F(be)(
|
|
1973
1986
|
e,
|
|
1974
|
-
|
|
1975
|
-
|
|
1987
|
+
s[e.defaultFile.nodeType],
|
|
1988
|
+
s[e.defaultFile.approvePersonList]
|
|
1976
1989
|
)
|
|
1977
1990
|
)
|
|
1978
1991
|
},
|
|
@@ -1984,12 +1997,12 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
1984
1997
|
2112
|
|
1985
1998
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
1986
1999
|
)),
|
|
1987
|
-
|
|
2000
|
+
h(" 审批状态图标 "),
|
|
1988
2001
|
d(
|
|
1989
2002
|
"i",
|
|
1990
2003
|
{
|
|
1991
|
-
class:
|
|
1992
|
-
|
|
2004
|
+
class: O(
|
|
2005
|
+
y(s[e.defaultFile.approveStatus], x)
|
|
1993
2006
|
)
|
|
1994
2007
|
},
|
|
1995
2008
|
null,
|
|
@@ -1998,151 +2011,151 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
1998
2011
|
)
|
|
1999
2012
|
])
|
|
2000
2013
|
]),
|
|
2001
|
-
d("div",
|
|
2002
|
-
d("div",
|
|
2014
|
+
d("div", h6, [
|
|
2015
|
+
d("div", v6, [
|
|
2003
2016
|
d("div", null, [
|
|
2004
|
-
|
|
2005
|
-
|
|
2006
|
-
|
|
2007
|
-
|
|
2017
|
+
h(" 不是抄送节点 "),
|
|
2018
|
+
s[e.defaultFile.nodeType] != e.nodeType.抄送节点 ? (i(), r("div", g6, [
|
|
2019
|
+
h(" 撤销,评论不显示节点名称 "),
|
|
2020
|
+
s[e.defaultFile.approveStatus] != e.statusOption.撤销 && s[e.defaultFile.approveStatus] != e.statusOption.评论 ? (i(), r(
|
|
2008
2021
|
"div",
|
|
2009
|
-
|
|
2010
|
-
|
|
2022
|
+
y6,
|
|
2023
|
+
m(s[e.defaultFile.nodeTypeName]),
|
|
2011
2024
|
1
|
|
2012
2025
|
/* TEXT */
|
|
2013
|
-
)) :
|
|
2014
|
-
|
|
2015
|
-
d("div",
|
|
2016
|
-
|
|
2017
|
-
|
|
2026
|
+
)) : h("v-if", !0),
|
|
2027
|
+
h(" 名字+审批状态 "),
|
|
2028
|
+
d("div", _6, [
|
|
2029
|
+
h(" 已审批节点文本 "),
|
|
2030
|
+
s[e.defaultFile.lineType] == "solid" ? (i(), r("div", m6, [
|
|
2018
2031
|
d(
|
|
2019
2032
|
"span",
|
|
2020
2033
|
{
|
|
2021
|
-
style:
|
|
2022
|
-
color:
|
|
2034
|
+
style: C({
|
|
2035
|
+
color: s[e.defaultFile.approveStatus] == e.statusOption.评论 ? "#000" : ""
|
|
2023
2036
|
})
|
|
2024
2037
|
},
|
|
2025
|
-
|
|
2038
|
+
m(s[e.defaultFile.originator]),
|
|
2026
2039
|
5
|
|
2027
2040
|
/* TEXT, STYLE */
|
|
2028
2041
|
),
|
|
2029
|
-
|
|
2030
|
-
|
|
2042
|
+
h(" 发起,退回不显示状态 "),
|
|
2043
|
+
s[e.defaultFile.approveStatusName] && s[e.defaultFile.approveStatus] != e.statusOption.发起 && s[e.defaultFile.approveStatus] != e.statusOption.退回 ? (i(), r(
|
|
2031
2044
|
"span",
|
|
2032
|
-
|
|
2033
|
-
|
|
2045
|
+
w6,
|
|
2046
|
+
m(s[e.defaultFile.approveStatus] == e.statusOption.评论 ? " 添加了评论" : "(" + s[e.defaultFile.approveStatusName] + ")"),
|
|
2034
2047
|
1
|
|
2035
2048
|
/* TEXT */
|
|
2036
|
-
)) :
|
|
2037
|
-
|
|
2038
|
-
|
|
2039
|
-
|
|
2040
|
-
|
|
2041
|
-
|
|
2049
|
+
)) : h("v-if", !0),
|
|
2050
|
+
h(" 退回状态显示 "),
|
|
2051
|
+
s[e.defaultFile.approveStatus] == e.statusOption.退回 ? (i(), r("span", k6, [
|
|
2052
|
+
F6,
|
|
2053
|
+
E(
|
|
2054
|
+
m(s[e.defaultFile.backToRecordNodeName]),
|
|
2042
2055
|
1
|
|
2043
2056
|
/* TEXT */
|
|
2044
2057
|
)
|
|
2045
|
-
])) :
|
|
2046
|
-
])) : (
|
|
2047
|
-
|
|
2058
|
+
])) : h("v-if", !0)
|
|
2059
|
+
])) : (i(), r(
|
|
2060
|
+
I,
|
|
2048
2061
|
{ key: 1 },
|
|
2049
2062
|
[
|
|
2050
|
-
|
|
2063
|
+
h(" 待审批节点 "),
|
|
2051
2064
|
d("div", null, [
|
|
2052
|
-
((
|
|
2053
|
-
|
|
2054
|
-
|
|
2065
|
+
((g = s[e.defaultFile.approvePersonList]) == null ? void 0 : g.length) == 1 ? (i(), r("span", S6, [
|
|
2066
|
+
E(
|
|
2067
|
+
m(s[e.defaultFile.originator]) + " ",
|
|
2055
2068
|
1
|
|
2056
2069
|
/* TEXT */
|
|
2057
2070
|
),
|
|
2058
|
-
|
|
2071
|
+
s[e.defaultFile.approveStatus] == e.statusOption.等待 ? (i(), r(
|
|
2059
2072
|
"span",
|
|
2060
|
-
|
|
2061
|
-
|
|
2073
|
+
x6,
|
|
2074
|
+
m(`(${s[e.defaultFile.approveStatusName]})`),
|
|
2062
2075
|
1
|
|
2063
2076
|
/* TEXT */
|
|
2064
|
-
)) :
|
|
2065
|
-
])) :
|
|
2077
|
+
)) : h("v-if", !0)
|
|
2078
|
+
])) : s[e.defaultFile.approvePersonList] ? (i(), r(
|
|
2066
2079
|
"span",
|
|
2067
|
-
|
|
2068
|
-
|
|
2080
|
+
b6,
|
|
2081
|
+
m(`${(z = s[e.defaultFile.approvePersonList]) == null ? void 0 : z.length}人${s[e.defaultFile.approveTypeName]}`),
|
|
2069
2082
|
1
|
|
2070
2083
|
/* TEXT */
|
|
2071
|
-
)) :
|
|
2084
|
+
)) : h("v-if", !0)
|
|
2072
2085
|
])
|
|
2073
2086
|
],
|
|
2074
2087
|
2112
|
|
2075
2088
|
/* STABLE_FRAGMENT, DEV_ROOT_FRAGMENT */
|
|
2076
2089
|
))
|
|
2077
2090
|
])
|
|
2078
|
-
])) : (
|
|
2079
|
-
|
|
2080
|
-
d("div",
|
|
2081
|
-
|
|
2082
|
-
((
|
|
2091
|
+
])) : (i(), r("div", z6, [
|
|
2092
|
+
$6,
|
|
2093
|
+
d("div", C6, [
|
|
2094
|
+
h(" 抄送一人时 "),
|
|
2095
|
+
(($ = s[e.defaultFile.approvePersonList]) == null ? void 0 : $.length) == 1 ? (i(), r("span", I6, [
|
|
2083
2096
|
d("span", null, [
|
|
2084
|
-
|
|
2097
|
+
E("已抄送给 "),
|
|
2085
2098
|
d(
|
|
2086
2099
|
"span",
|
|
2087
|
-
|
|
2088
|
-
|
|
2100
|
+
O6,
|
|
2101
|
+
m(s[e.defaultFile.approvePersonList][0].userName),
|
|
2089
2102
|
1
|
|
2090
2103
|
/* TEXT */
|
|
2091
2104
|
)
|
|
2092
2105
|
]),
|
|
2093
2106
|
d(
|
|
2094
2107
|
"span",
|
|
2095
|
-
|
|
2096
|
-
|
|
2108
|
+
T6,
|
|
2109
|
+
m(s[e.defaultFile.approvePersonList][0].status === "END" ? "已读" : "未读"),
|
|
2097
2110
|
1
|
|
2098
2111
|
/* TEXT */
|
|
2099
2112
|
)
|
|
2100
|
-
])) :
|
|
2101
|
-
|
|
2102
|
-
((
|
|
2103
|
-
|
|
2104
|
-
|
|
2113
|
+
])) : h("v-if", !0),
|
|
2114
|
+
h(" 抄送多人时 "),
|
|
2115
|
+
((A = s[e.defaultFile.approvePersonList]) == null ? void 0 : A.length) > 1 ? (i(), r("span", B6, [
|
|
2116
|
+
E(
|
|
2117
|
+
m(`已抄送${(L = s[e.defaultFile.approvePersonList]) == null ? void 0 : L.length}人`) + " ",
|
|
2105
2118
|
1
|
|
2106
2119
|
/* TEXT */
|
|
2107
2120
|
),
|
|
2108
|
-
|
|
2109
|
-
|
|
2110
|
-
|
|
2121
|
+
s[e.defaultFile.allRead] ? (i(), r("span", D6, " 全部已读 ")) : (i(), r("span", E6, [
|
|
2122
|
+
s[e.defaultFile.read] ? h("v-if", !0) : (i(), r("span", R6, " 全部未读 ")),
|
|
2123
|
+
s[e.defaultFile.read] ? (i(), r(
|
|
2111
2124
|
"span",
|
|
2112
|
-
|
|
2113
|
-
|
|
2125
|
+
A6,
|
|
2126
|
+
m(s[e.defaultFile.read]) + "人已读 ",
|
|
2114
2127
|
1
|
|
2115
2128
|
/* TEXT */
|
|
2116
|
-
)) :
|
|
2129
|
+
)) : h("v-if", !0)
|
|
2117
2130
|
]))
|
|
2118
|
-
])) :
|
|
2131
|
+
])) : h("v-if", !0)
|
|
2119
2132
|
])
|
|
2120
2133
|
]))
|
|
2121
2134
|
]),
|
|
2122
|
-
d("div",
|
|
2123
|
-
|
|
2124
|
-
|
|
2135
|
+
d("div", V6, [
|
|
2136
|
+
h(" 不是抄送节点,展示时间 "),
|
|
2137
|
+
s[e.defaultFile.nodeType] != e.nodeType.抄送节点 && s[e.defaultFile.approveStatus] !== e.statusOption.等待 ? (i(), r(
|
|
2125
2138
|
"span",
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2139
|
+
M6,
|
|
2140
|
+
m(F(Se).toDateTime(
|
|
2141
|
+
s[e.defaultFile.operationTime],
|
|
2129
2142
|
"MM/DD HH:mm"
|
|
2130
2143
|
)),
|
|
2131
2144
|
1
|
|
2132
2145
|
/* TEXT */
|
|
2133
|
-
)) :
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2146
|
+
)) : h("v-if", !0),
|
|
2147
|
+
h(" 是抄送节点,并且抄送人员大于1时,展示图标 "),
|
|
2148
|
+
s[e.defaultFile.nodeType] == e.nodeType.抄送节点 && ((J = s[e.defaultFile.approvePersonList]) == null ? void 0 : J.length) > 1 ? (i(), r("span", P6, [
|
|
2149
|
+
s != null && s.show ? (i(), r("i", {
|
|
2137
2150
|
key: 0,
|
|
2138
2151
|
class: "ikapprove ikapprove-a-putongjiantouzhankai",
|
|
2139
|
-
onClick: (
|
|
2140
|
-
}, null, 8,
|
|
2152
|
+
onClick: (k) => w(s, "grid")
|
|
2153
|
+
}, null, 8, N6)) : (i(), r("i", {
|
|
2141
2154
|
key: 1,
|
|
2142
|
-
onClick: (
|
|
2155
|
+
onClick: (k) => w(s, "none"),
|
|
2143
2156
|
class: "ikapprove ikapprove-a-putongjiantoushouqi"
|
|
2144
|
-
}, null, 8,
|
|
2145
|
-
])) :
|
|
2157
|
+
}, null, 8, L6))
|
|
2158
|
+
])) : h("v-if", !0)
|
|
2146
2159
|
])
|
|
2147
2160
|
])
|
|
2148
2161
|
])
|
|
@@ -2151,127 +2164,127 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
2151
2164
|
"div",
|
|
2152
2165
|
{
|
|
2153
2166
|
class: "bottomBlock",
|
|
2154
|
-
style:
|
|
2155
|
-
borderLeft:
|
|
2167
|
+
style: C({
|
|
2168
|
+
borderLeft: x == e.listData.length - 1 ? "" : `2px ${s[e.defaultFile.lineType] || "dashed"} var(--el-border-color)`
|
|
2156
2169
|
})
|
|
2157
2170
|
},
|
|
2158
2171
|
[
|
|
2159
|
-
|
|
2160
|
-
|
|
2161
|
-
|
|
2172
|
+
h(" 审批意见 "),
|
|
2173
|
+
s[e.defaultFile.approveOpinion] || s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (i(), r("div", H6, [
|
|
2174
|
+
s[e.defaultFile.approveOpinion] ? (i(), r(
|
|
2162
2175
|
"span",
|
|
2163
|
-
|
|
2164
|
-
|
|
2176
|
+
q6,
|
|
2177
|
+
m(s[e.defaultFile.approveOpinion]),
|
|
2165
2178
|
1
|
|
2166
2179
|
/* TEXT */
|
|
2167
|
-
)) :
|
|
2168
|
-
|
|
2169
|
-
|
|
2170
|
-
(
|
|
2171
|
-
|
|
2180
|
+
)) : h("v-if", !0),
|
|
2181
|
+
s[e.defaultFile.approveStatus] == e.statusOption.加签 ? (i(), r("span", U6, [
|
|
2182
|
+
j6,
|
|
2183
|
+
(i(!0), r(
|
|
2184
|
+
I,
|
|
2172
2185
|
null,
|
|
2173
|
-
V(
|
|
2186
|
+
V(s[e.defaultFile.countersignPer], (k, K) => (i(), r(
|
|
2174
2187
|
"span",
|
|
2175
|
-
|
|
2176
|
-
|
|
2188
|
+
W6,
|
|
2189
|
+
m(k == null ? void 0 : k.userName) + m(K < s[e.defaultFile.countersignPer].length - 1 ? "、" : ""),
|
|
2177
2190
|
1
|
|
2178
2191
|
/* TEXT */
|
|
2179
2192
|
))),
|
|
2180
2193
|
256
|
|
2181
2194
|
/* UNKEYED_FRAGMENT */
|
|
2182
2195
|
))
|
|
2183
|
-
])) :
|
|
2184
|
-
])) :
|
|
2185
|
-
|
|
2186
|
-
(
|
|
2196
|
+
])) : h("v-if", !0)
|
|
2197
|
+
])) : h("v-if", !0),
|
|
2198
|
+
h(" 附件 "),
|
|
2199
|
+
(Z = s[e.defaultFile.attachment]) != null && Z.length ? (i(), R(F(A3), {
|
|
2187
2200
|
key: 1,
|
|
2188
2201
|
"kk-url": o.kkUrl,
|
|
2189
2202
|
"load-url": o.fileUrl,
|
|
2190
|
-
list:
|
|
2203
|
+
list: s[e.defaultFile.attachment],
|
|
2191
2204
|
"is-only-office-preview": o.isOnlyOfficePreview,
|
|
2192
|
-
"only-office-accept": o.onlyOfficeAccept,
|
|
2193
|
-
"onlyoffice-server": o.onlyofficeServer
|
|
2194
|
-
}, null, 8, ["kk-url", "load-url", "list", "is-only-office-preview", "only-office-accept", "onlyoffice-server"])) :
|
|
2195
|
-
|
|
2196
|
-
(
|
|
2197
|
-
(
|
|
2198
|
-
|
|
2205
|
+
"only-office-accept": ((Q = F(l)) == null ? void 0 : Q.accept) || o.onlyOfficeAccept,
|
|
2206
|
+
"onlyoffice-server": ((ee = F(l)) == null ? void 0 : ee.serverUrl) || o.onlyofficeServer
|
|
2207
|
+
}, null, 8, ["kk-url", "load-url", "list", "is-only-office-preview", "only-office-accept", "onlyoffice-server"])) : h("v-if", !0),
|
|
2208
|
+
h(" 附件图片 "),
|
|
2209
|
+
(te = s[e.defaultFile.attachmentImg]) != null && te.length ? (i(), r("div", K6, [
|
|
2210
|
+
(i(!0), r(
|
|
2211
|
+
I,
|
|
2199
2212
|
null,
|
|
2200
|
-
V(
|
|
2213
|
+
V(s[e.defaultFile.attachmentImg], (k, K) => (i(), r("div", {
|
|
2201
2214
|
class: "image",
|
|
2202
|
-
key:
|
|
2215
|
+
key: K
|
|
2203
2216
|
}, [
|
|
2204
|
-
|
|
2205
|
-
src:
|
|
2206
|
-
"preview-src-list":
|
|
2217
|
+
T(_, {
|
|
2218
|
+
src: c(k),
|
|
2219
|
+
"preview-src-list": s[e.defaultFile.attachmentImg].map((pe) => c(pe)),
|
|
2207
2220
|
fit: "cover",
|
|
2208
2221
|
"z-index": "9999",
|
|
2209
2222
|
"zoom-rate": 1.2,
|
|
2210
|
-
alt:
|
|
2223
|
+
alt: c(k)
|
|
2211
2224
|
}, null, 8, ["src", "preview-src-list", "alt"])
|
|
2212
2225
|
]))),
|
|
2213
2226
|
128
|
|
2214
2227
|
/* KEYED_FRAGMENT */
|
|
2215
2228
|
))
|
|
2216
|
-
])) :
|
|
2217
|
-
|
|
2218
|
-
(
|
|
2219
|
-
(
|
|
2220
|
-
|
|
2229
|
+
])) : h("v-if", !0),
|
|
2230
|
+
h(" 抄送节点或是等待审批状态并且列表长度大于1 "),
|
|
2231
|
+
(s[e.defaultFile.nodeType] == e.nodeType.抄送节点 || s[e.defaultFile.approveStatus] == e.statusOption.等待) && ((oe = s[e.defaultFile.approvePersonList]) == null ? void 0 : oe.length) > 1 ? (i(), r("div", G6, [
|
|
2232
|
+
(i(!0), r(
|
|
2233
|
+
I,
|
|
2221
2234
|
null,
|
|
2222
|
-
V(
|
|
2235
|
+
V(s[e.defaultFile.approvePersonList], (k) => (i(), r("div", {
|
|
2223
2236
|
class: "perBlock",
|
|
2224
|
-
key:
|
|
2237
|
+
key: k.userName
|
|
2225
2238
|
}, [
|
|
2226
|
-
d("span",
|
|
2227
|
-
|
|
2239
|
+
d("span", Y6, [
|
|
2240
|
+
k.userAvatar ? (i(), r("img", {
|
|
2228
2241
|
key: 0,
|
|
2229
2242
|
style: { width: "100%", height: "100%", "border-radius": "50%" },
|
|
2230
|
-
src:
|
|
2243
|
+
src: c(k.userAvatar),
|
|
2231
2244
|
alt: ""
|
|
2232
|
-
}, null, 8,
|
|
2245
|
+
}, null, 8, X6)) : (i(), r(
|
|
2233
2246
|
"span",
|
|
2234
|
-
|
|
2235
|
-
|
|
2247
|
+
J6,
|
|
2248
|
+
m(k.userName.slice(-2)),
|
|
2236
2249
|
1
|
|
2237
2250
|
/* TEXT */
|
|
2238
2251
|
)),
|
|
2239
|
-
|
|
2252
|
+
k.status === "END" ? (i(), r("i", Z6)) : h("v-if", !0)
|
|
2240
2253
|
]),
|
|
2241
2254
|
d("div", {
|
|
2242
2255
|
class: "main-text",
|
|
2243
|
-
title:
|
|
2244
|
-
},
|
|
2256
|
+
title: k.userName
|
|
2257
|
+
}, m(k.userName), 9, Q6)
|
|
2245
2258
|
]))),
|
|
2246
2259
|
128
|
|
2247
2260
|
/* KEYED_FRAGMENT */
|
|
2248
2261
|
))
|
|
2249
|
-
])) :
|
|
2262
|
+
])) : h("v-if", !0)
|
|
2250
2263
|
],
|
|
2251
2264
|
4
|
|
2252
2265
|
/* STYLE */
|
|
2253
2266
|
),
|
|
2254
|
-
|
|
2255
|
-
(
|
|
2256
|
-
|
|
2267
|
+
s[e.defaultFile.nodeType] === e.nodeType.并行分支 ? (i(), r("div", et, [
|
|
2268
|
+
(i(!0), r(
|
|
2269
|
+
I,
|
|
2257
2270
|
null,
|
|
2258
|
-
V(
|
|
2271
|
+
V(s[e.defaultFile.parallelInstances], (k) => (i(), r("div", tt, [
|
|
2259
2272
|
d(
|
|
2260
2273
|
"div",
|
|
2261
|
-
|
|
2262
|
-
|
|
2274
|
+
ot,
|
|
2275
|
+
m(k.name),
|
|
2263
2276
|
1
|
|
2264
2277
|
/* TEXT */
|
|
2265
2278
|
),
|
|
2266
|
-
|
|
2267
|
-
"data-list": (
|
|
2279
|
+
T(v, ce({ ref_for: !0 }, n, {
|
|
2280
|
+
"data-list": (k == null ? void 0 : k.processInstanceNodes) || []
|
|
2268
2281
|
}), null, 16, ["data-list"])
|
|
2269
2282
|
]))),
|
|
2270
2283
|
256
|
|
2271
2284
|
/* UNKEYED_FRAGMENT */
|
|
2272
2285
|
))
|
|
2273
|
-
])) :
|
|
2274
|
-
], 8,
|
|
2286
|
+
])) : h("v-if", !0)
|
|
2287
|
+
], 8, c6);
|
|
2275
2288
|
}),
|
|
2276
2289
|
128
|
|
2277
2290
|
/* KEYED_FRAGMENT */
|
|
@@ -2280,8 +2293,8 @@ const t6 = /* @__PURE__ */ U(e6, [["__scopeId", "data-v-fe959cd8"]]), o6 = N(t6)
|
|
|
2280
2293
|
};
|
|
2281
2294
|
}
|
|
2282
2295
|
});
|
|
2283
|
-
const
|
|
2296
|
+
const it = /* @__PURE__ */ W(st, [["__scopeId", "data-v-f00f4785"]]), rt = N(it);
|
|
2284
2297
|
export {
|
|
2285
|
-
|
|
2286
|
-
|
|
2298
|
+
rt as IKApprovalProcessDetail,
|
|
2299
|
+
rt as default
|
|
2287
2300
|
};
|