iking-web-ui-pro 1.0.42 → 1.0.43
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/IkApprovalProcessDetail/ik.index.es.js +2 -1
- package/dist/IkApprovalProcessDetail/iking-web-ui-pro.css +1 -1
- package/dist/IkDescription/ik.index.es.js +154 -153
- package/dist/IkDescription/iking-web-ui-pro.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +1 -0
- package/dist/iking-web-ui-pro.css +2 -2
- package/dist/{index-BT7uDOFe.mjs → index-CwMKxfTW.mjs} +2170 -2167
- package/dist/{index.es-LSgqVelI.mjs → index.es-DB7Zbkxt.mjs} +2 -2
- package/dist/index.es.js +1 -1
- package/dist/index.umd.js +108 -108
- package/dist/{jspdf.es.min-Q-cMxczY.mjs → jspdf.es.min-DDLT8s-5.mjs} +1 -1
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { defineComponent as ae, computed as Q, createElementBlock as L, openBlock as E, createElementVNode as S, inject as
|
|
1
|
+
import { defineComponent as ae, computed as Q, createElementBlock as L, openBlock as E, createElementVNode as S, inject as Ct, ref as pe, Fragment as ve, createCommentVNode as Z, createVNode as Y, renderList as xt, normalizeStyle as Te, toDisplayString as we, unref as I, normalizeClass as ee, createBlock as oe, renderSlot as Se, withModifiers as Je, mergeModels as Pt, useModel as $r, reactive as Sl, watch as At, nextTick as ci, withCtx as ie, resolveComponent as pt, mergeProps as It, createTextVNode as Lt, h as El, createSlots as xl, getCurrentScope as Il, onScopeDispose as Pl, markRaw as Ta, effectScope as Al, shallowRef as Ll, onMounted as gu, Teleport as vu, Transition as pu, resolveDynamicComponent as Dl, withDirectives as Rl, vShow as Ol, useCssVars as Ml, useAttrs as Fl } from "vue";
|
|
2
2
|
import { useLocale as Nl, useNamespace as mu, useZIndex as Bl, ElIcon as je, EVENT_CODE as ut, ElTag as Hl } from "element-plus";
|
|
3
3
|
import { paramType as Hr, ikFile as Ul, buildUUID as yu, ikColor as jl, _ as wi } from "iking-utils-pro";
|
|
4
4
|
const Ne = (a, s) => (a.install = (n) => {
|
|
@@ -813,7 +813,7 @@ const fi = (a, s) => {
|
|
|
813
813
|
"flv",
|
|
814
814
|
"tls"
|
|
815
815
|
], bu = (a) => {
|
|
816
|
-
const s =
|
|
816
|
+
const s = Ct("loadUrl"), n = Q(() => a.loadUrl || a.fileUrl || (s == null ? void 0 : s.value)), t = Ct("uploadUrl"), e = Q(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Ct("token"), r = Q(() => a.token || (i == null ? void 0 : i.value)), o = Ct("onlyofficeConfig"), u = Q(() => a.onlyofficeConfig || (o == null ? void 0 : o.value)), l = Ct("userInfo"), c = Q(() => a.userInfo || (l == null ? void 0 : l.value)), f = [...xa, ...xa.map((d) => d.toLocaleUpperCase())];
|
|
817
817
|
return {
|
|
818
818
|
cLoadUrl: n,
|
|
819
819
|
cUploadUrl: e,
|
|
@@ -980,11 +980,11 @@ const fi = (a, s) => {
|
|
|
980
980
|
ve,
|
|
981
981
|
{ key: 0 },
|
|
982
982
|
[
|
|
983
|
-
|
|
983
|
+
Z(" 简单模式 "),
|
|
984
984
|
t.value === "simple" ? (E(!0), L(
|
|
985
985
|
ve,
|
|
986
986
|
{ key: 0 },
|
|
987
|
-
|
|
987
|
+
xt(m.value, (T, D) => (E(), L("div", {
|
|
988
988
|
class: "iking-privew-annex simple",
|
|
989
989
|
key: D,
|
|
990
990
|
onClick: (R) => f(T),
|
|
@@ -1004,7 +1004,7 @@ const fi = (a, s) => {
|
|
|
1004
1004
|
we(T.size ? `(${I(Ti)(T.size)})` : ""),
|
|
1005
1005
|
1
|
|
1006
1006
|
/* TEXT */
|
|
1007
|
-
)) :
|
|
1007
|
+
)) : Z("v-if", !0)
|
|
1008
1008
|
]),
|
|
1009
1009
|
S(
|
|
1010
1010
|
"div",
|
|
@@ -1012,18 +1012,18 @@ const fi = (a, s) => {
|
|
|
1012
1012
|
class: ee(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
1013
1013
|
},
|
|
1014
1014
|
[
|
|
1015
|
-
a.showDownloadBtn ? (E(),
|
|
1015
|
+
a.showDownloadBtn ? (E(), oe(I(Qe), {
|
|
1016
1016
|
key: 0,
|
|
1017
1017
|
name: "iksvg_daochu",
|
|
1018
1018
|
onClick: Je((R) => d(T), ["stop"]),
|
|
1019
1019
|
size: 20
|
|
1020
|
-
}, null, 8, ["onClick"])) :
|
|
1021
|
-
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(),
|
|
1020
|
+
}, null, 8, ["onClick"])) : Z("v-if", !0),
|
|
1021
|
+
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(), oe(I(Qe), {
|
|
1022
1022
|
key: 1,
|
|
1023
1023
|
name: "iksvg_yulan",
|
|
1024
1024
|
size: 20,
|
|
1025
1025
|
onClick: Je((R) => f(T), ["stop"])
|
|
1026
|
-
}, null, 8, ["onClick"])) :
|
|
1026
|
+
}, null, 8, ["onClick"])) : Z("v-if", !0),
|
|
1027
1027
|
Se(p.$slots, "operation", {
|
|
1028
1028
|
data: { ...T, findex: D }
|
|
1029
1029
|
})
|
|
@@ -1038,18 +1038,18 @@ const fi = (a, s) => {
|
|
|
1038
1038
|
ve,
|
|
1039
1039
|
{ key: 1 },
|
|
1040
1040
|
[
|
|
1041
|
-
|
|
1041
|
+
Z(" 简单图标模式 "),
|
|
1042
1042
|
(E(!0), L(
|
|
1043
1043
|
ve,
|
|
1044
1044
|
null,
|
|
1045
|
-
|
|
1045
|
+
xt(m.value, (T, D) => (E(), L("div", {
|
|
1046
1046
|
class: "iking-privew-annex simple-icon",
|
|
1047
1047
|
key: D,
|
|
1048
1048
|
onClick: (R) => f(T),
|
|
1049
1049
|
style: Te({ width: v.value })
|
|
1050
1050
|
}, [
|
|
1051
1051
|
S("div", Sc, [
|
|
1052
|
-
|
|
1052
|
+
Z(" 若为默认40,则simple-icon设置为20,否则设置为iconSize "),
|
|
1053
1053
|
Y(I(Ea), {
|
|
1054
1054
|
file: T,
|
|
1055
1055
|
style: Te({
|
|
@@ -1079,26 +1079,26 @@ const fi = (a, s) => {
|
|
|
1079
1079
|
we(T.size ? `(${I(Ti)(T.size)})` : ""),
|
|
1080
1080
|
1
|
|
1081
1081
|
/* TEXT */
|
|
1082
|
-
)) :
|
|
1082
|
+
)) : Z("v-if", !0)
|
|
1083
1083
|
],
|
|
1084
1084
|
4
|
|
1085
1085
|
/* STYLE */
|
|
1086
1086
|
)
|
|
1087
1087
|
]),
|
|
1088
|
-
a.showDownloadBtn ? (E(),
|
|
1088
|
+
a.showDownloadBtn ? (E(), oe(I(Qe), {
|
|
1089
1089
|
key: 0,
|
|
1090
1090
|
name: "iksvg_daochu",
|
|
1091
1091
|
size: 20,
|
|
1092
1092
|
title: "下载",
|
|
1093
1093
|
onClick: Je((R) => d(T), ["stop"])
|
|
1094
|
-
}, null, 8, ["onClick"])) :
|
|
1095
|
-
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(),
|
|
1094
|
+
}, null, 8, ["onClick"])) : Z("v-if", !0),
|
|
1095
|
+
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(), oe(I(Qe), {
|
|
1096
1096
|
key: 1,
|
|
1097
1097
|
name: "iksvg_yulan",
|
|
1098
1098
|
size: 20,
|
|
1099
1099
|
onClick: Je((R) => f(T), ["stop"]),
|
|
1100
1100
|
title: "预览"
|
|
1101
|
-
}, null, 8, ["onClick"])) :
|
|
1101
|
+
}, null, 8, ["onClick"])) : Z("v-if", !0)
|
|
1102
1102
|
], 12, Tc))),
|
|
1103
1103
|
128
|
|
1104
1104
|
/* KEYED_FRAGMENT */
|
|
@@ -1110,11 +1110,11 @@ const fi = (a, s) => {
|
|
|
1110
1110
|
ve,
|
|
1111
1111
|
{ key: 2 },
|
|
1112
1112
|
[
|
|
1113
|
-
|
|
1113
|
+
Z(" 默认模式 "),
|
|
1114
1114
|
(E(!0), L(
|
|
1115
1115
|
ve,
|
|
1116
1116
|
null,
|
|
1117
|
-
|
|
1117
|
+
xt(m.value, (T, D) => {
|
|
1118
1118
|
var R;
|
|
1119
1119
|
return E(), L(
|
|
1120
1120
|
"div",
|
|
@@ -1159,22 +1159,22 @@ const fi = (a, s) => {
|
|
|
1159
1159
|
class: ee(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
1160
1160
|
},
|
|
1161
1161
|
[
|
|
1162
|
-
a.showDownloadBtn ? (E(),
|
|
1162
|
+
a.showDownloadBtn ? (E(), oe(I(Qe), {
|
|
1163
1163
|
key: 0,
|
|
1164
1164
|
name: "iksvg_daochu",
|
|
1165
1165
|
onClick: Je((K) => d(T), ["stop"]),
|
|
1166
1166
|
bg: a.showBg,
|
|
1167
1167
|
size: a.showBg ? "default" : 20,
|
|
1168
1168
|
title: "下载"
|
|
1169
|
-
}, null, 8, ["onClick", "bg", "size"])) :
|
|
1170
|
-
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(),
|
|
1169
|
+
}, null, 8, ["onClick", "bg", "size"])) : Z("v-if", !0),
|
|
1170
|
+
I(r).includes(T.suffix) && a.showPreviewBtn ? (E(), oe(I(Qe), {
|
|
1171
1171
|
key: 1,
|
|
1172
1172
|
name: "iksvg_yulan",
|
|
1173
1173
|
bg: a.showBg,
|
|
1174
1174
|
size: a.showBg ? "default" : 20,
|
|
1175
1175
|
title: "预览",
|
|
1176
1176
|
onClick: Je((K) => f(T), ["stop"])
|
|
1177
|
-
}, null, 8, ["bg", "size", "onClick"])) :
|
|
1177
|
+
}, null, 8, ["bg", "size", "onClick"])) : Z("v-if", !0),
|
|
1178
1178
|
Se(p.$slots, "operation", {
|
|
1179
1179
|
data: { ...T, findex: D }
|
|
1180
1180
|
})
|
|
@@ -1198,7 +1198,7 @@ const fi = (a, s) => {
|
|
|
1198
1198
|
],
|
|
1199
1199
|
64
|
|
1200
1200
|
/* STABLE_FRAGMENT */
|
|
1201
|
-
)) :
|
|
1201
|
+
)) : Z("v-if", !0),
|
|
1202
1202
|
Y(I(Nc), {
|
|
1203
1203
|
onClose: g,
|
|
1204
1204
|
show: c.value,
|
|
@@ -1217,7 +1217,7 @@ const fi = (a, s) => {
|
|
|
1217
1217
|
}
|
|
1218
1218
|
}), Rc = Ne(Dc), Oc = { class: "head-logo" }, Mc = ["src"], Fc = /* @__PURE__ */ ae({
|
|
1219
1219
|
__name: "IkPreviewFileDialog",
|
|
1220
|
-
props: /* @__PURE__ */
|
|
1220
|
+
props: /* @__PURE__ */ Pt({
|
|
1221
1221
|
file: {
|
|
1222
1222
|
type: Object,
|
|
1223
1223
|
default: () => []
|
|
@@ -1250,7 +1250,7 @@ const fi = (a, s) => {
|
|
|
1250
1250
|
show: { default: !1 },
|
|
1251
1251
|
showModifiers: {}
|
|
1252
1252
|
}),
|
|
1253
|
-
emits: /* @__PURE__ */
|
|
1253
|
+
emits: /* @__PURE__ */ Pt(["close"], ["update:show"]),
|
|
1254
1254
|
setup(a, { emit: s }) {
|
|
1255
1255
|
const n = a, t = s, e = $r(a, "show"), i = Q(() => ({
|
|
1256
1256
|
name: "name",
|
|
@@ -1304,7 +1304,7 @@ const fi = (a, s) => {
|
|
|
1304
1304
|
console.info("预览错误: ", x);
|
|
1305
1305
|
}
|
|
1306
1306
|
};
|
|
1307
|
-
|
|
1307
|
+
At([e, n.file], ([d, g]) => {
|
|
1308
1308
|
d && ci(() => {
|
|
1309
1309
|
l(n.file);
|
|
1310
1310
|
});
|
|
@@ -1324,16 +1324,16 @@ const fi = (a, s) => {
|
|
|
1324
1324
|
ve,
|
|
1325
1325
|
{ key: 0 },
|
|
1326
1326
|
[
|
|
1327
|
-
(v = o.value) != null && v.url && u.image ? (E(),
|
|
1327
|
+
(v = o.value) != null && v.url && u.image ? (E(), oe(I(Uh), {
|
|
1328
1328
|
key: 0,
|
|
1329
1329
|
onClose: g[0] || (g[0] = (C) => c()),
|
|
1330
1330
|
ref: "previewImgRef",
|
|
1331
1331
|
"url-list": [(m = o.value) == null ? void 0 : m.url],
|
|
1332
1332
|
teleported: "",
|
|
1333
1333
|
"z-index": 9999
|
|
1334
|
-
}, null, 8, ["url-list"])) :
|
|
1335
|
-
|
|
1336
|
-
|
|
1334
|
+
}, null, 8, ["url-list"])) : Z("v-if", !0),
|
|
1335
|
+
Z(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1336
|
+
Z(" 文档类 "),
|
|
1337
1337
|
Y(I(Xg), {
|
|
1338
1338
|
modelValue: u.video,
|
|
1339
1339
|
"onUpdate:modelValue": g[1] || (g[1] = (C) => u.video = C),
|
|
@@ -1377,7 +1377,7 @@ const fi = (a, s) => {
|
|
|
1377
1377
|
],
|
|
1378
1378
|
64
|
|
1379
1379
|
/* STABLE_FRAGMENT */
|
|
1380
|
-
)) :
|
|
1380
|
+
)) : Z("v-if", !0);
|
|
1381
1381
|
};
|
|
1382
1382
|
}
|
|
1383
1383
|
}), Nc = Ne(Fc);
|
|
@@ -1460,7 +1460,7 @@ const Bc = {
|
|
|
1460
1460
|
r("dblclick", f);
|
|
1461
1461
|
};
|
|
1462
1462
|
return (f, d) => {
|
|
1463
|
-
const g =
|
|
1463
|
+
const g = pt("el-tooltip"), v = pt("el-button");
|
|
1464
1464
|
return E(), L(
|
|
1465
1465
|
"i",
|
|
1466
1466
|
{
|
|
@@ -1523,7 +1523,7 @@ const Bc = {
|
|
|
1523
1523
|
],
|
|
1524
1524
|
64
|
|
1525
1525
|
/* STABLE_FRAGMENT */
|
|
1526
|
-
)) : (E(),
|
|
1526
|
+
)) : (E(), oe(g, {
|
|
1527
1527
|
key: 1,
|
|
1528
1528
|
content: t.value.title,
|
|
1529
1529
|
placement: "top",
|
|
@@ -1565,11 +1565,11 @@ const Bc = {
|
|
|
1565
1565
|
],
|
|
1566
1566
|
64
|
|
1567
1567
|
/* STABLE_FRAGMENT */
|
|
1568
|
-
)) : (E(),
|
|
1568
|
+
)) : (E(), oe(v, It({ key: 1 }, f.$attrs, {
|
|
1569
1569
|
type: ["warning", "error"].includes(t.value.type) ? "danger" : ""
|
|
1570
1570
|
}), {
|
|
1571
1571
|
default: ie(() => [
|
|
1572
|
-
|
|
1572
|
+
Lt(
|
|
1573
1573
|
we(t.value.title),
|
|
1574
1574
|
1
|
|
1575
1575
|
/* TEXT */
|
|
@@ -1616,7 +1616,7 @@ const Bc = {
|
|
|
1616
1616
|
}
|
|
1617
1617
|
}), Kc = /* @__PURE__ */ fi(Wc, [["__scopeId", "data-v-22f2afe8"]]), $c = { class: "base-header" }, Yc = /* @__PURE__ */ ae({
|
|
1618
1618
|
__name: "IkBaseDialog",
|
|
1619
|
-
props: /* @__PURE__ */
|
|
1619
|
+
props: /* @__PURE__ */ Pt({
|
|
1620
1620
|
title: { default: "" },
|
|
1621
1621
|
cancelText: { default: "取消" },
|
|
1622
1622
|
confirmText: { default: "确认" },
|
|
@@ -1645,8 +1645,8 @@ const Bc = {
|
|
|
1645
1645
|
}
|
|
1646
1646
|
});
|
|
1647
1647
|
return (i, r) => {
|
|
1648
|
-
const o =
|
|
1649
|
-
return E(),
|
|
1648
|
+
const o = pt("el-dialog");
|
|
1649
|
+
return E(), oe(o, It({
|
|
1650
1650
|
modelValue: n.value,
|
|
1651
1651
|
"onUpdate:modelValue": r[0] || (r[0] = (u) => n.value = u),
|
|
1652
1652
|
"align-center": ""
|
|
@@ -1658,7 +1658,7 @@ const Bc = {
|
|
|
1658
1658
|
}), xl({
|
|
1659
1659
|
icon: ie(() => [
|
|
1660
1660
|
Se(i.$slots, "title", {}, () => [
|
|
1661
|
-
|
|
1661
|
+
Lt(
|
|
1662
1662
|
we(a.title),
|
|
1663
1663
|
1
|
|
1664
1664
|
/* TEXT */
|
|
@@ -1668,14 +1668,14 @@ const Bc = {
|
|
|
1668
1668
|
header: ie(() => [
|
|
1669
1669
|
S("div", $c, [
|
|
1670
1670
|
Se(i.$slots, "header", {}, () => [
|
|
1671
|
-
|
|
1671
|
+
Lt(
|
|
1672
1672
|
we(a.title),
|
|
1673
1673
|
1
|
|
1674
1674
|
/* TEXT */
|
|
1675
1675
|
)
|
|
1676
1676
|
])
|
|
1677
1677
|
]),
|
|
1678
|
-
|
|
1678
|
+
Z(` <IkSvgIcon v-if="$attrs.showClose" @click="handFullSize"\r
|
|
1679
1679
|
:name="isFull ? 'iksvg_tuichuquanping' : 'iksvg_quanping-daohang'"\r
|
|
1680
1680
|
class="absolute! top-[18px] right-[50px] icon-dialog-full" :title="isFull ? '退出全屏' : '全屏'" /> `)
|
|
1681
1681
|
]),
|
|
@@ -2425,7 +2425,7 @@ function Jr() {
|
|
|
2425
2425
|
var a = Array.isArray;
|
|
2426
2426
|
return Sn = a, Sn;
|
|
2427
2427
|
}
|
|
2428
|
-
var
|
|
2428
|
+
var wt = { exports: {} }, En, Ps;
|
|
2429
2429
|
function Nf() {
|
|
2430
2430
|
if (Ps) return En;
|
|
2431
2431
|
Ps = 1;
|
|
@@ -2434,13 +2434,13 @@ function Nf() {
|
|
|
2434
2434
|
}
|
|
2435
2435
|
return En = a, En;
|
|
2436
2436
|
}
|
|
2437
|
-
|
|
2437
|
+
wt.exports;
|
|
2438
2438
|
var As;
|
|
2439
2439
|
function xu() {
|
|
2440
2440
|
return As || (As = 1, (function(a, s) {
|
|
2441
2441
|
var n = Le(), t = Nf(), e = s && !s.nodeType && s, i = e && !0 && a && !a.nodeType && a, r = i && i.exports === e, o = r ? n.Buffer : void 0, u = o ? o.isBuffer : void 0, l = u || t;
|
|
2442
2442
|
a.exports = l;
|
|
2443
|
-
})(
|
|
2443
|
+
})(wt, wt.exports)), wt.exports;
|
|
2444
2444
|
}
|
|
2445
2445
|
var xn, Ls;
|
|
2446
2446
|
function Bf() {
|
|
@@ -2485,8 +2485,8 @@ function Qr() {
|
|
|
2485
2485
|
}
|
|
2486
2486
|
return An = a, An;
|
|
2487
2487
|
}
|
|
2488
|
-
var
|
|
2489
|
-
|
|
2488
|
+
var Tt = { exports: {} };
|
|
2489
|
+
Tt.exports;
|
|
2490
2490
|
var Ms;
|
|
2491
2491
|
function ea() {
|
|
2492
2492
|
return Ms || (Ms = 1, (function(a, s) {
|
|
@@ -2498,7 +2498,7 @@ function ea() {
|
|
|
2498
2498
|
}
|
|
2499
2499
|
})();
|
|
2500
2500
|
a.exports = o;
|
|
2501
|
-
})(
|
|
2501
|
+
})(Tt, Tt.exports)), Tt.exports;
|
|
2502
2502
|
}
|
|
2503
2503
|
var Ln, Fs;
|
|
2504
2504
|
function Uf() {
|
|
@@ -2646,8 +2646,8 @@ function Wf() {
|
|
|
2646
2646
|
}
|
|
2647
2647
|
return Vn = n, Vn;
|
|
2648
2648
|
}
|
|
2649
|
-
var
|
|
2650
|
-
|
|
2649
|
+
var St = { exports: {} };
|
|
2650
|
+
St.exports;
|
|
2651
2651
|
var Ys;
|
|
2652
2652
|
function Kf() {
|
|
2653
2653
|
return Ys || (Ys = 1, (function(a, s) {
|
|
@@ -2659,7 +2659,7 @@ function Kf() {
|
|
|
2659
2659
|
return l.copy(d), d;
|
|
2660
2660
|
}
|
|
2661
2661
|
a.exports = u;
|
|
2662
|
-
})(
|
|
2662
|
+
})(St, St.exports)), St.exports;
|
|
2663
2663
|
}
|
|
2664
2664
|
var qn, Xs;
|
|
2665
2665
|
function $f() {
|
|
@@ -3016,8 +3016,8 @@ var Cr, Io;
|
|
|
3016
3016
|
function mh() {
|
|
3017
3017
|
if (Io) return Cr;
|
|
3018
3018
|
Io = 1;
|
|
3019
|
-
var a = Lf(), s = Df(), n = Eu(), t = Vf(), e = Wf(), i = Kf(), r = $f(), o = Xf(), u = Zf(), l = Jf(), c = Qf(), f = aa(), d = rh(), g = ch(), v = hh(), m = Jr(), p = xu(), C = gh(), b = Ot(), k = ph(), x = ia(), T = na(), D = 1, R = 2, K = 4, z = "[object Arguments]", B = "[object Array]", O = "[object Boolean]", ne = "[object Date]", se = "[object Error]", be = "[object Function]", Bt = "[object GeneratorFunction]", Ht = "[object Map]",
|
|
3020
|
-
|
|
3019
|
+
var a = Lf(), s = Df(), n = Eu(), t = Vf(), e = Wf(), i = Kf(), r = $f(), o = Xf(), u = Zf(), l = Jf(), c = Qf(), f = aa(), d = rh(), g = ch(), v = hh(), m = Jr(), p = xu(), C = gh(), b = Ot(), k = ph(), x = ia(), T = na(), D = 1, R = 2, K = 4, z = "[object Arguments]", B = "[object Array]", O = "[object Boolean]", ne = "[object Date]", se = "[object Error]", be = "[object Function]", Bt = "[object GeneratorFunction]", Ht = "[object Map]", yt = "[object Number]", _t = "[object Object]", Ut = "[object RegExp]", De = "[object Set]", H = "[object String]", G = "[object Symbol]", te = "[object WeakMap]", ge = "[object ArrayBuffer]", Ce = "[object DataView]", ke = "[object Float32Array]", xe = "[object Float64Array]", Ye = "[object Int8Array]", jt = "[object Int16Array]", zt = "[object Int32Array]", bt = "[object Uint8Array]", _l = "[object Uint8ClampedArray]", bl = "[object Uint16Array]", Cl = "[object Uint32Array]", X = {};
|
|
3020
|
+
X[z] = X[B] = X[ge] = X[Ce] = X[O] = X[ne] = X[ke] = X[xe] = X[Ye] = X[jt] = X[zt] = X[Ht] = X[yt] = X[_t] = X[Ut] = X[De] = X[H] = X[G] = X[bt] = X[_l] = X[bl] = X[Cl] = !0, X[se] = X[be] = X[te] = !1;
|
|
3021
3021
|
function Vt($, at, st, kl, qt, He) {
|
|
3022
3022
|
var he, Gt = at & D, Wt = at & R, wl = at & K;
|
|
3023
3023
|
if (st && (he = qt ? st($, kl, qt, He) : st($)), he !== void 0)
|
|
@@ -3032,11 +3032,11 @@ function mh() {
|
|
|
3032
3032
|
var ot = f($), Ca = ot == be || ot == Bt;
|
|
3033
3033
|
if (p($))
|
|
3034
3034
|
return i($, Gt);
|
|
3035
|
-
if (ot ==
|
|
3035
|
+
if (ot == _t || ot == z || Ca && !qt) {
|
|
3036
3036
|
if (he = Wt || Ca ? {} : v($), !Gt)
|
|
3037
3037
|
return Wt ? u($, e(he, $)) : o($, t(he, $));
|
|
3038
3038
|
} else {
|
|
3039
|
-
if (!
|
|
3039
|
+
if (!X[ot])
|
|
3040
3040
|
return qt ? $ : {};
|
|
3041
3041
|
he = g($, ot, Gt);
|
|
3042
3042
|
}
|
|
@@ -3325,7 +3325,7 @@ function $t(...a) {
|
|
|
3325
3325
|
Array.isArray(n) || (n = [n]), Array.isArray(t) || (t = [t]);
|
|
3326
3326
|
const i = [], r = () => {
|
|
3327
3327
|
i.forEach((c) => c()), i.length = 0;
|
|
3328
|
-
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u =
|
|
3328
|
+
}, o = (c, f, d, g) => (c.addEventListener(f, d, g), () => c.removeEventListener(f, d, g)), u = At(() => [Ph(s), Bu(e)], ([c, f]) => {
|
|
3329
3329
|
r(), c && i.push(...n.flatMap((d) => t.map((g) => o(c, d, g, f))));
|
|
3330
3330
|
}, { immediate: !0, flush: "post" }), l = () => {
|
|
3331
3331
|
u(), r();
|
|
@@ -3486,11 +3486,11 @@ const Fh = {
|
|
|
3486
3486
|
let ke = te / H, xe = ge / H;
|
|
3487
3487
|
const Ye = G * Math.PI / 180, jt = Math.cos(Ye), zt = Math.sin(Ye);
|
|
3488
3488
|
ke = ke * jt + xe * zt, xe = xe * jt - te / H * zt;
|
|
3489
|
-
const
|
|
3489
|
+
const bt = {
|
|
3490
3490
|
transform: `scale(${H}) rotate(${G}deg) translate(${ke}px, ${xe}px)`,
|
|
3491
3491
|
transition: Ce ? "transform .3s" : ""
|
|
3492
3492
|
};
|
|
3493
|
-
return m.value.name === e.CONTAIN.name && (
|
|
3493
|
+
return m.value.name === e.CONTAIN.name && (bt.maxWidth = bt.maxHeight = "100%"), bt;
|
|
3494
3494
|
});
|
|
3495
3495
|
function z() {
|
|
3496
3496
|
O(), r("close");
|
|
@@ -3508,7 +3508,7 @@ const Fh = {
|
|
|
3508
3508
|
break;
|
|
3509
3509
|
// LEFT_ARROW
|
|
3510
3510
|
case ut.left:
|
|
3511
|
-
|
|
3511
|
+
_t();
|
|
3512
3512
|
break;
|
|
3513
3513
|
// UP_ARROW
|
|
3514
3514
|
case ut.up:
|
|
@@ -3571,15 +3571,15 @@ const Fh = {
|
|
|
3571
3571
|
const H = t(e), G = Object.values(e), te = m.value.name, Ce = ((G == null ? void 0 : G.findIndex((ke) => ke.name === te)) + 1) % H.length;
|
|
3572
3572
|
m.value = e[H[Ce]], Bt();
|
|
3573
3573
|
}
|
|
3574
|
-
function
|
|
3574
|
+
function yt(H) {
|
|
3575
3575
|
const G = i.urlList.length;
|
|
3576
3576
|
v.value = (H + G) % G;
|
|
3577
3577
|
}
|
|
3578
|
-
function
|
|
3579
|
-
k.value && !i.infinite ||
|
|
3578
|
+
function _t() {
|
|
3579
|
+
k.value && !i.infinite || yt(v.value - 1);
|
|
3580
3580
|
}
|
|
3581
3581
|
function Ut() {
|
|
3582
|
-
x.value && !i.infinite ||
|
|
3582
|
+
x.value && !i.infinite || yt(v.value + 1);
|
|
3583
3583
|
}
|
|
3584
3584
|
function De(H, G = {}) {
|
|
3585
3585
|
if (g.value) return;
|
|
@@ -3609,12 +3609,12 @@ const Fh = {
|
|
|
3609
3609
|
}
|
|
3610
3610
|
p.value.enableTransition = xe;
|
|
3611
3611
|
}
|
|
3612
|
-
return
|
|
3612
|
+
return At(T, () => {
|
|
3613
3613
|
ci(() => {
|
|
3614
3614
|
const H = f.value[0];
|
|
3615
3615
|
H != null && H.complete || (g.value = !0);
|
|
3616
3616
|
});
|
|
3617
|
-
}),
|
|
3617
|
+
}), At(v, (H) => {
|
|
3618
3618
|
Bt(), r("switch", H);
|
|
3619
3619
|
}), gu(() => {
|
|
3620
3620
|
var H, G;
|
|
@@ -3623,8 +3623,8 @@ const Fh = {
|
|
|
3623
3623
|
/**
|
|
3624
3624
|
* @description manually switch image
|
|
3625
3625
|
*/
|
|
3626
|
-
setActiveItem:
|
|
3627
|
-
}), (H, G) => (E(),
|
|
3626
|
+
setActiveItem: yt
|
|
3627
|
+
}), (H, G) => (E(), oe(vu, { to: "body" }, [
|
|
3628
3628
|
Y(pu, {
|
|
3629
3629
|
name: "viewer-fade",
|
|
3630
3630
|
appear: ""
|
|
@@ -3650,7 +3650,7 @@ const Fh = {
|
|
|
3650
3650
|
2
|
|
3651
3651
|
/* CLASS */
|
|
3652
3652
|
),
|
|
3653
|
-
|
|
3653
|
+
Z(" CLOSE "),
|
|
3654
3654
|
S(
|
|
3655
3655
|
"span",
|
|
3656
3656
|
{
|
|
@@ -3669,8 +3669,8 @@ const Fh = {
|
|
|
3669
3669
|
2
|
|
3670
3670
|
/* CLASS */
|
|
3671
3671
|
),
|
|
3672
|
-
|
|
3673
|
-
b.value ?
|
|
3672
|
+
Z(" ARROW "),
|
|
3673
|
+
b.value ? Z("v-if", !0) : (E(), L(
|
|
3674
3674
|
ve,
|
|
3675
3675
|
{ key: 0 },
|
|
3676
3676
|
[
|
|
@@ -3678,7 +3678,7 @@ const Fh = {
|
|
|
3678
3678
|
"span",
|
|
3679
3679
|
{
|
|
3680
3680
|
class: ee(D.value),
|
|
3681
|
-
onClick:
|
|
3681
|
+
onClick: _t
|
|
3682
3682
|
},
|
|
3683
3683
|
[
|
|
3684
3684
|
Y(I(je), null, {
|
|
@@ -3714,7 +3714,7 @@ const Fh = {
|
|
|
3714
3714
|
64
|
|
3715
3715
|
/* STABLE_FRAGMENT */
|
|
3716
3716
|
)),
|
|
3717
|
-
|
|
3717
|
+
Z(" ACTIONS "),
|
|
3718
3718
|
S(
|
|
3719
3719
|
"div",
|
|
3720
3720
|
{
|
|
@@ -3756,7 +3756,7 @@ const Fh = {
|
|
|
3756
3756
|
),
|
|
3757
3757
|
Y(I(je), { onClick: Ht }, {
|
|
3758
3758
|
default: ie(() => [
|
|
3759
|
-
(E(),
|
|
3759
|
+
(E(), oe(Dl(m.value.icon)))
|
|
3760
3760
|
]),
|
|
3761
3761
|
_: 1
|
|
3762
3762
|
/* STABLE */
|
|
@@ -3796,7 +3796,7 @@ const Fh = {
|
|
|
3796
3796
|
2
|
|
3797
3797
|
/* CLASS */
|
|
3798
3798
|
),
|
|
3799
|
-
|
|
3799
|
+
Z(" CANVAS "),
|
|
3800
3800
|
S(
|
|
3801
3801
|
"div",
|
|
3802
3802
|
{
|
|
@@ -3806,7 +3806,7 @@ const Fh = {
|
|
|
3806
3806
|
(E(!0), L(
|
|
3807
3807
|
ve,
|
|
3808
3808
|
null,
|
|
3809
|
-
|
|
3809
|
+
xt(H.urlList, (te, ge) => Rl((E(), L("img", {
|
|
3810
3810
|
ref_for: !0,
|
|
3811
3811
|
ref: (Ce) => f.value[ge] = Ce,
|
|
3812
3812
|
key: te,
|
|
@@ -4841,7 +4841,7 @@ var Ho = {
|
|
|
4841
4841
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
4842
4842
|
}
|
|
4843
4843
|
}
|
|
4844
|
-
), _e = "play", la = "playing", it = "ended",
|
|
4844
|
+
), _e = "play", la = "playing", it = "ended", mt = "pause", Ft = "error", yi = "seeking", Me = "seeked", ye = "timeupdate", Nt = "waiting", Oe = "canplay", rd = "canplaythrough", Be = "durationchange", Vu = "volumechange", Fe = "loadeddata", ad = "loadedmetadata", qu = "ratechange", Gu = "progress", ca = "loadstart", nt = "emptied", sd = "stalled", od = "suspend", ud = "abort", ld = "bufferedChange", fa = "focus", Wu = "blur", ha = "ready", Ku = "urlNull", et = "autoplay_started", da = "autoplay_was_prevented", _i = "complete", ti = "replay", ga = "destroy", bi = "urlchange", qr = "download_speed_change", $u = "leaveplayer", Yu = "enterplayer", Xu = "loading", Re = "fullscreen_change", ii = "cssFullscreen_change", ni = "mini_state_change", va = "definition_change", cd = "before_definition_change", Gr = "after_definition_change", fd = "SEI_PARSED", hd = "retry", We = "video_resize", Wr = "pip_change", Zu = "rotate", Ju = "screenShot", ri = "playnext", Qu = "shortcut", el = "xglog", ai = "user_action", Ci = "reset", tl = "source_error", il = "source_success", dd = "switch_subtitle", nl = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], rl = {
|
|
4845
4845
|
STATS_INFO: "stats_info",
|
|
4846
4846
|
STATS_DOWNLOAD: "stats_download",
|
|
4847
4847
|
STATS_RESET: "stats_reset"
|
|
@@ -4874,7 +4874,7 @@ const gd = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
4874
4874
|
LOADING: Xu,
|
|
4875
4875
|
LOAD_START: ca,
|
|
4876
4876
|
MINI_STATE_CHANGE: ni,
|
|
4877
|
-
PAUSE:
|
|
4877
|
+
PAUSE: mt,
|
|
4878
4878
|
PIP_CHANGE: Wr,
|
|
4879
4879
|
PLAY: _e,
|
|
4880
4880
|
PLAYER_BLUR: Wu,
|
|
@@ -6225,15 +6225,15 @@ var W = /* @__PURE__ */ (function(a) {
|
|
|
6225
6225
|
return !1;
|
|
6226
6226
|
}
|
|
6227
6227
|
}]), a;
|
|
6228
|
-
})(),
|
|
6228
|
+
})(), Et = null;
|
|
6229
6229
|
function xd(a, s) {
|
|
6230
|
-
return
|
|
6230
|
+
return Et || (Et = new Ed()), Et.addObserver(a, s), Et;
|
|
6231
6231
|
}
|
|
6232
6232
|
function Id(a, s) {
|
|
6233
6233
|
var n;
|
|
6234
|
-
(n =
|
|
6234
|
+
(n = Et) === null || n === void 0 || n.unObserver(a, s);
|
|
6235
6235
|
}
|
|
6236
|
-
var
|
|
6236
|
+
var le = {
|
|
6237
6237
|
pluginGroup: {},
|
|
6238
6238
|
init: function(s) {
|
|
6239
6239
|
var n = s._pluginInfoId;
|
|
@@ -7052,7 +7052,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7052
7052
|
});
|
|
7053
7053
|
g || (f.defaultDefinition = f.list[0].definition, g = f.list[0]), e.config.url = g.url, e.curDefinition = g;
|
|
7054
7054
|
}
|
|
7055
|
-
return e._bindEvents(), e._registerPresets(), e._registerPlugins(),
|
|
7055
|
+
return e._bindEvents(), e._registerPresets(), e._registerPlugins(), le.onPluginsReady(y(e)), e.getInitDefinition(), e.setState(q.READY), h.setTimeout(y(e), function() {
|
|
7056
7056
|
e.emit(ha);
|
|
7057
7057
|
}, 0), e.onReady && e.onReady(), (e.config.videoInit || e.config.autoplay) && (!e.hasStart || e.state < q.ATTACHED) && e.start(), e;
|
|
7058
7058
|
}
|
|
@@ -7072,8 +7072,8 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7072
7072
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
7073
7073
|
}
|
|
7074
7074
|
var o = Od(this.root);
|
|
7075
|
-
if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ge, this.playerId), this.media.setAttribute(Ge, this.playerId), (e = ze) === null || e === void 0 || e.add(this),
|
|
7076
|
-
var u = this.config.controls.root || null, l =
|
|
7075
|
+
if (o && (V.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), o.destroy()), this.root.setAttribute(Ge, this.playerId), this.media.setAttribute(Ge, this.playerId), (e = ze) === null || e === void 0 || e.add(this), le.init(this), this._initBaseDoms(), this.config.controls) {
|
|
7076
|
+
var u = this.config.controls.root || null, l = le.register(this, Ad, {
|
|
7077
7077
|
root: u
|
|
7078
7078
|
});
|
|
7079
7079
|
this.controls = l;
|
|
@@ -7141,7 +7141,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7141
7141
|
var u = this.media.readyState;
|
|
7142
7142
|
V.logInfo("_startInit readyState", u), this.config.autoplay && (!h.isMSE(this.media) && this.load(), (j.os.isIpad || j.os.isPhone) && this.mediaPlay());
|
|
7143
7143
|
var l = this.config.startTime;
|
|
7144
|
-
this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, u >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Oe, this.canPlayFunc), (!this.hasStart || this.state < q.ATTACHED) &&
|
|
7144
|
+
this.__startTime = l > 0 ? l : -1, this.config.startTime = 0, u >= 2 && this.duration > 0 ? this.canPlayFunc() : this.on(Oe, this.canPlayFunc), (!this.hasStart || this.state < q.ATTACHED) && le.afterInit(this), this.hasStart = !0, this.setState(q.ATTACHED), h.setTimeout(this, function() {
|
|
7145
7145
|
i.emit(_i);
|
|
7146
7146
|
}, 0);
|
|
7147
7147
|
}
|
|
@@ -7162,7 +7162,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7162
7162
|
if (!i && c[d.toLowerCase()])
|
|
7163
7163
|
return;
|
|
7164
7164
|
if (f.lazy && f.loader) {
|
|
7165
|
-
var g =
|
|
7165
|
+
var g = le.lazyRegister(e, f);
|
|
7166
7166
|
f.forceBeforeInit && (g.then(function() {
|
|
7167
7167
|
e._loadingPlugins.splice(e._loadingPlugins.indexOf(g), 1);
|
|
7168
7168
|
}).catch(function(v) {
|
|
@@ -7207,21 +7207,21 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7207
7207
|
}, {
|
|
7208
7208
|
key: "registerPlugin",
|
|
7209
7209
|
value: function(e, i) {
|
|
7210
|
-
var r =
|
|
7210
|
+
var r = le.formatPluginInfo(e, i), o = r.PLUFGIN, u = r.options, l = this.config.plugins, c = le.checkPluginIfExits(o.pluginName, l);
|
|
7211
7211
|
!c && l.push(o);
|
|
7212
|
-
var f =
|
|
7212
|
+
var f = le.getRootByConfig(o.pluginName, this.config);
|
|
7213
7213
|
f.root && (u.root = f.root), f.position && (u.position = f.position);
|
|
7214
7214
|
var d = u.position ? u.position : u.config && u.config.position || o.defaultConfig && o.defaultConfig.position;
|
|
7215
7215
|
if (!u.root && typeof d == "string" && d.indexOf("controls") > -1) {
|
|
7216
7216
|
var g;
|
|
7217
7217
|
return (g = this.controls) === null || g === void 0 ? void 0 : g.registerPlugin(o, u, o.pluginName);
|
|
7218
7218
|
}
|
|
7219
|
-
return u.root || (u.root = this._getRootByPosition(d)),
|
|
7219
|
+
return u.root || (u.root = this._getRootByPosition(d)), le.register(this, o, u);
|
|
7220
7220
|
}
|
|
7221
7221
|
}, {
|
|
7222
7222
|
key: "deregister",
|
|
7223
7223
|
value: function(e) {
|
|
7224
|
-
typeof e == "string" ?
|
|
7224
|
+
typeof e == "string" ? le.unRegister(this, e) : e instanceof Ke && le.unRegister(this, e.pluginName);
|
|
7225
7225
|
}
|
|
7226
7226
|
}, {
|
|
7227
7227
|
key: "unRegisterPlugin",
|
|
@@ -7245,12 +7245,12 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7245
7245
|
}, {
|
|
7246
7246
|
key: "plugins",
|
|
7247
7247
|
get: function() {
|
|
7248
|
-
return
|
|
7248
|
+
return le.getPlugins(this);
|
|
7249
7249
|
}
|
|
7250
7250
|
}, {
|
|
7251
7251
|
key: "getPlugin",
|
|
7252
7252
|
value: function(e) {
|
|
7253
|
-
var i =
|
|
7253
|
+
var i = le.findPlugin(this, e);
|
|
7254
7254
|
return i && i.pluginName ? i : null;
|
|
7255
7255
|
}
|
|
7256
7256
|
}, {
|
|
@@ -7285,7 +7285,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7285
7285
|
var i = this;
|
|
7286
7286
|
if (!(this.state > q.ATTACHING)) {
|
|
7287
7287
|
var r = this._playSessionId;
|
|
7288
|
-
return h.isNotNull(r) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(q.ATTACHING), this._registerPlugins(!1),
|
|
7288
|
+
return h.isNotNull(r) && (this._playSessionId = void 0), !e && !this.config.url && this.getInitDefinition(), this.hasStart = !0, this.setState(q.ATTACHING), this._registerPlugins(!1), le.beforeInit(this).then(function() {
|
|
7289
7289
|
if (i.config) {
|
|
7290
7290
|
e || (e = i.url || i.config.url);
|
|
7291
7291
|
var o = i.preProcessUrl(e), u = i._startInit(o.url, {
|
|
@@ -7465,7 +7465,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7465
7465
|
value: function() {
|
|
7466
7466
|
var e, i = this, r = this.innerContainer, o = this.root, u = this.media;
|
|
7467
7467
|
if (!(!o || !u)) {
|
|
7468
|
-
if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Ge), u.removeAttribute(Ge), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ga), (e = ze) === null || e === void 0 || e.remove(this),
|
|
7468
|
+
if (this.hasStart = !1, this._useAutoplay = !1, o.removeAttribute(Ge), u.removeAttribute(Ge), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(ga), (e = ze) === null || e === void 0 || e.remove(this), le.destroy(this), ul(this), U(N(n.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), r)
|
|
7469
7469
|
for (var l = r.children, c = 0; c < l.length; c++)
|
|
7470
7470
|
r.removeChild(l[c]);
|
|
7471
7471
|
!r && u instanceof window.Node && o.contains(u) && !this.config.remainMediaAfterDestroy && o.removeChild(u), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(d) {
|
|
@@ -7965,7 +7965,7 @@ var Md = ["play", "pause", "replay", "retry"], eu = 0, tu = 0, ze = null, ki = /
|
|
|
7965
7965
|
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(vt.langKeys.join(), "] "));
|
|
7966
7966
|
return;
|
|
7967
7967
|
}
|
|
7968
|
-
this.config.lang = e,
|
|
7968
|
+
this.config.lang = e, le.setLang(e, this);
|
|
7969
7969
|
}
|
|
7970
7970
|
}, {
|
|
7971
7971
|
key: "i18n",
|
|
@@ -8571,7 +8571,7 @@ var hl = /* @__PURE__ */ (function(a) {
|
|
|
8571
8571
|
key: "listenEvents",
|
|
8572
8572
|
value: function() {
|
|
8573
8573
|
var e = this, i = this.player;
|
|
8574
|
-
this.on([_e,
|
|
8574
|
+
this.on([_e, mt, Ft, nt], function() {
|
|
8575
8575
|
e.animate(i.paused);
|
|
8576
8576
|
});
|
|
8577
8577
|
}
|
|
@@ -10049,7 +10049,7 @@ var Jd = /* @__PURE__ */ (function(a) {
|
|
|
10049
10049
|
e.setAttr("data-state", "play"), h.removeClass(e.root, o), e.show();
|
|
10050
10050
|
}), this.on(_e, function() {
|
|
10051
10051
|
e.toggleTo("play");
|
|
10052
|
-
}), this.on(
|
|
10052
|
+
}), this.on(mt, function() {
|
|
10053
10053
|
e.toggleTo("pause");
|
|
10054
10054
|
}), this.on(Ci, function() {
|
|
10055
10055
|
e.onPlayerReset();
|
|
@@ -10592,7 +10592,7 @@ var Rr = {
|
|
|
10592
10592
|
key: "afterCreate",
|
|
10593
10593
|
value: function() {
|
|
10594
10594
|
var e = this;
|
|
10595
|
-
this.initIcons(), this.on(
|
|
10595
|
+
this.initIcons(), this.on(mt, function() {
|
|
10596
10596
|
e.setAttr("data-state", "pause");
|
|
10597
10597
|
}), this.on(_e, function() {
|
|
10598
10598
|
e.setAttr("data-state", "play");
|
|
@@ -13899,7 +13899,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
13899
13899
|
}), this.on(_e, function() {
|
|
13900
13900
|
var l = e.config.startInterval;
|
|
13901
13901
|
e._checkIfCanStart() && e.start(0, l);
|
|
13902
|
-
}), this.on(
|
|
13902
|
+
}), this.on(mt, function() {
|
|
13903
13903
|
e.stop();
|
|
13904
13904
|
})), this.on(Fe, this.onLoadedData), this.on(ca, function() {
|
|
13905
13905
|
e._isLoaded = !1, e.stop();
|
|
@@ -14128,7 +14128,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14128
14128
|
FORWARD: "快进中",
|
|
14129
14129
|
LIVE_TIP: "直播"
|
|
14130
14130
|
}
|
|
14131
|
-
},
|
|
14131
|
+
}, kt = "info", Br = rl, zg = /* @__PURE__ */ (function(a) {
|
|
14132
14132
|
M(n, a);
|
|
14133
14133
|
var s = F(n);
|
|
14134
14134
|
function n() {
|
|
@@ -14140,7 +14140,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14140
14140
|
var u = t._getTime(), l = Object.assign({}, o, {
|
|
14141
14141
|
msg: o.msg || o.action
|
|
14142
14142
|
});
|
|
14143
|
-
t._stats[
|
|
14143
|
+
t._stats[kt].push(re(re({
|
|
14144
14144
|
type: "userAction"
|
|
14145
14145
|
}, u), {}, {
|
|
14146
14146
|
payload: l
|
|
@@ -14188,7 +14188,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14188
14188
|
key: "_info",
|
|
14189
14189
|
value: function(e) {
|
|
14190
14190
|
var i = this._getTime();
|
|
14191
|
-
this._stats[
|
|
14191
|
+
this._stats[kt].push(re(re({}, i), {}, {
|
|
14192
14192
|
payload: e
|
|
14193
14193
|
}));
|
|
14194
14194
|
}
|
|
@@ -14214,7 +14214,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14214
14214
|
key: "reset",
|
|
14215
14215
|
value: function() {
|
|
14216
14216
|
var e;
|
|
14217
|
-
this._stats = (e = {}, _(e,
|
|
14217
|
+
this._stats = (e = {}, _(e, kt, []), _(e, "media", {}), e);
|
|
14218
14218
|
}
|
|
14219
14219
|
}, {
|
|
14220
14220
|
key: "getStats",
|
|
@@ -14240,7 +14240,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14240
14240
|
}, {
|
|
14241
14241
|
key: "_getTimeStats",
|
|
14242
14242
|
value: function() {
|
|
14243
|
-
var e = this._stats[
|
|
14243
|
+
var e = this._stats[kt], i = e.map(function(r) {
|
|
14244
14244
|
var o = r.payload.data, u = "";
|
|
14245
14245
|
try {
|
|
14246
14246
|
o instanceof Error ? u = o.msg : o !== void 0 && (u = JSON.stringify(o));
|
|
@@ -14256,7 +14256,7 @@ var Zt = null, Ug = /* @__PURE__ */ (function(a) {
|
|
|
14256
14256
|
value: function() {
|
|
14257
14257
|
var e = {
|
|
14258
14258
|
traceEvents: []
|
|
14259
|
-
}, i = this._stats[
|
|
14259
|
+
}, i = this._stats[kt];
|
|
14260
14260
|
return i.forEach(function(r) {
|
|
14261
14261
|
r.payload.profile && e.traceEvents.push(r.payload);
|
|
14262
14262
|
}), e;
|
|
@@ -14548,7 +14548,7 @@ var Vg = /* @__PURE__ */ (function(a) {
|
|
|
14548
14548
|
var u = o.getVideoPlaybackQuality;
|
|
14549
14549
|
u && (this.on(_e, function() {
|
|
14550
14550
|
e._startTick();
|
|
14551
|
-
}), this.on(
|
|
14551
|
+
}), this.on(mt, function() {
|
|
14552
14552
|
e._stopTick();
|
|
14553
14553
|
}), this.on(it, function() {
|
|
14554
14554
|
e._stopTick();
|
|
@@ -14662,7 +14662,7 @@ var Wg = /* @__PURE__ */ A(function a(s, n) {
|
|
|
14662
14662
|
(i = this.plugins).push.apply(i, [cu, Mr, Kr]);
|
|
14663
14663
|
}
|
|
14664
14664
|
(j.os.isIpad || f === "pc") && this.plugins.push(Ug), j.os.isIpad && this.plugins.push(Mr), this.ignores = [], this.i18n = [];
|
|
14665
|
-
}),
|
|
14665
|
+
}), ue = /* @__PURE__ */ (function(a) {
|
|
14666
14666
|
M(n, a);
|
|
14667
14667
|
var s = F(n);
|
|
14668
14668
|
function n() {
|
|
@@ -14670,26 +14670,26 @@ var Wg = /* @__PURE__ */ A(function a(s, n) {
|
|
|
14670
14670
|
}
|
|
14671
14671
|
return A(n);
|
|
14672
14672
|
})(ki);
|
|
14673
|
-
_(
|
|
14674
|
-
_(
|
|
14675
|
-
_(
|
|
14676
|
-
_(
|
|
14677
|
-
_(
|
|
14678
|
-
_(
|
|
14679
|
-
_(
|
|
14680
|
-
_(
|
|
14681
|
-
_(
|
|
14682
|
-
_(
|
|
14683
|
-
_(
|
|
14684
|
-
_(
|
|
14685
|
-
_(
|
|
14686
|
-
_(
|
|
14687
|
-
_(
|
|
14688
|
-
_(
|
|
14673
|
+
_(ue, "defaultPreset", Wg);
|
|
14674
|
+
_(ue, "Util", h);
|
|
14675
|
+
_(ue, "Sniffer", j);
|
|
14676
|
+
_(ue, "Errors", ei);
|
|
14677
|
+
_(ue, "Events", gd);
|
|
14678
|
+
_(ue, "Plugin", W);
|
|
14679
|
+
_(ue, "BasePlugin", Ke);
|
|
14680
|
+
_(ue, "I18N", vt);
|
|
14681
|
+
_(ue, "STATE_CLASS", w);
|
|
14682
|
+
_(ue, "InstManager", cl);
|
|
14683
|
+
_(ue, "PlayIcon", hl);
|
|
14684
|
+
_(ue, "TimeIcon", gl);
|
|
14685
|
+
_(ue, "Progress", dl);
|
|
14686
|
+
_(ue, "FullscreenIcon", fl);
|
|
14687
|
+
_(ue, "CssFullscreenIcon", Kr);
|
|
14688
|
+
_(ue, "VolumeIcon", vl);
|
|
14689
14689
|
const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
14690
14690
|
name: "ElImageViewer",
|
|
14691
14691
|
__name: "Player",
|
|
14692
|
-
props: /* @__PURE__ */
|
|
14692
|
+
props: /* @__PURE__ */ Pt({
|
|
14693
14693
|
url: {
|
|
14694
14694
|
type: String,
|
|
14695
14695
|
default: ""
|
|
@@ -14710,7 +14710,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14710
14710
|
},
|
|
14711
14711
|
modelModifiers: {}
|
|
14712
14712
|
}),
|
|
14713
|
-
emits: /* @__PURE__ */
|
|
14713
|
+
emits: /* @__PURE__ */ Pt({
|
|
14714
14714
|
close: () => !0
|
|
14715
14715
|
}, ["update:modelValue"]),
|
|
14716
14716
|
setup(a, { emit: s }) {
|
|
@@ -14740,17 +14740,17 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14740
14740
|
function d() {
|
|
14741
14741
|
u("close"), l.value = !1, n.destroy();
|
|
14742
14742
|
}
|
|
14743
|
-
return
|
|
14743
|
+
return At(() => l.value, (g) => {
|
|
14744
14744
|
g && ci(() => {
|
|
14745
|
-
n = new
|
|
14745
|
+
n = new ue({
|
|
14746
14746
|
id: c,
|
|
14747
14747
|
url: i.value,
|
|
14748
14748
|
...o.value
|
|
14749
14749
|
});
|
|
14750
14750
|
});
|
|
14751
14751
|
}), (g, v) => {
|
|
14752
|
-
const m =
|
|
14753
|
-
return l.value ? (E(),
|
|
14752
|
+
const m = pt("el-icon");
|
|
14753
|
+
return l.value ? (E(), oe(vu, {
|
|
14754
14754
|
key: 0,
|
|
14755
14755
|
to: "body"
|
|
14756
14756
|
}, [
|
|
@@ -14777,7 +14777,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14777
14777
|
2
|
|
14778
14778
|
/* CLASS */
|
|
14779
14779
|
),
|
|
14780
|
-
|
|
14780
|
+
Z(" CANVAS "),
|
|
14781
14781
|
S(
|
|
14782
14782
|
"div",
|
|
14783
14783
|
{
|
|
@@ -14785,7 +14785,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14785
14785
|
},
|
|
14786
14786
|
[
|
|
14787
14787
|
S("div", { id: I(c) }, null, 8, Kg),
|
|
14788
|
-
|
|
14788
|
+
Z(" CLOSE "),
|
|
14789
14789
|
S(
|
|
14790
14790
|
"span",
|
|
14791
14791
|
{
|
|
@@ -14817,10 +14817,10 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14817
14817
|
_: 3
|
|
14818
14818
|
/* FORWARDED */
|
|
14819
14819
|
})
|
|
14820
|
-
])) :
|
|
14820
|
+
])) : Z("v-if", !0);
|
|
14821
14821
|
};
|
|
14822
14822
|
}
|
|
14823
|
-
}), Yg = /* @__PURE__ */ fi($g, [["__scopeId", "data-v-b301aa7d"]]), Xg = Ne(Yg), Zg = /* @__PURE__ */ ae({
|
|
14823
|
+
}), Yg = /* @__PURE__ */ fi($g, [["__scopeId", "data-v-b301aa7d"]]), Xg = Ne(Yg), Zg = { key: 2 }, Jg = /* @__PURE__ */ ae({
|
|
14824
14824
|
__name: "IkDescription",
|
|
14825
14825
|
props: {
|
|
14826
14826
|
showIcon: {
|
|
@@ -14865,8 +14865,8 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14865
14865
|
},
|
|
14866
14866
|
setup(a) {
|
|
14867
14867
|
Ml((u) => ({
|
|
14868
|
-
|
|
14869
|
-
|
|
14868
|
+
v2c889c15: e.value,
|
|
14869
|
+
v2b18e4f0: r.value
|
|
14870
14870
|
}));
|
|
14871
14871
|
const s = a, n = {
|
|
14872
14872
|
id: "id",
|
|
@@ -14891,8 +14891,8 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14891
14891
|
r.value = c ? `${f}px` : "100%";
|
|
14892
14892
|
});
|
|
14893
14893
|
}), (u, l) => {
|
|
14894
|
-
const c =
|
|
14895
|
-
return E(),
|
|
14894
|
+
const c = pt("el-descriptions-item"), f = pt("el-descriptions");
|
|
14895
|
+
return E(), oe(f, It({
|
|
14896
14896
|
id: `ik-description__container-${I(i)}`,
|
|
14897
14897
|
class: "margin-top"
|
|
14898
14898
|
}, { ...a.titleProps, ...s, ...s.props }), {
|
|
@@ -14903,9 +14903,9 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14903
14903
|
(E(!0), L(
|
|
14904
14904
|
ve,
|
|
14905
14905
|
null,
|
|
14906
|
-
|
|
14906
|
+
xt(o.value, (d) => (E(), oe(
|
|
14907
14907
|
c,
|
|
14908
|
-
|
|
14908
|
+
It({
|
|
14909
14909
|
key: d[n.id]
|
|
14910
14910
|
}, { ref_for: !0 }, {
|
|
14911
14911
|
...d[n.props],
|
|
@@ -14914,7 +14914,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14914
14914
|
{
|
|
14915
14915
|
label: ie(() => [
|
|
14916
14916
|
Se(u.$slots, d[n.label], { item: d }, () => [
|
|
14917
|
-
|
|
14917
|
+
Lt(
|
|
14918
14918
|
we(d[n.label]),
|
|
14919
14919
|
1
|
|
14920
14920
|
/* TEXT */
|
|
@@ -14923,12 +14923,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14923
14923
|
]),
|
|
14924
14924
|
default: ie(() => [
|
|
14925
14925
|
Se(u.$slots, `${d[n.label]}_value`, { item: d }, () => [
|
|
14926
|
-
|
|
14927
|
-
we(d[n.value]) + " ",
|
|
14928
|
-
1
|
|
14929
|
-
/* TEXT */
|
|
14930
|
-
),
|
|
14931
|
-
d[n.tag] ? (E(), le(
|
|
14926
|
+
d[n.tag] ? (E(), oe(
|
|
14932
14927
|
I(Hl),
|
|
14933
14928
|
{
|
|
14934
14929
|
key: 0,
|
|
@@ -14936,7 +14931,7 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14936
14931
|
},
|
|
14937
14932
|
{
|
|
14938
14933
|
default: ie(() => [
|
|
14939
|
-
|
|
14934
|
+
Lt(
|
|
14940
14935
|
we(d[n.value].value),
|
|
14941
14936
|
1
|
|
14942
14937
|
/* TEXT */
|
|
@@ -14947,14 +14942,20 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14947
14942
|
},
|
|
14948
14943
|
1024
|
|
14949
14944
|
/* DYNAMIC_SLOTS */
|
|
14950
|
-
)) :
|
|
14951
|
-
|
|
14945
|
+
)) : d[n.fileList] ? (E(), oe(I(Rc), It({
|
|
14946
|
+
key: 1,
|
|
14952
14947
|
list: d[n.fileList],
|
|
14953
14948
|
field: a.fileField,
|
|
14954
14949
|
"load-url": a.loadUrl,
|
|
14955
14950
|
"show-bg": !1,
|
|
14956
14951
|
"show-file-size": !0
|
|
14957
|
-
}, { ref_for: !0 }, a.previewProps), null, 16, ["list", "field", "load-url"])
|
|
14952
|
+
}, { ref_for: !0 }, a.previewProps), null, 16, ["list", "field", "load-url"])) : (E(), L(
|
|
14953
|
+
"span",
|
|
14954
|
+
Zg,
|
|
14955
|
+
we(d[n.value]),
|
|
14956
|
+
1
|
|
14957
|
+
/* TEXT */
|
|
14958
|
+
))
|
|
14958
14959
|
], !0)
|
|
14959
14960
|
]),
|
|
14960
14961
|
_: 2
|
|
@@ -14972,8 +14973,8 @@ const Kg = ["id"], $g = /* @__PURE__ */ ae({
|
|
|
14972
14973
|
}, 16, ["id"]);
|
|
14973
14974
|
};
|
|
14974
14975
|
}
|
|
14975
|
-
}),
|
|
14976
|
+
}), Qg = /* @__PURE__ */ fi(Jg, [["__scopeId", "data-v-443424f0"]]), nv = Ne(Qg);
|
|
14976
14977
|
export {
|
|
14977
|
-
|
|
14978
|
-
|
|
14978
|
+
nv as IkDescriptions,
|
|
14979
|
+
nv as default
|
|
14979
14980
|
};
|