iking-web-ui-pro 0.2.26 → 0.2.27
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/IKPreviewFile/ik.index.es.js +168 -158
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +107 -97
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +25 -25
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +95 -85
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +211 -201
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +196 -186
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +246 -236
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +146 -136
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/index.es.js +989 -979
- package/dist/index.umd.js +1 -1
- package/dist/style.css +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as se, computed as K, openBlock as I, createElementBlock as
|
|
1
|
+
import { defineComponent as se, computed as K, openBlock as I, createElementBlock as F, createElementVNode as S, inject as Ze, ref as Xe, resolveComponent as Ee, Fragment as Ge, renderList as Ht, normalizeStyle as le, toDisplayString as _e, normalizeClass as ee, createVNode as X, unref as z, withModifiers as ui, renderSlot as ge, createBlock as pe, withCtx as q, createCommentVNode as ue, mergeModels as ut, useModel as Yt, reactive as bn, watch as zi, nextTick as Vi, createTextVNode as Ye, h as wn, mergeProps as Ut, createSlots as Tn, Teleport as En, Transition as Sn, useCssVars as xn } from "vue";
|
|
2
2
|
import { useNamespace as Pn, ElTag as In } from "element-plus";
|
|
3
3
|
import { paramType as An, ikFile as Ln, buildUUID as ji, ikColor as Dn } from "iking-utils-pro";
|
|
4
4
|
const Pe = (a, o) => {
|
|
@@ -620,7 +620,7 @@ const Pe = (a, o) => {
|
|
|
620
620
|
},
|
|
621
621
|
setup(a) {
|
|
622
622
|
const o = a, r = K(() => o.file ? zt(o.file, o.fields) : o.type);
|
|
623
|
-
return (t, e) => r.value === "image" ? (I(),
|
|
623
|
+
return (t, e) => r.value === "image" ? (I(), F("svg", Fn, Un)) : r.value === "zip" ? (I(), F("svg", zn, Wn)) : r.value === "ppt" ? (I(), F("svg", Gn, Yn)) : r.value === "word" ? (I(), F("svg", Xn, Jn)) : r.value === "pdf" ? (I(), F("svg", Qn, ir)) : r.value === "txt" ? (I(), F("svg", nr, or)) : r.value === "audio" ? (I(), F("svg", ar, cr)) : r.value === "video" ? (I(), F("svg", fr, gr)) : r.value === "excel" ? (I(), F("svg", pr, _r)) : r.value === "exe" ? (I(), F("svg", Cr, Er)) : r.value === "json" ? (I(), F("svg", Sr, Ar)) : (I(), F("svg", Lr, Fr));
|
|
624
624
|
}
|
|
625
625
|
}), Nr = Pe(Mr);
|
|
626
626
|
/*! Element Plus Icons Vue v2.3.1 */
|
|
@@ -628,7 +628,7 @@ var Br = /* @__PURE__ */ se({
|
|
|
628
628
|
name: "Close",
|
|
629
629
|
__name: "close",
|
|
630
630
|
setup(a) {
|
|
631
|
-
return (o, r) => (I(),
|
|
631
|
+
return (o, r) => (I(), F("svg", {
|
|
632
632
|
xmlns: "http://www.w3.org/2000/svg",
|
|
633
633
|
viewBox: "0 0 1024 1024"
|
|
634
634
|
}, [
|
|
@@ -769,18 +769,18 @@ const it = (a, o) => {
|
|
|
769
769
|
return (h, d) => {
|
|
770
770
|
var p, m, _;
|
|
771
771
|
const g = Ee("tmplate");
|
|
772
|
-
return I(),
|
|
772
|
+
return I(), F(
|
|
773
773
|
Ge,
|
|
774
774
|
null,
|
|
775
775
|
[
|
|
776
|
-
(p = a.list) != null && p.length ? (I(),
|
|
776
|
+
(p = a.list) != null && p.length ? (I(), F(
|
|
777
777
|
Ge,
|
|
778
778
|
{ key: 0 },
|
|
779
779
|
[
|
|
780
|
-
a.simple ? (I(!0),
|
|
780
|
+
a.simple ? (I(!0), F(
|
|
781
781
|
Ge,
|
|
782
782
|
{ key: 0 },
|
|
783
|
-
Ht(c.value, (C, w) => (I(),
|
|
783
|
+
Ht(c.value, (C, w) => (I(), F("div", {
|
|
784
784
|
class: "iking-privew-annex simple",
|
|
785
785
|
onClick: (b) => s(C),
|
|
786
786
|
style: le({ width: u.value })
|
|
@@ -795,21 +795,21 @@ const it = (a, o) => {
|
|
|
795
795
|
S(
|
|
796
796
|
"div",
|
|
797
797
|
{
|
|
798
|
-
class:
|
|
798
|
+
class: ee(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
799
799
|
},
|
|
800
800
|
[
|
|
801
|
-
|
|
801
|
+
X(z($e), {
|
|
802
802
|
name: "iksvg_daochu",
|
|
803
803
|
onClick: ui((b) => l(C), ["stop"]),
|
|
804
804
|
size: 20,
|
|
805
805
|
active: ""
|
|
806
806
|
}, null, 8, ["onClick"]),
|
|
807
|
-
|
|
807
|
+
X(z($e), {
|
|
808
808
|
name: "iksvg_yulan",
|
|
809
809
|
size: 20,
|
|
810
810
|
active: ""
|
|
811
811
|
}),
|
|
812
|
-
|
|
812
|
+
ge(h.$slots, "operation", {
|
|
813
813
|
data: { ...C, findex: w }
|
|
814
814
|
})
|
|
815
815
|
],
|
|
@@ -819,17 +819,17 @@ const it = (a, o) => {
|
|
|
819
819
|
], 12, Vr))),
|
|
820
820
|
256
|
|
821
821
|
/* UNKEYED_FRAGMENT */
|
|
822
|
-
)) : (I(),
|
|
823
|
-
default:
|
|
824
|
-
(I(!0),
|
|
822
|
+
)) : (I(), pe(g, { key: 1 }, {
|
|
823
|
+
default: q(() => [
|
|
824
|
+
(I(!0), F(
|
|
825
825
|
Ge,
|
|
826
826
|
null,
|
|
827
827
|
Ht(c.value, (C, w) => {
|
|
828
828
|
var b;
|
|
829
|
-
return I(),
|
|
829
|
+
return I(), F(
|
|
830
830
|
"div",
|
|
831
831
|
{
|
|
832
|
-
class:
|
|
832
|
+
class: ee(["iking-privew-annex", { "is-bg": a.showBg }]),
|
|
833
833
|
key: w,
|
|
834
834
|
style: le({
|
|
835
835
|
marginBottom: w == ((b = a.list) == null ? void 0 : b.length) - 1 ? "0" : "10px",
|
|
@@ -841,7 +841,7 @@ const it = (a, o) => {
|
|
|
841
841
|
class: "file-card",
|
|
842
842
|
onClick: (B) => s(C)
|
|
843
843
|
}, [
|
|
844
|
-
|
|
844
|
+
X(z(Nr), {
|
|
845
845
|
file: C,
|
|
846
846
|
style: le({ height: `${a.iconSize}px` }),
|
|
847
847
|
class: "ikui-w-auto",
|
|
@@ -866,23 +866,23 @@ const it = (a, o) => {
|
|
|
866
866
|
S(
|
|
867
867
|
"div",
|
|
868
868
|
{
|
|
869
|
-
class:
|
|
869
|
+
class: ee(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
870
870
|
},
|
|
871
871
|
[
|
|
872
|
-
|
|
872
|
+
X(z($e), {
|
|
873
873
|
name: "iksvg_daochu",
|
|
874
874
|
onClick: ui((B) => l(C), ["stop"]),
|
|
875
875
|
bg: a.showBg,
|
|
876
876
|
size: a.showBg ? "default" : 20,
|
|
877
877
|
title: "下载"
|
|
878
878
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
879
|
-
|
|
879
|
+
X(z($e), {
|
|
880
880
|
name: "iksvg_yulan",
|
|
881
881
|
bg: a.showBg,
|
|
882
882
|
size: a.showBg ? "default" : 20,
|
|
883
883
|
title: "预览"
|
|
884
884
|
}, null, 8, ["bg", "size"]),
|
|
885
|
-
|
|
885
|
+
ge(h.$slots, "operation", {
|
|
886
886
|
data: { ...C, findex: w }
|
|
887
887
|
})
|
|
888
888
|
],
|
|
@@ -906,7 +906,7 @@ const it = (a, o) => {
|
|
|
906
906
|
64
|
|
907
907
|
/* STABLE_FRAGMENT */
|
|
908
908
|
)) : ue("v-if", !0),
|
|
909
|
-
|
|
909
|
+
X(z(Zr), {
|
|
910
910
|
show: n.value,
|
|
911
911
|
"onUpdate:show": d[0] || (d[0] = (C) => n.value = C),
|
|
912
912
|
loadUrl: z(r),
|
|
@@ -1021,11 +1021,11 @@ const Xr = Pe(Yr), qr = /* @__PURE__ */ se({
|
|
|
1021
1021
|
return (u, c) => {
|
|
1022
1022
|
var d, g, p;
|
|
1023
1023
|
const h = Ee("el-image-viewer");
|
|
1024
|
-
return r.value ? (I(),
|
|
1024
|
+
return r.value ? (I(), F(
|
|
1025
1025
|
Ge,
|
|
1026
1026
|
{ key: 0 },
|
|
1027
1027
|
[
|
|
1028
|
-
(d = i.value) != null && d.url && n.image ? (I(),
|
|
1028
|
+
(d = i.value) != null && d.url && n.image ? (I(), pe(h, {
|
|
1029
1029
|
key: 0,
|
|
1030
1030
|
onClose: c[0] || (c[0] = (m) => l()),
|
|
1031
1031
|
ref: "previewImgRef",
|
|
@@ -1034,12 +1034,12 @@ const Xr = Pe(Yr), qr = /* @__PURE__ */ se({
|
|
|
1034
1034
|
}, null, 8, ["url-list"])) : ue("v-if", !0),
|
|
1035
1035
|
ue(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1036
1036
|
ue(" 文档类 "),
|
|
1037
|
-
|
|
1037
|
+
X(z(Na), {
|
|
1038
1038
|
modelValue: n.video,
|
|
1039
1039
|
"onUpdate:modelValue": c[1] || (c[1] = (m) => n.video = m),
|
|
1040
1040
|
url: (p = i.value) == null ? void 0 : p.url
|
|
1041
1041
|
}, null, 8, ["modelValue", "url"]),
|
|
1042
|
-
|
|
1042
|
+
X(z(fs), {
|
|
1043
1043
|
modelValue: n.office,
|
|
1044
1044
|
"onUpdate:modelValue": c[2] || (c[2] = (m) => n.office = m),
|
|
1045
1045
|
draggable: "",
|
|
@@ -1054,10 +1054,10 @@ const Xr = Pe(Yr), qr = /* @__PURE__ */ se({
|
|
|
1054
1054
|
onClose: l,
|
|
1055
1055
|
"modal-class": "ik-only-preview-dialog"
|
|
1056
1056
|
}, {
|
|
1057
|
-
default:
|
|
1057
|
+
default: q(() => {
|
|
1058
1058
|
var m;
|
|
1059
1059
|
return [
|
|
1060
|
-
|
|
1060
|
+
X(z(Cs), {
|
|
1061
1061
|
"config-options": e.value,
|
|
1062
1062
|
"document-server-url": ((m = a.onlyOfficeConfig) == null ? void 0 : m.serverUrl) || a.onlyofficeServer
|
|
1063
1063
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1144,12 +1144,12 @@ const Zr = Pe(qr), Jr = {
|
|
|
1144
1144
|
});
|
|
1145
1145
|
return (i, n) => {
|
|
1146
1146
|
const s = Ee("el-tooltip"), l = Ee("el-button");
|
|
1147
|
-
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (I(),
|
|
1148
|
-
r.value.notip || !r.value.title ? (I(),
|
|
1147
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (I(), F("span", Jr, [
|
|
1148
|
+
r.value.notip || !r.value.title ? (I(), F(
|
|
1149
1149
|
"i",
|
|
1150
1150
|
{
|
|
1151
1151
|
key: 0,
|
|
1152
|
-
class:
|
|
1152
|
+
class: ee(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1153
1153
|
[i.name]: t.value === "unocss",
|
|
1154
1154
|
"show-bg": r.value.showBg || r.value.bg,
|
|
1155
1155
|
default: r.value.size === "default",
|
|
@@ -1166,29 +1166,29 @@ const Zr = Pe(qr), Jr = {
|
|
|
1166
1166
|
},
|
|
1167
1167
|
[
|
|
1168
1168
|
ue(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1169
|
-
t.value === "iksig" ? (I(),
|
|
1169
|
+
t.value === "iksig" ? (I(), F(
|
|
1170
1170
|
"i",
|
|
1171
1171
|
{
|
|
1172
1172
|
key: 0,
|
|
1173
|
-
class:
|
|
1173
|
+
class: ee(`iksig ${r.value.name}`),
|
|
1174
1174
|
style: le(e.value)
|
|
1175
1175
|
},
|
|
1176
1176
|
null,
|
|
1177
1177
|
6
|
|
1178
1178
|
/* CLASS, STYLE */
|
|
1179
|
-
)) : t.value === "svg" ? (I(),
|
|
1179
|
+
)) : t.value === "svg" ? (I(), F("svg", Qr, [
|
|
1180
1180
|
S("use", {
|
|
1181
1181
|
"xlink:href": `#${r.value.name}`
|
|
1182
1182
|
}, null, 8, es)
|
|
1183
|
-
])) : t.value === "img" ? (I(),
|
|
1183
|
+
])) : t.value === "img" ? (I(), F("img", {
|
|
1184
1184
|
key: 2,
|
|
1185
1185
|
src: r.value.name,
|
|
1186
1186
|
class: "h-[1em] w-[1em]"
|
|
1187
|
-
}, null, 8, ts)) : (I(),
|
|
1187
|
+
}, null, 8, ts)) : (I(), F(
|
|
1188
1188
|
"i",
|
|
1189
1189
|
{
|
|
1190
1190
|
key: 3,
|
|
1191
|
-
class:
|
|
1191
|
+
class: ee(r.value.name),
|
|
1192
1192
|
style: le(e.value)
|
|
1193
1193
|
},
|
|
1194
1194
|
null,
|
|
@@ -1198,16 +1198,16 @@ const Zr = Pe(qr), Jr = {
|
|
|
1198
1198
|
],
|
|
1199
1199
|
6
|
|
1200
1200
|
/* CLASS, STYLE */
|
|
1201
|
-
)) : (I(),
|
|
1201
|
+
)) : (I(), pe(s, {
|
|
1202
1202
|
key: 1,
|
|
1203
1203
|
content: r.value.title,
|
|
1204
1204
|
placement: "top"
|
|
1205
1205
|
}, {
|
|
1206
|
-
default:
|
|
1206
|
+
default: q(() => [
|
|
1207
1207
|
S(
|
|
1208
1208
|
"i",
|
|
1209
1209
|
{
|
|
1210
|
-
class:
|
|
1210
|
+
class: ee(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1211
1211
|
[i.name]: t.value === "unocss",
|
|
1212
1212
|
"show-bg": r.value.showBg || r.value.bg,
|
|
1213
1213
|
default: r.value.size === "default",
|
|
@@ -1222,29 +1222,29 @@ const Zr = Pe(qr), Jr = {
|
|
|
1222
1222
|
style: le(e.value)
|
|
1223
1223
|
},
|
|
1224
1224
|
[
|
|
1225
|
-
t.value === "iksig" ? (I(),
|
|
1225
|
+
t.value === "iksig" ? (I(), F(
|
|
1226
1226
|
"i",
|
|
1227
1227
|
{
|
|
1228
1228
|
key: 0,
|
|
1229
|
-
class:
|
|
1229
|
+
class: ee(`iksig ${r.value.name}`),
|
|
1230
1230
|
style: le(e.value)
|
|
1231
1231
|
},
|
|
1232
1232
|
null,
|
|
1233
1233
|
6
|
|
1234
1234
|
/* CLASS, STYLE */
|
|
1235
|
-
)) : t.value === "svg" ? (I(),
|
|
1235
|
+
)) : t.value === "svg" ? (I(), F("svg", is, [
|
|
1236
1236
|
S("use", {
|
|
1237
1237
|
"xlink:href": `#${r.value.name}`
|
|
1238
1238
|
}, null, 8, ns)
|
|
1239
|
-
])) : t.value === "img" ? (I(),
|
|
1239
|
+
])) : t.value === "img" ? (I(), F("img", {
|
|
1240
1240
|
key: 2,
|
|
1241
1241
|
src: r.value.name,
|
|
1242
1242
|
class: "h-[1em] w-[1em]"
|
|
1243
|
-
}, null, 8, rs)) : (I(),
|
|
1243
|
+
}, null, 8, rs)) : (I(), F(
|
|
1244
1244
|
"i",
|
|
1245
1245
|
{
|
|
1246
1246
|
key: 3,
|
|
1247
|
-
class:
|
|
1247
|
+
class: ee(r.value.name),
|
|
1248
1248
|
style: le(e.value)
|
|
1249
1249
|
},
|
|
1250
1250
|
null,
|
|
@@ -1259,11 +1259,11 @@ const Zr = Pe(qr), Jr = {
|
|
|
1259
1259
|
_: 1
|
|
1260
1260
|
/* STABLE */
|
|
1261
1261
|
}, 8, ["content"]))
|
|
1262
|
-
])) : (I(),
|
|
1262
|
+
])) : (I(), pe(l, {
|
|
1263
1263
|
key: 1,
|
|
1264
1264
|
type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
|
|
1265
1265
|
}, {
|
|
1266
|
-
default:
|
|
1266
|
+
default: q(() => [
|
|
1267
1267
|
Ye(
|
|
1268
1268
|
_e(r.value.title),
|
|
1269
1269
|
1
|
|
@@ -1289,15 +1289,25 @@ const os = /* @__PURE__ */ it(ss, [["__scopeId", "data-v-52806adf"]]), $e = Pe(o
|
|
|
1289
1289
|
}
|
|
1290
1290
|
},
|
|
1291
1291
|
setup(a) {
|
|
1292
|
-
return (o, r) => (I(),
|
|
1293
|
-
|
|
1294
|
-
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1292
|
+
return (o, r) => (I(), F(
|
|
1293
|
+
"div",
|
|
1294
|
+
{
|
|
1295
|
+
class: ee({ "exit-main-page-maximize": a.showBg && a.fullscreen })
|
|
1296
|
+
},
|
|
1297
|
+
[
|
|
1298
|
+
X(z($e), {
|
|
1299
|
+
name: "iksvg_guanbidanchuang",
|
|
1300
|
+
title: "关闭",
|
|
1301
|
+
size: 20,
|
|
1302
|
+
error: ""
|
|
1303
|
+
})
|
|
1304
|
+
],
|
|
1305
|
+
2
|
|
1306
|
+
/* CLASS */
|
|
1307
|
+
));
|
|
1298
1308
|
}
|
|
1299
1309
|
});
|
|
1300
|
-
const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-
|
|
1310
|
+
const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-da39e979"]]), us = { class: "base-header" }, cs = /* @__PURE__ */ se({
|
|
1301
1311
|
__name: "IkBaseDialog",
|
|
1302
1312
|
props: /* @__PURE__ */ ut({
|
|
1303
1313
|
title: { default: "" },
|
|
@@ -1330,7 +1340,7 @@ const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-e27fb022"]]), us = { cl
|
|
|
1330
1340
|
});
|
|
1331
1341
|
return (n, s) => {
|
|
1332
1342
|
const l = Ee("el-dialog");
|
|
1333
|
-
return I(),
|
|
1343
|
+
return I(), pe(l, Ut({
|
|
1334
1344
|
modelValue: r.value,
|
|
1335
1345
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
|
|
1336
1346
|
}, n.$attrs, {
|
|
@@ -1339,8 +1349,8 @@ const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-e27fb022"]]), us = { cl
|
|
|
1339
1349
|
fullscreen: t.value,
|
|
1340
1350
|
"modal-class": "baseDialog"
|
|
1341
1351
|
}), Tn({
|
|
1342
|
-
icon:
|
|
1343
|
-
|
|
1352
|
+
icon: q(() => [
|
|
1353
|
+
ge(n.$slots, "title", {}, () => [
|
|
1344
1354
|
Ye(
|
|
1345
1355
|
_e(n.title),
|
|
1346
1356
|
1
|
|
@@ -1348,9 +1358,9 @@ const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-e27fb022"]]), us = { cl
|
|
|
1348
1358
|
)
|
|
1349
1359
|
])
|
|
1350
1360
|
]),
|
|
1351
|
-
header:
|
|
1361
|
+
header: q(() => [
|
|
1352
1362
|
S("div", us, [
|
|
1353
|
-
|
|
1363
|
+
ge(n.$slots, "header", {}, () => [
|
|
1354
1364
|
Ye(
|
|
1355
1365
|
_e(n.title),
|
|
1356
1366
|
1
|
|
@@ -1358,7 +1368,7 @@ const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-e27fb022"]]), us = { cl
|
|
|
1358
1368
|
)
|
|
1359
1369
|
])
|
|
1360
1370
|
]),
|
|
1361
|
-
n.$attrs.showClose ? (I(),
|
|
1371
|
+
n.$attrs.showClose ? (I(), pe(z($e), {
|
|
1362
1372
|
key: 0,
|
|
1363
1373
|
onClick: e,
|
|
1364
1374
|
name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
@@ -1366,16 +1376,16 @@ const ls = /* @__PURE__ */ it(as, [["__scopeId", "data-v-e27fb022"]]), us = { cl
|
|
|
1366
1376
|
title: t.value ? "退出全屏" : "全屏"
|
|
1367
1377
|
}, null, 8, ["name", "title"])) : ue("v-if", !0)
|
|
1368
1378
|
]),
|
|
1369
|
-
default:
|
|
1370
|
-
|
|
1379
|
+
default: q(() => [
|
|
1380
|
+
ge(n.$slots, "default")
|
|
1371
1381
|
]),
|
|
1372
1382
|
_: 2
|
|
1373
1383
|
/* DYNAMIC */
|
|
1374
1384
|
}, [
|
|
1375
1385
|
n.$slots.footer ? {
|
|
1376
1386
|
name: "footer",
|
|
1377
|
-
fn:
|
|
1378
|
-
|
|
1387
|
+
fn: q(() => [
|
|
1388
|
+
ge(n.$slots, "footer")
|
|
1379
1389
|
]),
|
|
1380
1390
|
key: "0"
|
|
1381
1391
|
} : void 0
|
|
@@ -1686,7 +1696,7 @@ var ps = function(a, o) {
|
|
|
1686
1696
|
});
|
|
1687
1697
|
const vs = ["id"];
|
|
1688
1698
|
function ms(a, o, r, t, e, i) {
|
|
1689
|
-
return I(),
|
|
1699
|
+
return I(), F("div", { id: a.id }, null, 8, vs);
|
|
1690
1700
|
}
|
|
1691
1701
|
qt.render = ms;
|
|
1692
1702
|
qt.__file = "src/components/DocumentEditor.vue";
|
|
@@ -1719,13 +1729,13 @@ const ys = /* @__PURE__ */ se({
|
|
|
1719
1729
|
}), t = () => {
|
|
1720
1730
|
console.info("文档加载完成", o.configOptions);
|
|
1721
1731
|
};
|
|
1722
|
-
return (e, i) => (I(),
|
|
1732
|
+
return (e, i) => (I(), F(
|
|
1723
1733
|
"div",
|
|
1724
1734
|
{
|
|
1725
1735
|
style: le({ height: o.officeHeight })
|
|
1726
1736
|
},
|
|
1727
1737
|
[
|
|
1728
|
-
|
|
1738
|
+
X(z(qt), {
|
|
1729
1739
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1730
1740
|
ref: "editorRef",
|
|
1731
1741
|
"document-server-url": a.documentServerUrl,
|
|
@@ -1760,13 +1770,13 @@ function W(a) {
|
|
|
1760
1770
|
}
|
|
1761
1771
|
return a;
|
|
1762
1772
|
}
|
|
1763
|
-
function
|
|
1773
|
+
function Z(a) {
|
|
1764
1774
|
"@babel/helpers - typeof";
|
|
1765
|
-
return
|
|
1775
|
+
return Z = typeof Symbol == "function" && typeof Symbol.iterator == "symbol" ? function(o) {
|
|
1766
1776
|
return typeof o;
|
|
1767
1777
|
} : function(o) {
|
|
1768
1778
|
return o && typeof Symbol == "function" && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o;
|
|
1769
|
-
},
|
|
1779
|
+
}, Z(a);
|
|
1770
1780
|
}
|
|
1771
1781
|
function T(a, o) {
|
|
1772
1782
|
if (!(a instanceof o))
|
|
@@ -1864,7 +1874,7 @@ function L() {
|
|
|
1864
1874
|
}
|
|
1865
1875
|
}, L.apply(this, arguments);
|
|
1866
1876
|
}
|
|
1867
|
-
function
|
|
1877
|
+
function ce(a) {
|
|
1868
1878
|
return ws(a) || Ts(a) || Es(a) || Ss();
|
|
1869
1879
|
}
|
|
1870
1880
|
function ws(a) {
|
|
@@ -1976,7 +1986,7 @@ var $i = { exports: {} };
|
|
|
1976
1986
|
w[b - 1] = arguments[b];
|
|
1977
1987
|
_.fn.apply(_.context, w);
|
|
1978
1988
|
} else {
|
|
1979
|
-
var B = _.length,
|
|
1989
|
+
var B = _.length, M;
|
|
1980
1990
|
for (b = 0; b < B; b++)
|
|
1981
1991
|
switch (_[b].once && this.removeListener(u, _[b].fn, void 0, !0), C) {
|
|
1982
1992
|
case 1:
|
|
@@ -1993,8 +2003,8 @@ var $i = { exports: {} };
|
|
|
1993
2003
|
break;
|
|
1994
2004
|
default:
|
|
1995
2005
|
if (!w)
|
|
1996
|
-
for (
|
|
1997
|
-
w[
|
|
2006
|
+
for (M = 1, w = new Array(C - 1); M < C; M++)
|
|
2007
|
+
w[M - 1] = arguments[M];
|
|
1998
2008
|
_[b].fn.apply(_[b].context, w);
|
|
1999
2009
|
}
|
|
2000
2010
|
}
|
|
@@ -2104,7 +2114,7 @@ f.hasClass = function(a, o) {
|
|
|
2104
2114
|
return t === o;
|
|
2105
2115
|
});
|
|
2106
2116
|
} catch {
|
|
2107
|
-
var r = a.className &&
|
|
2117
|
+
var r = a.className && Z(a.className) === "object" ? a.getAttribute("class") : a.className;
|
|
2108
2118
|
return r && !!r.match(new RegExp("(\\s|^)" + o + "(\\s|$)"));
|
|
2109
2119
|
}
|
|
2110
2120
|
};
|
|
@@ -2115,7 +2125,7 @@ f.addClass = function(a, o) {
|
|
|
2115
2125
|
r && a.classList.add(r);
|
|
2116
2126
|
});
|
|
2117
2127
|
} catch {
|
|
2118
|
-
f.hasClass(a, o) || (a.className &&
|
|
2128
|
+
f.hasClass(a, o) || (a.className && Z(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class") + " " + o) : a.className += " " + o);
|
|
2119
2129
|
}
|
|
2120
2130
|
};
|
|
2121
2131
|
f.removeClass = function(a, o) {
|
|
@@ -2127,7 +2137,7 @@ f.removeClass = function(a, o) {
|
|
|
2127
2137
|
} catch {
|
|
2128
2138
|
f.hasClass(a, o) && o.split(/\s+/g).forEach(function(t) {
|
|
2129
2139
|
var e = new RegExp("(\\s|^)" + t + "(\\s|$)");
|
|
2130
|
-
a.className &&
|
|
2140
|
+
a.className && Z(a.className) === "object" ? a.setAttribute("class", a.getAttribute("class").replace(e, " ")) : a.className = a.className.replace(e, " ");
|
|
2131
2141
|
});
|
|
2132
2142
|
}
|
|
2133
2143
|
};
|
|
@@ -2190,7 +2200,7 @@ f.deepMerge = function(a, o) {
|
|
|
2190
2200
|
if (f.typeOf(o[r]) === "Array" && f.typeOf(a[r]) === "Array") {
|
|
2191
2201
|
if (f.typeOf(a[r]) === "Array") {
|
|
2192
2202
|
var t;
|
|
2193
|
-
(t = a[r]).push.apply(t,
|
|
2203
|
+
(t = a[r]).push.apply(t, ce(o[r]));
|
|
2194
2204
|
}
|
|
2195
2205
|
} else
|
|
2196
2206
|
f.typeOf(a[r]) === f.typeOf(o[r]) && a[r] !== null && f.typeOf(a[r]) === "Object" && !(o[r] instanceof window.Node) ? f.deepMerge(a[r], o[r]) : o[r] !== null && (a[r] = o[r]);
|
|
@@ -2271,7 +2281,7 @@ f.checkIsFunction = function(a) {
|
|
|
2271
2281
|
return a && typeof a == "function";
|
|
2272
2282
|
};
|
|
2273
2283
|
f.checkIsObject = function(a) {
|
|
2274
|
-
return a !== null &&
|
|
2284
|
+
return a !== null && Z(a) === "object";
|
|
2275
2285
|
};
|
|
2276
2286
|
f.hide = function(a) {
|
|
2277
2287
|
a.style.display = "none";
|
|
@@ -2501,7 +2511,7 @@ f.getCurrentTimeByOffset = function(a, o) {
|
|
|
2501
2511
|
return a;
|
|
2502
2512
|
};
|
|
2503
2513
|
function Xi(a) {
|
|
2504
|
-
var o =
|
|
2514
|
+
var o = Z(a);
|
|
2505
2515
|
return a !== null && (o === "object" || o === "function");
|
|
2506
2516
|
}
|
|
2507
2517
|
function Ds(a, o, r) {
|
|
@@ -2510,11 +2520,11 @@ function Ds(a, o, r) {
|
|
|
2510
2520
|
throw new TypeError("Expected a function");
|
|
2511
2521
|
o = +o || 0, Xi(r) && (c = !!r.leading, h = "maxWait" in r, i = h ? Math.max(+r.maxWait || 0, o) : i, d = "trailing" in r ? !!r.trailing : d);
|
|
2512
2522
|
function p(H) {
|
|
2513
|
-
var
|
|
2514
|
-
return t = e = void 0, u = H, n = a.apply(oe,
|
|
2523
|
+
var te = t, oe = e;
|
|
2524
|
+
return t = e = void 0, u = H, n = a.apply(oe, te), n;
|
|
2515
2525
|
}
|
|
2516
|
-
function m(H,
|
|
2517
|
-
return g ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(H)) : setTimeout(H,
|
|
2526
|
+
function m(H, te) {
|
|
2527
|
+
return g ? (window.cancelAnimationFrame(s), window.requestAnimationFrame(H)) : setTimeout(H, te);
|
|
2518
2528
|
}
|
|
2519
2529
|
function _(H) {
|
|
2520
2530
|
if (g)
|
|
@@ -2525,35 +2535,35 @@ function Ds(a, o, r) {
|
|
|
2525
2535
|
return u = H, s = m(B, o), c ? p(H) : n;
|
|
2526
2536
|
}
|
|
2527
2537
|
function w(H) {
|
|
2528
|
-
var
|
|
2538
|
+
var te = H - l, oe = H - u, ae = o - te;
|
|
2529
2539
|
return h ? Math.min(ae, i - oe) : ae;
|
|
2530
2540
|
}
|
|
2531
2541
|
function b(H) {
|
|
2532
|
-
var
|
|
2533
|
-
return l === void 0 ||
|
|
2542
|
+
var te = H - l, oe = H - u;
|
|
2543
|
+
return l === void 0 || te >= o || te < 0 || h && oe >= i;
|
|
2534
2544
|
}
|
|
2535
2545
|
function B() {
|
|
2536
2546
|
var H = Date.now();
|
|
2537
2547
|
if (b(H))
|
|
2538
|
-
return
|
|
2548
|
+
return M(H);
|
|
2539
2549
|
s = m(B, w(H));
|
|
2540
2550
|
}
|
|
2541
|
-
function
|
|
2551
|
+
function M(H) {
|
|
2542
2552
|
return s = void 0, d && t ? p(H) : (t = e = void 0, n);
|
|
2543
2553
|
}
|
|
2544
2554
|
function V() {
|
|
2545
2555
|
s !== void 0 && _(s), u = 0, t = l = e = s = void 0;
|
|
2546
2556
|
}
|
|
2547
2557
|
function D() {
|
|
2548
|
-
return s === void 0 ? n :
|
|
2558
|
+
return s === void 0 ? n : M(Date.now());
|
|
2549
2559
|
}
|
|
2550
|
-
function
|
|
2560
|
+
function J() {
|
|
2551
2561
|
return s !== void 0;
|
|
2552
2562
|
}
|
|
2553
2563
|
function G() {
|
|
2554
|
-
for (var H = Date.now(),
|
|
2564
|
+
for (var H = Date.now(), te = b(H), oe = arguments.length, ae = new Array(oe), Le = 0; Le < oe; Le++)
|
|
2555
2565
|
ae[Le] = arguments[Le];
|
|
2556
|
-
if (t = ae, e = this, l = H,
|
|
2566
|
+
if (t = ae, e = this, l = H, te) {
|
|
2557
2567
|
if (s === void 0)
|
|
2558
2568
|
return C(l);
|
|
2559
2569
|
if (h)
|
|
@@ -2561,7 +2571,7 @@ function Ds(a, o, r) {
|
|
|
2561
2571
|
}
|
|
2562
2572
|
return s === void 0 && (s = m(B, o)), n;
|
|
2563
2573
|
}
|
|
2564
|
-
return G.cancel = V, G.flush = D, G.pending =
|
|
2574
|
+
return G.cancel = V, G.flush = D, G.pending = J, G;
|
|
2565
2575
|
}
|
|
2566
2576
|
function Rs(a, o, r) {
|
|
2567
2577
|
var t = !0, e = !0;
|
|
@@ -3375,7 +3385,7 @@ function vt(a, o) {
|
|
|
3375
3385
|
try {
|
|
3376
3386
|
var n, s = (n = this.__hooks[a]).call.apply(n, [this, this].concat(Array.prototype.slice.call(arguments)));
|
|
3377
3387
|
s ? s.then ? s.then(function(l) {
|
|
3378
|
-
l !== !1 && st.apply(void 0, [e, o, r.next].concat(
|
|
3388
|
+
l !== !1 && st.apply(void 0, [e, o, r.next].concat(ce(t)));
|
|
3379
3389
|
}).catch(function(l) {
|
|
3380
3390
|
throw l;
|
|
3381
3391
|
}) : st.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments))) : s === void 0 && st.apply(void 0, [this, o, r.next].concat(Array.prototype.slice.call(arguments)));
|
|
@@ -3686,10 +3696,10 @@ function At(a) {
|
|
|
3686
3696
|
return a ? a.indexOf && /^(?:http|data:|\/)/.test(a) : !1;
|
|
3687
3697
|
}
|
|
3688
3698
|
function so(a, o) {
|
|
3689
|
-
return
|
|
3699
|
+
return Z(a) === "object" && a.class && typeof a.class == "string" ? "".concat(o, " ").concat(a.class) : o;
|
|
3690
3700
|
}
|
|
3691
3701
|
function oo(a, o) {
|
|
3692
|
-
return
|
|
3702
|
+
return Z(a) === "object" && a.attr && Z(a.attr) === "object" && Object.keys(a.attr).map(function(r) {
|
|
3693
3703
|
o[r] = a.attr[r];
|
|
3694
3704
|
}), o;
|
|
3695
3705
|
}
|
|
@@ -3769,11 +3779,11 @@ var U = /* @__PURE__ */ function(a) {
|
|
|
3769
3779
|
if (this.root) {
|
|
3770
3780
|
this._children = [];
|
|
3771
3781
|
var i = this.children();
|
|
3772
|
-
i &&
|
|
3782
|
+
i && Z(i) === "object" && Object.keys(i).length > 0 && Object.keys(i).map(function(n) {
|
|
3773
3783
|
var s = n, l = i[s], u = {
|
|
3774
3784
|
root: e.root
|
|
3775
3785
|
}, c, h;
|
|
3776
|
-
typeof l == "function" ? (c = e.config[s] || {}, h = l) :
|
|
3786
|
+
typeof l == "function" ? (c = e.config[s] || {}, h = l) : Z(l) === "object" && typeof l.plugin == "function" && (c = l.options ? f.deepCopy(e.config[s] || {}, l.options) : e.config[s] || {}, h = l.plugin), u.config = c, c.index !== void 0 && (u.index = c.index), c.root && (u.root = c.root), e.registerPlugin(h, u, s);
|
|
3777
3787
|
});
|
|
3778
3788
|
}
|
|
3779
3789
|
}
|
|
@@ -4408,11 +4418,11 @@ var ho = function(o, r) {
|
|
|
4408
4418
|
var t, e, i;
|
|
4409
4419
|
r.preset && r.options ? i = new r.preset(r.options, o.config) : i = new r({}, o.config);
|
|
4410
4420
|
var n = i, s = n.plugins, l = s === void 0 ? [] : s, u = n.ignores, c = u === void 0 ? [] : u, h = n.icons, d = h === void 0 ? {} : h, g = n.i18n, p = g === void 0 ? [] : g;
|
|
4411
|
-
o.config.plugins || (o.config.plugins = []), o.config.ignores || (o.config.ignores = []), (t = o.config.plugins).push.apply(t,
|
|
4421
|
+
o.config.plugins || (o.config.plugins = []), o.config.ignores || (o.config.ignores = []), (t = o.config.plugins).push.apply(t, ce(l)), (e = o.config.ignores).push.apply(e, ce(c)), Object.keys(d).map(function(_) {
|
|
4412
4422
|
o.config.icons[_] || (o.config.icons[_] = d[_]);
|
|
4413
4423
|
});
|
|
4414
4424
|
var m = o.config.i18n || [];
|
|
4415
|
-
p.push.apply(p,
|
|
4425
|
+
p.push.apply(p, ce(m)), o.config.i18n = p;
|
|
4416
4426
|
}, go = /* @__PURE__ */ function(a) {
|
|
4417
4427
|
x(r, a);
|
|
4418
4428
|
var o = P(r);
|
|
@@ -4659,7 +4669,7 @@ function tt(a, o) {
|
|
|
4659
4669
|
var t = f.typeOf(o[r]), e = f.typeOf(a[r]);
|
|
4660
4670
|
if (t === "Array") {
|
|
4661
4671
|
var i;
|
|
4662
|
-
e !== "Array" && (a[r] = []), (i = a[r]).push.apply(i,
|
|
4672
|
+
e !== "Array" && (a[r] = []), (i = a[r]).push.apply(i, ce(o[r]));
|
|
4663
4673
|
} else
|
|
4664
4674
|
t === "Object" ? (e !== "Object" && (a[r] = {}), tt(a[r], o[r])) : a[r] = o[r];
|
|
4665
4675
|
}), a;
|
|
@@ -4699,7 +4709,7 @@ function mo(a) {
|
|
|
4699
4709
|
textKeys: {},
|
|
4700
4710
|
pId: a
|
|
4701
4711
|
};
|
|
4702
|
-
return tt(r.lang, ie.lang), (o = r.langKeys).push.apply(o,
|
|
4712
|
+
return tt(r.lang, ie.lang), (o = r.langKeys).push.apply(o, ce(ie.langKeys)), tt(r.textKeys, ie.textKeys), r;
|
|
4703
4713
|
}
|
|
4704
4714
|
si(po);
|
|
4705
4715
|
var Ke = {
|
|
@@ -4727,7 +4737,7 @@ var Ke = {
|
|
|
4727
4737
|
RUNNING: 6,
|
|
4728
4738
|
ENDED: 7,
|
|
4729
4739
|
DESTROYED: 8
|
|
4730
|
-
}, Si = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"],
|
|
4740
|
+
}, Si = ["ERROR", "INITIAL", "READY", "ATTACHING", "ATTACHED", "NOTALLOW", "RUNNING", "ENDED", "DESTROYED"], Q = {}, Lt = null, mn = /* @__PURE__ */ function(a) {
|
|
4731
4741
|
x(r, a);
|
|
4732
4742
|
var o = P(r);
|
|
4733
4743
|
function r() {
|
|
@@ -4736,20 +4746,20 @@ var Ke = {
|
|
|
4736
4746
|
return E(r, [{
|
|
4737
4747
|
key: "add",
|
|
4738
4748
|
value: function(e) {
|
|
4739
|
-
e && (
|
|
4749
|
+
e && (Q[e.playerId] = e, Object.keys(Q).length === 1 && this.setActive(e.playerId, !0));
|
|
4740
4750
|
}
|
|
4741
4751
|
}, {
|
|
4742
4752
|
key: "remove",
|
|
4743
4753
|
value: function(e) {
|
|
4744
|
-
e && (e.isUserActive, delete
|
|
4754
|
+
e && (e.isUserActive, delete Q[e.playerId]);
|
|
4745
4755
|
}
|
|
4746
4756
|
}, {
|
|
4747
4757
|
key: "_iterate",
|
|
4748
4758
|
value: function(e) {
|
|
4749
4759
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
|
|
4750
|
-
for (var n in
|
|
4751
|
-
if (Object.prototype.hasOwnProperty.call(
|
|
4752
|
-
var s =
|
|
4760
|
+
for (var n in Q)
|
|
4761
|
+
if (Object.prototype.hasOwnProperty.call(Q, n)) {
|
|
4762
|
+
var s = Q[n];
|
|
4753
4763
|
if (i) {
|
|
4754
4764
|
if (e(s))
|
|
4755
4765
|
break;
|
|
@@ -4783,16 +4793,16 @@ var Ke = {
|
|
|
4783
4793
|
key: "setActive",
|
|
4784
4794
|
value: function(e) {
|
|
4785
4795
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
4786
|
-
if (
|
|
4796
|
+
if (Q[e])
|
|
4787
4797
|
return i ? this.forEach(function(n) {
|
|
4788
4798
|
e === n.playerId ? (n.isUserActive = !0, n.isInstNext = !1) : n.isUserActive = !1;
|
|
4789
|
-
}) :
|
|
4799
|
+
}) : Q[e].isUserActive = i, e;
|
|
4790
4800
|
}
|
|
4791
4801
|
}, {
|
|
4792
4802
|
key: "getActiveId",
|
|
4793
4803
|
value: function() {
|
|
4794
|
-
for (var e = Object.keys(
|
|
4795
|
-
var n =
|
|
4804
|
+
for (var e = Object.keys(Q), i = 0; i < e.length; i++) {
|
|
4805
|
+
var n = Q[e[i]];
|
|
4796
4806
|
if (n && n.isUserActive)
|
|
4797
4807
|
return e[i];
|
|
4798
4808
|
}
|
|
@@ -4802,10 +4812,10 @@ var Ke = {
|
|
|
4802
4812
|
key: "setNext",
|
|
4803
4813
|
value: function(e) {
|
|
4804
4814
|
var i = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !0;
|
|
4805
|
-
if (
|
|
4815
|
+
if (Q[e])
|
|
4806
4816
|
return i ? this.forEach(function(n) {
|
|
4807
4817
|
e === n.playerId ? (n.isUserActive = !1, n.isInstNext = !0) : n.isInstNext = !1;
|
|
4808
|
-
}) :
|
|
4818
|
+
}) : Q[e].isInstNext = i, e;
|
|
4809
4819
|
}
|
|
4810
4820
|
}], [{
|
|
4811
4821
|
key: "getInstance",
|
|
@@ -4815,8 +4825,8 @@ var Ke = {
|
|
|
4815
4825
|
}]), r;
|
|
4816
4826
|
}(Ki.EventEmitter);
|
|
4817
4827
|
function yo(a) {
|
|
4818
|
-
for (var o = Object.keys(
|
|
4819
|
-
var t =
|
|
4828
|
+
for (var o = Object.keys(Q), r = 0; r < o.length; r++) {
|
|
4829
|
+
var t = Q[o[r]];
|
|
4820
4830
|
if (t.root === a)
|
|
4821
4831
|
return t;
|
|
4822
4832
|
}
|
|
@@ -4857,8 +4867,8 @@ var _o = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
4857
4867
|
_(), !e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !0, e.changeFullStyle(e.root, C, k.FULLSCREEN), e.emit(ve, !0, e._fullScreenOffset), e.cssfullscreen && e.exitCssFullscreen();
|
|
4858
4868
|
else if (e.fullscreen) {
|
|
4859
4869
|
_();
|
|
4860
|
-
var b = v(e), B = b._fullScreenOffset,
|
|
4861
|
-
if (
|
|
4870
|
+
var b = v(e), B = b._fullScreenOffset, M = b.config;
|
|
4871
|
+
if (M.needFullscreenScroll ? (window.scrollTo(B.left, B.top), f.setTimeout(v(e), function() {
|
|
4862
4872
|
e.fullscreen = !1, e._fullScreenOffset = null;
|
|
4863
4873
|
}, 100)) : (!e.config.closeFocusVideoFocus && e.media.focus(), e.fullscreen = !1, e._fullScreenOffset = null), e.cssfullscreen)
|
|
4864
4874
|
e.removeClass(k.FULLSCREEN);
|
|
@@ -4965,8 +4975,8 @@ var _o = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
4965
4975
|
["width", "height"].forEach(function(D) {
|
|
4966
4976
|
i.config[D] && (typeof i.config[D] != "number" ? i.root.style[D] = i.config[D] : i.root.style[D] = "".concat(i.config[D], "px"));
|
|
4967
4977
|
});
|
|
4968
|
-
var w = this.root.getBoundingClientRect(), b = w.width, B = w.height,
|
|
4969
|
-
return this.sizeInfo.width = b, this.sizeInfo.height = B, this.sizeInfo.left =
|
|
4978
|
+
var w = this.root.getBoundingClientRect(), b = w.width, B = w.height, M = w.left, V = w.top;
|
|
4979
|
+
return this.sizeInfo.width = b, this.sizeInfo.height = B, this.sizeInfo.left = M, this.sizeInfo.top = V, !0;
|
|
4970
4980
|
}
|
|
4971
4981
|
}, {
|
|
4972
4982
|
key: "_initBaseDoms",
|
|
@@ -5649,13 +5659,13 @@ var _o = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
5649
5659
|
this.videoPos.pi = c, u = u < 0 ? 0 : u;
|
|
5650
5660
|
var h = {
|
|
5651
5661
|
rotate: u
|
|
5652
|
-
}, d = 0, g = 0, p = 1, m = Math.abs(u / 90), _ = this.root, C = this.innerContainer, w = _.offsetWidth, b = C ? C.offsetHeight : _.offsetHeight, B = b,
|
|
5662
|
+
}, d = 0, g = 0, p = 1, m = Math.abs(u / 90), _ = this.root, C = this.innerContainer, w = _.offsetWidth, b = C ? C.offsetHeight : _.offsetHeight, B = b, M = w;
|
|
5653
5663
|
if (m % 2 === 0)
|
|
5654
|
-
p = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = p, d = i > 0 ? (100 - s) / 2 - i : 0, h.y = m === 2 ? 0 - d : d, g = n > 0 ? (100 - l) / 2 - n : 0, h.x = m === 2 ? 0 - g : g, this.media.style.width = "".concat(
|
|
5664
|
+
p = s > 0 ? 100 / s : l > 0 ? 100 / l : 1, h.scale = p, d = i > 0 ? (100 - s) / 2 - i : 0, h.y = m === 2 ? 0 - d : d, g = n > 0 ? (100 - l) / 2 - n : 0, h.x = m === 2 ? 0 - g : g, this.media.style.width = "".concat(M, "px"), this.media.style.height = "".concat(B, "px");
|
|
5655
5665
|
else if (m % 2 === 1) {
|
|
5656
|
-
|
|
5666
|
+
M = b, B = w;
|
|
5657
5667
|
var V = b - w;
|
|
5658
|
-
g = -V / 2 /
|
|
5668
|
+
g = -V / 2 / M * 100, h.x = m === 3 ? g + i / 2 : g - i / 2, d = V / 2 / B * 100, h.y = m === 3 ? d + n / 2 : d - n / 2, h.scale = p, this.media.style.width = "".concat(M, "px"), this.media.style.height = "".concat(B, "px");
|
|
5659
5669
|
}
|
|
5660
5670
|
var D = f.getTransformStyle(h, this.media.style.transform || this.media.style.webkitTransform);
|
|
5661
5671
|
this.media.style.transform = D, this.media.style.webkitTransform = D;
|
|
@@ -5707,8 +5717,8 @@ var _o = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
5707
5717
|
if ((h === "fill" || h === "cover" || h === "contain") && this.setAttribute("data-xgfill", h), !(!l || !s)) {
|
|
5708
5718
|
this._videoHeight = l, this._videoWidth = s;
|
|
5709
5719
|
var d = this.controls && this.innerContainer ? this.controls.root.getBoundingClientRect().height : 0, g = i.width, p = i.height - d, m = parseInt(s / l * 1e3, 10), _ = parseInt(g / p * 1e3, 10), C = g, w = p, b = {};
|
|
5710
|
-
c === "auto" && _ > m || c === "fixWidth" ? (w = g / m * 1e3, this.config.fluid ? b.paddingTop = "".concat(w * 100 / C, "%") : b.height = "".concat(w + d, "px")) : (c === "auto" && _ < m || c === "fixHeight") && (C = m * p / 1e3, b.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(b).forEach(function(
|
|
5711
|
-
e.root.style[
|
|
5720
|
+
c === "auto" && _ > m || c === "fixWidth" ? (w = g / m * 1e3, this.config.fluid ? b.paddingTop = "".concat(w * 100 / C, "%") : b.height = "".concat(w + d, "px")) : (c === "auto" && _ < m || c === "fixHeight") && (C = m * p / 1e3, b.width = "".concat(C, "px")), !this.fullscreen && !this.cssfullscreen && Object.keys(b).forEach(function(M) {
|
|
5721
|
+
e.root.style[M] = b[M];
|
|
5712
5722
|
}), (h === "fillHeight" && _ < m || h === "fillWidth" && _ > m) && this.setAttribute("data-xgfill", "cover");
|
|
5713
5723
|
var B = {
|
|
5714
5724
|
videoScale: m,
|
|
@@ -6392,23 +6402,23 @@ function ai() {
|
|
|
6392
6402
|
</svg>
|
|
6393
6403
|
`, "image/svg+xml").firstChild;
|
|
6394
6404
|
}
|
|
6395
|
-
var
|
|
6405
|
+
var de = {};
|
|
6396
6406
|
function To(a, o) {
|
|
6397
6407
|
var r = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {
|
|
6398
6408
|
start: null,
|
|
6399
6409
|
end: null
|
|
6400
6410
|
};
|
|
6401
|
-
return
|
|
6402
|
-
r.end && r.end(), window.clearTimeout(
|
|
6403
|
-
}, o),
|
|
6411
|
+
return de[a] && window.clearTimeout(de[a].id), de[a] = {}, r.start && r.start(), de[a].id = window.setTimeout(function() {
|
|
6412
|
+
r.end && r.end(), window.clearTimeout(de[a].id), delete de[a];
|
|
6413
|
+
}, o), de[a].id;
|
|
6404
6414
|
}
|
|
6405
6415
|
function Ii(a) {
|
|
6406
6416
|
if (a) {
|
|
6407
6417
|
window.clearTimeout(a);
|
|
6408
6418
|
return;
|
|
6409
6419
|
}
|
|
6410
|
-
Object.keys(
|
|
6411
|
-
window.clearTimeout(
|
|
6420
|
+
Object.keys(de).map(function(o) {
|
|
6421
|
+
window.clearTimeout(de[o].id), delete de[o];
|
|
6412
6422
|
});
|
|
6413
6423
|
}
|
|
6414
6424
|
var Eo = /* @__PURE__ */ function(a) {
|
|
@@ -6705,7 +6715,7 @@ function Po(a) {
|
|
|
6705
6715
|
return o;
|
|
6706
6716
|
}
|
|
6707
6717
|
function Di(a) {
|
|
6708
|
-
if (typeof a == "string" && (a = document.querySelector(a)), !(!a ||
|
|
6718
|
+
if (typeof a == "string" && (a = document.querySelector(a)), !(!a || Z(a) !== "object" || !a.nodeType)) {
|
|
6709
6719
|
var o = Po(a);
|
|
6710
6720
|
if (o.display === "none")
|
|
6711
6721
|
return xo();
|
|
@@ -8519,7 +8529,7 @@ var Ho = /* @__PURE__ */ function(a) {
|
|
|
8519
8529
|
key: "initCustomStyle",
|
|
8520
8530
|
value: function() {
|
|
8521
8531
|
var e = this.playerConfig || {}, i = e.commonStyle, n = i.sliderBtnStyle, s = this.progressBtn;
|
|
8522
|
-
n && (typeof n == "string" ? s.style.boxShadow = n :
|
|
8532
|
+
n && (typeof n == "string" ? s.style.boxShadow = n : Z(n) === "object" && Object.keys(n).map(function(l) {
|
|
8523
8533
|
s.style[l] = n[l];
|
|
8524
8534
|
}));
|
|
8525
8535
|
}
|
|
@@ -9640,9 +9650,9 @@ var ia = /* @__PURE__ */ function(a) {
|
|
|
9640
9650
|
webKitTransform: w,
|
|
9641
9651
|
height: m,
|
|
9642
9652
|
width: p
|
|
9643
|
-
}, B = i ? h : u,
|
|
9653
|
+
}, B = i ? h : u, M = i ? n.getPlugin("poster") : null;
|
|
9644
9654
|
Object.keys(b).map(function(V) {
|
|
9645
|
-
B.style[V] = b[V],
|
|
9655
|
+
B.style[V] = b[V], M && M.root && (M.root.style[V] = b[V]);
|
|
9646
9656
|
});
|
|
9647
9657
|
}
|
|
9648
9658
|
}, {
|
|
@@ -9785,9 +9795,9 @@ var Ue = {
|
|
|
9785
9795
|
}, {
|
|
9786
9796
|
key: "copyStyleIntoPiPWindow",
|
|
9787
9797
|
value: function(e) {
|
|
9788
|
-
var i =
|
|
9798
|
+
var i = ce(document.styleSheets).map(function(s) {
|
|
9789
9799
|
try {
|
|
9790
|
-
return
|
|
9800
|
+
return ce(s.cssRules).map(function(u) {
|
|
9791
9801
|
return u.cssText;
|
|
9792
9802
|
}).join("");
|
|
9793
9803
|
} catch {
|
|
@@ -10007,11 +10017,11 @@ var aa = /* @__PURE__ */ function(a) {
|
|
|
10007
10017
|
}
|
|
10008
10018
|
if (/^data:([\w+-]+\/[\w+.-]+)?[,;]/.test(u))
|
|
10009
10019
|
if (u.length > 1024 * 1024 * 1.999 && g !== d)
|
|
10010
|
-
u =
|
|
10020
|
+
u = M(u), l = u.type || s;
|
|
10011
10021
|
else
|
|
10012
10022
|
return navigator.msSaveBlob ? (
|
|
10013
10023
|
// IE10 can't do a[download], only Blobs:
|
|
10014
|
-
navigator.msSaveBlob(
|
|
10024
|
+
navigator.msSaveBlob(M(u), p)
|
|
10015
10025
|
) : V(u);
|
|
10016
10026
|
else if (/([\x80-\xff])/.test(u)) {
|
|
10017
10027
|
var w = 0, b = new Uint8Array(u.length), B = b.length;
|
|
@@ -10020,16 +10030,16 @@ var aa = /* @__PURE__ */ function(a) {
|
|
|
10020
10030
|
u = new g([b], { type: l });
|
|
10021
10031
|
}
|
|
10022
10032
|
m = u instanceof g ? u : new g([u], { type: l });
|
|
10023
|
-
function
|
|
10024
|
-
var
|
|
10033
|
+
function M(D) {
|
|
10034
|
+
var J = D.split(/[:;,]/), G = J[1], H = J[2] == "base64" ? atob : decodeURIComponent, te = H(J.pop()), oe = te.length, ae = 0, Le = new Uint8Array(oe);
|
|
10025
10035
|
for (ae; ae < oe; ++ae)
|
|
10026
|
-
Le[ae] =
|
|
10036
|
+
Le[ae] = te.charCodeAt(ae);
|
|
10027
10037
|
return new g([Le], { type: G });
|
|
10028
10038
|
}
|
|
10029
|
-
function V(D,
|
|
10039
|
+
function V(D, J) {
|
|
10030
10040
|
if ("download" in h)
|
|
10031
10041
|
return h.href = D, h.setAttribute("download", p), h.className = "download-js-link", h.innerHTML = "downloading...", h.style.display = "none", document.body.appendChild(h), setTimeout(function() {
|
|
10032
|
-
h.click(), document.body.removeChild(h),
|
|
10042
|
+
h.click(), document.body.removeChild(h), J === !0 && setTimeout(function() {
|
|
10033
10043
|
n.URL.revokeObjectURL(h.href);
|
|
10034
10044
|
}, 250);
|
|
10035
10045
|
}, 66), !0;
|
|
@@ -10038,7 +10048,7 @@ var aa = /* @__PURE__ */ function(a) {
|
|
|
10038
10048
|
|
|
10039
10049
|
Use Save As... to download, then click back to return to this page.`) && (location.href = D), !0;
|
|
10040
10050
|
var G = document.createElement("iframe");
|
|
10041
|
-
document.body.appendChild(G), !
|
|
10051
|
+
document.body.appendChild(G), !J && /^data:/.test(D) && (D = "data:" + D.replace(/^data:([\w\/\-\+]+)/, s)), G.src = D, setTimeout(function() {
|
|
10042
10052
|
document.body.removeChild(G);
|
|
10043
10053
|
}, 333);
|
|
10044
10054
|
}
|
|
@@ -10223,8 +10233,8 @@ var fa = /* @__PURE__ */ function(a) {
|
|
|
10223
10233
|
p = u.media.canvas;
|
|
10224
10234
|
else {
|
|
10225
10235
|
n.canvas ? (n.canvas.width = e || l.width, n.canvas.height = i || l.height) : n.createCanvas(e, i), p = n.canvas, m = n.canvasCtx;
|
|
10226
|
-
var _ = u.media.videoWidth / u.media.videoHeight, C = p.width / p.height, w = 0, b = 0, B = u.media.videoWidth,
|
|
10227
|
-
_ > C ? (
|
|
10236
|
+
var _ = u.media.videoWidth / u.media.videoHeight, C = p.width / p.height, w = 0, b = 0, B = u.media.videoWidth, M = u.media.videoHeight, V, D, J, G;
|
|
10237
|
+
_ > C ? (J = p.width, G = p.width / _, V = 0, D = Math.round((p.height - G) / 2)) : _ === C ? (J = p.width, G = p.height, V = 0, D = 0) : _ < C && (J = p.height * _, G = p.height, V = Math.round((p.width - J) / 2), D = 0), m.drawImage(u.media, w, b, B, M, V, D, J, G);
|
|
10228
10238
|
}
|
|
10229
10239
|
var H = p.toDataURL(h, c).replace(h, "image/octet-stream");
|
|
10230
10240
|
H = H.replace(/^data:image\/[^;]+/, "data:application/octet-stream"), d(H);
|
|
@@ -10350,7 +10360,7 @@ var fa = /* @__PURE__ */ function(a) {
|
|
|
10350
10360
|
}), this._delegates = null), this.root.innerHTML = null, this.parent.removeChild(this.root), this.root = null;
|
|
10351
10361
|
}
|
|
10352
10362
|
}]), a;
|
|
10353
|
-
}(),
|
|
10363
|
+
}(), he = {
|
|
10354
10364
|
SIDE: "side",
|
|
10355
10365
|
MIDDLE: "middle",
|
|
10356
10366
|
DEFAULT: "default"
|
|
@@ -10359,7 +10369,7 @@ var fa = /* @__PURE__ */ function(a) {
|
|
|
10359
10369
|
HOVER: "hover"
|
|
10360
10370
|
};
|
|
10361
10371
|
function ga(a, o) {
|
|
10362
|
-
return a ===
|
|
10372
|
+
return a === he.SIDE ? o === j.CONTROLS_LEFT ? "xg-side-list xg-left-side" : "xg-side-list xg-right-side" : "";
|
|
10363
10373
|
}
|
|
10364
10374
|
var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
10365
10375
|
x(r, a);
|
|
@@ -10377,7 +10387,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10377
10387
|
}), y(v(e), "onLeave", function(i) {
|
|
10378
10388
|
i.stopPropagation(), e.emit("icon_mouseleave", {
|
|
10379
10389
|
pluginName: e.pluginName
|
|
10380
|
-
}), e.config.listType !==
|
|
10390
|
+
}), e.config.listType !== he.SIDE && e.isActive && e.toggle(!1);
|
|
10381
10391
|
}), y(v(e), "onListEnter", function(i) {
|
|
10382
10392
|
e.enterType = 2;
|
|
10383
10393
|
}), y(v(e), "onListLeave", function(i) {
|
|
@@ -10393,7 +10403,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10393
10403
|
key: "afterCreate",
|
|
10394
10404
|
value: function() {
|
|
10395
10405
|
var e = this, i = this.config;
|
|
10396
|
-
this.initIcons(), De = De || this.domEventType === "touch", De && R.device === "mobile" && i.listType ===
|
|
10406
|
+
this.initIcons(), De = De || this.domEventType === "touch", De && R.device === "mobile" && i.listType === he.DEFAULT && (i.listType = he.SIDE), i.hidePortrait && f.addClass(this.root, "portrait"), this.on([Se, ve], function() {
|
|
10397
10407
|
e._resizeList();
|
|
10398
10408
|
}), this.once(ye, function() {
|
|
10399
10409
|
i.list && i.list.length > 0 && (e.renderItemList(i.list), e.show());
|
|
@@ -10427,7 +10437,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10427
10437
|
var s = this.config.list;
|
|
10428
10438
|
!n && (n = this.player.lang), i = !i || f.isUndefined(e[i]) ? "text" : i, typeof e == "number" && (e = s[e]);
|
|
10429
10439
|
try {
|
|
10430
|
-
return
|
|
10440
|
+
return Z(e[i]) === "object" ? e[i][n] || e[i].en : e[i];
|
|
10431
10441
|
} catch (l) {
|
|
10432
10442
|
return console.warn(l), "";
|
|
10433
10443
|
}
|
|
@@ -10437,7 +10447,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10437
10447
|
value: function(e) {
|
|
10438
10448
|
if (!(e === this.isActive || this.config.disable)) {
|
|
10439
10449
|
var i = this.player.controls, n = this.config.listType;
|
|
10440
|
-
e ? (n ===
|
|
10450
|
+
e ? (n === he.SIDE ? i.blur() : i.focus(), this.optionsList && this.optionsList.show()) : (n === he.SIDE ? i.focus() : i.focusAwhile(), this.optionsList && this.optionsList.hide()), this.isActive = e;
|
|
10441
10451
|
}
|
|
10442
10452
|
}
|
|
10443
10453
|
}, {
|
|
@@ -10447,7 +10457,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10447
10457
|
var n = this.config, s = n.listType, l = n.list;
|
|
10448
10458
|
this.curIndex = i.to.index, this.curItem = l[this.curIndex], this.changeCurrentText();
|
|
10449
10459
|
var u = this.config.isItemClickHide;
|
|
10450
|
-
(u || De || s ===
|
|
10460
|
+
(u || De || s === he.SIDE) && this.toggle(!1);
|
|
10451
10461
|
}
|
|
10452
10462
|
}, {
|
|
10453
10463
|
key: "onIconClick",
|
|
@@ -10478,10 +10488,10 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10478
10488
|
},
|
|
10479
10489
|
domEventType: De ? "touch" : "mouse"
|
|
10480
10490
|
},
|
|
10481
|
-
root: s.listType ===
|
|
10491
|
+
root: s.listType === he.SIDE ? u.innerContainer || u.root : this.root
|
|
10482
10492
|
};
|
|
10483
10493
|
if (this.config.isShowIcon) {
|
|
10484
|
-
var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType ===
|
|
10494
|
+
var h = this.player.root.getBoundingClientRect(), d = h.height, g = s.listType === he.MIDDLE ? d - 50 : d;
|
|
10485
10495
|
g && s.heightLimit && (c.config.maxHeight = "".concat(g, "px")), this.optionsList = new da(c), this.changeCurrentText(), this.show();
|
|
10486
10496
|
}
|
|
10487
10497
|
this._resizeList();
|
|
@@ -10490,7 +10500,7 @@ var De = R.device === "mobile", _t = /* @__PURE__ */ function(a) {
|
|
|
10490
10500
|
key: "_resizeList",
|
|
10491
10501
|
value: function() {
|
|
10492
10502
|
if (this.config.heightLimit) {
|
|
10493
|
-
var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType ===
|
|
10503
|
+
var e = this.player.root.getBoundingClientRect(), i = e.height, n = this.config.listType === he.MIDDLE ? i - 50 : i;
|
|
10494
10504
|
this.optionsList && this.optionsList.setStyle({
|
|
10495
10505
|
maxHeight: "".concat(n, "px")
|
|
10496
10506
|
});
|
|
@@ -11493,16 +11503,16 @@ var Ve = {
|
|
|
11493
11503
|
B < h / d ? (b = n, w = b * (h / d)) : (w = i, b = w / (h / d));
|
|
11494
11504
|
} else
|
|
11495
11505
|
n ? i || (b = n || d, w = b * (h / d)) : (w = i || h, b = w / (h / d));
|
|
11496
|
-
var
|
|
11506
|
+
var M = this.getUrlByIndex(p);
|
|
11497
11507
|
return {
|
|
11498
11508
|
urlIndex: p,
|
|
11499
11509
|
rowIndex: _,
|
|
11500
11510
|
colIndex: C,
|
|
11501
|
-
url:
|
|
11511
|
+
url: M,
|
|
11502
11512
|
height: b,
|
|
11503
11513
|
width: w,
|
|
11504
11514
|
style: {
|
|
11505
|
-
backgroundImage: "url(".concat(
|
|
11515
|
+
backgroundImage: "url(".concat(M, ")"),
|
|
11506
11516
|
backgroundSize: "".concat(w * c, "px auto"),
|
|
11507
11517
|
backgroundPosition: "-".concat(C * w, "px -").concat(_ * b, "px"),
|
|
11508
11518
|
width: "".concat(w, "px"),
|
|
@@ -12297,7 +12307,7 @@ var Aa = /* @__PURE__ */ function(a) {
|
|
|
12297
12307
|
key: "afterCreate",
|
|
12298
12308
|
value: function() {
|
|
12299
12309
|
var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
|
|
12300
|
-
(n == null ? void 0 : n.length) > 0 && lt.push.apply(lt,
|
|
12310
|
+
(n == null ? void 0 : n.length) > 0 && lt.push.apply(lt, ce(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([ke, ft], this.startTimer);
|
|
12301
12311
|
}
|
|
12302
12312
|
}, {
|
|
12303
12313
|
key: "getSpeedName",
|
|
@@ -12462,7 +12472,7 @@ var Ra = /* @__PURE__ */ E(function a(o, r) {
|
|
|
12462
12472
|
var t, e, i;
|
|
12463
12473
|
T(this, a);
|
|
12464
12474
|
var n = r && r.isMobileSimulateMode === "mobile", s = r.isLive, l = s ? [] : [qo, Vo, Ta, ba, Xo], u = [].concat(l, [jo, Yo, ia, aa, pa, va, fa, ha, ea, sa]), c = [bo, wo, Eo, Ho, So, _a, Ca, wa, Ao];
|
|
12465
|
-
this.plugins = [Ia, Co].concat(
|
|
12475
|
+
this.plugins = [Ia, Co].concat(ce(u), c, [kn, Aa]);
|
|
12466
12476
|
var h = n ? "mobile" : R.device;
|
|
12467
12477
|
switch (h) {
|
|
12468
12478
|
case "pc":
|
|
@@ -12475,7 +12485,7 @@ var Ra = /* @__PURE__ */ E(function a(o, r) {
|
|
|
12475
12485
|
(i = this.plugins).push.apply(i, [Mi, Ft, Bi]);
|
|
12476
12486
|
}
|
|
12477
12487
|
(R.os.isIpad || h === "pc") && this.plugins.push(xa), R.os.isIpad && this.plugins.push(Ft), this.ignores = [], this.i18n = [];
|
|
12478
|
-
}),
|
|
12488
|
+
}), fe = /* @__PURE__ */ function(a) {
|
|
12479
12489
|
x(r, a);
|
|
12480
12490
|
var o = P(r);
|
|
12481
12491
|
function r() {
|
|
@@ -12483,16 +12493,16 @@ var Ra = /* @__PURE__ */ E(function a(o, r) {
|
|
|
12483
12493
|
}
|
|
12484
12494
|
return E(r);
|
|
12485
12495
|
}(Tt);
|
|
12486
|
-
y(
|
|
12487
|
-
y(
|
|
12488
|
-
y(
|
|
12489
|
-
y(
|
|
12490
|
-
y(
|
|
12491
|
-
y(
|
|
12492
|
-
y(
|
|
12493
|
-
y(
|
|
12494
|
-
y(
|
|
12495
|
-
y(
|
|
12496
|
+
y(fe, "defaultPreset", Ra);
|
|
12497
|
+
y(fe, "Util", f);
|
|
12498
|
+
y(fe, "Sniffer", R);
|
|
12499
|
+
y(fe, "Errors", ct);
|
|
12500
|
+
y(fe, "Events", Ks);
|
|
12501
|
+
y(fe, "Plugin", U);
|
|
12502
|
+
y(fe, "BasePlugin", xe);
|
|
12503
|
+
y(fe, "I18N", Ke);
|
|
12504
|
+
y(fe, "STATE_CLASS", k);
|
|
12505
|
+
y(fe, "InstManager", mn);
|
|
12496
12506
|
const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
12497
12507
|
name: "ElImageViewer",
|
|
12498
12508
|
__name: "Player",
|
|
@@ -12549,7 +12559,7 @@ const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
|
12549
12559
|
}
|
|
12550
12560
|
return zi(() => u.value, (g) => {
|
|
12551
12561
|
g && Vi(() => {
|
|
12552
|
-
r = new
|
|
12562
|
+
r = new fe({
|
|
12553
12563
|
id: c,
|
|
12554
12564
|
url: i.value,
|
|
12555
12565
|
...s.value
|
|
@@ -12557,28 +12567,28 @@ const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
|
12557
12567
|
});
|
|
12558
12568
|
}), (g, p) => {
|
|
12559
12569
|
const m = Ee("el-icon");
|
|
12560
|
-
return u.value ? (I(),
|
|
12570
|
+
return u.value ? (I(), pe(En, {
|
|
12561
12571
|
key: 0,
|
|
12562
12572
|
to: "body"
|
|
12563
12573
|
}, [
|
|
12564
|
-
|
|
12574
|
+
X(Sn, {
|
|
12565
12575
|
name: "viewer-fade",
|
|
12566
12576
|
appear: ""
|
|
12567
12577
|
}, {
|
|
12568
|
-
default:
|
|
12578
|
+
default: q(() => [
|
|
12569
12579
|
S(
|
|
12570
12580
|
"div",
|
|
12571
12581
|
{
|
|
12572
12582
|
ref: "wrapper",
|
|
12573
12583
|
tabindex: -1,
|
|
12574
|
-
class:
|
|
12584
|
+
class: ee(z(h).e("wrapper")),
|
|
12575
12585
|
style: le({ zIndex: a.zIndex })
|
|
12576
12586
|
},
|
|
12577
12587
|
[
|
|
12578
12588
|
S(
|
|
12579
12589
|
"div",
|
|
12580
12590
|
{
|
|
12581
|
-
class:
|
|
12591
|
+
class: ee(z(h).e("mask"))
|
|
12582
12592
|
},
|
|
12583
12593
|
null,
|
|
12584
12594
|
2
|
|
@@ -12588,7 +12598,7 @@ const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
|
12588
12598
|
S(
|
|
12589
12599
|
"div",
|
|
12590
12600
|
{
|
|
12591
|
-
class:
|
|
12601
|
+
class: ee(z(h).e("canvas"))
|
|
12592
12602
|
},
|
|
12593
12603
|
[
|
|
12594
12604
|
S("div", { id: z(c) }, null, 8, Oa),
|
|
@@ -12596,13 +12606,13 @@ const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
|
12596
12606
|
S(
|
|
12597
12607
|
"span",
|
|
12598
12608
|
{
|
|
12599
|
-
class:
|
|
12609
|
+
class: ee([z(h).e("btn"), z(h).e("close")]),
|
|
12600
12610
|
onClick: d
|
|
12601
12611
|
},
|
|
12602
12612
|
[
|
|
12603
|
-
|
|
12604
|
-
default:
|
|
12605
|
-
|
|
12613
|
+
X(m, { onClick: d }, {
|
|
12614
|
+
default: q(() => [
|
|
12615
|
+
X(z(Hr))
|
|
12606
12616
|
]),
|
|
12607
12617
|
_: 1
|
|
12608
12618
|
/* STABLE */
|
|
@@ -12615,7 +12625,7 @@ const Oa = ["id"], Fa = /* @__PURE__ */ se({
|
|
|
12615
12625
|
2
|
|
12616
12626
|
/* CLASS */
|
|
12617
12627
|
),
|
|
12618
|
-
|
|
12628
|
+
ge(g.$slots, "default", {}, void 0, !0)
|
|
12619
12629
|
],
|
|
12620
12630
|
6
|
|
12621
12631
|
/* CLASS, STYLE */
|
|
@@ -12701,26 +12711,26 @@ const Ma = /* @__PURE__ */ it(Fa, [["__scopeId", "data-v-b301aa7d"]]), Na = Pe(M
|
|
|
12701
12711
|
}, t = K(() => typeof o.labelWidth == "number" ? `${o.labelWidth}px` : o.labelWidth);
|
|
12702
12712
|
return (e, i) => {
|
|
12703
12713
|
const n = Ee("el-descriptions-item"), s = Ee("el-descriptions");
|
|
12704
|
-
return I(),
|
|
12714
|
+
return I(), pe(
|
|
12705
12715
|
s,
|
|
12706
12716
|
Ut({ class: "margin-top" }, { ...a.titleProps, ...o }),
|
|
12707
12717
|
{
|
|
12708
|
-
extra:
|
|
12709
|
-
|
|
12718
|
+
extra: q(() => [
|
|
12719
|
+
ge(e.$slots, "extra", {}, void 0, !0)
|
|
12710
12720
|
]),
|
|
12711
|
-
default:
|
|
12712
|
-
(I(!0),
|
|
12721
|
+
default: q(() => [
|
|
12722
|
+
(I(!0), F(
|
|
12713
12723
|
Ge,
|
|
12714
12724
|
null,
|
|
12715
|
-
Ht(a.listData, (l) => (I(),
|
|
12725
|
+
Ht(a.listData, (l) => (I(), pe(
|
|
12716
12726
|
n,
|
|
12717
12727
|
Ut({
|
|
12718
12728
|
key: l[r.id],
|
|
12719
12729
|
ref_for: !0
|
|
12720
12730
|
}, l[r.props]),
|
|
12721
12731
|
{
|
|
12722
|
-
label:
|
|
12723
|
-
|
|
12732
|
+
label: q(() => [
|
|
12733
|
+
ge(e.$slots, l[r.label], {}, () => [
|
|
12724
12734
|
Ye(
|
|
12725
12735
|
_e(l[r.label]),
|
|
12726
12736
|
1
|
|
@@ -12728,21 +12738,21 @@ const Ma = /* @__PURE__ */ it(Fa, [["__scopeId", "data-v-b301aa7d"]]), Na = Pe(M
|
|
|
12728
12738
|
)
|
|
12729
12739
|
], !0)
|
|
12730
12740
|
]),
|
|
12731
|
-
default:
|
|
12732
|
-
|
|
12741
|
+
default: q(() => [
|
|
12742
|
+
ge(e.$slots, `${l[r.label]}_value`, {}, () => [
|
|
12733
12743
|
Ye(
|
|
12734
12744
|
_e(l[r.value]) + " ",
|
|
12735
12745
|
1
|
|
12736
12746
|
/* TEXT */
|
|
12737
12747
|
),
|
|
12738
|
-
l[r.tag] ? (I(),
|
|
12748
|
+
l[r.tag] ? (I(), pe(
|
|
12739
12749
|
z(In),
|
|
12740
12750
|
{
|
|
12741
12751
|
key: 0,
|
|
12742
12752
|
size: "small"
|
|
12743
12753
|
},
|
|
12744
12754
|
{
|
|
12745
|
-
default:
|
|
12755
|
+
default: q(() => [
|
|
12746
12756
|
Ye(
|
|
12747
12757
|
_e(l[r.value].value),
|
|
12748
12758
|
1
|
|
@@ -12755,7 +12765,7 @@ const Ma = /* @__PURE__ */ it(Fa, [["__scopeId", "data-v-b301aa7d"]]), Na = Pe(M
|
|
|
12755
12765
|
1024
|
|
12756
12766
|
/* DYNAMIC_SLOTS */
|
|
12757
12767
|
)) : ue("v-if", !0),
|
|
12758
|
-
|
|
12768
|
+
X(z(Xr), {
|
|
12759
12769
|
list: l[r.fileList],
|
|
12760
12770
|
field: a.fileField,
|
|
12761
12771
|
"load-url": a.loadUrl,
|