iking-web-ui-pro 0.2.4 → 0.2.6
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 +586 -571
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +123 -120
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +491 -476
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +142 -139
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +756 -741
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +125 -122
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +252 -249
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +129 -126
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +530 -515
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +196 -193
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +397 -394
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1122 -1119
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +314 -308
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +968 -965
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +148 -145
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +106 -103
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +963 -944
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +265 -253
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +1611 -0
- package/dist/Provider/ik.index.umd.js +17 -0
- package/dist/index.es.js +38689 -37072
- 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 +66 -0
- package/dist/src/components/Provider/index.d.ts +139 -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,29 +1,38 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { paramType as
|
|
3
|
-
const
|
|
1
|
+
import { inject as I, computed as m, defineComponent as z, openBlock as c, createElementBlock as u, createElementVNode as r, ref as M, Fragment as P, renderList as K, normalizeClass as C, normalizeStyle as b, createVNode as F, toDisplayString as O, unref as g, withModifiers as J, renderSlot as V, createCommentVNode as B, mergeModels as G, useModel as X, reactive as Q, watch as e3, nextTick as t3, resolveComponent as R, createBlock as S, withCtx as y, createTextVNode as D, h as n3, mergeProps as j, createSlots as o3, useCssVars as i3 } from "vue";
|
|
2
|
+
import { paramType as l3, ikFile as s3, buildUUID as a3, ikColor as c3 } from "iking-utils-pro";
|
|
3
|
+
const $ = (t, n) => {
|
|
4
4
|
if (t.install = (o) => {
|
|
5
|
-
for (const
|
|
6
|
-
o.component(
|
|
7
|
-
},
|
|
8
|
-
for (const [o,
|
|
9
|
-
t[o] =
|
|
5
|
+
for (const e of [t, ...Object.values(n ?? {})])
|
|
6
|
+
o.component(e.name, e);
|
|
7
|
+
}, n)
|
|
8
|
+
for (const [o, e] of Object.entries(n))
|
|
9
|
+
t[o] = e;
|
|
10
10
|
return t;
|
|
11
|
-
},
|
|
11
|
+
}, U = (t, n) => {
|
|
12
12
|
const o = t.__vccOpts || t;
|
|
13
|
-
for (const [
|
|
14
|
-
o[
|
|
13
|
+
for (const [e, l] of n)
|
|
14
|
+
o[e] = l;
|
|
15
15
|
return o;
|
|
16
|
-
},
|
|
16
|
+
}, r3 = (t, n = 2) => {
|
|
17
17
|
if (t === void 0)
|
|
18
18
|
return "";
|
|
19
19
|
if (t === 0)
|
|
20
20
|
return "0 B";
|
|
21
|
-
const o = ["B", "KB", "MB", "GB", "TB"],
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
24
|
-
},
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
const o = ["B", "KB", "MB", "GB", "TB"], e = Math.floor(Math.log(t) / Math.log(1024));
|
|
22
|
+
let l = t / Math.pow(1024, e);
|
|
23
|
+
return (l % 1 === 0 ? l.toFixed(n || 0) : l.toFixed(n)) + " " + o[e];
|
|
24
|
+
}, T = (t, n) => n ? n.startsWith("http") ? n : `${t || location.origin}${n}` : "", d3 = (t) => {
|
|
25
|
+
const n = I("loadUrl"), o = m(() => t.loadUrl || (n == null ? void 0 : n.value)), e = I("uploadUrl"), l = m(() => t.action || t.uploadUrl || (e == null ? void 0 : e.value)), i = I("token"), s = m(() => t.token || (i == null ? void 0 : i.value)), f = I("onlyofficeConfig"), v = m(() => t.onlyofficeConfig || (f == null ? void 0 : f.value)), a = I("userInfo"), p = m(() => t.userInfo || (a == null ? void 0 : a.value));
|
|
26
|
+
return {
|
|
27
|
+
cLoadUrl: o,
|
|
28
|
+
cUploadUrl: l,
|
|
29
|
+
cToken: s,
|
|
30
|
+
cOnlyofficeConfig: v,
|
|
31
|
+
cUserInfo: p
|
|
32
|
+
};
|
|
33
|
+
}, u3 = d3, Y = (t, n) => {
|
|
34
|
+
var i, s, f, v;
|
|
35
|
+
const o = (i = t == null ? void 0 : t.response) != null && i.data ? W((f = (s = t == null ? void 0 : t.response) == null ? void 0 : s.data) == null ? void 0 : f.suffix) : ((v = t.raw) == null ? void 0 : v.type) || W(t[n.suffix]), e = o == null ? void 0 : o.toLowerCase(), l = {
|
|
27
36
|
sheet: "excel",
|
|
28
37
|
excel: "excel",
|
|
29
38
|
zip: "zip",
|
|
@@ -39,11 +48,11 @@ const D = (t, e) => {
|
|
|
39
48
|
exe: "exe",
|
|
40
49
|
json: "json"
|
|
41
50
|
};
|
|
42
|
-
for (let
|
|
43
|
-
if (typeof
|
|
44
|
-
return
|
|
51
|
+
for (let a in l)
|
|
52
|
+
if (typeof e == "string" && (e.includes(a) || e === a))
|
|
53
|
+
return l[a];
|
|
45
54
|
return "unknown";
|
|
46
|
-
},
|
|
55
|
+
}, f3 = {
|
|
47
56
|
".doc": "word",
|
|
48
57
|
".docx": "word",
|
|
49
58
|
".docxf": "word",
|
|
@@ -128,13 +137,13 @@ const D = (t, e) => {
|
|
|
128
137
|
".vob": "video",
|
|
129
138
|
".txt": "txt",
|
|
130
139
|
".pdf": "pdf"
|
|
131
|
-
},
|
|
132
|
-
const
|
|
133
|
-
return o &&
|
|
134
|
-
},
|
|
135
|
-
let
|
|
136
|
-
return o.includes(t) && (
|
|
137
|
-
},
|
|
140
|
+
}, W = (t) => {
|
|
141
|
+
const n = t == null ? void 0 : t.toLocaleLowerCase(), o = n != null && n.startsWith(".") ? n : `.${n}`;
|
|
142
|
+
return o && f3[o] || "unknow";
|
|
143
|
+
}, p3 = (t) => {
|
|
144
|
+
let n = "", o = ["doc", "docx"], e = ["xls", "xlsx"], l = ["ppt", "pptx"], i = ["pdf"];
|
|
145
|
+
return o.includes(t) && (n = "word"), e.includes(t) && (n = "cell"), l.includes(t) && (n = "slide"), i.includes(t) && (n = "text-pdf"), n;
|
|
146
|
+
}, v3 = {
|
|
138
147
|
key: 0,
|
|
139
148
|
t: "1686300059786",
|
|
140
149
|
class: "icon",
|
|
@@ -144,7 +153,7 @@ const D = (t, e) => {
|
|
|
144
153
|
"p-id": "7671",
|
|
145
154
|
width: "200",
|
|
146
155
|
height: "200"
|
|
147
|
-
},
|
|
156
|
+
}, h3 = /* @__PURE__ */ r(
|
|
148
157
|
"path",
|
|
149
158
|
{
|
|
150
159
|
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",
|
|
@@ -154,7 +163,7 @@ const D = (t, e) => {
|
|
|
154
163
|
null,
|
|
155
164
|
-1
|
|
156
165
|
/* HOISTED */
|
|
157
|
-
),
|
|
166
|
+
), g3 = /* @__PURE__ */ r(
|
|
158
167
|
"path",
|
|
159
168
|
{
|
|
160
169
|
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",
|
|
@@ -164,7 +173,7 @@ const D = (t, e) => {
|
|
|
164
173
|
null,
|
|
165
174
|
-1
|
|
166
175
|
/* HOISTED */
|
|
167
|
-
),
|
|
176
|
+
), m3 = /* @__PURE__ */ r(
|
|
168
177
|
"path",
|
|
169
178
|
{
|
|
170
179
|
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",
|
|
@@ -174,7 +183,7 @@ const D = (t, e) => {
|
|
|
174
183
|
null,
|
|
175
184
|
-1
|
|
176
185
|
/* HOISTED */
|
|
177
|
-
),
|
|
186
|
+
), y3 = /* @__PURE__ */ r(
|
|
178
187
|
"path",
|
|
179
188
|
{
|
|
180
189
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -184,12 +193,12 @@ const D = (t, e) => {
|
|
|
184
193
|
null,
|
|
185
194
|
-1
|
|
186
195
|
/* HOISTED */
|
|
187
|
-
),
|
|
188
|
-
f3,
|
|
189
|
-
p3,
|
|
196
|
+
), w3 = [
|
|
190
197
|
h3,
|
|
191
|
-
|
|
192
|
-
|
|
198
|
+
g3,
|
|
199
|
+
m3,
|
|
200
|
+
y3
|
|
201
|
+
], _3 = {
|
|
193
202
|
key: 1,
|
|
194
203
|
t: "1686301531714",
|
|
195
204
|
class: "icon",
|
|
@@ -199,7 +208,7 @@ const D = (t, e) => {
|
|
|
199
208
|
"p-id": "9067",
|
|
200
209
|
width: "200",
|
|
201
210
|
height: "200"
|
|
202
|
-
},
|
|
211
|
+
}, x3 = /* @__PURE__ */ r(
|
|
203
212
|
"path",
|
|
204
213
|
{
|
|
205
214
|
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",
|
|
@@ -209,7 +218,7 @@ const D = (t, e) => {
|
|
|
209
218
|
null,
|
|
210
219
|
-1
|
|
211
220
|
/* HOISTED */
|
|
212
|
-
),
|
|
221
|
+
), k3 = /* @__PURE__ */ r(
|
|
213
222
|
"path",
|
|
214
223
|
{
|
|
215
224
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -219,10 +228,10 @@ const D = (t, e) => {
|
|
|
219
228
|
null,
|
|
220
229
|
-1
|
|
221
230
|
/* HOISTED */
|
|
222
|
-
),
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
],
|
|
231
|
+
), z3 = [
|
|
232
|
+
x3,
|
|
233
|
+
k3
|
|
234
|
+
], b3 = {
|
|
226
235
|
key: 2,
|
|
227
236
|
t: "1686300141125",
|
|
228
237
|
class: "icon",
|
|
@@ -232,7 +241,7 @@ const D = (t, e) => {
|
|
|
232
241
|
"p-id": "8137",
|
|
233
242
|
width: "200",
|
|
234
243
|
height: "200"
|
|
235
|
-
},
|
|
244
|
+
}, F3 = /* @__PURE__ */ r(
|
|
236
245
|
"path",
|
|
237
246
|
{
|
|
238
247
|
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",
|
|
@@ -242,7 +251,7 @@ const D = (t, e) => {
|
|
|
242
251
|
null,
|
|
243
252
|
-1
|
|
244
253
|
/* HOISTED */
|
|
245
|
-
),
|
|
254
|
+
), S3 = /* @__PURE__ */ r(
|
|
246
255
|
"path",
|
|
247
256
|
{
|
|
248
257
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -252,10 +261,10 @@ const D = (t, e) => {
|
|
|
252
261
|
null,
|
|
253
262
|
-1
|
|
254
263
|
/* HOISTED */
|
|
255
|
-
),
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
],
|
|
264
|
+
), C3 = [
|
|
265
|
+
F3,
|
|
266
|
+
S3
|
|
267
|
+
], V3 = {
|
|
259
268
|
key: 3,
|
|
260
269
|
t: "1686300157181",
|
|
261
270
|
class: "icon",
|
|
@@ -265,7 +274,7 @@ const D = (t, e) => {
|
|
|
265
274
|
"p-id": "8292",
|
|
266
275
|
width: "200",
|
|
267
276
|
height: "200"
|
|
268
|
-
},
|
|
277
|
+
}, O3 = /* @__PURE__ */ r(
|
|
269
278
|
"path",
|
|
270
279
|
{
|
|
271
280
|
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",
|
|
@@ -275,7 +284,7 @@ const D = (t, e) => {
|
|
|
275
284
|
null,
|
|
276
285
|
-1
|
|
277
286
|
/* HOISTED */
|
|
278
|
-
),
|
|
287
|
+
), B3 = /* @__PURE__ */ r(
|
|
279
288
|
"path",
|
|
280
289
|
{
|
|
281
290
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -285,10 +294,10 @@ const D = (t, e) => {
|
|
|
285
294
|
null,
|
|
286
295
|
-1
|
|
287
296
|
/* HOISTED */
|
|
288
|
-
),
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
],
|
|
297
|
+
), R3 = [
|
|
298
|
+
O3,
|
|
299
|
+
B3
|
|
300
|
+
], I3 = {
|
|
292
301
|
key: 4,
|
|
293
302
|
t: "1686300180947",
|
|
294
303
|
class: "icon",
|
|
@@ -298,7 +307,7 @@ const D = (t, e) => {
|
|
|
298
307
|
"p-id": "8447",
|
|
299
308
|
width: "200",
|
|
300
309
|
height: "200"
|
|
301
|
-
},
|
|
310
|
+
}, D3 = /* @__PURE__ */ r(
|
|
302
311
|
"path",
|
|
303
312
|
{
|
|
304
313
|
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",
|
|
@@ -308,7 +317,7 @@ const D = (t, e) => {
|
|
|
308
317
|
null,
|
|
309
318
|
-1
|
|
310
319
|
/* HOISTED */
|
|
311
|
-
),
|
|
320
|
+
), M3 = /* @__PURE__ */ r(
|
|
312
321
|
"path",
|
|
313
322
|
{
|
|
314
323
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -318,10 +327,10 @@ const D = (t, e) => {
|
|
|
318
327
|
null,
|
|
319
328
|
-1
|
|
320
329
|
/* HOISTED */
|
|
321
|
-
),
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
],
|
|
330
|
+
), $3 = [
|
|
331
|
+
D3,
|
|
332
|
+
M3
|
|
333
|
+
], q3 = {
|
|
325
334
|
key: 5,
|
|
326
335
|
t: "1686300195363",
|
|
327
336
|
class: "icon",
|
|
@@ -331,7 +340,7 @@ const D = (t, e) => {
|
|
|
331
340
|
"p-id": "8602",
|
|
332
341
|
width: "200",
|
|
333
342
|
height: "200"
|
|
334
|
-
},
|
|
343
|
+
}, H3 = /* @__PURE__ */ r(
|
|
335
344
|
"path",
|
|
336
345
|
{
|
|
337
346
|
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",
|
|
@@ -341,7 +350,7 @@ const D = (t, e) => {
|
|
|
341
350
|
null,
|
|
342
351
|
-1
|
|
343
352
|
/* HOISTED */
|
|
344
|
-
),
|
|
353
|
+
), E3 = /* @__PURE__ */ r(
|
|
345
354
|
"path",
|
|
346
355
|
{
|
|
347
356
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -351,10 +360,10 @@ const D = (t, e) => {
|
|
|
351
360
|
null,
|
|
352
361
|
-1
|
|
353
362
|
/* HOISTED */
|
|
354
|
-
),
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
],
|
|
363
|
+
), A3 = [
|
|
364
|
+
H3,
|
|
365
|
+
E3
|
|
366
|
+
], P3 = {
|
|
358
367
|
key: 6,
|
|
359
368
|
t: "1686300209288",
|
|
360
369
|
class: "icon",
|
|
@@ -364,7 +373,7 @@ const D = (t, e) => {
|
|
|
364
373
|
"p-id": "8757",
|
|
365
374
|
width: "200",
|
|
366
375
|
height: "200"
|
|
367
|
-
},
|
|
376
|
+
}, T3 = /* @__PURE__ */ r(
|
|
368
377
|
"path",
|
|
369
378
|
{
|
|
370
379
|
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",
|
|
@@ -374,7 +383,7 @@ const D = (t, e) => {
|
|
|
374
383
|
null,
|
|
375
384
|
-1
|
|
376
385
|
/* HOISTED */
|
|
377
|
-
),
|
|
386
|
+
), U3 = /* @__PURE__ */ r(
|
|
378
387
|
"path",
|
|
379
388
|
{
|
|
380
389
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -384,10 +393,10 @@ const D = (t, e) => {
|
|
|
384
393
|
null,
|
|
385
394
|
-1
|
|
386
395
|
/* HOISTED */
|
|
387
|
-
),
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
],
|
|
396
|
+
), j3 = [
|
|
397
|
+
T3,
|
|
398
|
+
U3
|
|
399
|
+
], L3 = {
|
|
391
400
|
key: 7,
|
|
392
401
|
t: "1686300225262",
|
|
393
402
|
class: "icon",
|
|
@@ -397,7 +406,7 @@ const D = (t, e) => {
|
|
|
397
406
|
"p-id": "8912",
|
|
398
407
|
width: "200",
|
|
399
408
|
height: "200"
|
|
400
|
-
},
|
|
409
|
+
}, W3 = /* @__PURE__ */ r(
|
|
401
410
|
"path",
|
|
402
411
|
{
|
|
403
412
|
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",
|
|
@@ -407,7 +416,7 @@ const D = (t, e) => {
|
|
|
407
416
|
null,
|
|
408
417
|
-1
|
|
409
418
|
/* HOISTED */
|
|
410
|
-
),
|
|
419
|
+
), N3 = /* @__PURE__ */ r(
|
|
411
420
|
"path",
|
|
412
421
|
{
|
|
413
422
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -417,10 +426,10 @@ const D = (t, e) => {
|
|
|
417
426
|
null,
|
|
418
427
|
-1
|
|
419
428
|
/* HOISTED */
|
|
420
|
-
),
|
|
421
|
-
|
|
422
|
-
|
|
423
|
-
],
|
|
429
|
+
), K3 = [
|
|
430
|
+
W3,
|
|
431
|
+
N3
|
|
432
|
+
], G3 = {
|
|
424
433
|
key: 8,
|
|
425
434
|
t: "1692251753690",
|
|
426
435
|
class: "icon",
|
|
@@ -430,7 +439,7 @@ const D = (t, e) => {
|
|
|
430
439
|
"p-id": "4336",
|
|
431
440
|
width: "200",
|
|
432
441
|
height: "200"
|
|
433
|
-
},
|
|
442
|
+
}, X3 = /* @__PURE__ */ r(
|
|
434
443
|
"path",
|
|
435
444
|
{
|
|
436
445
|
d: "M192 0h448.170667l319.829333 320V896a128 128 0 0 1-128 128H192a128 128 0 0 1-128-128V128A128 128 0 0 1 192 0z",
|
|
@@ -440,7 +449,7 @@ const D = (t, e) => {
|
|
|
440
449
|
null,
|
|
441
450
|
-1
|
|
442
451
|
/* HOISTED */
|
|
443
|
-
),
|
|
452
|
+
), Y3 = /* @__PURE__ */ r(
|
|
444
453
|
"path",
|
|
445
454
|
{
|
|
446
455
|
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",
|
|
@@ -451,7 +460,7 @@ const D = (t, e) => {
|
|
|
451
460
|
null,
|
|
452
461
|
-1
|
|
453
462
|
/* HOISTED */
|
|
454
|
-
),
|
|
463
|
+
), Z3 = /* @__PURE__ */ r(
|
|
455
464
|
"path",
|
|
456
465
|
{
|
|
457
466
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -461,11 +470,11 @@ const D = (t, e) => {
|
|
|
461
470
|
null,
|
|
462
471
|
-1
|
|
463
472
|
/* HOISTED */
|
|
464
|
-
),
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
],
|
|
473
|
+
), J3 = [
|
|
474
|
+
X3,
|
|
475
|
+
Y3,
|
|
476
|
+
Z3
|
|
477
|
+
], Q3 = {
|
|
469
478
|
key: 9,
|
|
470
479
|
t: "1692251753690",
|
|
471
480
|
class: "icon",
|
|
@@ -475,7 +484,7 @@ const D = (t, e) => {
|
|
|
475
484
|
"p-id": "4336",
|
|
476
485
|
width: "200",
|
|
477
486
|
height: "200"
|
|
478
|
-
},
|
|
487
|
+
}, e6 = /* @__PURE__ */ r(
|
|
479
488
|
"path",
|
|
480
489
|
{
|
|
481
490
|
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",
|
|
@@ -485,7 +494,7 @@ const D = (t, e) => {
|
|
|
485
494
|
null,
|
|
486
495
|
-1
|
|
487
496
|
/* HOISTED */
|
|
488
|
-
),
|
|
497
|
+
), t6 = /* @__PURE__ */ r(
|
|
489
498
|
"path",
|
|
490
499
|
{
|
|
491
500
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -495,7 +504,7 @@ const D = (t, e) => {
|
|
|
495
504
|
null,
|
|
496
505
|
-1
|
|
497
506
|
/* HOISTED */
|
|
498
|
-
),
|
|
507
|
+
), n6 = /* @__PURE__ */ r(
|
|
499
508
|
"path",
|
|
500
509
|
{
|
|
501
510
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -506,7 +515,7 @@ const D = (t, e) => {
|
|
|
506
515
|
null,
|
|
507
516
|
-1
|
|
508
517
|
/* HOISTED */
|
|
509
|
-
),
|
|
518
|
+
), o6 = /* @__PURE__ */ r(
|
|
510
519
|
"path",
|
|
511
520
|
{
|
|
512
521
|
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",
|
|
@@ -516,12 +525,12 @@ const D = (t, e) => {
|
|
|
516
525
|
null,
|
|
517
526
|
-1
|
|
518
527
|
/* HOISTED */
|
|
519
|
-
),
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
],
|
|
528
|
+
), i6 = [
|
|
529
|
+
e6,
|
|
530
|
+
t6,
|
|
531
|
+
n6,
|
|
532
|
+
o6
|
|
533
|
+
], l6 = {
|
|
525
534
|
key: 10,
|
|
526
535
|
t: "1714099890925",
|
|
527
536
|
class: "icon",
|
|
@@ -531,7 +540,7 @@ const D = (t, e) => {
|
|
|
531
540
|
"p-id": "2271",
|
|
532
541
|
width: "200",
|
|
533
542
|
height: "200"
|
|
534
|
-
},
|
|
543
|
+
}, s6 = /* @__PURE__ */ r(
|
|
535
544
|
"path",
|
|
536
545
|
{
|
|
537
546
|
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",
|
|
@@ -541,7 +550,7 @@ const D = (t, e) => {
|
|
|
541
550
|
null,
|
|
542
551
|
-1
|
|
543
552
|
/* HOISTED */
|
|
544
|
-
),
|
|
553
|
+
), a6 = /* @__PURE__ */ r(
|
|
545
554
|
"path",
|
|
546
555
|
{
|
|
547
556
|
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",
|
|
@@ -552,7 +561,7 @@ const D = (t, e) => {
|
|
|
552
561
|
null,
|
|
553
562
|
-1
|
|
554
563
|
/* HOISTED */
|
|
555
|
-
),
|
|
564
|
+
), c6 = /* @__PURE__ */ r(
|
|
556
565
|
"path",
|
|
557
566
|
{
|
|
558
567
|
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",
|
|
@@ -562,11 +571,11 @@ const D = (t, e) => {
|
|
|
562
571
|
null,
|
|
563
572
|
-1
|
|
564
573
|
/* HOISTED */
|
|
565
|
-
),
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
],
|
|
574
|
+
), r6 = [
|
|
575
|
+
s6,
|
|
576
|
+
a6,
|
|
577
|
+
c6
|
|
578
|
+
], d6 = {
|
|
570
579
|
key: 11,
|
|
571
580
|
t: "1686300037564",
|
|
572
581
|
class: "icon",
|
|
@@ -576,7 +585,7 @@ const D = (t, e) => {
|
|
|
576
585
|
"p-id": "7515",
|
|
577
586
|
width: "200",
|
|
578
587
|
height: "200"
|
|
579
|
-
},
|
|
588
|
+
}, u6 = /* @__PURE__ */ r(
|
|
580
589
|
"path",
|
|
581
590
|
{
|
|
582
591
|
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",
|
|
@@ -586,7 +595,7 @@ const D = (t, e) => {
|
|
|
586
595
|
null,
|
|
587
596
|
-1
|
|
588
597
|
/* HOISTED */
|
|
589
|
-
),
|
|
598
|
+
), f6 = /* @__PURE__ */ r(
|
|
590
599
|
"path",
|
|
591
600
|
{
|
|
592
601
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -596,7 +605,7 @@ const D = (t, e) => {
|
|
|
596
605
|
null,
|
|
597
606
|
-1
|
|
598
607
|
/* HOISTED */
|
|
599
|
-
),
|
|
608
|
+
), p6 = /* @__PURE__ */ r(
|
|
600
609
|
"path",
|
|
601
610
|
{
|
|
602
611
|
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",
|
|
@@ -606,11 +615,11 @@ const D = (t, e) => {
|
|
|
606
615
|
null,
|
|
607
616
|
-1
|
|
608
617
|
/* HOISTED */
|
|
609
|
-
),
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
],
|
|
618
|
+
), v6 = [
|
|
619
|
+
u6,
|
|
620
|
+
f6,
|
|
621
|
+
p6
|
|
622
|
+
], h6 = /* @__PURE__ */ z({
|
|
614
623
|
__name: "FileIcon",
|
|
615
624
|
props: {
|
|
616
625
|
type: {
|
|
@@ -631,10 +640,10 @@ const D = (t, e) => {
|
|
|
631
640
|
}
|
|
632
641
|
},
|
|
633
642
|
setup(t) {
|
|
634
|
-
const
|
|
635
|
-
return (
|
|
643
|
+
const n = t, o = m(() => n.file ? Y(n.file, n.fields) : n.type);
|
|
644
|
+
return (e, l) => o.value === "image" ? (c(), u("svg", v3, w3)) : o.value === "zip" ? (c(), u("svg", _3, z3)) : o.value === "ppt" ? (c(), u("svg", b3, C3)) : o.value === "word" ? (c(), u("svg", V3, R3)) : o.value === "pdf" ? (c(), u("svg", I3, $3)) : o.value === "txt" ? (c(), u("svg", q3, A3)) : o.value === "audio" ? (c(), u("svg", P3, j3)) : o.value === "video" ? (c(), u("svg", L3, K3)) : o.value === "excel" ? (c(), u("svg", G3, J3)) : o.value === "exe" ? (c(), u("svg", Q3, i6)) : o.value === "json" ? (c(), u("svg", l6, r6)) : (c(), u("svg", d6, v6));
|
|
636
645
|
}
|
|
637
|
-
}),
|
|
646
|
+
}), g6 = ["onClick"], m6 = { class: "text" }, y6 = { class: "fileName" }, w6 = { class: "size" }, _6 = /* @__PURE__ */ z({
|
|
638
647
|
__name: "IkPreviewFile",
|
|
639
648
|
props: {
|
|
640
649
|
list: {
|
|
@@ -704,80 +713,80 @@ const D = (t, e) => {
|
|
|
704
713
|
}
|
|
705
714
|
},
|
|
706
715
|
setup(t) {
|
|
707
|
-
const
|
|
716
|
+
const n = t, { cLoadUrl: o, cOnlyofficeConfig: e } = u3(n), l = m(() => ({
|
|
708
717
|
name: "name",
|
|
709
718
|
url: "url",
|
|
710
719
|
suffix: "suffix",
|
|
711
720
|
size: "size",
|
|
712
|
-
...
|
|
713
|
-
})),
|
|
714
|
-
var
|
|
715
|
-
|
|
716
|
-
...
|
|
717
|
-
name:
|
|
718
|
-
url:
|
|
719
|
-
|
|
720
|
-
|
|
721
|
+
...n.field
|
|
722
|
+
})), i = M({}), s = M(!1), f = (d) => {
|
|
723
|
+
var w, _;
|
|
724
|
+
i.value = {
|
|
725
|
+
...d,
|
|
726
|
+
name: d.name,
|
|
727
|
+
url: T(
|
|
728
|
+
o.value,
|
|
729
|
+
d.url || ((_ = (w = d == null ? void 0 : d.response) == null ? void 0 : w.data) == null ? void 0 : _.id) || (d == null ? void 0 : d.id)
|
|
721
730
|
)
|
|
722
|
-
},
|
|
723
|
-
},
|
|
731
|
+
}, s.value = !0;
|
|
732
|
+
}, v = (d) => {
|
|
724
733
|
s3.downloadFile(
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
734
|
+
T(
|
|
735
|
+
o.value,
|
|
736
|
+
d[l.value.url] || d.attachmentId || d.id
|
|
728
737
|
),
|
|
729
|
-
|
|
738
|
+
d[l.value.name] || d.attachmentName
|
|
730
739
|
);
|
|
731
|
-
},
|
|
732
|
-
...
|
|
733
|
-
name:
|
|
734
|
-
size:
|
|
735
|
-
suffix:
|
|
740
|
+
}, a = m(() => l3.isNumber(n.width) ? `${n.width}px` : n.width), p = m(() => n.list.map((d) => ({
|
|
741
|
+
...d,
|
|
742
|
+
name: d[l.value.name] || d.attachmentName,
|
|
743
|
+
size: d[l.value.size] || d.fileSize || d.attachmentSize,
|
|
744
|
+
suffix: d[l.value.suffix] || d.attachmentSuffix
|
|
736
745
|
})));
|
|
737
|
-
return (
|
|
738
|
-
var
|
|
739
|
-
return c(),
|
|
740
|
-
|
|
746
|
+
return (d, w) => {
|
|
747
|
+
var _, x, q;
|
|
748
|
+
return c(), u(
|
|
749
|
+
P,
|
|
741
750
|
null,
|
|
742
751
|
[
|
|
743
|
-
(
|
|
744
|
-
|
|
752
|
+
(_ = t.list) != null && _.length ? (c(!0), u(
|
|
753
|
+
P,
|
|
745
754
|
{ key: 0 },
|
|
746
|
-
|
|
747
|
-
var
|
|
748
|
-
return c(),
|
|
755
|
+
K(p.value, (k, h) => {
|
|
756
|
+
var H;
|
|
757
|
+
return c(), u(
|
|
749
758
|
"div",
|
|
750
759
|
{
|
|
751
|
-
class:
|
|
752
|
-
key:
|
|
753
|
-
style:
|
|
754
|
-
marginBottom:
|
|
755
|
-
width:
|
|
760
|
+
class: C(["iking-privew-annex", { "is-bg": t.showBg }]),
|
|
761
|
+
key: h,
|
|
762
|
+
style: b({
|
|
763
|
+
marginBottom: h == ((H = t.list) == null ? void 0 : H.length) - 1 ? "0" : "10px",
|
|
764
|
+
width: a.value
|
|
756
765
|
})
|
|
757
766
|
},
|
|
758
767
|
[
|
|
759
768
|
r("div", {
|
|
760
769
|
class: "file-card",
|
|
761
|
-
onClick: (
|
|
770
|
+
onClick: (E) => f(k)
|
|
762
771
|
}, [
|
|
763
|
-
|
|
764
|
-
file:
|
|
765
|
-
style:
|
|
772
|
+
F(h6, {
|
|
773
|
+
file: k,
|
|
774
|
+
style: b({ height: `${t.iconSize}px` }),
|
|
766
775
|
class: "ikui-w-auto",
|
|
767
|
-
fields:
|
|
776
|
+
fields: l.value
|
|
768
777
|
}, null, 8, ["file", "style", "fields"]),
|
|
769
|
-
r("div",
|
|
778
|
+
r("div", m6, [
|
|
770
779
|
r(
|
|
771
780
|
"div",
|
|
772
|
-
|
|
773
|
-
|
|
781
|
+
y6,
|
|
782
|
+
O(k.name),
|
|
774
783
|
1
|
|
775
784
|
/* TEXT */
|
|
776
785
|
),
|
|
777
786
|
r(
|
|
778
787
|
"div",
|
|
779
|
-
|
|
780
|
-
|
|
788
|
+
w6,
|
|
789
|
+
O(g(r3)(k.size)),
|
|
781
790
|
1
|
|
782
791
|
/* TEXT */
|
|
783
792
|
)
|
|
@@ -785,28 +794,28 @@ const D = (t, e) => {
|
|
|
785
794
|
r(
|
|
786
795
|
"div",
|
|
787
796
|
{
|
|
788
|
-
class:
|
|
797
|
+
class: C(["flex flex-center", { "hover-show": t.iconHoverShow }])
|
|
789
798
|
},
|
|
790
799
|
[
|
|
791
|
-
|
|
800
|
+
F(g(A), {
|
|
792
801
|
name: "iksvg_daochu",
|
|
793
|
-
onClick:
|
|
802
|
+
onClick: J((E) => v(k), ["stop"]),
|
|
794
803
|
bg: t.showBg,
|
|
795
804
|
size: t.showBg ? "default" : 20
|
|
796
805
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
797
|
-
|
|
806
|
+
F(g(A), {
|
|
798
807
|
name: "iksvg_yulan",
|
|
799
808
|
bg: t.showBg,
|
|
800
809
|
size: t.showBg ? "default" : 20
|
|
801
810
|
}, null, 8, ["bg", "size"]),
|
|
802
|
-
|
|
803
|
-
data: { ...
|
|
811
|
+
V(d.$slots, "operation", {
|
|
812
|
+
data: { ...k, findex: h }
|
|
804
813
|
})
|
|
805
814
|
],
|
|
806
815
|
2
|
|
807
816
|
/* CLASS */
|
|
808
817
|
)
|
|
809
|
-
], 8,
|
|
818
|
+
], 8, g6)
|
|
810
819
|
],
|
|
811
820
|
6
|
|
812
821
|
/* CLASS, STYLE */
|
|
@@ -814,15 +823,15 @@ const D = (t, e) => {
|
|
|
814
823
|
}),
|
|
815
824
|
128
|
|
816
825
|
/* KEYED_FRAGMENT */
|
|
817
|
-
)) :
|
|
818
|
-
|
|
819
|
-
show:
|
|
820
|
-
"onUpdate:show":
|
|
821
|
-
loadUrl:
|
|
822
|
-
file:
|
|
823
|
-
onlyofficeServer: t.onlyofficeServer,
|
|
824
|
-
onlyOfficeConfig:
|
|
825
|
-
onlyOfficeAccept: t.onlyOfficeAccept
|
|
826
|
+
)) : B("v-if", !0),
|
|
827
|
+
F(g(z6), {
|
|
828
|
+
show: s.value,
|
|
829
|
+
"onUpdate:show": w[0] || (w[0] = (k) => s.value = k),
|
|
830
|
+
loadUrl: g(o),
|
|
831
|
+
file: i.value,
|
|
832
|
+
onlyofficeServer: ((x = g(e)) == null ? void 0 : x.serverUrl) || t.onlyofficeServer,
|
|
833
|
+
onlyOfficeConfig: g(e),
|
|
834
|
+
onlyOfficeAccept: ((q = g(e)) == null ? void 0 : q.accept) || t.onlyOfficeAccept
|
|
826
835
|
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig", "onlyOfficeAccept"])
|
|
827
836
|
],
|
|
828
837
|
64
|
|
@@ -831,9 +840,9 @@ const D = (t, e) => {
|
|
|
831
840
|
};
|
|
832
841
|
}
|
|
833
842
|
});
|
|
834
|
-
const
|
|
843
|
+
const x6 = $(_6), k6 = /* @__PURE__ */ z({
|
|
835
844
|
__name: "IkPreviewFileDialog",
|
|
836
|
-
props: /* @__PURE__ */
|
|
845
|
+
props: /* @__PURE__ */ G({
|
|
837
846
|
file: {
|
|
838
847
|
type: Object,
|
|
839
848
|
default: () => []
|
|
@@ -868,47 +877,47 @@ const y6 = D(m6), w6 = /* @__PURE__ */ w({
|
|
|
868
877
|
}),
|
|
869
878
|
emits: ["update:show"],
|
|
870
879
|
setup(t) {
|
|
871
|
-
const
|
|
880
|
+
const n = t, o = X(t, "show"), e = m(() => ({
|
|
872
881
|
name: "name",
|
|
873
882
|
url: "url",
|
|
874
883
|
suffix: "suffix",
|
|
875
884
|
size: "fileSize",
|
|
876
|
-
...
|
|
877
|
-
})),
|
|
885
|
+
...n.field
|
|
886
|
+
})), l = M(null), i = M(null), s = Q({
|
|
878
887
|
image: !1,
|
|
879
888
|
office: !1,
|
|
880
889
|
video: !1
|
|
881
|
-
}), f = (
|
|
882
|
-
var
|
|
890
|
+
}), f = (a) => {
|
|
891
|
+
var p, d, w, _, x, q, k;
|
|
883
892
|
try {
|
|
884
|
-
const h = ((
|
|
885
|
-
if (
|
|
886
|
-
...
|
|
887
|
-
name:
|
|
888
|
-
url:
|
|
889
|
-
},
|
|
890
|
-
|
|
893
|
+
const h = ((p = a == null ? void 0 : a.response) == null ? void 0 : p.data) || a, H = h[e.value.url] || (h == null ? void 0 : h.id) || h.attachmentId, E = (d = h[e.value.suffix] || h.attachmentSuffix) == null ? void 0 : d.toLowerCase(), Z = h[e.value.name] || (h == null ? void 0 : h.attachmentName) || (h == null ? void 0 : h.originName);
|
|
894
|
+
if (i.value = {
|
|
895
|
+
...a,
|
|
896
|
+
name: a[e.value.name],
|
|
897
|
+
url: T(n.loadUrl, H)
|
|
898
|
+
}, a && Y(a, e.value) === "image") {
|
|
899
|
+
s.image = !0;
|
|
891
900
|
return;
|
|
892
|
-
} else if ((((
|
|
893
|
-
|
|
894
|
-
...
|
|
901
|
+
} else if ((((w = n.onlyOfficeConfig) == null ? void 0 : w.accept) || n.onlyOfficeAccept).includes(E)) {
|
|
902
|
+
s.office = !0, l.value = {
|
|
903
|
+
...n.onlyOfficeConfig,
|
|
895
904
|
editorConfig: {
|
|
896
|
-
...((_ =
|
|
905
|
+
...((_ = n.onlyOfficeConfig) == null ? void 0 : _.editorConfig) || {},
|
|
897
906
|
customization: {
|
|
898
|
-
...((
|
|
907
|
+
...((q = (x = n.onlyOfficeConfig) == null ? void 0 : x.editorConfig) == null ? void 0 : q.customization) || {},
|
|
899
908
|
review: {
|
|
900
909
|
reviewDisplay: "final"
|
|
901
910
|
}
|
|
902
911
|
}
|
|
903
912
|
},
|
|
904
913
|
document: {
|
|
905
|
-
key:
|
|
906
|
-
title:
|
|
907
|
-
url:
|
|
908
|
-
fileType:
|
|
909
|
-
...((
|
|
914
|
+
key: a3(),
|
|
915
|
+
title: Z,
|
|
916
|
+
url: T(n.loadUrl, H),
|
|
917
|
+
fileType: E,
|
|
918
|
+
...((k = n.onlyOfficeConfig) == null ? void 0 : k.document) || {}
|
|
910
919
|
},
|
|
911
|
-
documentType:
|
|
920
|
+
documentType: p3(E)
|
|
912
921
|
};
|
|
913
922
|
return;
|
|
914
923
|
}
|
|
@@ -916,33 +925,33 @@ const y6 = D(m6), w6 = /* @__PURE__ */ w({
|
|
|
916
925
|
console.info("预览错误: ", h);
|
|
917
926
|
}
|
|
918
927
|
};
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
f(
|
|
928
|
+
e3([o, n.file], ([a, p]) => {
|
|
929
|
+
a && t3(() => {
|
|
930
|
+
f(n.file);
|
|
922
931
|
});
|
|
923
932
|
});
|
|
924
|
-
const
|
|
925
|
-
o.value = !1,
|
|
933
|
+
const v = () => {
|
|
934
|
+
o.value = !1, s.office = !1, s.image = !1, s.video = !1;
|
|
926
935
|
};
|
|
927
|
-
return (
|
|
928
|
-
var
|
|
929
|
-
const
|
|
930
|
-
return o.value ? (c(),
|
|
931
|
-
|
|
936
|
+
return (a, p) => {
|
|
937
|
+
var w, _;
|
|
938
|
+
const d = R("el-image-viewer");
|
|
939
|
+
return o.value ? (c(), u(
|
|
940
|
+
P,
|
|
932
941
|
{ key: 0 },
|
|
933
942
|
[
|
|
934
|
-
(
|
|
943
|
+
(w = i.value) != null && w.url && s.image ? (c(), S(d, {
|
|
935
944
|
key: 0,
|
|
936
|
-
onClose:
|
|
937
|
-
|
|
945
|
+
onClose: p[0] || (p[0] = (x) => {
|
|
946
|
+
i.value = null, s.image = !1;
|
|
938
947
|
}),
|
|
939
948
|
ref: "previewImgRef",
|
|
940
|
-
"url-list": [(_ =
|
|
941
|
-
}, null, 8, ["url-list"])) :
|
|
942
|
-
|
|
943
|
-
|
|
944
|
-
modelValue:
|
|
945
|
-
"onUpdate:modelValue":
|
|
949
|
+
"url-list": [(_ = i.value) == null ? void 0 : _.url]
|
|
950
|
+
}, null, 8, ["url-list"])) : B("v-if", !0),
|
|
951
|
+
B(" 文档类 "),
|
|
952
|
+
F(g(E6), {
|
|
953
|
+
modelValue: s.office,
|
|
954
|
+
"onUpdate:modelValue": p[1] || (p[1] = (x) => s.office = x),
|
|
946
955
|
draggable: "",
|
|
947
956
|
"no-footer": "",
|
|
948
957
|
"no-header": "",
|
|
@@ -952,37 +961,40 @@ const y6 = D(m6), w6 = /* @__PURE__ */ w({
|
|
|
952
961
|
"close-on-click-modal": "",
|
|
953
962
|
"close-on-press-escape": !1,
|
|
954
963
|
"append-to-body": "",
|
|
955
|
-
onClose:
|
|
964
|
+
onClose: v,
|
|
956
965
|
"modal-class": "ik-only-preview-dialog"
|
|
957
966
|
}, {
|
|
958
|
-
default:
|
|
959
|
-
|
|
960
|
-
|
|
961
|
-
|
|
962
|
-
|
|
963
|
-
|
|
967
|
+
default: y(() => {
|
|
968
|
+
var x;
|
|
969
|
+
return [
|
|
970
|
+
F(g(N6), {
|
|
971
|
+
"config-options": l.value,
|
|
972
|
+
"document-server-url": ((x = t.onlyOfficeConfig) == null ? void 0 : x.serverUrl) || t.onlyofficeServer
|
|
973
|
+
}, null, 8, ["config-options", "document-server-url"])
|
|
974
|
+
];
|
|
975
|
+
}),
|
|
964
976
|
_: 1
|
|
965
977
|
/* STABLE */
|
|
966
978
|
}, 8, ["modelValue"])
|
|
967
979
|
],
|
|
968
980
|
64
|
|
969
981
|
/* STABLE_FRAGMENT */
|
|
970
|
-
)) :
|
|
982
|
+
)) : B("v-if", !0);
|
|
971
983
|
};
|
|
972
984
|
}
|
|
973
985
|
});
|
|
974
|
-
const
|
|
986
|
+
const z6 = $(k6), b6 = {
|
|
975
987
|
key: 0,
|
|
976
988
|
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
977
|
-
},
|
|
989
|
+
}, F6 = {
|
|
978
990
|
key: 1,
|
|
979
991
|
class: "h-[1em] w-[1em]",
|
|
980
992
|
"aria-hidden": "true"
|
|
981
|
-
},
|
|
993
|
+
}, S6 = ["xlink:href"], C6 = ["src"], V6 = {
|
|
982
994
|
key: 1,
|
|
983
995
|
class: "h-[1em] w-[1em]",
|
|
984
996
|
"aria-hidden": "true"
|
|
985
|
-
},
|
|
997
|
+
}, O6 = ["xlink:href"], B6 = ["src"], R6 = /* @__PURE__ */ z({
|
|
986
998
|
name: "IkSvgIcon",
|
|
987
999
|
__name: "index",
|
|
988
1000
|
props: {
|
|
@@ -1009,84 +1021,87 @@ const _6 = D(w6), k6 = {
|
|
|
1009
1021
|
tableIconType: { default: "icon" }
|
|
1010
1022
|
},
|
|
1011
1023
|
setup(t) {
|
|
1012
|
-
const
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
}), l =
|
|
1016
|
-
const
|
|
1017
|
-
|
|
1018
|
-
|
|
1024
|
+
const n = t, o = I("iconConfig"), e = m(() => ({
|
|
1025
|
+
...(o == null ? void 0 : o.value) || {},
|
|
1026
|
+
...n
|
|
1027
|
+
})), l = m(() => {
|
|
1028
|
+
const { name: s } = e.value;
|
|
1029
|
+
return /^http?:\/\//.test(s) ? "img" : /i-[^:]+:[^:]+/.test(s) ? "unocss" : s != null && s.startsWith("iksig") ? "iksig" : s != null && s.includes(":") ? "iconify" : s != null && s.startsWith("iksvg") ? "svg" : "i";
|
|
1030
|
+
}), i = m(() => {
|
|
1031
|
+
const s = [];
|
|
1032
|
+
if (e.value.flip)
|
|
1033
|
+
switch (e.value.flip) {
|
|
1019
1034
|
case "horizontal":
|
|
1020
|
-
|
|
1035
|
+
s.push("rotateY(180deg)");
|
|
1021
1036
|
break;
|
|
1022
1037
|
case "vertical":
|
|
1023
|
-
|
|
1038
|
+
s.push("rotateX(180deg)");
|
|
1024
1039
|
break;
|
|
1025
1040
|
case "both":
|
|
1026
|
-
|
|
1041
|
+
s.push("rotateX(180deg)"), s.push("rotateY(180deg)");
|
|
1027
1042
|
break;
|
|
1028
1043
|
}
|
|
1029
|
-
e.rotate &&
|
|
1030
|
-
const
|
|
1031
|
-
...e.color && { color: e.color },
|
|
1032
|
-
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
1033
|
-
...
|
|
1034
|
-
padding: e.showBg || e.bg ? e.padding : 0,
|
|
1035
|
-
...e.color &&
|
|
1036
|
-
"--ik-color-icon-dark": e.color,
|
|
1037
|
-
"--ik-color-icon-light": e.colorLight ||
|
|
1044
|
+
e.value.rotate && s.push(`rotate(${e.value.rotate % 360}deg)`);
|
|
1045
|
+
const f = {
|
|
1046
|
+
...e.value.color && { color: e.value.color },
|
|
1047
|
+
...e.value.size && { fontSize: typeof e.value.size == "number" ? `${e.value.size}px` : e.value.size },
|
|
1048
|
+
...s.length && { transform: s.join(" ") },
|
|
1049
|
+
padding: e.value.showBg || e.value.bg ? e.value.padding : 0,
|
|
1050
|
+
...e.value.color && l.value !== "iksig" ? {
|
|
1051
|
+
"--ik-color-icon-dark": e.value.color,
|
|
1052
|
+
"--ik-color-icon-light": e.value.colorLight || c3.setOpacity(e.value.color, e.value.opacity)
|
|
1038
1053
|
} : {}
|
|
1039
1054
|
};
|
|
1040
|
-
return e.width && (
|
|
1055
|
+
return e.value.width && (f.width = f.height = typeof e.value.width == "number" ? `${e.value.width}px` : e.value.width), f;
|
|
1041
1056
|
});
|
|
1042
|
-
return (
|
|
1043
|
-
const
|
|
1044
|
-
return
|
|
1045
|
-
|
|
1057
|
+
return (s, f) => {
|
|
1058
|
+
const v = R("el-tooltip"), a = R("el-button");
|
|
1059
|
+
return e.value.tableIconType === "icon" ? (c(), u("span", b6, [
|
|
1060
|
+
e.value.notip || !e.value.title ? (c(), u(
|
|
1046
1061
|
"i",
|
|
1047
1062
|
{
|
|
1048
1063
|
key: 0,
|
|
1049
|
-
class:
|
|
1050
|
-
[
|
|
1051
|
-
"show-bg":
|
|
1052
|
-
default:
|
|
1053
|
-
small:
|
|
1054
|
-
big:
|
|
1055
|
-
warning:
|
|
1056
|
-
primary:
|
|
1057
|
-
success:
|
|
1058
|
-
error:
|
|
1059
|
-
active:
|
|
1060
|
-
disabled:
|
|
1064
|
+
class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1065
|
+
[s.name]: l.value === "unocss",
|
|
1066
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
1067
|
+
default: e.value.size === "default",
|
|
1068
|
+
small: e.value.size === "small",
|
|
1069
|
+
big: e.value.size === "big",
|
|
1070
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
1071
|
+
primary: e.value.primary || e.value.type === "primary",
|
|
1072
|
+
success: s.success || e.value.type === "success",
|
|
1073
|
+
error: e.value.error || e.value.type === "error",
|
|
1074
|
+
active: e.value.active,
|
|
1075
|
+
disabled: e.value.disabled
|
|
1061
1076
|
}]),
|
|
1062
|
-
style:
|
|
1077
|
+
style: b(i.value)
|
|
1063
1078
|
},
|
|
1064
1079
|
[
|
|
1065
|
-
|
|
1066
|
-
|
|
1080
|
+
B(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1081
|
+
l.value === "iksig" ? (c(), u(
|
|
1067
1082
|
"i",
|
|
1068
1083
|
{
|
|
1069
1084
|
key: 0,
|
|
1070
|
-
class:
|
|
1071
|
-
style:
|
|
1085
|
+
class: C(`iksig ${e.value.name}`),
|
|
1086
|
+
style: b(i.value)
|
|
1072
1087
|
},
|
|
1073
1088
|
null,
|
|
1074
1089
|
6
|
|
1075
1090
|
/* CLASS, STYLE */
|
|
1076
|
-
)) :
|
|
1091
|
+
)) : l.value === "svg" ? (c(), u("svg", F6, [
|
|
1077
1092
|
r("use", {
|
|
1078
|
-
"xlink:href": `#${
|
|
1079
|
-
}, null, 8,
|
|
1080
|
-
])) :
|
|
1093
|
+
"xlink:href": `#${e.value.name}`
|
|
1094
|
+
}, null, 8, S6)
|
|
1095
|
+
])) : l.value === "img" ? (c(), u("img", {
|
|
1081
1096
|
key: 2,
|
|
1082
|
-
src:
|
|
1097
|
+
src: e.value.name,
|
|
1083
1098
|
class: "h-[1em] w-[1em]"
|
|
1084
|
-
}, null, 8,
|
|
1099
|
+
}, null, 8, C6)) : (c(), u(
|
|
1085
1100
|
"i",
|
|
1086
1101
|
{
|
|
1087
1102
|
key: 3,
|
|
1088
|
-
class:
|
|
1089
|
-
style:
|
|
1103
|
+
class: C(e.value.name),
|
|
1104
|
+
style: b(i.value)
|
|
1090
1105
|
},
|
|
1091
1106
|
null,
|
|
1092
1107
|
6
|
|
@@ -1095,54 +1110,54 @@ const _6 = D(w6), k6 = {
|
|
|
1095
1110
|
],
|
|
1096
1111
|
6
|
|
1097
1112
|
/* CLASS, STYLE */
|
|
1098
|
-
)) : (c(),
|
|
1113
|
+
)) : (c(), S(v, {
|
|
1099
1114
|
key: 1,
|
|
1100
|
-
content:
|
|
1115
|
+
content: e.value.title,
|
|
1101
1116
|
placement: "top"
|
|
1102
1117
|
}, {
|
|
1103
|
-
default:
|
|
1118
|
+
default: y(() => [
|
|
1104
1119
|
r(
|
|
1105
1120
|
"i",
|
|
1106
1121
|
{
|
|
1107
|
-
class:
|
|
1108
|
-
[
|
|
1109
|
-
"show-bg":
|
|
1110
|
-
default:
|
|
1111
|
-
small:
|
|
1112
|
-
big:
|
|
1113
|
-
warning:
|
|
1114
|
-
primary:
|
|
1115
|
-
success:
|
|
1116
|
-
error:
|
|
1117
|
-
active:
|
|
1122
|
+
class: C(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1123
|
+
[s.name]: l.value === "unocss",
|
|
1124
|
+
"show-bg": e.value.showBg || e.value.bg,
|
|
1125
|
+
default: e.value.size === "default",
|
|
1126
|
+
small: e.value.size === "small",
|
|
1127
|
+
big: e.value.size === "big",
|
|
1128
|
+
warning: e.value.warning || e.value.type === "warning",
|
|
1129
|
+
primary: s.primary || e.value.type === "primary",
|
|
1130
|
+
success: s.success || e.value.type === "success",
|
|
1131
|
+
error: e.value.error || e.value.type === "error",
|
|
1132
|
+
active: e.value.active
|
|
1118
1133
|
}]),
|
|
1119
|
-
style:
|
|
1134
|
+
style: b(i.value)
|
|
1120
1135
|
},
|
|
1121
1136
|
[
|
|
1122
|
-
|
|
1137
|
+
l.value === "iksig" ? (c(), u(
|
|
1123
1138
|
"i",
|
|
1124
1139
|
{
|
|
1125
1140
|
key: 0,
|
|
1126
|
-
class:
|
|
1127
|
-
style:
|
|
1141
|
+
class: C(`iksig ${e.value.name}`),
|
|
1142
|
+
style: b(i.value)
|
|
1128
1143
|
},
|
|
1129
1144
|
null,
|
|
1130
1145
|
6
|
|
1131
1146
|
/* CLASS, STYLE */
|
|
1132
|
-
)) :
|
|
1147
|
+
)) : l.value === "svg" ? (c(), u("svg", V6, [
|
|
1133
1148
|
r("use", {
|
|
1134
|
-
"xlink:href": `#${
|
|
1135
|
-
}, null, 8,
|
|
1136
|
-
])) :
|
|
1149
|
+
"xlink:href": `#${e.value.name}`
|
|
1150
|
+
}, null, 8, O6)
|
|
1151
|
+
])) : l.value === "img" ? (c(), u("img", {
|
|
1137
1152
|
key: 2,
|
|
1138
|
-
src:
|
|
1153
|
+
src: e.value.name,
|
|
1139
1154
|
class: "h-[1em] w-[1em]"
|
|
1140
|
-
}, null, 8,
|
|
1155
|
+
}, null, 8, B6)) : (c(), u(
|
|
1141
1156
|
"i",
|
|
1142
1157
|
{
|
|
1143
1158
|
key: 3,
|
|
1144
|
-
class:
|
|
1145
|
-
style:
|
|
1159
|
+
class: C(e.value.name),
|
|
1160
|
+
style: b(i.value)
|
|
1146
1161
|
},
|
|
1147
1162
|
null,
|
|
1148
1163
|
6
|
|
@@ -1156,13 +1171,13 @@ const _6 = D(w6), k6 = {
|
|
|
1156
1171
|
_: 1
|
|
1157
1172
|
/* STABLE */
|
|
1158
1173
|
}, 8, ["content"]))
|
|
1159
|
-
])) : (c(),
|
|
1174
|
+
])) : (c(), S(a, {
|
|
1160
1175
|
key: 1,
|
|
1161
|
-
type: ["warning", "error"].includes(
|
|
1176
|
+
type: ["warning", "error"].includes(e.value.type) ? "danger" : ""
|
|
1162
1177
|
}, {
|
|
1163
|
-
default:
|
|
1164
|
-
|
|
1165
|
-
|
|
1178
|
+
default: y(() => [
|
|
1179
|
+
D(
|
|
1180
|
+
O(e.value.title),
|
|
1166
1181
|
1
|
|
1167
1182
|
/* TEXT */
|
|
1168
1183
|
)
|
|
@@ -1173,10 +1188,10 @@ const _6 = D(w6), k6 = {
|
|
|
1173
1188
|
};
|
|
1174
1189
|
}
|
|
1175
1190
|
});
|
|
1176
|
-
const
|
|
1191
|
+
const I6 = /* @__PURE__ */ U(R6, [["__scopeId", "data-v-1be337e4"]]), A = $(I6), D6 = {
|
|
1177
1192
|
key: 0,
|
|
1178
1193
|
class: "exit-main-page-maximize"
|
|
1179
|
-
},
|
|
1194
|
+
}, M6 = /* @__PURE__ */ z({
|
|
1180
1195
|
__name: "CloseIcon",
|
|
1181
1196
|
props: {
|
|
1182
1197
|
showBg: {
|
|
@@ -1189,15 +1204,15 @@ const O6 = /* @__PURE__ */ E(V6, [["__scopeId", "data-v-7d95dbf5"]]), M = D(O6),
|
|
|
1189
1204
|
}
|
|
1190
1205
|
},
|
|
1191
1206
|
setup(t) {
|
|
1192
|
-
return (
|
|
1193
|
-
t.showBg && t.fullscreen ? (c(),
|
|
1194
|
-
|
|
1207
|
+
return (n, o) => (c(), u("div", null, [
|
|
1208
|
+
t.showBg && t.fullscreen ? (c(), u("div", D6, [
|
|
1209
|
+
F(g(A), {
|
|
1195
1210
|
name: "iksvg_guanbidanchuang",
|
|
1196
1211
|
title: "关闭",
|
|
1197
1212
|
size: 20,
|
|
1198
1213
|
error: ""
|
|
1199
1214
|
})
|
|
1200
|
-
])) : (c(),
|
|
1215
|
+
])) : (c(), S(g(A), {
|
|
1201
1216
|
key: 1,
|
|
1202
1217
|
error: "",
|
|
1203
1218
|
name: "iksvg_guanbidanchuang",
|
|
@@ -1207,9 +1222,9 @@ const O6 = /* @__PURE__ */ E(V6, [["__scopeId", "data-v-7d95dbf5"]]), M = D(O6),
|
|
|
1207
1222
|
]));
|
|
1208
1223
|
}
|
|
1209
1224
|
});
|
|
1210
|
-
const
|
|
1225
|
+
const $6 = /* @__PURE__ */ U(M6, [["__scopeId", "data-v-79f49df8"]]), q6 = { class: "base-header" }, H6 = /* @__PURE__ */ z({
|
|
1211
1226
|
__name: "IkBaseDialog",
|
|
1212
|
-
props: /* @__PURE__ */
|
|
1227
|
+
props: /* @__PURE__ */ G({
|
|
1213
1228
|
title: { default: "" },
|
|
1214
1229
|
cancelText: { default: "取消" },
|
|
1215
1230
|
confirmText: { default: "确认" },
|
|
@@ -1228,64 +1243,64 @@ const I6 = /* @__PURE__ */ E(R6, [["__scopeId", "data-v-79f49df8"]]), D6 = { cla
|
|
|
1228
1243
|
}),
|
|
1229
1244
|
emits: ["update:modelValue"],
|
|
1230
1245
|
setup(t) {
|
|
1231
|
-
const
|
|
1232
|
-
|
|
1233
|
-
},
|
|
1246
|
+
const n = t, o = X(t, "modelValue"), e = M(n.fullscreen), l = () => {
|
|
1247
|
+
e.value = !e.value;
|
|
1248
|
+
}, i = z({
|
|
1234
1249
|
setup() {
|
|
1235
|
-
return () =>
|
|
1236
|
-
showBg:
|
|
1237
|
-
fullscreen:
|
|
1250
|
+
return () => n3($6, {
|
|
1251
|
+
showBg: n.showCloseBg,
|
|
1252
|
+
fullscreen: n.fullscreen
|
|
1238
1253
|
});
|
|
1239
1254
|
}
|
|
1240
1255
|
});
|
|
1241
|
-
return (
|
|
1242
|
-
const
|
|
1243
|
-
return c(),
|
|
1256
|
+
return (s, f) => {
|
|
1257
|
+
const v = R("el-dialog");
|
|
1258
|
+
return c(), S(v, j({
|
|
1244
1259
|
modelValue: o.value,
|
|
1245
|
-
"onUpdate:modelValue": f[0] || (f[0] = (
|
|
1246
|
-
},
|
|
1247
|
-
"close-icon":
|
|
1248
|
-
class: `ik-base-dialog ${
|
|
1249
|
-
fullscreen:
|
|
1260
|
+
"onUpdate:modelValue": f[0] || (f[0] = (a) => o.value = a)
|
|
1261
|
+
}, s.$attrs, {
|
|
1262
|
+
"close-icon": g(i),
|
|
1263
|
+
class: `ik-base-dialog ${s.noHeader ? "no-header" : ""} ${s.noFooter ? "no-footer" : ""}`,
|
|
1264
|
+
fullscreen: e.value,
|
|
1250
1265
|
"modal-class": "baseDialog"
|
|
1251
|
-
}),
|
|
1252
|
-
icon:
|
|
1253
|
-
|
|
1254
|
-
|
|
1255
|
-
|
|
1266
|
+
}), o3({
|
|
1267
|
+
icon: y(() => [
|
|
1268
|
+
V(s.$slots, "title", {}, () => [
|
|
1269
|
+
D(
|
|
1270
|
+
O(s.title),
|
|
1256
1271
|
1
|
|
1257
1272
|
/* TEXT */
|
|
1258
1273
|
)
|
|
1259
1274
|
])
|
|
1260
1275
|
]),
|
|
1261
|
-
header:
|
|
1262
|
-
r("div",
|
|
1263
|
-
|
|
1264
|
-
|
|
1265
|
-
|
|
1276
|
+
header: y(() => [
|
|
1277
|
+
r("div", q6, [
|
|
1278
|
+
V(s.$slots, "header", {}, () => [
|
|
1279
|
+
D(
|
|
1280
|
+
O(s.title),
|
|
1266
1281
|
1
|
|
1267
1282
|
/* TEXT */
|
|
1268
1283
|
)
|
|
1269
1284
|
])
|
|
1270
1285
|
]),
|
|
1271
|
-
|
|
1286
|
+
s.$attrs.showClose ? (c(), S(g(A), {
|
|
1272
1287
|
key: 0,
|
|
1273
|
-
onClick:
|
|
1274
|
-
name:
|
|
1288
|
+
onClick: l,
|
|
1289
|
+
name: e.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1275
1290
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1276
|
-
title:
|
|
1277
|
-
}, null, 8, ["name", "title"])) :
|
|
1291
|
+
title: e.value ? "退出全屏" : "全屏"
|
|
1292
|
+
}, null, 8, ["name", "title"])) : B("v-if", !0)
|
|
1278
1293
|
]),
|
|
1279
|
-
default:
|
|
1280
|
-
|
|
1294
|
+
default: y(() => [
|
|
1295
|
+
V(s.$slots, "default")
|
|
1281
1296
|
]),
|
|
1282
1297
|
_: 2
|
|
1283
1298
|
/* DYNAMIC */
|
|
1284
1299
|
}, [
|
|
1285
|
-
|
|
1300
|
+
s.$slots.footer ? {
|
|
1286
1301
|
name: "footer",
|
|
1287
|
-
fn:
|
|
1288
|
-
|
|
1302
|
+
fn: y(() => [
|
|
1303
|
+
V(s.$slots, "footer")
|
|
1289
1304
|
]),
|
|
1290
1305
|
key: "0"
|
|
1291
1306
|
} : void 0
|
|
@@ -1293,135 +1308,135 @@ const I6 = /* @__PURE__ */ E(R6, [["__scopeId", "data-v-79f49df8"]]), D6 = { cla
|
|
|
1293
1308
|
};
|
|
1294
1309
|
}
|
|
1295
1310
|
});
|
|
1296
|
-
const
|
|
1297
|
-
function
|
|
1298
|
-
function
|
|
1299
|
-
return
|
|
1300
|
-
|
|
1311
|
+
const E6 = $(H6);
|
|
1312
|
+
function A6(t, n, o, e) {
|
|
1313
|
+
function l(i) {
|
|
1314
|
+
return i instanceof o ? i : new o(function(s) {
|
|
1315
|
+
s(i);
|
|
1301
1316
|
});
|
|
1302
1317
|
}
|
|
1303
|
-
return new (o || (o = Promise))(function(
|
|
1304
|
-
function f(
|
|
1318
|
+
return new (o || (o = Promise))(function(i, s) {
|
|
1319
|
+
function f(p) {
|
|
1305
1320
|
try {
|
|
1306
|
-
|
|
1307
|
-
} catch (
|
|
1308
|
-
|
|
1321
|
+
a(e.next(p));
|
|
1322
|
+
} catch (d) {
|
|
1323
|
+
s(d);
|
|
1309
1324
|
}
|
|
1310
1325
|
}
|
|
1311
|
-
function p
|
|
1326
|
+
function v(p) {
|
|
1312
1327
|
try {
|
|
1313
|
-
|
|
1314
|
-
} catch (
|
|
1315
|
-
|
|
1328
|
+
a(e.throw(p));
|
|
1329
|
+
} catch (d) {
|
|
1330
|
+
s(d);
|
|
1316
1331
|
}
|
|
1317
1332
|
}
|
|
1318
|
-
function
|
|
1319
|
-
|
|
1333
|
+
function a(p) {
|
|
1334
|
+
p.done ? i(p.value) : l(p.value).then(f, v);
|
|
1320
1335
|
}
|
|
1321
|
-
|
|
1336
|
+
a((e = e.apply(t, n || [])).next());
|
|
1322
1337
|
});
|
|
1323
1338
|
}
|
|
1324
|
-
function
|
|
1339
|
+
function P6(t, n) {
|
|
1325
1340
|
var o = { label: 0, sent: function() {
|
|
1326
|
-
if (
|
|
1327
|
-
throw
|
|
1328
|
-
return
|
|
1329
|
-
}, trys: [], ops: [] }, l,
|
|
1330
|
-
return
|
|
1341
|
+
if (i[0] & 1)
|
|
1342
|
+
throw i[1];
|
|
1343
|
+
return i[1];
|
|
1344
|
+
}, trys: [], ops: [] }, e, l, i, s;
|
|
1345
|
+
return s = { next: f(0), throw: f(1), return: f(2) }, typeof Symbol == "function" && (s[Symbol.iterator] = function() {
|
|
1331
1346
|
return this;
|
|
1332
|
-
}),
|
|
1333
|
-
function f(
|
|
1334
|
-
return function(
|
|
1335
|
-
return
|
|
1347
|
+
}), s;
|
|
1348
|
+
function f(a) {
|
|
1349
|
+
return function(p) {
|
|
1350
|
+
return v([a, p]);
|
|
1336
1351
|
};
|
|
1337
1352
|
}
|
|
1338
|
-
function
|
|
1339
|
-
if (
|
|
1353
|
+
function v(a) {
|
|
1354
|
+
if (e)
|
|
1340
1355
|
throw new TypeError("Generator is already executing.");
|
|
1341
|
-
for (;
|
|
1356
|
+
for (; s && (s = 0, a[0] && (o = 0)), o; )
|
|
1342
1357
|
try {
|
|
1343
|
-
if (
|
|
1344
|
-
return
|
|
1345
|
-
switch (
|
|
1358
|
+
if (e = 1, l && (i = a[0] & 2 ? l.return : a[0] ? l.throw || ((i = l.return) && i.call(l), 0) : l.next) && !(i = i.call(l, a[1])).done)
|
|
1359
|
+
return i;
|
|
1360
|
+
switch (l = 0, i && (a = [a[0] & 2, i.value]), a[0]) {
|
|
1346
1361
|
case 0:
|
|
1347
1362
|
case 1:
|
|
1348
|
-
|
|
1363
|
+
i = a;
|
|
1349
1364
|
break;
|
|
1350
1365
|
case 4:
|
|
1351
|
-
return o.label++, { value:
|
|
1366
|
+
return o.label++, { value: a[1], done: !1 };
|
|
1352
1367
|
case 5:
|
|
1353
|
-
o.label++,
|
|
1368
|
+
o.label++, l = a[1], a = [0];
|
|
1354
1369
|
continue;
|
|
1355
1370
|
case 7:
|
|
1356
|
-
|
|
1371
|
+
a = o.ops.pop(), o.trys.pop();
|
|
1357
1372
|
continue;
|
|
1358
1373
|
default:
|
|
1359
|
-
if (
|
|
1374
|
+
if (i = o.trys, !(i = i.length > 0 && i[i.length - 1]) && (a[0] === 6 || a[0] === 2)) {
|
|
1360
1375
|
o = 0;
|
|
1361
1376
|
continue;
|
|
1362
1377
|
}
|
|
1363
|
-
if (
|
|
1364
|
-
o.label =
|
|
1378
|
+
if (a[0] === 3 && (!i || a[1] > i[0] && a[1] < i[3])) {
|
|
1379
|
+
o.label = a[1];
|
|
1365
1380
|
break;
|
|
1366
1381
|
}
|
|
1367
|
-
if (
|
|
1368
|
-
o.label =
|
|
1382
|
+
if (a[0] === 6 && o.label < i[1]) {
|
|
1383
|
+
o.label = i[1], i = a;
|
|
1369
1384
|
break;
|
|
1370
1385
|
}
|
|
1371
|
-
if (
|
|
1372
|
-
o.label =
|
|
1386
|
+
if (i && o.label < i[2]) {
|
|
1387
|
+
o.label = i[2], o.ops.push(a);
|
|
1373
1388
|
break;
|
|
1374
1389
|
}
|
|
1375
|
-
|
|
1390
|
+
i[2] && o.ops.pop(), o.trys.pop();
|
|
1376
1391
|
continue;
|
|
1377
1392
|
}
|
|
1378
|
-
|
|
1379
|
-
} catch (
|
|
1380
|
-
|
|
1393
|
+
a = n.call(t, o);
|
|
1394
|
+
} catch (p) {
|
|
1395
|
+
a = [6, p], l = 0;
|
|
1381
1396
|
} finally {
|
|
1382
|
-
|
|
1397
|
+
e = i = 0;
|
|
1383
1398
|
}
|
|
1384
|
-
if (
|
|
1385
|
-
throw
|
|
1386
|
-
return { value:
|
|
1399
|
+
if (a[0] & 5)
|
|
1400
|
+
throw a[1];
|
|
1401
|
+
return { value: a[0] ? a[1] : void 0, done: !0 };
|
|
1387
1402
|
}
|
|
1388
1403
|
}
|
|
1389
|
-
var
|
|
1390
|
-
return
|
|
1391
|
-
return
|
|
1392
|
-
return [2, new Promise(function(
|
|
1404
|
+
var T6 = function(t, n) {
|
|
1405
|
+
return A6(void 0, void 0, void 0, function() {
|
|
1406
|
+
return P6(this, function(o) {
|
|
1407
|
+
return [2, new Promise(function(e, l) {
|
|
1393
1408
|
try {
|
|
1394
1409
|
if (window.DocsAPI)
|
|
1395
|
-
return
|
|
1396
|
-
var
|
|
1397
|
-
if (
|
|
1398
|
-
var
|
|
1399
|
-
var
|
|
1400
|
-
if (!
|
|
1401
|
-
if (clearInterval(
|
|
1402
|
-
return
|
|
1403
|
-
var
|
|
1404
|
-
|
|
1410
|
+
return e(null);
|
|
1411
|
+
var i = document.getElementById(n);
|
|
1412
|
+
if (i)
|
|
1413
|
+
var s = setInterval(function() {
|
|
1414
|
+
var v = i.getAttribute("loading");
|
|
1415
|
+
if (!v) {
|
|
1416
|
+
if (clearInterval(s), window.DocsAPI)
|
|
1417
|
+
return e(null);
|
|
1418
|
+
var a = N(n, t, e, l);
|
|
1419
|
+
i.remove(), document.body.appendChild(a);
|
|
1405
1420
|
}
|
|
1406
1421
|
}, 500);
|
|
1407
1422
|
else {
|
|
1408
|
-
var f =
|
|
1423
|
+
var f = N(n, t, e, l);
|
|
1409
1424
|
document.body.appendChild(f);
|
|
1410
1425
|
}
|
|
1411
|
-
} catch (
|
|
1412
|
-
console.error(
|
|
1426
|
+
} catch (v) {
|
|
1427
|
+
console.error(v);
|
|
1413
1428
|
}
|
|
1414
1429
|
})];
|
|
1415
1430
|
});
|
|
1416
1431
|
});
|
|
1417
|
-
},
|
|
1418
|
-
var
|
|
1419
|
-
return
|
|
1420
|
-
|
|
1421
|
-
},
|
|
1422
|
-
|
|
1423
|
-
},
|
|
1424
|
-
},
|
|
1432
|
+
}, N = function(t, n, o, e) {
|
|
1433
|
+
var l = document.createElement("script");
|
|
1434
|
+
return l.id = t, l.type = "text/javascript", l.src = n, l.async = !0, l.onload = function() {
|
|
1435
|
+
l.removeAttribute("loading"), o(null);
|
|
1436
|
+
}, l.onerror = function(i) {
|
|
1437
|
+
l.removeAttribute("loading"), e(i);
|
|
1438
|
+
}, l.setAttribute("loading", ""), l;
|
|
1439
|
+
}, L = z({
|
|
1425
1440
|
name: "DocumentEditor",
|
|
1426
1441
|
props: {
|
|
1427
1442
|
id: {
|
|
@@ -1473,59 +1488,59 @@ var E6 = function(t, e) {
|
|
|
1473
1488
|
events_onRequestSelectDocument: Function
|
|
1474
1489
|
},
|
|
1475
1490
|
mounted: function() {
|
|
1476
|
-
var t = this,
|
|
1477
|
-
|
|
1478
|
-
var o = "".concat(
|
|
1479
|
-
|
|
1491
|
+
var t = this, n = this.documentServerUrl;
|
|
1492
|
+
n.endsWith("/") || (n += "/");
|
|
1493
|
+
var o = "".concat(n, "web-apps/apps/api/documents/api.js");
|
|
1494
|
+
T6(o, "onlyoffice-api-script").then(function() {
|
|
1480
1495
|
return t.onLoad();
|
|
1481
1496
|
}).catch(function() {
|
|
1482
1497
|
t.onError(-2);
|
|
1483
1498
|
});
|
|
1484
1499
|
},
|
|
1485
1500
|
unmounted: function() {
|
|
1486
|
-
var t,
|
|
1487
|
-
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[
|
|
1501
|
+
var t, n = this.id || "";
|
|
1502
|
+
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0);
|
|
1488
1503
|
},
|
|
1489
1504
|
watch: {
|
|
1490
1505
|
config: {
|
|
1491
|
-
handler: function(t,
|
|
1506
|
+
handler: function(t, n) {
|
|
1492
1507
|
this.onChangeProps();
|
|
1493
1508
|
},
|
|
1494
1509
|
deep: !0
|
|
1495
1510
|
},
|
|
1496
|
-
document_fileType: function(t,
|
|
1511
|
+
document_fileType: function(t, n) {
|
|
1497
1512
|
this.onChangeProps();
|
|
1498
1513
|
},
|
|
1499
|
-
document_title: function(t,
|
|
1514
|
+
document_title: function(t, n) {
|
|
1500
1515
|
this.onChangeProps();
|
|
1501
1516
|
},
|
|
1502
|
-
documentType: function(t,
|
|
1517
|
+
documentType: function(t, n) {
|
|
1503
1518
|
this.onChangeProps();
|
|
1504
1519
|
},
|
|
1505
|
-
editorConfig_lang: function(t,
|
|
1520
|
+
editorConfig_lang: function(t, n) {
|
|
1506
1521
|
this.onChangeProps();
|
|
1507
1522
|
},
|
|
1508
|
-
height: function(t,
|
|
1523
|
+
height: function(t, n) {
|
|
1509
1524
|
this.onChangeProps();
|
|
1510
1525
|
},
|
|
1511
|
-
type: function(t,
|
|
1526
|
+
type: function(t, n) {
|
|
1512
1527
|
this.onChangeProps();
|
|
1513
1528
|
},
|
|
1514
|
-
width: function(t,
|
|
1529
|
+
width: function(t, n) {
|
|
1515
1530
|
this.onChangeProps();
|
|
1516
1531
|
}
|
|
1517
1532
|
},
|
|
1518
1533
|
methods: {
|
|
1519
1534
|
onLoad: function() {
|
|
1520
|
-
var t,
|
|
1535
|
+
var t, n;
|
|
1521
1536
|
try {
|
|
1522
1537
|
var o = this.id || "";
|
|
1523
1538
|
if (window.DocsAPI || this.onError(-3), !((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[o]) {
|
|
1524
1539
|
console.log("Skip loading. Instance already exists", o);
|
|
1525
1540
|
return;
|
|
1526
1541
|
}
|
|
1527
|
-
!((
|
|
1528
|
-
var
|
|
1542
|
+
!((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances || (window.DocEditor = { instances: {} });
|
|
1543
|
+
var e = Object.assign({
|
|
1529
1544
|
document: {
|
|
1530
1545
|
fileType: this.document_fileType,
|
|
1531
1546
|
title: this.document_title
|
|
@@ -1560,43 +1575,43 @@ var E6 = function(t, e) {
|
|
|
1560
1575
|
height: this.height,
|
|
1561
1576
|
type: this.type,
|
|
1562
1577
|
width: this.width
|
|
1563
|
-
}, this.config || {}),
|
|
1564
|
-
window.DocEditor.instances[o] =
|
|
1565
|
-
} catch (
|
|
1566
|
-
console.error(
|
|
1578
|
+
}, this.config || {}), l = window.DocsAPI.DocEditor(o, e);
|
|
1579
|
+
window.DocEditor.instances[o] = l;
|
|
1580
|
+
} catch (i) {
|
|
1581
|
+
console.error(i), this.onError(-1);
|
|
1567
1582
|
}
|
|
1568
1583
|
},
|
|
1569
1584
|
onError: function(t) {
|
|
1570
|
-
var
|
|
1585
|
+
var n;
|
|
1571
1586
|
switch (t) {
|
|
1572
1587
|
case -2:
|
|
1573
|
-
|
|
1588
|
+
n = "Error load DocsAPI from " + this.documentServerUrl;
|
|
1574
1589
|
break;
|
|
1575
1590
|
case -3:
|
|
1576
|
-
|
|
1591
|
+
n = "DocsAPI is not defined";
|
|
1577
1592
|
break;
|
|
1578
1593
|
default:
|
|
1579
|
-
|
|
1594
|
+
n = "Unknown error loading component", t = -1;
|
|
1580
1595
|
}
|
|
1581
|
-
typeof this.onLoadComponentError > "u" ? console.error(
|
|
1596
|
+
typeof this.onLoadComponentError > "u" ? console.error(n) : this.onLoadComponentError(t, n);
|
|
1582
1597
|
},
|
|
1583
1598
|
onAppReady: function() {
|
|
1584
1599
|
var t = this.id || "";
|
|
1585
1600
|
this.events_onAppReady(window.DocEditor.instances[t]);
|
|
1586
1601
|
},
|
|
1587
1602
|
onChangeProps: function() {
|
|
1588
|
-
var t,
|
|
1589
|
-
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[
|
|
1603
|
+
var t, n = this.id || "";
|
|
1604
|
+
!((t = window == null ? void 0 : window.DocEditor) === null || t === void 0) && t.instances[n] && (window.DocEditor.instances[n].destroyEditor(), window.DocEditor.instances[n] = void 0, console.log("Important props have been changed. Load new Editor."), this.onLoad());
|
|
1590
1605
|
}
|
|
1591
1606
|
}
|
|
1592
1607
|
});
|
|
1593
|
-
const
|
|
1594
|
-
function
|
|
1595
|
-
return c(),
|
|
1608
|
+
const U6 = ["id"];
|
|
1609
|
+
function j6(t, n, o, e, l, i) {
|
|
1610
|
+
return c(), u("div", { id: t.id }, null, 8, U6);
|
|
1596
1611
|
}
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
|
-
const
|
|
1612
|
+
L.render = j6;
|
|
1613
|
+
L.__file = "src/components/DocumentEditor.vue";
|
|
1614
|
+
const L6 = /* @__PURE__ */ z({
|
|
1600
1615
|
__name: "IkOnlyOffice",
|
|
1601
1616
|
props: {
|
|
1602
1617
|
// 文件服务器的服务的地址
|
|
@@ -1617,26 +1632,26 @@ const T6 = /* @__PURE__ */ w({
|
|
|
1617
1632
|
}
|
|
1618
1633
|
},
|
|
1619
1634
|
setup(t) {
|
|
1620
|
-
const
|
|
1635
|
+
const n = t, o = M({
|
|
1621
1636
|
width: "100%",
|
|
1622
1637
|
height: "100%",
|
|
1623
|
-
...
|
|
1624
|
-
...
|
|
1625
|
-
}),
|
|
1626
|
-
console.info("文档加载完成",
|
|
1638
|
+
...n.configOptions || {},
|
|
1639
|
+
...n.configOptions
|
|
1640
|
+
}), e = () => {
|
|
1641
|
+
console.info("文档加载完成", n.configOptions);
|
|
1627
1642
|
};
|
|
1628
|
-
return (
|
|
1643
|
+
return (l, i) => (c(), u(
|
|
1629
1644
|
"div",
|
|
1630
1645
|
{
|
|
1631
|
-
style:
|
|
1646
|
+
style: b({ height: n.officeHeight })
|
|
1632
1647
|
},
|
|
1633
1648
|
[
|
|
1634
|
-
|
|
1649
|
+
F(g(L), {
|
|
1635
1650
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1636
1651
|
ref: "editorRef",
|
|
1637
1652
|
"document-server-url": t.documentServerUrl,
|
|
1638
1653
|
config: o.value,
|
|
1639
|
-
events_onDocumentReady:
|
|
1654
|
+
events_onDocumentReady: e
|
|
1640
1655
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1641
1656
|
],
|
|
1642
1657
|
4
|
|
@@ -1644,7 +1659,7 @@ const T6 = /* @__PURE__ */ w({
|
|
|
1644
1659
|
));
|
|
1645
1660
|
}
|
|
1646
1661
|
});
|
|
1647
|
-
const
|
|
1662
|
+
const W6 = /* @__PURE__ */ U(L6, [["__scopeId", "data-v-98d51ef9"]]), N6 = $(W6), K6 = /* @__PURE__ */ z({
|
|
1648
1663
|
__name: "IKDescription",
|
|
1649
1664
|
props: {
|
|
1650
1665
|
showIcon: {
|
|
@@ -1703,64 +1718,64 @@ const j6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-98d51ef9"]]), L6 = D(j6)
|
|
|
1703
1718
|
}
|
|
1704
1719
|
},
|
|
1705
1720
|
setup(t) {
|
|
1706
|
-
|
|
1707
|
-
"645335a7":
|
|
1721
|
+
i3((l) => ({
|
|
1722
|
+
"645335a7": e.value
|
|
1708
1723
|
}));
|
|
1709
|
-
const
|
|
1724
|
+
const n = t, o = {
|
|
1710
1725
|
id: "id",
|
|
1711
1726
|
value: "value",
|
|
1712
1727
|
props: "props",
|
|
1713
1728
|
label: "label",
|
|
1714
1729
|
tag: "tag",
|
|
1715
1730
|
fileList: "fileList",
|
|
1716
|
-
...
|
|
1717
|
-
},
|
|
1718
|
-
return (
|
|
1719
|
-
const
|
|
1720
|
-
return c(),
|
|
1721
|
-
|
|
1722
|
-
|
|
1731
|
+
...n.fileField
|
|
1732
|
+
}, e = m(() => typeof n.labelWidth == "number" ? `${n.labelWidth}px` : n.labelWidth);
|
|
1733
|
+
return (l, i) => {
|
|
1734
|
+
const s = R("el-tag"), f = R("el-descriptions-item"), v = R("el-descriptions");
|
|
1735
|
+
return c(), S(
|
|
1736
|
+
v,
|
|
1737
|
+
j({ class: "margin-top" }, { ...t.titleProps, ...n }),
|
|
1723
1738
|
{
|
|
1724
|
-
extra:
|
|
1725
|
-
|
|
1739
|
+
extra: y(() => [
|
|
1740
|
+
V(l.$slots, "extra", {}, void 0, !0)
|
|
1726
1741
|
]),
|
|
1727
|
-
default:
|
|
1728
|
-
(c(!0),
|
|
1729
|
-
|
|
1742
|
+
default: y(() => [
|
|
1743
|
+
(c(!0), u(
|
|
1744
|
+
P,
|
|
1730
1745
|
null,
|
|
1731
|
-
|
|
1746
|
+
K(t.listData, (a) => (c(), S(
|
|
1732
1747
|
f,
|
|
1733
|
-
|
|
1734
|
-
key:
|
|
1748
|
+
j({
|
|
1749
|
+
key: a[o.id],
|
|
1735
1750
|
ref_for: !0
|
|
1736
|
-
},
|
|
1751
|
+
}, a[o.props]),
|
|
1737
1752
|
{
|
|
1738
|
-
label:
|
|
1739
|
-
|
|
1740
|
-
|
|
1741
|
-
|
|
1753
|
+
label: y(() => [
|
|
1754
|
+
V(l.$slots, a[o.label], {}, () => [
|
|
1755
|
+
D(
|
|
1756
|
+
O(a[o.label]),
|
|
1742
1757
|
1
|
|
1743
1758
|
/* TEXT */
|
|
1744
1759
|
)
|
|
1745
1760
|
], !0)
|
|
1746
1761
|
]),
|
|
1747
|
-
default:
|
|
1748
|
-
|
|
1749
|
-
|
|
1750
|
-
|
|
1762
|
+
default: y(() => [
|
|
1763
|
+
V(l.$slots, `${a[o.label]}_value`, {}, () => [
|
|
1764
|
+
D(
|
|
1765
|
+
O(a[o.value]) + " ",
|
|
1751
1766
|
1
|
|
1752
1767
|
/* TEXT */
|
|
1753
1768
|
),
|
|
1754
|
-
|
|
1755
|
-
|
|
1769
|
+
a[o.tag] ? (c(), S(
|
|
1770
|
+
s,
|
|
1756
1771
|
{
|
|
1757
1772
|
key: 0,
|
|
1758
1773
|
size: "small"
|
|
1759
1774
|
},
|
|
1760
1775
|
{
|
|
1761
|
-
default:
|
|
1762
|
-
|
|
1763
|
-
|
|
1776
|
+
default: y(() => [
|
|
1777
|
+
D(
|
|
1778
|
+
O(a[o.value].value),
|
|
1764
1779
|
1
|
|
1765
1780
|
/* TEXT */
|
|
1766
1781
|
)
|
|
@@ -1770,9 +1785,9 @@ const j6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-98d51ef9"]]), L6 = D(j6)
|
|
|
1770
1785
|
},
|
|
1771
1786
|
1024
|
|
1772
1787
|
/* DYNAMIC_SLOTS */
|
|
1773
|
-
)) :
|
|
1774
|
-
|
|
1775
|
-
list:
|
|
1788
|
+
)) : B("v-if", !0),
|
|
1789
|
+
F(g(x6), {
|
|
1790
|
+
list: a[o.fileList],
|
|
1776
1791
|
field: t.fileField,
|
|
1777
1792
|
"load-url": t.loadUrl,
|
|
1778
1793
|
"kk-url": t.kkUrl,
|
|
@@ -1803,8 +1818,8 @@ const j6 = /* @__PURE__ */ E(T6, [["__scopeId", "data-v-98d51ef9"]]), L6 = D(j6)
|
|
|
1803
1818
|
};
|
|
1804
1819
|
}
|
|
1805
1820
|
});
|
|
1806
|
-
const
|
|
1821
|
+
const G6 = /* @__PURE__ */ U(K6, [["__scopeId", "data-v-38defd72"]]), J6 = $(G6);
|
|
1807
1822
|
export {
|
|
1808
|
-
|
|
1809
|
-
|
|
1823
|
+
J6 as IkDescriptions,
|
|
1824
|
+
J6 as default
|
|
1810
1825
|
};
|