iking-web-ui-pro 0.1.87 → 0.1.88
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 +438 -413
- package/dist/IKDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IKDetailPreviewFiles/style.css +1 -1
- package/dist/IKExpandCollapse/ik.index.es.js +92 -90
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +384 -359
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKPreviewFileDialog/ik.index.es.js +291 -266
- package/dist/IKPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IKPreviewFileDialog/style.css +1 -1
- package/dist/IKSearch/ik.index.es.js +404 -390
- package/dist/IKSearch/ik.index.umd.js +1 -1
- package/dist/IKSearch/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +118 -116
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcess/ik.index.es.js +2349 -0
- package/dist/IkApprovalProcess/ik.index.umd.js +1 -0
- package/dist/IkApprovalProcess/style.css +1 -0
- package/dist/{IKApprovalProcessDetail → IkApprovalProcessDetail}/ik.index.es.js +652 -589
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -0
- package/dist/IkApprovalProcessDetail/style.css +1 -0
- package/dist/IkBaseDialog/ik.index.es.js +121 -119
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +167 -165
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/{IKCalendar → IkCalendar}/ik.index.es.js +1143 -1112
- package/dist/IkCalendar/ik.index.umd.js +1 -0
- package/dist/{IKCalendar → IkCalendar}/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +108 -106
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +352 -332
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkFullCalendar/ik.index.es.js +601 -584
- package/dist/IkFullCalendar/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/ik.index.es.js +327 -165
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +179 -177
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkOnlyOffice/ik.index.es.js +82 -59
- package/dist/IkOnlyOffice/ik.index.umd.js +1 -1
- package/dist/IkPageFull/ik.index.es.js +1137 -1119
- package/dist/IkPageFull/ik.index.umd.js +3 -3
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPickerUser/ik.index.es.js +425 -411
- package/dist/IkPickerUser/ik.index.umd.js +1 -1
- package/dist/IkPickerUser/style.css +1 -1
- package/dist/IkRadioGroup/ik.index.es.js +13 -13
- package/dist/IkRadioGroup/ik.index.umd.js +1 -1
- package/dist/IkRadioGroup/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +1001 -982
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSelectTag/ik.index.es.js +193 -152
- package/dist/IkSelectTag/ik.index.umd.js +1 -1
- package/dist/IkSelectTag/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +116 -114
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkStatu/ik.index.es.js +62 -62
- package/dist/IkStatu/ik.index.umd.js +1 -1
- package/dist/IkStatu/style.css +1 -1
- package/dist/IkStatuOver/ik.index.es.js +137 -116
- package/dist/IkStatuOver/ik.index.umd.js +1 -1
- package/dist/IkStatuOver/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +87 -80
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -0
- package/dist/IkTemplateOfficeConfig/ik.index.es.js +247 -224
- package/dist/IkTemplateOfficeConfig/ik.index.umd.js +1 -1
- package/dist/IkTinymce/ik.index.es.js +23726 -23612
- package/dist/IkTinymce/ik.index.umd.js +57 -57
- package/dist/IkTree/ik.index.es.js +86 -61
- package/dist/IkTree/ik.index.umd.js +1 -1
- package/dist/IkTree/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +604 -579
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +163 -161
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/index.es.js +32865 -32450
- package/dist/index.umd.js +68 -68
- package/dist/src/components/IKSearch/src/IKSearch.vue.d.ts +1 -1
- package/dist/src/components/IKSearch/src/IkSearchAuto.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/IkBtnSetting/src/IkBtnSetting.vue.d.ts +1 -1
- package/dist/src/components/IkDescription/index.d.ts +0 -19
- package/dist/src/components/IkDescription/src/IkDescription.vue.d.ts +0 -9
- package/dist/src/components/IkDragList/index.d.ts +9 -9
- package/dist/src/components/IkDragList/src/IkDragList.vue.d.ts +3 -3
- package/dist/src/components/IkIconPicker/src/index.vue.d.ts +0 -1
- package/dist/src/components/IkMonacoEditor/index.d.ts +1 -1
- package/dist/src/components/IkMonacoEditor/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkOnlyOffice/index.d.ts +1 -1
- package/dist/src/components/IkOnlyOffice/src/IkOnlyOffice.vue.d.ts +1 -1
- package/dist/src/components/IkPageFull/index.d.ts +3 -3
- package/dist/src/components/IkPageFull/src/IkDialog.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/IkPageHead.vue.d.ts +2 -2
- package/dist/src/components/IkPageFull/src/IkPageTable.vue.d.ts +1 -1
- package/dist/src/components/IkPageFull/src/IkSearchAuto copy.d.ts +2 -2
- package/dist/src/components/IkPageFull/src/IkSearchAuto.d.ts +2 -2
- package/dist/src/components/IkPageFull/src/index.vue.d.ts +1 -1
- package/dist/src/components/IkPageTabs/index.d.ts +3 -3
- package/dist/src/components/IkPageTabs/src/IkPageTabs.vue.d.ts +1 -1
- package/dist/src/components/IkPickerUser/index.d.ts +2 -2
- package/dist/src/components/IkPickerUser/src/default.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/list/props.d.ts +1 -1
- package/dist/src/components/IkPickerUser/src/picker.vue.d.ts +2 -2
- package/dist/src/components/IkPickerUser/src/use-picker-data.d.ts +1 -1
- package/dist/src/components/IkSelectTag/index.d.ts +86 -11
- package/dist/src/components/IkSelectTag/src/index.vue.d.ts +26 -6
- package/dist/src/components/IkSideText/IkSideText.vue.d.ts +1 -1
- package/dist/src/components/IkSideText/index.d.ts +1 -1
- package/dist/src/components/IkStatu/index.d.ts +16 -3
- package/dist/src/components/IkStatu/src/index.vue.d.ts +16 -3
- package/dist/src/components/IkStatuOver/index.d.ts +15 -2
- package/dist/src/components/IkStatuOver/src/index.vue.d.ts +15 -2
- package/dist/src/components/IkSvgIcon/index.d.ts +24 -0
- package/dist/src/components/IkSvgIcon/src/index.vue.d.ts +8 -0
- package/dist/src/components/IkTinymce/index.d.ts +4 -4
- package/dist/src/components/IkTinymce/src/index.vue.d.ts +4 -4
- package/dist/src/components/IkTree/IkTree.vue.d.ts +18 -0
- package/dist/src/components/IkTree/index.d.ts +38 -0
- package/dist/src/components/IkUploadFile/src/index.vue.d.ts +2 -2
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +1 -1
- package/dist/src/iking-ui/defaults.d.ts +1 -1
- package/dist/src/iking-ui/index.d.ts +1 -1
- package/dist/src/utils/approval.d.ts +10 -0
- package/dist/src/utils/install.d.ts +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -2
- package/dist/IKApprovalProcess/ik.index.es.js +0 -2250
- package/dist/IKApprovalProcess/ik.index.umd.js +0 -1
- package/dist/IKApprovalProcess/style.css +0 -1
- package/dist/IKApprovalProcessDetail/ik.index.umd.js +0 -1
- package/dist/IKApprovalProcessDetail/style.css +0 -1
- package/dist/IKCalendar/ik.index.umd.js +0 -1
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
import { defineComponent as k, computed as
|
|
2
|
-
import { buildUUID as
|
|
3
|
-
const
|
|
4
|
-
if (n.install = (
|
|
5
|
-
for (const
|
|
6
|
-
|
|
1
|
+
import { defineComponent as k, computed as S, openBlock as d, createElementBlock as u, createElementVNode as c, mergeModels as L, useModel as P, ref as z, reactive as W, watch as j, nextTick as K, resolveComponent as $, createBlock as I, createCommentVNode as C, createVNode as y, unref as w, withCtx as b, Fragment as M, renderList as H, normalizeClass as x, normalizeStyle as _, toDisplayString as V, withModifiers as X, renderSlot as R, createTextVNode as O, h as Y, mergeProps as Z, createSlots as J, pushScopeId as Q, popScopeId as e3 } from "vue";
|
|
2
|
+
import { buildUUID as t3, paramType as n3, ikFile as o3, ikColor as i3, ikUrl as s3 } from "iking-utils-pro";
|
|
3
|
+
const D = (n, e) => {
|
|
4
|
+
if (n.install = (i) => {
|
|
5
|
+
for (const l of [n, ...Object.values(e ?? {})])
|
|
6
|
+
i.component(l.name, l);
|
|
7
7
|
}, e)
|
|
8
|
-
for (const [
|
|
9
|
-
n[
|
|
8
|
+
for (const [i, l] of Object.entries(e))
|
|
9
|
+
n[i] = l;
|
|
10
10
|
return n;
|
|
11
|
-
},
|
|
12
|
-
const
|
|
13
|
-
for (const [
|
|
14
|
-
|
|
15
|
-
return
|
|
11
|
+
}, E = (n, e) => {
|
|
12
|
+
const i = n.__vccOpts || n;
|
|
13
|
+
for (const [l, o] of e)
|
|
14
|
+
i[l] = o;
|
|
15
|
+
return i;
|
|
16
16
|
}, l3 = (n, e = 2) => {
|
|
17
17
|
if (n === void 0)
|
|
18
18
|
return "";
|
|
19
19
|
if (n === 0)
|
|
20
20
|
return "0 B";
|
|
21
|
-
const
|
|
22
|
-
let
|
|
23
|
-
return (
|
|
24
|
-
},
|
|
25
|
-
const
|
|
26
|
-
var
|
|
27
|
-
const
|
|
21
|
+
const i = ["B", "KB", "MB", "GB", "TB"], l = Math.floor(Math.log(n) / Math.log(1024));
|
|
22
|
+
let o = n / Math.pow(1024, l);
|
|
23
|
+
return (o % 1 === 0 ? o.toFixed(e || 0) : o.toFixed(e)) + " " + i[l];
|
|
24
|
+
}, q = (n, e) => e ? e.startsWith("http") ? e : `${n || location.origin}${e}` : "";
|
|
25
|
+
const G = (n, e) => {
|
|
26
|
+
var s, a, f, g;
|
|
27
|
+
const i = (s = n == null ? void 0 : n.response) != null && s.data ? U((f = (a = n == null ? void 0 : n.response) == null ? void 0 : a.data) == null ? void 0 : f.suffix) : ((g = n.raw) == null ? void 0 : g.type) || U(n[e.suffix]), l = i == null ? void 0 : i.toLowerCase(), o = {
|
|
28
28
|
sheet: "excel",
|
|
29
29
|
excel: "excel",
|
|
30
30
|
zip: "zip",
|
|
@@ -40,11 +40,11 @@ const L = (n, e) => {
|
|
|
40
40
|
exe: "exe",
|
|
41
41
|
json: "json"
|
|
42
42
|
};
|
|
43
|
-
for (let t in
|
|
44
|
-
if (typeof
|
|
45
|
-
return
|
|
43
|
+
for (let t in o)
|
|
44
|
+
if (typeof l == "string" && (l.includes(t) || l === t))
|
|
45
|
+
return o[t];
|
|
46
46
|
return "unknown";
|
|
47
|
-
},
|
|
47
|
+
}, a3 = {
|
|
48
48
|
".doc": "word",
|
|
49
49
|
".docx": "word",
|
|
50
50
|
".docxf": "word",
|
|
@@ -129,13 +129,13 @@ const L = (n, e) => {
|
|
|
129
129
|
".vob": "video",
|
|
130
130
|
".txt": "txt",
|
|
131
131
|
".pdf": "pdf"
|
|
132
|
-
},
|
|
133
|
-
const e = n == null ? void 0 : n.toLocaleLowerCase(),
|
|
134
|
-
return
|
|
135
|
-
},
|
|
136
|
-
let e = "",
|
|
137
|
-
return
|
|
138
|
-
},
|
|
132
|
+
}, U = (n) => {
|
|
133
|
+
const e = n == null ? void 0 : n.toLocaleLowerCase(), i = e != null && e.startsWith(".") ? e : `.${e}`;
|
|
134
|
+
return i && a3[i] || "unknow";
|
|
135
|
+
}, r3 = (n) => {
|
|
136
|
+
let e = "", i = ["doc", "docx"], l = ["xls", "xlsx"], o = ["ppt", "pptx"], s = ["pdf"];
|
|
137
|
+
return i.includes(n) && (e = "word"), l.includes(n) && (e = "cell"), o.includes(n) && (e = "slide"), s.includes(n) && (e = "text-pdf"), e;
|
|
138
|
+
}, c3 = {
|
|
139
139
|
key: 0,
|
|
140
140
|
t: "1686300059786",
|
|
141
141
|
class: "icon",
|
|
@@ -145,7 +145,7 @@ const L = (n, e) => {
|
|
|
145
145
|
"p-id": "7671",
|
|
146
146
|
width: "200",
|
|
147
147
|
height: "200"
|
|
148
|
-
},
|
|
148
|
+
}, d3 = /* @__PURE__ */ c(
|
|
149
149
|
"path",
|
|
150
150
|
{
|
|
151
151
|
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",
|
|
@@ -155,7 +155,7 @@ const L = (n, e) => {
|
|
|
155
155
|
null,
|
|
156
156
|
-1
|
|
157
157
|
/* HOISTED */
|
|
158
|
-
),
|
|
158
|
+
), u3 = /* @__PURE__ */ c(
|
|
159
159
|
"path",
|
|
160
160
|
{
|
|
161
161
|
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",
|
|
@@ -165,7 +165,7 @@ const L = (n, e) => {
|
|
|
165
165
|
null,
|
|
166
166
|
-1
|
|
167
167
|
/* HOISTED */
|
|
168
|
-
),
|
|
168
|
+
), p3 = /* @__PURE__ */ c(
|
|
169
169
|
"path",
|
|
170
170
|
{
|
|
171
171
|
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",
|
|
@@ -185,12 +185,12 @@ const L = (n, e) => {
|
|
|
185
185
|
null,
|
|
186
186
|
-1
|
|
187
187
|
/* HOISTED */
|
|
188
|
-
),
|
|
189
|
-
c3,
|
|
188
|
+
), h3 = [
|
|
190
189
|
d3,
|
|
191
190
|
u3,
|
|
191
|
+
p3,
|
|
192
192
|
f3
|
|
193
|
-
],
|
|
193
|
+
], v3 = {
|
|
194
194
|
key: 1,
|
|
195
195
|
t: "1686301531714",
|
|
196
196
|
class: "icon",
|
|
@@ -200,7 +200,7 @@ const L = (n, e) => {
|
|
|
200
200
|
"p-id": "9067",
|
|
201
201
|
width: "200",
|
|
202
202
|
height: "200"
|
|
203
|
-
},
|
|
203
|
+
}, g3 = /* @__PURE__ */ c(
|
|
204
204
|
"path",
|
|
205
205
|
{
|
|
206
206
|
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",
|
|
@@ -210,7 +210,7 @@ const L = (n, e) => {
|
|
|
210
210
|
null,
|
|
211
211
|
-1
|
|
212
212
|
/* HOISTED */
|
|
213
|
-
),
|
|
213
|
+
), m3 = /* @__PURE__ */ c(
|
|
214
214
|
"path",
|
|
215
215
|
{
|
|
216
216
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -220,10 +220,10 @@ const L = (n, e) => {
|
|
|
220
220
|
null,
|
|
221
221
|
-1
|
|
222
222
|
/* HOISTED */
|
|
223
|
-
),
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
],
|
|
223
|
+
), w3 = [
|
|
224
|
+
g3,
|
|
225
|
+
m3
|
|
226
|
+
], y3 = {
|
|
227
227
|
key: 2,
|
|
228
228
|
t: "1686300141125",
|
|
229
229
|
class: "icon",
|
|
@@ -233,7 +233,7 @@ const L = (n, e) => {
|
|
|
233
233
|
"p-id": "8137",
|
|
234
234
|
width: "200",
|
|
235
235
|
height: "200"
|
|
236
|
-
},
|
|
236
|
+
}, _3 = /* @__PURE__ */ c(
|
|
237
237
|
"path",
|
|
238
238
|
{
|
|
239
239
|
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",
|
|
@@ -243,7 +243,7 @@ const L = (n, e) => {
|
|
|
243
243
|
null,
|
|
244
244
|
-1
|
|
245
245
|
/* HOISTED */
|
|
246
|
-
),
|
|
246
|
+
), k3 = /* @__PURE__ */ c(
|
|
247
247
|
"path",
|
|
248
248
|
{
|
|
249
249
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -253,10 +253,10 @@ const L = (n, e) => {
|
|
|
253
253
|
null,
|
|
254
254
|
-1
|
|
255
255
|
/* HOISTED */
|
|
256
|
-
),
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
],
|
|
256
|
+
), z3 = [
|
|
257
|
+
_3,
|
|
258
|
+
k3
|
|
259
|
+
], F3 = {
|
|
260
260
|
key: 3,
|
|
261
261
|
t: "1686300157181",
|
|
262
262
|
class: "icon",
|
|
@@ -266,7 +266,7 @@ const L = (n, e) => {
|
|
|
266
266
|
"p-id": "8292",
|
|
267
267
|
width: "200",
|
|
268
268
|
height: "200"
|
|
269
|
-
},
|
|
269
|
+
}, x3 = /* @__PURE__ */ c(
|
|
270
270
|
"path",
|
|
271
271
|
{
|
|
272
272
|
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",
|
|
@@ -276,7 +276,7 @@ const L = (n, e) => {
|
|
|
276
276
|
null,
|
|
277
277
|
-1
|
|
278
278
|
/* HOISTED */
|
|
279
|
-
),
|
|
279
|
+
), b3 = /* @__PURE__ */ c(
|
|
280
280
|
"path",
|
|
281
281
|
{
|
|
282
282
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -286,9 +286,9 @@ const L = (n, e) => {
|
|
|
286
286
|
null,
|
|
287
287
|
-1
|
|
288
288
|
/* HOISTED */
|
|
289
|
-
),
|
|
290
|
-
|
|
291
|
-
|
|
289
|
+
), S3 = [
|
|
290
|
+
x3,
|
|
291
|
+
b3
|
|
292
292
|
], C3 = {
|
|
293
293
|
key: 4,
|
|
294
294
|
t: "1686300180947",
|
|
@@ -299,7 +299,7 @@ const L = (n, e) => {
|
|
|
299
299
|
"p-id": "8447",
|
|
300
300
|
width: "200",
|
|
301
301
|
height: "200"
|
|
302
|
-
},
|
|
302
|
+
}, V3 = /* @__PURE__ */ c(
|
|
303
303
|
"path",
|
|
304
304
|
{
|
|
305
305
|
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",
|
|
@@ -309,7 +309,7 @@ const L = (n, e) => {
|
|
|
309
309
|
null,
|
|
310
310
|
-1
|
|
311
311
|
/* HOISTED */
|
|
312
|
-
),
|
|
312
|
+
), B3 = /* @__PURE__ */ c(
|
|
313
313
|
"path",
|
|
314
314
|
{
|
|
315
315
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -319,10 +319,10 @@ const L = (n, e) => {
|
|
|
319
319
|
null,
|
|
320
320
|
-1
|
|
321
321
|
/* HOISTED */
|
|
322
|
-
),
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
],
|
|
322
|
+
), I3 = [
|
|
323
|
+
V3,
|
|
324
|
+
B3
|
|
325
|
+
], R3 = {
|
|
326
326
|
key: 5,
|
|
327
327
|
t: "1686300195363",
|
|
328
328
|
class: "icon",
|
|
@@ -342,7 +342,7 @@ const L = (n, e) => {
|
|
|
342
342
|
null,
|
|
343
343
|
-1
|
|
344
344
|
/* HOISTED */
|
|
345
|
-
),
|
|
345
|
+
), D3 = /* @__PURE__ */ c(
|
|
346
346
|
"path",
|
|
347
347
|
{
|
|
348
348
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -352,10 +352,10 @@ const L = (n, e) => {
|
|
|
352
352
|
null,
|
|
353
353
|
-1
|
|
354
354
|
/* HOISTED */
|
|
355
|
-
),
|
|
355
|
+
), M3 = [
|
|
356
356
|
$3,
|
|
357
|
-
|
|
358
|
-
],
|
|
357
|
+
D3
|
|
358
|
+
], q3 = {
|
|
359
359
|
key: 6,
|
|
360
360
|
t: "1686300209288",
|
|
361
361
|
class: "icon",
|
|
@@ -365,7 +365,7 @@ const L = (n, e) => {
|
|
|
365
365
|
"p-id": "8757",
|
|
366
366
|
width: "200",
|
|
367
367
|
height: "200"
|
|
368
|
-
},
|
|
368
|
+
}, E3 = /* @__PURE__ */ c(
|
|
369
369
|
"path",
|
|
370
370
|
{
|
|
371
371
|
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",
|
|
@@ -375,7 +375,7 @@ const L = (n, e) => {
|
|
|
375
375
|
null,
|
|
376
376
|
-1
|
|
377
377
|
/* HOISTED */
|
|
378
|
-
),
|
|
378
|
+
), H3 = /* @__PURE__ */ c(
|
|
379
379
|
"path",
|
|
380
380
|
{
|
|
381
381
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -386,9 +386,9 @@ const L = (n, e) => {
|
|
|
386
386
|
-1
|
|
387
387
|
/* HOISTED */
|
|
388
388
|
), O3 = [
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
],
|
|
389
|
+
E3,
|
|
390
|
+
H3
|
|
391
|
+
], A3 = {
|
|
392
392
|
key: 7,
|
|
393
393
|
t: "1686300225262",
|
|
394
394
|
class: "icon",
|
|
@@ -408,7 +408,7 @@ const L = (n, e) => {
|
|
|
408
408
|
null,
|
|
409
409
|
-1
|
|
410
410
|
/* HOISTED */
|
|
411
|
-
),
|
|
411
|
+
), T3 = /* @__PURE__ */ c(
|
|
412
412
|
"path",
|
|
413
413
|
{
|
|
414
414
|
d: "M682.666667 0l273.066666 273.066667h-204.8c-40.96 0-68.266667-27.306667-68.266666-68.266667V0z",
|
|
@@ -418,9 +418,9 @@ const L = (n, e) => {
|
|
|
418
418
|
null,
|
|
419
419
|
-1
|
|
420
420
|
/* HOISTED */
|
|
421
|
-
),
|
|
421
|
+
), L3 = [
|
|
422
422
|
U3,
|
|
423
|
-
|
|
423
|
+
T3
|
|
424
424
|
], P3 = {
|
|
425
425
|
key: 8,
|
|
426
426
|
t: "1692251753690",
|
|
@@ -441,7 +441,7 @@ const L = (n, e) => {
|
|
|
441
441
|
null,
|
|
442
442
|
-1
|
|
443
443
|
/* HOISTED */
|
|
444
|
-
),
|
|
444
|
+
), G3 = /* @__PURE__ */ c(
|
|
445
445
|
"path",
|
|
446
446
|
{
|
|
447
447
|
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",
|
|
@@ -452,7 +452,7 @@ const L = (n, e) => {
|
|
|
452
452
|
null,
|
|
453
453
|
-1
|
|
454
454
|
/* HOISTED */
|
|
455
|
-
),
|
|
455
|
+
), N3 = /* @__PURE__ */ c(
|
|
456
456
|
"path",
|
|
457
457
|
{
|
|
458
458
|
d: "M640 0l320 320H768a128 128 0 0 1-128-128V0z",
|
|
@@ -462,11 +462,11 @@ const L = (n, e) => {
|
|
|
462
462
|
null,
|
|
463
463
|
-1
|
|
464
464
|
/* HOISTED */
|
|
465
|
-
),
|
|
465
|
+
), W3 = [
|
|
466
466
|
j3,
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
],
|
|
467
|
+
G3,
|
|
468
|
+
N3
|
|
469
|
+
], K3 = {
|
|
470
470
|
key: 9,
|
|
471
471
|
t: "1692251753690",
|
|
472
472
|
class: "icon",
|
|
@@ -476,7 +476,7 @@ const L = (n, e) => {
|
|
|
476
476
|
"p-id": "4336",
|
|
477
477
|
width: "200",
|
|
478
478
|
height: "200"
|
|
479
|
-
},
|
|
479
|
+
}, X3 = /* @__PURE__ */ c(
|
|
480
480
|
"path",
|
|
481
481
|
{
|
|
482
482
|
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",
|
|
@@ -486,7 +486,7 @@ const L = (n, e) => {
|
|
|
486
486
|
null,
|
|
487
487
|
-1
|
|
488
488
|
/* HOISTED */
|
|
489
|
-
),
|
|
489
|
+
), Y3 = /* @__PURE__ */ c(
|
|
490
490
|
"path",
|
|
491
491
|
{
|
|
492
492
|
d: "M960 326.4v16H755.2s-100.8-20.8-99.2-107.2c0 0 3.2 91.2 96 91.2h208z",
|
|
@@ -496,7 +496,7 @@ const L = (n, e) => {
|
|
|
496
496
|
null,
|
|
497
497
|
-1
|
|
498
498
|
/* HOISTED */
|
|
499
|
-
),
|
|
499
|
+
), Z3 = /* @__PURE__ */ c(
|
|
500
500
|
"path",
|
|
501
501
|
{
|
|
502
502
|
d: "M657.6 0v233.6c0 25.6 17.6 92.8 97.6 92.8H960L657.6 0z",
|
|
@@ -507,7 +507,7 @@ const L = (n, e) => {
|
|
|
507
507
|
null,
|
|
508
508
|
-1
|
|
509
509
|
/* HOISTED */
|
|
510
|
-
),
|
|
510
|
+
), J3 = /* @__PURE__ */ c(
|
|
511
511
|
"path",
|
|
512
512
|
{
|
|
513
513
|
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",
|
|
@@ -517,12 +517,12 @@ const L = (n, e) => {
|
|
|
517
517
|
null,
|
|
518
518
|
-1
|
|
519
519
|
/* HOISTED */
|
|
520
|
-
),
|
|
521
|
-
K3,
|
|
520
|
+
), Q3 = [
|
|
522
521
|
X3,
|
|
523
522
|
Y3,
|
|
524
|
-
Z3
|
|
525
|
-
|
|
523
|
+
Z3,
|
|
524
|
+
J3
|
|
525
|
+
], e6 = {
|
|
526
526
|
key: 10,
|
|
527
527
|
t: "1714099890925",
|
|
528
528
|
class: "icon",
|
|
@@ -532,7 +532,7 @@ const L = (n, e) => {
|
|
|
532
532
|
"p-id": "2271",
|
|
533
533
|
width: "200",
|
|
534
534
|
height: "200"
|
|
535
|
-
},
|
|
535
|
+
}, t6 = /* @__PURE__ */ c(
|
|
536
536
|
"path",
|
|
537
537
|
{
|
|
538
538
|
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",
|
|
@@ -542,7 +542,7 @@ const L = (n, e) => {
|
|
|
542
542
|
null,
|
|
543
543
|
-1
|
|
544
544
|
/* HOISTED */
|
|
545
|
-
),
|
|
545
|
+
), n6 = /* @__PURE__ */ c(
|
|
546
546
|
"path",
|
|
547
547
|
{
|
|
548
548
|
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",
|
|
@@ -553,7 +553,7 @@ const L = (n, e) => {
|
|
|
553
553
|
null,
|
|
554
554
|
-1
|
|
555
555
|
/* HOISTED */
|
|
556
|
-
),
|
|
556
|
+
), o6 = /* @__PURE__ */ c(
|
|
557
557
|
"path",
|
|
558
558
|
{
|
|
559
559
|
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",
|
|
@@ -563,11 +563,11 @@ const L = (n, e) => {
|
|
|
563
563
|
null,
|
|
564
564
|
-1
|
|
565
565
|
/* HOISTED */
|
|
566
|
-
),
|
|
567
|
-
e6,
|
|
566
|
+
), i6 = [
|
|
568
567
|
t6,
|
|
569
|
-
n6
|
|
570
|
-
|
|
568
|
+
n6,
|
|
569
|
+
o6
|
|
570
|
+
], s6 = {
|
|
571
571
|
key: 11,
|
|
572
572
|
t: "1686300037564",
|
|
573
573
|
class: "icon",
|
|
@@ -587,7 +587,7 @@ const L = (n, e) => {
|
|
|
587
587
|
null,
|
|
588
588
|
-1
|
|
589
589
|
/* HOISTED */
|
|
590
|
-
),
|
|
590
|
+
), a6 = /* @__PURE__ */ c(
|
|
591
591
|
"path",
|
|
592
592
|
{
|
|
593
593
|
d: "M672 0l256 256h-192c-35.3472 0-64-28.6528-64-64V0z",
|
|
@@ -597,7 +597,7 @@ const L = (n, e) => {
|
|
|
597
597
|
null,
|
|
598
598
|
-1
|
|
599
599
|
/* HOISTED */
|
|
600
|
-
),
|
|
600
|
+
), r6 = /* @__PURE__ */ c(
|
|
601
601
|
"path",
|
|
602
602
|
{
|
|
603
603
|
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",
|
|
@@ -607,11 +607,11 @@ const L = (n, e) => {
|
|
|
607
607
|
null,
|
|
608
608
|
-1
|
|
609
609
|
/* HOISTED */
|
|
610
|
-
),
|
|
610
|
+
), c6 = [
|
|
611
611
|
l6,
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
],
|
|
612
|
+
a6,
|
|
613
|
+
r6
|
|
614
|
+
], d6 = /* @__PURE__ */ k({
|
|
615
615
|
__name: "FileIcon",
|
|
616
616
|
props: {
|
|
617
617
|
type: {
|
|
@@ -632,12 +632,12 @@ const L = (n, e) => {
|
|
|
632
632
|
}
|
|
633
633
|
},
|
|
634
634
|
setup(n) {
|
|
635
|
-
const e = n,
|
|
636
|
-
return (
|
|
635
|
+
const e = n, i = S(() => e.file ? G(e.file, e.fields) : e.type);
|
|
636
|
+
return (l, o) => i.value === "image" ? (d(), u("svg", c3, h3)) : i.value === "zip" ? (d(), u("svg", v3, w3)) : i.value === "ppt" ? (d(), u("svg", y3, z3)) : i.value === "word" ? (d(), u("svg", F3, S3)) : i.value === "pdf" ? (d(), u("svg", C3, I3)) : i.value === "txt" ? (d(), u("svg", R3, M3)) : i.value === "audio" ? (d(), u("svg", q3, O3)) : i.value === "video" ? (d(), u("svg", A3, L3)) : i.value === "excel" ? (d(), u("svg", P3, W3)) : i.value === "exe" ? (d(), u("svg", K3, Q3)) : i.value === "json" ? (d(), u("svg", e6, i6)) : (d(), u("svg", s6, c6));
|
|
637
637
|
}
|
|
638
|
-
}),
|
|
638
|
+
}), u6 = /* @__PURE__ */ k({
|
|
639
639
|
__name: "IkPreviewFileDialog",
|
|
640
|
-
props: /* @__PURE__ */
|
|
640
|
+
props: /* @__PURE__ */ L({
|
|
641
641
|
file: {
|
|
642
642
|
type: Object,
|
|
643
643
|
default: () => []
|
|
@@ -672,33 +672,33 @@ const L = (n, e) => {
|
|
|
672
672
|
}),
|
|
673
673
|
emits: ["update:show"],
|
|
674
674
|
setup(n) {
|
|
675
|
-
const e = n,
|
|
675
|
+
const e = n, i = P(n, "show"), l = S(() => ({
|
|
676
676
|
name: "name",
|
|
677
677
|
url: "url",
|
|
678
678
|
suffix: "suffix",
|
|
679
679
|
size: "fileSize",
|
|
680
680
|
...e.field
|
|
681
|
-
})),
|
|
681
|
+
})), o = z(null), s = z(null), a = W({
|
|
682
682
|
image: !1,
|
|
683
683
|
office: !1,
|
|
684
684
|
video: !1
|
|
685
|
-
}),
|
|
686
|
-
var
|
|
687
|
-
const r = ((
|
|
688
|
-
if (
|
|
685
|
+
}), f = (t) => {
|
|
686
|
+
var p, F;
|
|
687
|
+
const r = ((p = t == null ? void 0 : t.response) == null ? void 0 : p.data) || t, v = r[l.value.url] || (r == null ? void 0 : r.id) || r.attachmentId, h = (F = r[l.value.suffix] || r.attachmentSuffix) == null ? void 0 : F.toLowerCase(), m = r[l.value.name] || (r == null ? void 0 : r.attachmentName);
|
|
688
|
+
if (s.value = {
|
|
689
689
|
...t,
|
|
690
|
-
name: t[
|
|
691
|
-
url:
|
|
692
|
-
}, t &&
|
|
690
|
+
name: t[l.value.name],
|
|
691
|
+
url: q(e.loadUrl, v)
|
|
692
|
+
}, t && G(t, l.value) === "image") {
|
|
693
693
|
a.image = !0;
|
|
694
694
|
return;
|
|
695
695
|
} else if (e.onlyOfficeAccept.includes(h)) {
|
|
696
|
-
a.office = !0,
|
|
697
|
-
documentType:
|
|
696
|
+
a.office = !0, o.value = {
|
|
697
|
+
documentType: r3(h),
|
|
698
698
|
document: {
|
|
699
|
-
key:
|
|
700
|
-
title:
|
|
701
|
-
url:
|
|
699
|
+
key: t3(),
|
|
700
|
+
title: m,
|
|
701
|
+
url: q(e.loadUrl, v),
|
|
702
702
|
fileType: h
|
|
703
703
|
},
|
|
704
704
|
editorConfig: {
|
|
@@ -713,30 +713,30 @@ const L = (n, e) => {
|
|
|
713
713
|
return;
|
|
714
714
|
}
|
|
715
715
|
};
|
|
716
|
-
j([
|
|
717
|
-
t &&
|
|
718
|
-
|
|
716
|
+
j([i, e.file], ([t, r]) => {
|
|
717
|
+
t && K(() => {
|
|
718
|
+
f(e.file);
|
|
719
719
|
});
|
|
720
720
|
});
|
|
721
|
-
const
|
|
722
|
-
|
|
721
|
+
const g = () => {
|
|
722
|
+
i.value = !1, a.office = !1, a.image = !1, a.video = !1;
|
|
723
723
|
};
|
|
724
724
|
return (t, r) => {
|
|
725
|
-
var h,
|
|
726
|
-
const v =
|
|
725
|
+
var h, m;
|
|
726
|
+
const v = $("el-image-viewer");
|
|
727
727
|
return d(), u("template", null, [
|
|
728
|
-
(h =
|
|
728
|
+
(h = s.value) != null && h.url && a.image ? (d(), I(v, {
|
|
729
729
|
key: 0,
|
|
730
|
-
onClose: r[0] || (r[0] = (
|
|
731
|
-
|
|
730
|
+
onClose: r[0] || (r[0] = (p) => {
|
|
731
|
+
s.value = null, a.image = !1;
|
|
732
732
|
}),
|
|
733
733
|
ref: "previewImgRef",
|
|
734
|
-
"url-list": [(
|
|
735
|
-
}, null, 8, ["url-list"])) :
|
|
736
|
-
|
|
737
|
-
y(w(
|
|
734
|
+
"url-list": [(m = s.value) == null ? void 0 : m.url]
|
|
735
|
+
}, null, 8, ["url-list"])) : C("v-if", !0),
|
|
736
|
+
C(" 文档类 "),
|
|
737
|
+
y(w($6), {
|
|
738
738
|
modelValue: a.office,
|
|
739
|
-
"onUpdate:modelValue": r[1] || (r[1] = (
|
|
739
|
+
"onUpdate:modelValue": r[1] || (r[1] = (p) => a.office = p),
|
|
740
740
|
draggable: "",
|
|
741
741
|
"no-footer": "",
|
|
742
742
|
"no-header": "",
|
|
@@ -746,12 +746,12 @@ const L = (n, e) => {
|
|
|
746
746
|
"close-on-click-modal": "",
|
|
747
747
|
"close-on-press-escape": !1,
|
|
748
748
|
"append-to-body": "",
|
|
749
|
-
onClose:
|
|
749
|
+
onClose: g,
|
|
750
750
|
"modal-class": "ik-only-preview-dialog"
|
|
751
751
|
}, {
|
|
752
752
|
default: b(() => [
|
|
753
|
-
y(w(
|
|
754
|
-
configOptions:
|
|
753
|
+
y(w(U6), {
|
|
754
|
+
configOptions: o.value,
|
|
755
755
|
documentServerUrl: n.onlyofficeServer,
|
|
756
756
|
mode: "view"
|
|
757
757
|
}, null, 8, ["configOptions", "documentServerUrl"])
|
|
@@ -763,7 +763,7 @@ const L = (n, e) => {
|
|
|
763
763
|
};
|
|
764
764
|
}
|
|
765
765
|
});
|
|
766
|
-
const
|
|
766
|
+
const p6 = ["onClick"], f6 = { class: "text" }, h6 = { class: "fileName" }, v6 = { class: "size" }, g6 = /* @__PURE__ */ k({
|
|
767
767
|
__name: "IkPreviewFile",
|
|
768
768
|
props: {
|
|
769
769
|
list: {
|
|
@@ -833,79 +833,79 @@ const u6 = ["onClick"], f6 = { class: "text" }, p6 = { class: "fileName" }, h6 =
|
|
|
833
833
|
}
|
|
834
834
|
},
|
|
835
835
|
setup(n) {
|
|
836
|
-
const e = n,
|
|
836
|
+
const e = n, i = S(() => ({
|
|
837
837
|
name: "name",
|
|
838
838
|
url: "url",
|
|
839
839
|
suffix: "suffix",
|
|
840
840
|
size: "size",
|
|
841
841
|
...e.field
|
|
842
|
-
})),
|
|
842
|
+
})), l = z(null), o = z(!1), s = (t) => {
|
|
843
843
|
var r, v;
|
|
844
|
-
|
|
844
|
+
l.value = {
|
|
845
845
|
...t,
|
|
846
846
|
name: t.name,
|
|
847
|
-
url:
|
|
847
|
+
url: q(
|
|
848
848
|
e.loadUrl,
|
|
849
849
|
t.url || ((v = (r = t == null ? void 0 : t.response) == null ? void 0 : r.data) == null ? void 0 : v.id) || (t == null ? void 0 : t.id)
|
|
850
850
|
)
|
|
851
|
-
},
|
|
851
|
+
}, o.value = !0;
|
|
852
852
|
}, a = (t) => {
|
|
853
|
-
|
|
854
|
-
|
|
853
|
+
o3.downloadFile(
|
|
854
|
+
q(
|
|
855
855
|
e.loadUrl,
|
|
856
|
-
t[
|
|
856
|
+
t[i.value.url] || t.attachmentId || t.id
|
|
857
857
|
),
|
|
858
|
-
t[
|
|
858
|
+
t[i.value.name] || t.attachmentName
|
|
859
859
|
);
|
|
860
|
-
},
|
|
860
|
+
}, f = S(() => n3.isNumber(e.width) ? `${e.width}px` : e.width), g = S(() => e.list.map((t) => ({
|
|
861
861
|
...t,
|
|
862
|
-
name: t[
|
|
863
|
-
size: t[
|
|
864
|
-
suffix: t[
|
|
862
|
+
name: t[i.value.name] || t.attachmentName,
|
|
863
|
+
size: t[i.value.size] || t.fileSize || t.attachmentSize,
|
|
864
|
+
suffix: t[i.value.suffix] || t.attachmentSuffix
|
|
865
865
|
})));
|
|
866
866
|
return (t, r) => {
|
|
867
867
|
var v;
|
|
868
868
|
return d(), u(
|
|
869
|
-
|
|
869
|
+
M,
|
|
870
870
|
null,
|
|
871
871
|
[
|
|
872
872
|
(v = n.list) != null && v.length ? (d(!0), u(
|
|
873
|
-
|
|
873
|
+
M,
|
|
874
874
|
{ key: 0 },
|
|
875
|
-
|
|
876
|
-
var
|
|
875
|
+
H(g.value, (h, m) => {
|
|
876
|
+
var p;
|
|
877
877
|
return d(), u(
|
|
878
878
|
"div",
|
|
879
879
|
{
|
|
880
880
|
class: x(["iking-privew-annex", { "is-bg": n.showBg }]),
|
|
881
|
-
key:
|
|
881
|
+
key: m,
|
|
882
882
|
style: _({
|
|
883
|
-
marginBottom:
|
|
884
|
-
width:
|
|
883
|
+
marginBottom: m == ((p = n.list) == null ? void 0 : p.length) - 1 ? "0" : "10px",
|
|
884
|
+
width: f.value
|
|
885
885
|
})
|
|
886
886
|
},
|
|
887
887
|
[
|
|
888
888
|
c("div", {
|
|
889
889
|
class: "file-card",
|
|
890
|
-
onClick: (F) =>
|
|
890
|
+
onClick: (F) => s(h)
|
|
891
891
|
}, [
|
|
892
|
-
y(
|
|
892
|
+
y(d6, {
|
|
893
893
|
file: h,
|
|
894
894
|
style: _({ height: `${n.iconSize}px` }),
|
|
895
895
|
class: "ikui-w-auto",
|
|
896
|
-
fields:
|
|
896
|
+
fields: i.value
|
|
897
897
|
}, null, 8, ["file", "style", "fields"]),
|
|
898
898
|
c("div", f6, [
|
|
899
899
|
c(
|
|
900
900
|
"div",
|
|
901
|
-
|
|
901
|
+
h6,
|
|
902
902
|
V(h.name),
|
|
903
903
|
1
|
|
904
904
|
/* TEXT */
|
|
905
905
|
),
|
|
906
906
|
c(
|
|
907
907
|
"div",
|
|
908
|
-
|
|
908
|
+
v6,
|
|
909
909
|
V(w(l3)(h.size)),
|
|
910
910
|
1
|
|
911
911
|
/* TEXT */
|
|
@@ -919,7 +919,7 @@ const u6 = ["onClick"], f6 = { class: "text" }, p6 = { class: "fileName" }, h6 =
|
|
|
919
919
|
[
|
|
920
920
|
y(w(B), {
|
|
921
921
|
name: "iksvg_daochu",
|
|
922
|
-
onClick:
|
|
922
|
+
onClick: X((F) => a(h), ["stop"]),
|
|
923
923
|
bg: n.showBg,
|
|
924
924
|
size: n.showBg ? "default" : 20
|
|
925
925
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
@@ -928,14 +928,14 @@ const u6 = ["onClick"], f6 = { class: "text" }, p6 = { class: "fileName" }, h6 =
|
|
|
928
928
|
bg: n.showBg,
|
|
929
929
|
size: n.showBg ? "default" : 20
|
|
930
930
|
}, null, 8, ["bg", "size"]),
|
|
931
|
-
|
|
932
|
-
data: { ...h, findex:
|
|
931
|
+
R(t.$slots, "operation", {
|
|
932
|
+
data: { ...h, findex: m }
|
|
933
933
|
})
|
|
934
934
|
],
|
|
935
935
|
2
|
|
936
936
|
/* CLASS */
|
|
937
937
|
)
|
|
938
|
-
], 8,
|
|
938
|
+
], 8, p6)
|
|
939
939
|
],
|
|
940
940
|
6
|
|
941
941
|
/* CLASS, STYLE */
|
|
@@ -943,12 +943,12 @@ const u6 = ["onClick"], f6 = { class: "text" }, p6 = { class: "fileName" }, h6 =
|
|
|
943
943
|
}),
|
|
944
944
|
128
|
|
945
945
|
/* KEYED_FRAGMENT */
|
|
946
|
-
)) :
|
|
947
|
-
y(
|
|
948
|
-
show:
|
|
949
|
-
"onUpdate:show": r[0] || (r[0] = (h) =>
|
|
946
|
+
)) : C("v-if", !0),
|
|
947
|
+
y(u6, {
|
|
948
|
+
show: o.value,
|
|
949
|
+
"onUpdate:show": r[0] || (r[0] = (h) => o.value = h),
|
|
950
950
|
loadUrl: n.loadUrl,
|
|
951
|
-
file:
|
|
951
|
+
file: l.value,
|
|
952
952
|
onlyofficeServer: n.onlyofficeServer,
|
|
953
953
|
onlyOfficeConfig: n.onlyOfficeConfig
|
|
954
954
|
}, null, 8, ["show", "loadUrl", "file", "onlyofficeServer", "onlyOfficeConfig"])
|
|
@@ -959,18 +959,18 @@ const u6 = ["onClick"], f6 = { class: "text" }, p6 = { class: "fileName" }, h6 =
|
|
|
959
959
|
};
|
|
960
960
|
}
|
|
961
961
|
});
|
|
962
|
-
const
|
|
962
|
+
const m6 = D(g6), w6 = {
|
|
963
963
|
key: 0,
|
|
964
|
-
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center line-height-[0]"
|
|
965
|
-
},
|
|
964
|
+
class: "ik-svg-icon ik-icon inline-block inline-flex justify-center box-content line-height-[0]"
|
|
965
|
+
}, y6 = {
|
|
966
966
|
key: 1,
|
|
967
967
|
class: "h-[1em] w-[1em]",
|
|
968
968
|
"aria-hidden": "true"
|
|
969
|
-
},
|
|
969
|
+
}, _6 = ["xlink:href"], k6 = ["src"], z6 = {
|
|
970
970
|
key: 1,
|
|
971
971
|
class: "h-[1em] w-[1em]",
|
|
972
972
|
"aria-hidden": "true"
|
|
973
|
-
},
|
|
973
|
+
}, F6 = ["xlink:href"], x6 = ["src"], b6 = /* @__PURE__ */ k({
|
|
974
974
|
name: "IkSvgIcon",
|
|
975
975
|
__name: "index",
|
|
976
976
|
props: {
|
|
@@ -978,13 +978,17 @@ const g6 = R(v6), m6 = {
|
|
|
978
978
|
flip: {},
|
|
979
979
|
rotate: {},
|
|
980
980
|
color: {},
|
|
981
|
+
colorLight: {},
|
|
981
982
|
opacity: { default: 0.5 },
|
|
982
983
|
size: { default: "" },
|
|
984
|
+
width: {},
|
|
983
985
|
bg: { type: Boolean, default: !1 },
|
|
984
986
|
showBg: { type: Boolean, default: !1 },
|
|
985
|
-
padding: { default: "
|
|
987
|
+
padding: { default: "6px" },
|
|
986
988
|
primary: { type: Boolean },
|
|
987
989
|
warning: { type: Boolean },
|
|
990
|
+
success: { type: Boolean },
|
|
991
|
+
error: { type: Boolean },
|
|
988
992
|
notip: { type: Boolean, default: !1 },
|
|
989
993
|
title: {},
|
|
990
994
|
type: {},
|
|
@@ -993,89 +997,84 @@ const g6 = R(v6), m6 = {
|
|
|
993
997
|
tableIconType: { default: "icon" }
|
|
994
998
|
},
|
|
995
999
|
setup(n) {
|
|
996
|
-
const e = n,
|
|
997
|
-
var
|
|
998
|
-
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (
|
|
999
|
-
}),
|
|
1000
|
-
const
|
|
1000
|
+
const e = n, i = S(() => {
|
|
1001
|
+
var o, s, a;
|
|
1002
|
+
return /^http?:\/\//.test(e.name) ? "img" : /i-[^:]+:[^:]+/.test(e.name) ? "unocss" : (o = e.name) != null && o.startsWith("iksig") ? "iksig" : (s = e.name) != null && s.includes(":") ? "iconify" : (a = e.name) != null && a.startsWith("iksvg") ? "svg" : "i";
|
|
1003
|
+
}), l = S(() => {
|
|
1004
|
+
const o = [];
|
|
1001
1005
|
if (e.flip)
|
|
1002
1006
|
switch (e.flip) {
|
|
1003
1007
|
case "horizontal":
|
|
1004
|
-
|
|
1008
|
+
o.push("rotateY(180deg)");
|
|
1005
1009
|
break;
|
|
1006
1010
|
case "vertical":
|
|
1007
|
-
|
|
1011
|
+
o.push("rotateX(180deg)");
|
|
1008
1012
|
break;
|
|
1009
1013
|
case "both":
|
|
1010
|
-
|
|
1014
|
+
o.push("rotateX(180deg)"), o.push("rotateY(180deg)");
|
|
1011
1015
|
break;
|
|
1012
1016
|
}
|
|
1013
|
-
|
|
1017
|
+
e.rotate && o.push(`rotate(${e.rotate % 360}deg)`);
|
|
1018
|
+
const s = {
|
|
1014
1019
|
...e.color && { color: e.color },
|
|
1015
1020
|
...e.size && { fontSize: typeof e.size == "number" ? `${e.size}px` : e.size },
|
|
1016
|
-
...
|
|
1017
|
-
padding: e.padding,
|
|
1018
|
-
...e.color &&
|
|
1021
|
+
...o.length && { transform: o.join(" ") },
|
|
1022
|
+
padding: e.showBg || e.bg ? e.padding : 0,
|
|
1023
|
+
...e.color && i.value !== "iksig" ? {
|
|
1019
1024
|
"--ik-color-icon-dark": e.color,
|
|
1020
|
-
"--ik-color-icon-light":
|
|
1021
|
-
} : {},
|
|
1022
|
-
...e.type === "primary" || e.primary ? {
|
|
1023
|
-
"--ik-color-icon-dark": "var(--ik-theme-color)",
|
|
1024
|
-
"--ik-color-icon-light": "var(--ik-color-icon-light-hover)",
|
|
1025
|
-
"--ik-color-bg-icon": "var(--ik-color-bg-button-secondary)"
|
|
1026
|
-
} : e.type === "warning" ? {
|
|
1027
|
-
"--ik-color-icon-dark": "var(--ik-color-error)",
|
|
1028
|
-
"--ik-color-icon-light": "var(--ik-color-icon-error-light)",
|
|
1029
|
-
"--ik-color-bg-icon": "var(--ik-color-icon-error-bg)"
|
|
1025
|
+
"--ik-color-icon-light": e.colorLight || i3.setOpacity(e.color, e.opacity)
|
|
1030
1026
|
} : {}
|
|
1031
1027
|
};
|
|
1028
|
+
return e.width && (s.width = s.height = typeof e.width == "number" ? `${e.width}px` : e.width), s;
|
|
1032
1029
|
});
|
|
1033
|
-
return (
|
|
1034
|
-
const a =
|
|
1035
|
-
return
|
|
1036
|
-
|
|
1030
|
+
return (o, s) => {
|
|
1031
|
+
const a = $("el-tooltip"), f = $("el-button");
|
|
1032
|
+
return o.tableIconType === "icon" ? (d(), u("span", w6, [
|
|
1033
|
+
o.notip || !o.title ? (d(), u(
|
|
1037
1034
|
"i",
|
|
1038
1035
|
{
|
|
1039
1036
|
key: 0,
|
|
1040
1037
|
class: x(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1041
|
-
[
|
|
1042
|
-
"show-bg":
|
|
1043
|
-
default:
|
|
1044
|
-
small:
|
|
1045
|
-
big:
|
|
1046
|
-
warning:
|
|
1047
|
-
primary:
|
|
1048
|
-
|
|
1049
|
-
|
|
1038
|
+
[o.name]: i.value === "unocss",
|
|
1039
|
+
"show-bg": o.showBg || o.bg,
|
|
1040
|
+
default: o.size === "default",
|
|
1041
|
+
small: o.size === "small",
|
|
1042
|
+
big: o.size === "big",
|
|
1043
|
+
warning: o.warning || e.type === "warning",
|
|
1044
|
+
primary: o.primary || e.type === "primary",
|
|
1045
|
+
success: o.success || e.type === "success",
|
|
1046
|
+
error: o.error || e.type === "error",
|
|
1047
|
+
active: o.active,
|
|
1048
|
+
disabled: o.disabled
|
|
1050
1049
|
}]),
|
|
1051
|
-
style: _(
|
|
1050
|
+
style: _(l.value)
|
|
1052
1051
|
},
|
|
1053
1052
|
[
|
|
1054
|
-
|
|
1055
|
-
|
|
1053
|
+
C(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1054
|
+
i.value === "iksig" ? (d(), u(
|
|
1056
1055
|
"i",
|
|
1057
1056
|
{
|
|
1058
1057
|
key: 0,
|
|
1059
|
-
class: x(`iksig ${
|
|
1060
|
-
style: _(
|
|
1058
|
+
class: x(`iksig ${o.name}`),
|
|
1059
|
+
style: _(l.value)
|
|
1061
1060
|
},
|
|
1062
1061
|
null,
|
|
1063
1062
|
6
|
|
1064
1063
|
/* CLASS, STYLE */
|
|
1065
|
-
)) :
|
|
1064
|
+
)) : i.value === "svg" ? (d(), u("svg", y6, [
|
|
1066
1065
|
c("use", {
|
|
1067
|
-
"xlink:href": `#${
|
|
1068
|
-
}, null, 8,
|
|
1069
|
-
])) :
|
|
1066
|
+
"xlink:href": `#${o.name}`
|
|
1067
|
+
}, null, 8, _6)
|
|
1068
|
+
])) : i.value === "img" ? (d(), u("img", {
|
|
1070
1069
|
key: 2,
|
|
1071
|
-
src:
|
|
1070
|
+
src: o.name,
|
|
1072
1071
|
class: "h-[1em] w-[1em]"
|
|
1073
|
-
}, null, 8,
|
|
1072
|
+
}, null, 8, k6)) : (d(), u(
|
|
1074
1073
|
"i",
|
|
1075
1074
|
{
|
|
1076
1075
|
key: 3,
|
|
1077
|
-
class: x(
|
|
1078
|
-
style: _(
|
|
1076
|
+
class: x(o.name),
|
|
1077
|
+
style: _(l.value)
|
|
1079
1078
|
},
|
|
1080
1079
|
null,
|
|
1081
1080
|
6
|
|
@@ -1086,7 +1085,7 @@ const g6 = R(v6), m6 = {
|
|
|
1086
1085
|
/* CLASS, STYLE */
|
|
1087
1086
|
)) : (d(), I(a, {
|
|
1088
1087
|
key: 1,
|
|
1089
|
-
content:
|
|
1088
|
+
content: o.title,
|
|
1090
1089
|
placement: "top"
|
|
1091
1090
|
}, {
|
|
1092
1091
|
default: b(() => [
|
|
@@ -1094,42 +1093,44 @@ const g6 = R(v6), m6 = {
|
|
|
1094
1093
|
"i",
|
|
1095
1094
|
{
|
|
1096
1095
|
class: x(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1097
|
-
[
|
|
1098
|
-
"show-bg":
|
|
1099
|
-
default:
|
|
1100
|
-
|
|
1101
|
-
|
|
1102
|
-
|
|
1103
|
-
|
|
1104
|
-
|
|
1096
|
+
[o.name]: i.value === "unocss",
|
|
1097
|
+
"show-bg": o.showBg || o.bg,
|
|
1098
|
+
default: o.size === "default",
|
|
1099
|
+
small: o.size === "small",
|
|
1100
|
+
big: o.size === "big",
|
|
1101
|
+
warning: o.warning || e.type === "warning",
|
|
1102
|
+
primary: o.primary || e.type === "primary",
|
|
1103
|
+
success: o.success || e.type === "success",
|
|
1104
|
+
error: o.error || e.type === "error",
|
|
1105
|
+
active: o.active
|
|
1105
1106
|
}]),
|
|
1106
|
-
style: _(
|
|
1107
|
+
style: _(l.value)
|
|
1107
1108
|
},
|
|
1108
1109
|
[
|
|
1109
|
-
|
|
1110
|
+
i.value === "iksig" ? (d(), u(
|
|
1110
1111
|
"i",
|
|
1111
1112
|
{
|
|
1112
1113
|
key: 0,
|
|
1113
|
-
class: x(`iksig ${
|
|
1114
|
-
style: _(
|
|
1114
|
+
class: x(`iksig ${o.name}`),
|
|
1115
|
+
style: _(l.value)
|
|
1115
1116
|
},
|
|
1116
1117
|
null,
|
|
1117
1118
|
6
|
|
1118
1119
|
/* CLASS, STYLE */
|
|
1119
|
-
)) :
|
|
1120
|
+
)) : i.value === "svg" ? (d(), u("svg", z6, [
|
|
1120
1121
|
c("use", {
|
|
1121
|
-
"xlink:href": `#${
|
|
1122
|
-
}, null, 8,
|
|
1123
|
-
])) :
|
|
1122
|
+
"xlink:href": `#${o.name}`
|
|
1123
|
+
}, null, 8, F6)
|
|
1124
|
+
])) : i.value === "img" ? (d(), u("img", {
|
|
1124
1125
|
key: 2,
|
|
1125
|
-
src:
|
|
1126
|
+
src: o.name,
|
|
1126
1127
|
class: "h-[1em] w-[1em]"
|
|
1127
|
-
}, null, 8,
|
|
1128
|
+
}, null, 8, x6)) : (d(), u(
|
|
1128
1129
|
"i",
|
|
1129
1130
|
{
|
|
1130
1131
|
key: 3,
|
|
1131
|
-
class: x(
|
|
1132
|
-
style: _(
|
|
1132
|
+
class: x(o.name),
|
|
1133
|
+
style: _(l.value)
|
|
1133
1134
|
},
|
|
1134
1135
|
null,
|
|
1135
1136
|
6
|
|
@@ -1143,13 +1144,13 @@ const g6 = R(v6), m6 = {
|
|
|
1143
1144
|
_: 1
|
|
1144
1145
|
/* STABLE */
|
|
1145
1146
|
}, 8, ["content"]))
|
|
1146
|
-
])) : (d(), I(
|
|
1147
|
+
])) : (d(), I(f, {
|
|
1147
1148
|
key: 1,
|
|
1148
|
-
type: ["warning", "error"].includes(
|
|
1149
|
+
type: ["warning", "error"].includes(o.type) ? "danger" : ""
|
|
1149
1150
|
}, {
|
|
1150
1151
|
default: b(() => [
|
|
1151
1152
|
O(
|
|
1152
|
-
V(
|
|
1153
|
+
V(o.title),
|
|
1153
1154
|
1
|
|
1154
1155
|
/* TEXT */
|
|
1155
1156
|
)
|
|
@@ -1159,10 +1160,11 @@ const g6 = R(v6), m6 = {
|
|
|
1159
1160
|
}, 8, ["type"]));
|
|
1160
1161
|
};
|
|
1161
1162
|
}
|
|
1162
|
-
})
|
|
1163
|
+
});
|
|
1164
|
+
const S6 = /* @__PURE__ */ E(b6, [["__scopeId", "data-v-7d95dbf5"]]), B = D(S6), C6 = {
|
|
1163
1165
|
key: 0,
|
|
1164
1166
|
class: "exit-main-page-maximize"
|
|
1165
|
-
},
|
|
1167
|
+
}, V6 = /* @__PURE__ */ k({
|
|
1166
1168
|
__name: "CloseIcon",
|
|
1167
1169
|
props: {
|
|
1168
1170
|
showBg: {
|
|
@@ -1175,27 +1177,27 @@ const g6 = R(v6), m6 = {
|
|
|
1175
1177
|
}
|
|
1176
1178
|
},
|
|
1177
1179
|
setup(n) {
|
|
1178
|
-
return (e,
|
|
1179
|
-
n.showBg && n.fullscreen ? (d(), u("div",
|
|
1180
|
+
return (e, i) => (d(), u("div", null, [
|
|
1181
|
+
n.showBg && n.fullscreen ? (d(), u("div", C6, [
|
|
1180
1182
|
y(w(B), {
|
|
1181
1183
|
name: "iksvg_guanbidanchuang",
|
|
1182
|
-
warning: "",
|
|
1183
1184
|
title: "关闭",
|
|
1184
|
-
size: 20
|
|
1185
|
+
size: 20,
|
|
1186
|
+
error: ""
|
|
1185
1187
|
})
|
|
1186
1188
|
])) : (d(), I(w(B), {
|
|
1187
1189
|
key: 1,
|
|
1190
|
+
error: "",
|
|
1188
1191
|
name: "iksvg_guanbidanchuang",
|
|
1189
|
-
warning: "",
|
|
1190
1192
|
title: "关闭",
|
|
1191
1193
|
size: 20
|
|
1192
1194
|
}))
|
|
1193
1195
|
]));
|
|
1194
1196
|
}
|
|
1195
1197
|
});
|
|
1196
|
-
const
|
|
1198
|
+
const B6 = /* @__PURE__ */ E(V6, [["__scopeId", "data-v-79f49df8"]]), I6 = { class: "base-header" }, R6 = /* @__PURE__ */ k({
|
|
1197
1199
|
__name: "IkBaseDialog",
|
|
1198
|
-
props: /* @__PURE__ */
|
|
1200
|
+
props: /* @__PURE__ */ L({
|
|
1199
1201
|
title: { default: "" },
|
|
1200
1202
|
cancelText: { default: "取消" },
|
|
1201
1203
|
confirmText: { default: "确认" },
|
|
@@ -1214,29 +1216,29 @@ const S6 = /* @__PURE__ */ q(C6, [["__scopeId", "data-v-8f74b5ea"]]), V6 = { cla
|
|
|
1214
1216
|
}),
|
|
1215
1217
|
emits: ["update:modelValue"],
|
|
1216
1218
|
setup(n) {
|
|
1217
|
-
const e = n,
|
|
1218
|
-
|
|
1219
|
-
},
|
|
1219
|
+
const e = n, i = P(n, "modelValue"), l = z(e.fullscreen), o = () => {
|
|
1220
|
+
l.value = !l.value;
|
|
1221
|
+
}, s = k({
|
|
1220
1222
|
setup() {
|
|
1221
|
-
return () =>
|
|
1223
|
+
return () => Y(B6, {
|
|
1222
1224
|
showBg: e.showCloseBg,
|
|
1223
1225
|
fullscreen: e.fullscreen
|
|
1224
1226
|
});
|
|
1225
1227
|
}
|
|
1226
1228
|
});
|
|
1227
|
-
return (a,
|
|
1228
|
-
const
|
|
1229
|
-
return d(), I(
|
|
1230
|
-
modelValue:
|
|
1231
|
-
"onUpdate:modelValue":
|
|
1229
|
+
return (a, f) => {
|
|
1230
|
+
const g = $("el-dialog");
|
|
1231
|
+
return d(), I(g, Z({
|
|
1232
|
+
modelValue: i.value,
|
|
1233
|
+
"onUpdate:modelValue": f[0] || (f[0] = (t) => i.value = t)
|
|
1232
1234
|
}, a.$attrs, {
|
|
1233
|
-
"close-icon": w(
|
|
1235
|
+
"close-icon": w(s),
|
|
1234
1236
|
class: `ik-base-dialog ${a.noHeader ? "no-header" : ""} ${a.noFooter ? "no-footer" : ""}`,
|
|
1235
|
-
fullscreen:
|
|
1237
|
+
fullscreen: l.value,
|
|
1236
1238
|
"modal-class": "baseDialog"
|
|
1237
|
-
}),
|
|
1239
|
+
}), J({
|
|
1238
1240
|
icon: b(() => [
|
|
1239
|
-
|
|
1241
|
+
R(a.$slots, "title", {}, () => [
|
|
1240
1242
|
O(
|
|
1241
1243
|
V(a.title),
|
|
1242
1244
|
1
|
|
@@ -1245,8 +1247,8 @@ const S6 = /* @__PURE__ */ q(C6, [["__scopeId", "data-v-8f74b5ea"]]), V6 = { cla
|
|
|
1245
1247
|
])
|
|
1246
1248
|
]),
|
|
1247
1249
|
header: b(() => [
|
|
1248
|
-
c("div",
|
|
1249
|
-
|
|
1250
|
+
c("div", I6, [
|
|
1251
|
+
R(a.$slots, "header", {}, () => [
|
|
1250
1252
|
O(
|
|
1251
1253
|
V(a.title),
|
|
1252
1254
|
1
|
|
@@ -1256,14 +1258,14 @@ const S6 = /* @__PURE__ */ q(C6, [["__scopeId", "data-v-8f74b5ea"]]), V6 = { cla
|
|
|
1256
1258
|
]),
|
|
1257
1259
|
a.$attrs.showClose ? (d(), I(w(B), {
|
|
1258
1260
|
key: 0,
|
|
1259
|
-
onClick:
|
|
1260
|
-
name:
|
|
1261
|
+
onClick: o,
|
|
1262
|
+
name: l.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
1261
1263
|
class: "absolute! top-[18px] right-[50px] icon-dialog-full",
|
|
1262
|
-
title:
|
|
1263
|
-
}, null, 8, ["name", "title"])) :
|
|
1264
|
+
title: l.value ? "退出全屏" : "全屏"
|
|
1265
|
+
}, null, 8, ["name", "title"])) : C("v-if", !0)
|
|
1264
1266
|
]),
|
|
1265
1267
|
default: b(() => [
|
|
1266
|
-
|
|
1268
|
+
R(a.$slots, "default")
|
|
1267
1269
|
]),
|
|
1268
1270
|
_: 2
|
|
1269
1271
|
/* DYNAMIC */
|
|
@@ -1271,7 +1273,7 @@ const S6 = /* @__PURE__ */ q(C6, [["__scopeId", "data-v-8f74b5ea"]]), V6 = { cla
|
|
|
1271
1273
|
a.$slots.footer ? {
|
|
1272
1274
|
name: "footer",
|
|
1273
1275
|
fn: b(() => [
|
|
1274
|
-
|
|
1276
|
+
R(a.$slots, "footer")
|
|
1275
1277
|
]),
|
|
1276
1278
|
key: "0"
|
|
1277
1279
|
} : void 0
|
|
@@ -1279,122 +1281,135 @@ const S6 = /* @__PURE__ */ q(C6, [["__scopeId", "data-v-8f74b5ea"]]), V6 = { cla
|
|
|
1279
1281
|
};
|
|
1280
1282
|
}
|
|
1281
1283
|
});
|
|
1282
|
-
const
|
|
1283
|
-
function
|
|
1284
|
-
function
|
|
1285
|
-
return
|
|
1286
|
-
a(
|
|
1284
|
+
const $6 = D(R6);
|
|
1285
|
+
function D6(n, e, i, l) {
|
|
1286
|
+
function o(s) {
|
|
1287
|
+
return s instanceof i ? s : new i(function(a) {
|
|
1288
|
+
a(s);
|
|
1287
1289
|
});
|
|
1288
1290
|
}
|
|
1289
|
-
return new (
|
|
1290
|
-
function
|
|
1291
|
+
return new (i || (i = Promise))(function(s, a) {
|
|
1292
|
+
function f(r) {
|
|
1291
1293
|
try {
|
|
1292
|
-
t(
|
|
1294
|
+
t(l.next(r));
|
|
1293
1295
|
} catch (v) {
|
|
1294
1296
|
a(v);
|
|
1295
1297
|
}
|
|
1296
1298
|
}
|
|
1297
|
-
function
|
|
1299
|
+
function g(r) {
|
|
1298
1300
|
try {
|
|
1299
|
-
t(
|
|
1301
|
+
t(l.throw(r));
|
|
1300
1302
|
} catch (v) {
|
|
1301
1303
|
a(v);
|
|
1302
1304
|
}
|
|
1303
1305
|
}
|
|
1304
1306
|
function t(r) {
|
|
1305
|
-
r.done ?
|
|
1307
|
+
r.done ? s(r.value) : o(r.value).then(f, g);
|
|
1306
1308
|
}
|
|
1307
|
-
t((
|
|
1309
|
+
t((l = l.apply(n, e || [])).next());
|
|
1308
1310
|
});
|
|
1309
1311
|
}
|
|
1310
1312
|
function M6(n, e) {
|
|
1311
|
-
var
|
|
1312
|
-
if (
|
|
1313
|
-
throw
|
|
1314
|
-
return
|
|
1315
|
-
}, trys: [], ops: [] },
|
|
1316
|
-
return a = { next:
|
|
1313
|
+
var i = { label: 0, sent: function() {
|
|
1314
|
+
if (s[0] & 1)
|
|
1315
|
+
throw s[1];
|
|
1316
|
+
return s[1];
|
|
1317
|
+
}, trys: [], ops: [] }, l, o, s, a;
|
|
1318
|
+
return a = { next: f(0), throw: f(1), return: f(2) }, typeof Symbol == "function" && (a[Symbol.iterator] = function() {
|
|
1317
1319
|
return this;
|
|
1318
1320
|
}), a;
|
|
1319
|
-
function
|
|
1321
|
+
function f(t) {
|
|
1320
1322
|
return function(r) {
|
|
1321
|
-
return
|
|
1323
|
+
return g([t, r]);
|
|
1322
1324
|
};
|
|
1323
1325
|
}
|
|
1324
|
-
function
|
|
1325
|
-
if (
|
|
1326
|
+
function g(t) {
|
|
1327
|
+
if (l)
|
|
1326
1328
|
throw new TypeError("Generator is already executing.");
|
|
1327
|
-
for (; a && (a = 0, t[0] && (
|
|
1329
|
+
for (; a && (a = 0, t[0] && (i = 0)), i; )
|
|
1328
1330
|
try {
|
|
1329
|
-
if (
|
|
1330
|
-
return
|
|
1331
|
-
switch (
|
|
1331
|
+
if (l = 1, o && (s = t[0] & 2 ? o.return : t[0] ? o.throw || ((s = o.return) && s.call(o), 0) : o.next) && !(s = s.call(o, t[1])).done)
|
|
1332
|
+
return s;
|
|
1333
|
+
switch (o = 0, s && (t = [t[0] & 2, s.value]), t[0]) {
|
|
1332
1334
|
case 0:
|
|
1333
1335
|
case 1:
|
|
1334
|
-
|
|
1336
|
+
s = t;
|
|
1335
1337
|
break;
|
|
1336
1338
|
case 4:
|
|
1337
|
-
return
|
|
1339
|
+
return i.label++, { value: t[1], done: !1 };
|
|
1338
1340
|
case 5:
|
|
1339
|
-
|
|
1341
|
+
i.label++, o = t[1], t = [0];
|
|
1340
1342
|
continue;
|
|
1341
1343
|
case 7:
|
|
1342
|
-
t =
|
|
1344
|
+
t = i.ops.pop(), i.trys.pop();
|
|
1343
1345
|
continue;
|
|
1344
1346
|
default:
|
|
1345
|
-
if (
|
|
1346
|
-
|
|
1347
|
+
if (s = i.trys, !(s = s.length > 0 && s[s.length - 1]) && (t[0] === 6 || t[0] === 2)) {
|
|
1348
|
+
i = 0;
|
|
1347
1349
|
continue;
|
|
1348
1350
|
}
|
|
1349
|
-
if (t[0] === 3 && (!
|
|
1350
|
-
|
|
1351
|
+
if (t[0] === 3 && (!s || t[1] > s[0] && t[1] < s[3])) {
|
|
1352
|
+
i.label = t[1];
|
|
1351
1353
|
break;
|
|
1352
1354
|
}
|
|
1353
|
-
if (t[0] === 6 &&
|
|
1354
|
-
|
|
1355
|
+
if (t[0] === 6 && i.label < s[1]) {
|
|
1356
|
+
i.label = s[1], s = t;
|
|
1355
1357
|
break;
|
|
1356
1358
|
}
|
|
1357
|
-
if (
|
|
1358
|
-
|
|
1359
|
+
if (s && i.label < s[2]) {
|
|
1360
|
+
i.label = s[2], i.ops.push(t);
|
|
1359
1361
|
break;
|
|
1360
1362
|
}
|
|
1361
|
-
|
|
1363
|
+
s[2] && i.ops.pop(), i.trys.pop();
|
|
1362
1364
|
continue;
|
|
1363
1365
|
}
|
|
1364
|
-
t = e.call(n,
|
|
1366
|
+
t = e.call(n, i);
|
|
1365
1367
|
} catch (r) {
|
|
1366
|
-
t = [6, r],
|
|
1368
|
+
t = [6, r], o = 0;
|
|
1367
1369
|
} finally {
|
|
1368
|
-
|
|
1370
|
+
l = s = 0;
|
|
1369
1371
|
}
|
|
1370
1372
|
if (t[0] & 5)
|
|
1371
1373
|
throw t[1];
|
|
1372
1374
|
return { value: t[0] ? t[1] : void 0, done: !0 };
|
|
1373
1375
|
}
|
|
1374
1376
|
}
|
|
1375
|
-
var
|
|
1376
|
-
return
|
|
1377
|
-
return M6(this, function(
|
|
1378
|
-
return [2, new Promise(function(
|
|
1377
|
+
var q6 = function(n, e) {
|
|
1378
|
+
return D6(void 0, void 0, void 0, function() {
|
|
1379
|
+
return M6(this, function(i) {
|
|
1380
|
+
return [2, new Promise(function(l, o) {
|
|
1379
1381
|
try {
|
|
1380
|
-
if (
|
|
1381
|
-
|
|
1382
|
-
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
|
|
1382
|
+
if (window.DocsAPI)
|
|
1383
|
+
return l(null);
|
|
1384
|
+
var s = document.getElementById(e);
|
|
1385
|
+
if (s)
|
|
1386
|
+
var a = setInterval(function() {
|
|
1387
|
+
var g = s.getAttribute("loading");
|
|
1388
|
+
if (!g) {
|
|
1389
|
+
if (clearInterval(a), window.DocsAPI)
|
|
1390
|
+
return l(null);
|
|
1391
|
+
var t = T(e, n, l, o);
|
|
1392
|
+
s.remove(), document.body.appendChild(t);
|
|
1393
|
+
}
|
|
1386
1394
|
}, 500);
|
|
1387
|
-
|
|
1388
|
-
var
|
|
1389
|
-
|
|
1395
|
+
else {
|
|
1396
|
+
var f = T(e, n, l, o);
|
|
1397
|
+
document.body.appendChild(f);
|
|
1390
1398
|
}
|
|
1391
|
-
} catch (
|
|
1392
|
-
console.error(
|
|
1399
|
+
} catch (g) {
|
|
1400
|
+
console.error(g);
|
|
1393
1401
|
}
|
|
1394
1402
|
})];
|
|
1395
1403
|
});
|
|
1396
1404
|
});
|
|
1397
|
-
},
|
|
1405
|
+
}, T = function(n, e, i, l) {
|
|
1406
|
+
var o = document.createElement("script");
|
|
1407
|
+
return o.id = n, o.type = "text/javascript", o.src = e, o.async = !0, o.onload = function() {
|
|
1408
|
+
o.removeAttribute("loading"), i(null);
|
|
1409
|
+
}, o.onerror = function(s) {
|
|
1410
|
+
o.removeAttribute("loading"), l(s);
|
|
1411
|
+
}, o.setAttribute("loading", ""), o;
|
|
1412
|
+
}, A = k({
|
|
1398
1413
|
name: "DocumentEditor",
|
|
1399
1414
|
props: {
|
|
1400
1415
|
id: {
|
|
@@ -1429,19 +1444,27 @@ var R6 = function(n, e) {
|
|
|
1429
1444
|
events_onMakeActionLink: Function,
|
|
1430
1445
|
events_onRequestInsertImage: Function,
|
|
1431
1446
|
events_onRequestSaveAs: Function,
|
|
1447
|
+
/**
|
|
1448
|
+
* @deprecated Deprecated since version 7.5, please use events_onRequestSelectSpreadsheet instead.
|
|
1449
|
+
*/
|
|
1432
1450
|
events_onRequestMailMergeRecipients: Function,
|
|
1451
|
+
/**
|
|
1452
|
+
* @deprecated Deprecated since version 7.5, please use events_onRequestSelectDocument instead.
|
|
1453
|
+
*/
|
|
1433
1454
|
events_onRequestCompareFile: Function,
|
|
1434
1455
|
events_onRequestEditRights: Function,
|
|
1435
1456
|
events_onRequestHistory: Function,
|
|
1436
1457
|
events_onRequestHistoryClose: Function,
|
|
1437
1458
|
events_onRequestHistoryData: Function,
|
|
1438
|
-
events_onRequestRestore: Function
|
|
1459
|
+
events_onRequestRestore: Function,
|
|
1460
|
+
events_onRequestSelectSpreadsheet: Function,
|
|
1461
|
+
events_onRequestSelectDocument: Function
|
|
1439
1462
|
},
|
|
1440
1463
|
mounted: function() {
|
|
1441
1464
|
var n = this, e = this.documentServerUrl;
|
|
1442
1465
|
e.endsWith("/") || (e += "/");
|
|
1443
|
-
var
|
|
1444
|
-
|
|
1466
|
+
var i = "".concat(e, "web-apps/apps/api/documents/api.js");
|
|
1467
|
+
q6(i, "onlyoffice-api-script").then(function() {
|
|
1445
1468
|
return n.onLoad();
|
|
1446
1469
|
}).catch(function() {
|
|
1447
1470
|
n.onError(-2);
|
|
@@ -1484,13 +1507,13 @@ var R6 = function(n, e) {
|
|
|
1484
1507
|
onLoad: function() {
|
|
1485
1508
|
var n, e;
|
|
1486
1509
|
try {
|
|
1487
|
-
var
|
|
1488
|
-
if (window.DocsAPI || this.onError(-3), !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[
|
|
1489
|
-
console.log("Skip loading. Instance already exists",
|
|
1510
|
+
var i = this.id || "";
|
|
1511
|
+
if (window.DocsAPI || this.onError(-3), !((n = window == null ? void 0 : window.DocEditor) === null || n === void 0) && n.instances[i]) {
|
|
1512
|
+
console.log("Skip loading. Instance already exists", i);
|
|
1490
1513
|
return;
|
|
1491
1514
|
}
|
|
1492
1515
|
!((e = window == null ? void 0 : window.DocEditor) === null || e === void 0) && e.instances || (window.DocEditor = { instances: {} });
|
|
1493
|
-
var
|
|
1516
|
+
var l = Object.assign({
|
|
1494
1517
|
document: {
|
|
1495
1518
|
fileType: this.document_fileType,
|
|
1496
1519
|
title: this.document_title
|
|
@@ -1518,15 +1541,17 @@ var R6 = function(n, e) {
|
|
|
1518
1541
|
onRequestHistory: this.events_onRequestHistory,
|
|
1519
1542
|
onRequestHistoryClose: this.events_onRequestHistoryClose,
|
|
1520
1543
|
onRequestHistoryData: this.events_onRequestHistoryData,
|
|
1521
|
-
onRequestRestore: this.events_onRequestRestore
|
|
1544
|
+
onRequestRestore: this.events_onRequestRestore,
|
|
1545
|
+
onRequestSelectSpreadsheet: this.events_onRequestSelectSpreadsheet,
|
|
1546
|
+
onRequestSelectDocument: this.events_onRequestSelectDocument
|
|
1522
1547
|
},
|
|
1523
1548
|
height: this.height,
|
|
1524
1549
|
type: this.type,
|
|
1525
1550
|
width: this.width
|
|
1526
|
-
}, this.config || {}),
|
|
1527
|
-
window.DocEditor.instances[
|
|
1528
|
-
} catch (
|
|
1529
|
-
console.error(
|
|
1551
|
+
}, this.config || {}), o = window.DocsAPI.DocEditor(i, l);
|
|
1552
|
+
window.DocEditor.instances[i] = o;
|
|
1553
|
+
} catch (s) {
|
|
1554
|
+
console.error(s), this.onError(-1);
|
|
1530
1555
|
}
|
|
1531
1556
|
},
|
|
1532
1557
|
onError: function(n) {
|
|
@@ -1553,13 +1578,13 @@ var R6 = function(n, e) {
|
|
|
1553
1578
|
}
|
|
1554
1579
|
}
|
|
1555
1580
|
});
|
|
1556
|
-
const
|
|
1557
|
-
function H6(n, e,
|
|
1558
|
-
return d(), u("div", { id: n.id }, null, 8,
|
|
1581
|
+
const E6 = ["id"];
|
|
1582
|
+
function H6(n, e, i, l, o, s) {
|
|
1583
|
+
return d(), u("div", { id: n.id }, null, 8, E6);
|
|
1559
1584
|
}
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
|
-
const
|
|
1585
|
+
A.render = H6;
|
|
1586
|
+
A.__file = "src/components/DocumentEditor.vue";
|
|
1587
|
+
const O6 = /* @__PURE__ */ k({
|
|
1563
1588
|
__name: "IkOnlyOffice",
|
|
1564
1589
|
props: {
|
|
1565
1590
|
// 文件服务器的服务的地址
|
|
@@ -1590,15 +1615,15 @@ const E6 = /* @__PURE__ */ k({
|
|
|
1590
1615
|
}
|
|
1591
1616
|
},
|
|
1592
1617
|
setup(n) {
|
|
1593
|
-
var
|
|
1594
|
-
const e = n,
|
|
1618
|
+
var o, s, a, f;
|
|
1619
|
+
const e = n, i = z({
|
|
1595
1620
|
width: "100%",
|
|
1596
1621
|
height: "100%",
|
|
1597
|
-
document: (
|
|
1622
|
+
document: (o = e.configOptions) == null ? void 0 : o.document,
|
|
1598
1623
|
// word cell(表格) slide(PPT)
|
|
1599
|
-
documentType: (
|
|
1624
|
+
documentType: (s = e.configOptions) == null ? void 0 : s.documentType,
|
|
1600
1625
|
editorConfig: {
|
|
1601
|
-
callbackUrl: (
|
|
1626
|
+
callbackUrl: (f = (a = e.configOptions) == null ? void 0 : a.editorConfig) == null ? void 0 : f.callbackUrl,
|
|
1602
1627
|
// 保存的回调函数
|
|
1603
1628
|
lang: "zh-CN",
|
|
1604
1629
|
mode: e.mode,
|
|
@@ -1631,21 +1656,21 @@ const E6 = /* @__PURE__ */ k({
|
|
|
1631
1656
|
},
|
|
1632
1657
|
mode: e.mode,
|
|
1633
1658
|
token: e.token
|
|
1634
|
-
}),
|
|
1659
|
+
}), l = () => {
|
|
1635
1660
|
console.info("文档加载完成");
|
|
1636
1661
|
};
|
|
1637
|
-
return (
|
|
1662
|
+
return (g, t) => (d(), u(
|
|
1638
1663
|
"div",
|
|
1639
1664
|
{
|
|
1640
1665
|
style: _({ height: e.officeHeight })
|
|
1641
1666
|
},
|
|
1642
1667
|
[
|
|
1643
|
-
y(w(
|
|
1668
|
+
y(w(A), {
|
|
1644
1669
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1645
1670
|
ref: "editorRef",
|
|
1646
1671
|
"document-server-url": n.documentServerUrl,
|
|
1647
|
-
config:
|
|
1648
|
-
events_onDocumentReady:
|
|
1672
|
+
config: i.value,
|
|
1673
|
+
events_onDocumentReady: l
|
|
1649
1674
|
}, null, 8, ["id", "document-server-url", "config"])
|
|
1650
1675
|
],
|
|
1651
1676
|
4
|
|
@@ -1653,22 +1678,22 @@ const E6 = /* @__PURE__ */ k({
|
|
|
1653
1678
|
));
|
|
1654
1679
|
}
|
|
1655
1680
|
});
|
|
1656
|
-
const
|
|
1681
|
+
const A6 = /* @__PURE__ */ E(O6, [["__scopeId", "data-v-ea0a8f6d"]]), U6 = D(A6), T6 = (n) => (Q("data-v-170abcfc"), n = n(), e3(), n), L6 = {
|
|
1657
1682
|
key: 0,
|
|
1658
1683
|
class: "preview-files"
|
|
1659
|
-
},
|
|
1684
|
+
}, P6 = {
|
|
1660
1685
|
class: "flex",
|
|
1661
1686
|
style: { width: "80%", "align-items": "center" }
|
|
1662
|
-
},
|
|
1687
|
+
}, j6 = ["onClick"], G6 = ["title"], N6 = { style: { color: "#b8c6d9" } }, W6 = ["onClick"], K6 = /* @__PURE__ */ T6(() => /* @__PURE__ */ c(
|
|
1663
1688
|
"span",
|
|
1664
1689
|
null,
|
|
1665
1690
|
"预览",
|
|
1666
1691
|
-1
|
|
1667
1692
|
/* HOISTED */
|
|
1668
|
-
)),
|
|
1693
|
+
)), X6 = {
|
|
1669
1694
|
key: 1,
|
|
1670
1695
|
class: "flex preview-img"
|
|
1671
|
-
},
|
|
1696
|
+
}, Y6 = /* @__PURE__ */ k({
|
|
1672
1697
|
__name: "IKDetailPreviewFiles",
|
|
1673
1698
|
props: {
|
|
1674
1699
|
// 文件列表 [{originName:'',path:'',fileSize:''}] //文件大小
|
|
@@ -1698,39 +1723,39 @@ const O6 = /* @__PURE__ */ q(E6, [["__scopeId", "data-v-ea0a8f6d"]]), q6 = R(O6)
|
|
|
1698
1723
|
}
|
|
1699
1724
|
},
|
|
1700
1725
|
setup(n) {
|
|
1701
|
-
const e = n,
|
|
1726
|
+
const e = n, i = z(e.fileList);
|
|
1702
1727
|
j(
|
|
1703
1728
|
() => e.fileList,
|
|
1704
1729
|
(t) => {
|
|
1705
|
-
t && (
|
|
1730
|
+
t && (i.value = t);
|
|
1706
1731
|
},
|
|
1707
1732
|
{ immediate: !0 }
|
|
1708
1733
|
);
|
|
1709
|
-
const
|
|
1710
|
-
|
|
1734
|
+
const l = z(!1), o = z({}), s = (t) => {
|
|
1735
|
+
o.value = {
|
|
1711
1736
|
url: t.url,
|
|
1712
1737
|
name: t.name
|
|
1713
1738
|
// row.originName
|
|
1714
|
-
},
|
|
1739
|
+
}, l.value = !0;
|
|
1715
1740
|
}, a = (t) => {
|
|
1716
|
-
var r, v, h,
|
|
1717
|
-
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "iksvg_pdf" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "iksvg_word" : (h = t == null ? void 0 : t.suffix) != null && h.includes("xls") ? "iksvg_excel" : (
|
|
1718
|
-
},
|
|
1719
|
-
var r, v, h,
|
|
1720
|
-
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "#FA4E4E" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "#2c69e0" : (h = t.suffix) != null && h.includes("xls") ? "#39BFBF" : (
|
|
1721
|
-
},
|
|
1741
|
+
var r, v, h, m, p;
|
|
1742
|
+
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "iksvg_pdf" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "iksvg_word" : (h = t == null ? void 0 : t.suffix) != null && h.includes("xls") ? "iksvg_excel" : (m = t == null ? void 0 : t.suffix) != null && m.includes("mov") ? "iksvg_mov" : (p = t == null ? void 0 : t.suffix) != null && p.includes("zip") ? "iksvg_zip" : "icon-jpg";
|
|
1743
|
+
}, f = (t) => {
|
|
1744
|
+
var r, v, h, m, p;
|
|
1745
|
+
return (r = t == null ? void 0 : t.suffix) != null && r.includes("pdf") ? "#FA4E4E" : (v = t == null ? void 0 : t.suffix) != null && v.includes("doc") ? "#2c69e0" : (h = t.suffix) != null && h.includes("xls") ? "#39BFBF" : (m = t.suffix) != null && m.includes("txt") ? "#2c69e0" : (p = t.suffix) != null && p.includes("zip") ? "#FF9000" : "#32CD79";
|
|
1746
|
+
}, g = (t) => {
|
|
1722
1747
|
const r = document.createElement("a");
|
|
1723
|
-
r.href =
|
|
1748
|
+
r.href = s3.assembleUrl(e.loadUrl, t.url), r.download = t.name, r.click();
|
|
1724
1749
|
};
|
|
1725
1750
|
return (t, r) => {
|
|
1726
|
-
var h,
|
|
1727
|
-
const v =
|
|
1751
|
+
var h, m;
|
|
1752
|
+
const v = $("el-image");
|
|
1728
1753
|
return d(), u("div", null, [
|
|
1729
|
-
e.fileType === "file" ? (d(), u("div",
|
|
1754
|
+
e.fileType === "file" ? (d(), u("div", L6, [
|
|
1730
1755
|
(d(!0), u(
|
|
1731
|
-
|
|
1756
|
+
M,
|
|
1732
1757
|
null,
|
|
1733
|
-
|
|
1758
|
+
H(i.value, (p, F) => (d(), u(
|
|
1734
1759
|
"div",
|
|
1735
1760
|
{
|
|
1736
1761
|
key: F,
|
|
@@ -1741,35 +1766,35 @@ const O6 = /* @__PURE__ */ q(E6, [["__scopeId", "data-v-ea0a8f6d"]]), q6 = R(O6)
|
|
|
1741
1766
|
})
|
|
1742
1767
|
},
|
|
1743
1768
|
[
|
|
1744
|
-
c("div",
|
|
1769
|
+
c("div", P6, [
|
|
1745
1770
|
y(w(B), {
|
|
1746
|
-
name: a(
|
|
1747
|
-
style: _(`color:${p
|
|
1771
|
+
name: a(p),
|
|
1772
|
+
style: _(`color:${f(p)}`),
|
|
1748
1773
|
size: 36
|
|
1749
1774
|
}, null, 8, ["name", "style"]),
|
|
1750
1775
|
c("div", {
|
|
1751
1776
|
class: "file-name",
|
|
1752
|
-
onClick: (
|
|
1777
|
+
onClick: (N) => g(p)
|
|
1753
1778
|
}, [
|
|
1754
1779
|
c("p", {
|
|
1755
|
-
title:
|
|
1756
|
-
}, V(
|
|
1780
|
+
title: p.name
|
|
1781
|
+
}, V(p.name), 9, G6),
|
|
1757
1782
|
c(
|
|
1758
1783
|
"p",
|
|
1759
|
-
|
|
1760
|
-
V((
|
|
1784
|
+
N6,
|
|
1785
|
+
V((p.size / 1024).toFixed(2)) + "KB",
|
|
1761
1786
|
1
|
|
1762
1787
|
/* TEXT */
|
|
1763
1788
|
)
|
|
1764
|
-
], 8,
|
|
1789
|
+
], 8, j6)
|
|
1765
1790
|
]),
|
|
1766
1791
|
c("div", {
|
|
1767
1792
|
class: "file-preview",
|
|
1768
|
-
onClick: (
|
|
1793
|
+
onClick: (N) => s(p)
|
|
1769
1794
|
}, [
|
|
1770
1795
|
y(w(B), { name: "iksvg_yulan" }),
|
|
1771
|
-
|
|
1772
|
-
], 8,
|
|
1796
|
+
K6
|
|
1797
|
+
], 8, W6)
|
|
1773
1798
|
],
|
|
1774
1799
|
4
|
|
1775
1800
|
/* STYLE */
|
|
@@ -1777,40 +1802,40 @@ const O6 = /* @__PURE__ */ q(E6, [["__scopeId", "data-v-ea0a8f6d"]]), q6 = R(O6)
|
|
|
1777
1802
|
128
|
|
1778
1803
|
/* KEYED_FRAGMENT */
|
|
1779
1804
|
))
|
|
1780
|
-
])) :
|
|
1781
|
-
e.fileType === "img" ? (d(), u("div",
|
|
1805
|
+
])) : C("v-if", !0),
|
|
1806
|
+
e.fileType === "img" ? (d(), u("div", X6, [
|
|
1782
1807
|
(d(!0), u(
|
|
1783
|
-
|
|
1808
|
+
M,
|
|
1784
1809
|
null,
|
|
1785
|
-
|
|
1810
|
+
H(i.value, (p, F) => (d(), u("div", {
|
|
1786
1811
|
key: F,
|
|
1787
1812
|
class: "preview-img"
|
|
1788
1813
|
}, [
|
|
1789
1814
|
y(v, {
|
|
1790
1815
|
class: "show-img",
|
|
1791
|
-
src: n.loadUrl +
|
|
1792
|
-
"preview-src-list": [n.loadUrl +
|
|
1816
|
+
src: n.loadUrl + p.url,
|
|
1817
|
+
"preview-src-list": [n.loadUrl + p.url],
|
|
1793
1818
|
fit: "cover"
|
|
1794
1819
|
}, null, 8, ["src", "preview-src-list"])
|
|
1795
1820
|
]))),
|
|
1796
1821
|
128
|
|
1797
1822
|
/* KEYED_FRAGMENT */
|
|
1798
1823
|
))
|
|
1799
|
-
])) :
|
|
1800
|
-
y(w(
|
|
1801
|
-
modelValue:
|
|
1802
|
-
"onUpdate:modelValue": r[0] || (r[0] = (
|
|
1824
|
+
])) : C("v-if", !0),
|
|
1825
|
+
y(w(m6), {
|
|
1826
|
+
modelValue: l.value,
|
|
1827
|
+
"onUpdate:modelValue": r[0] || (r[0] = (p) => l.value = p),
|
|
1803
1828
|
"load-url": e.loadUrl,
|
|
1804
|
-
url: (h =
|
|
1829
|
+
url: (h = o.value) == null ? void 0 : h.url,
|
|
1805
1830
|
"kk-url": n.kkUrl,
|
|
1806
|
-
"file-name": (
|
|
1831
|
+
"file-name": (m = o.value) == null ? void 0 : m.name
|
|
1807
1832
|
}, null, 8, ["modelValue", "load-url", "url", "kk-url", "file-name"])
|
|
1808
1833
|
]);
|
|
1809
1834
|
};
|
|
1810
1835
|
}
|
|
1811
1836
|
});
|
|
1812
|
-
const
|
|
1837
|
+
const Z6 = /* @__PURE__ */ E(Y6, [["__scopeId", "data-v-170abcfc"]]), ee = D(Z6);
|
|
1813
1838
|
export {
|
|
1814
|
-
|
|
1815
|
-
|
|
1839
|
+
ee as IKDetailPreviewFiles,
|
|
1840
|
+
ee as default
|
|
1816
1841
|
};
|