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 ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as
|
|
1
|
+
import { defineComponent as ue, computed as ee, openBlock as T, createElementBlock as E, createElementVNode as S, inject as Qe, ref as qe, resolveComponent as Te, Fragment as le, renderList as Re, normalizeStyle as re, toDisplayString as $, normalizeClass as J, createVNode as Z, unref as j, withModifiers as hi, renderSlot as Fe, createBlock as Ee, withCtx as pe, createCommentVNode as A, mergeModels as ct, useModel as Yt, reactive as Wi, watch as Xt, nextTick as ft, createTextVNode as Me, h as Tn, mergeProps as $i, createSlots as En, Teleport as Sn, Transition as xn, onMounted as In, pushScopeId as Pn, popScopeId as An } from "vue";
|
|
2
2
|
import { paramType as Ln, ikFile as Dn, buildUUID as Gi, ikColor as On, ikDate as Rn } from "iking-utils-pro";
|
|
3
3
|
import { useNamespace as Fn } from "element-plus";
|
|
4
4
|
const Ie = (a, o) => {
|
|
@@ -878,7 +878,7 @@ const nt = (a, o) => {
|
|
|
878
878
|
})));
|
|
879
879
|
return (f, g) => {
|
|
880
880
|
var d, v, y;
|
|
881
|
-
const p =
|
|
881
|
+
const p = Te("tmplate");
|
|
882
882
|
return T(), E(
|
|
883
883
|
le,
|
|
884
884
|
null,
|
|
@@ -905,16 +905,16 @@ const nt = (a, o) => {
|
|
|
905
905
|
S(
|
|
906
906
|
"div",
|
|
907
907
|
{
|
|
908
|
-
class:
|
|
908
|
+
class: J(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
909
909
|
},
|
|
910
910
|
[
|
|
911
|
-
|
|
911
|
+
Z(j(Ye), {
|
|
912
912
|
name: "iksvg_daochu",
|
|
913
913
|
onClick: hi((C) => l(k), ["stop"]),
|
|
914
914
|
size: 20,
|
|
915
915
|
active: ""
|
|
916
916
|
}, null, 8, ["onClick"]),
|
|
917
|
-
|
|
917
|
+
Z(j(Ye), {
|
|
918
918
|
name: "iksvg_yulan",
|
|
919
919
|
size: 20,
|
|
920
920
|
active: ""
|
|
@@ -929,7 +929,7 @@ const nt = (a, o) => {
|
|
|
929
929
|
], 12, Gr))),
|
|
930
930
|
256
|
|
931
931
|
/* UNKEYED_FRAGMENT */
|
|
932
|
-
)) : (T(),
|
|
932
|
+
)) : (T(), Ee(p, { key: 1 }, {
|
|
933
933
|
default: pe(() => [
|
|
934
934
|
(T(!0), E(
|
|
935
935
|
le,
|
|
@@ -939,7 +939,7 @@ const nt = (a, o) => {
|
|
|
939
939
|
return T(), E(
|
|
940
940
|
"div",
|
|
941
941
|
{
|
|
942
|
-
class:
|
|
942
|
+
class: J(["iking-privew-annex", { "is-bg": a.showBg }]),
|
|
943
943
|
key: b,
|
|
944
944
|
style: re({
|
|
945
945
|
marginBottom: b == ((C = a.list) == null ? void 0 : C.length) - 1 ? "0" : "10px",
|
|
@@ -951,7 +951,7 @@ const nt = (a, o) => {
|
|
|
951
951
|
class: "file-card",
|
|
952
952
|
onClick: (B) => s(k)
|
|
953
953
|
}, [
|
|
954
|
-
|
|
954
|
+
Z(j(Ur), {
|
|
955
955
|
file: k,
|
|
956
956
|
style: re({ height: `${a.iconSize}px` }),
|
|
957
957
|
class: "ikui-w-auto",
|
|
@@ -976,17 +976,17 @@ const nt = (a, o) => {
|
|
|
976
976
|
S(
|
|
977
977
|
"div",
|
|
978
978
|
{
|
|
979
|
-
class:
|
|
979
|
+
class: J(["flex flex-center", { "hover-show": a.iconHoverShow }])
|
|
980
980
|
},
|
|
981
981
|
[
|
|
982
|
-
|
|
982
|
+
Z(j(Ye), {
|
|
983
983
|
name: "iksvg_daochu",
|
|
984
984
|
onClick: hi((B) => l(k), ["stop"]),
|
|
985
985
|
bg: a.showBg,
|
|
986
986
|
size: a.showBg ? "default" : 20,
|
|
987
987
|
title: "下载"
|
|
988
988
|
}, null, 8, ["onClick", "bg", "size"]),
|
|
989
|
-
|
|
989
|
+
Z(j(Ye), {
|
|
990
990
|
name: "iksvg_yulan",
|
|
991
991
|
bg: a.showBg,
|
|
992
992
|
size: a.showBg ? "default" : 20,
|
|
@@ -1016,7 +1016,7 @@ const nt = (a, o) => {
|
|
|
1016
1016
|
64
|
|
1017
1017
|
/* STABLE_FRAGMENT */
|
|
1018
1018
|
)) : A("v-if", !0),
|
|
1019
|
-
|
|
1019
|
+
Z(j(ts), {
|
|
1020
1020
|
show: n.value,
|
|
1021
1021
|
"onUpdate:show": g[0] || (g[0] = (k) => n.value = k),
|
|
1022
1022
|
loadUrl: j(r),
|
|
@@ -1130,12 +1130,12 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1130
1130
|
};
|
|
1131
1131
|
return (u, c) => {
|
|
1132
1132
|
var g, p, d;
|
|
1133
|
-
const f =
|
|
1133
|
+
const f = Te("el-image-viewer");
|
|
1134
1134
|
return r.value ? (T(), E(
|
|
1135
1135
|
le,
|
|
1136
1136
|
{ key: 0 },
|
|
1137
1137
|
[
|
|
1138
|
-
(g = i.value) != null && g.url && n.image ? (T(),
|
|
1138
|
+
(g = i.value) != null && g.url && n.image ? (T(), Ee(f, {
|
|
1139
1139
|
key: 0,
|
|
1140
1140
|
onClose: c[0] || (c[0] = (v) => l()),
|
|
1141
1141
|
ref: "previewImgRef",
|
|
@@ -1144,12 +1144,12 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1144
1144
|
}, null, 8, ["url-list"])) : A("v-if", !0),
|
|
1145
1145
|
A(' <IkPreviewVideo :file="fileData" v-model:show="modal.video" />'),
|
|
1146
1146
|
A(" 文档类 "),
|
|
1147
|
-
|
|
1147
|
+
Z(j(za), {
|
|
1148
1148
|
modelValue: n.video,
|
|
1149
1149
|
"onUpdate:modelValue": c[1] || (c[1] = (v) => n.video = v),
|
|
1150
1150
|
url: (d = i.value) == null ? void 0 : d.url
|
|
1151
1151
|
}, null, 8, ["modelValue", "url"]),
|
|
1152
|
-
|
|
1152
|
+
Z(j(ps), {
|
|
1153
1153
|
modelValue: n.office,
|
|
1154
1154
|
"onUpdate:modelValue": c[2] || (c[2] = (v) => n.office = v),
|
|
1155
1155
|
draggable: "",
|
|
@@ -1167,7 +1167,7 @@ const Qr = Ie(Zr), es = /* @__PURE__ */ ue({
|
|
|
1167
1167
|
default: pe(() => {
|
|
1168
1168
|
var v;
|
|
1169
1169
|
return [
|
|
1170
|
-
|
|
1170
|
+
Z(j(Ts), {
|
|
1171
1171
|
"config-options": e.value,
|
|
1172
1172
|
"document-server-url": ((v = a.onlyOfficeConfig) == null ? void 0 : v.serverUrl) || a.onlyofficeServer
|
|
1173
1173
|
}, null, 8, ["config-options", "document-server-url"])
|
|
@@ -1253,13 +1253,13 @@ const ts = Ie(es), is = {
|
|
|
1253
1253
|
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1254
1254
|
});
|
|
1255
1255
|
return (i, n) => {
|
|
1256
|
-
const s =
|
|
1256
|
+
const s = Te("el-tooltip"), l = Te("el-button");
|
|
1257
1257
|
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (T(), E("span", is, [
|
|
1258
1258
|
r.value.notip || !r.value.title ? (T(), E(
|
|
1259
1259
|
"i",
|
|
1260
1260
|
{
|
|
1261
1261
|
key: 0,
|
|
1262
|
-
class:
|
|
1262
|
+
class: J(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1263
1263
|
[i.name]: t.value === "unocss",
|
|
1264
1264
|
"show-bg": r.value.showBg || r.value.bg,
|
|
1265
1265
|
default: r.value.size === "default",
|
|
@@ -1280,7 +1280,7 @@ const ts = Ie(es), is = {
|
|
|
1280
1280
|
"i",
|
|
1281
1281
|
{
|
|
1282
1282
|
key: 0,
|
|
1283
|
-
class:
|
|
1283
|
+
class: J(`iksig ${r.value.name}`),
|
|
1284
1284
|
style: re(e.value)
|
|
1285
1285
|
},
|
|
1286
1286
|
null,
|
|
@@ -1298,7 +1298,7 @@ const ts = Ie(es), is = {
|
|
|
1298
1298
|
"i",
|
|
1299
1299
|
{
|
|
1300
1300
|
key: 3,
|
|
1301
|
-
class:
|
|
1301
|
+
class: J(r.value.name),
|
|
1302
1302
|
style: re(e.value)
|
|
1303
1303
|
},
|
|
1304
1304
|
null,
|
|
@@ -1308,7 +1308,7 @@ const ts = Ie(es), is = {
|
|
|
1308
1308
|
],
|
|
1309
1309
|
6
|
|
1310
1310
|
/* CLASS, STYLE */
|
|
1311
|
-
)) : (T(),
|
|
1311
|
+
)) : (T(), Ee(s, {
|
|
1312
1312
|
key: 1,
|
|
1313
1313
|
content: r.value.title,
|
|
1314
1314
|
placement: "top"
|
|
@@ -1317,7 +1317,7 @@ const ts = Ie(es), is = {
|
|
|
1317
1317
|
S(
|
|
1318
1318
|
"i",
|
|
1319
1319
|
{
|
|
1320
|
-
class:
|
|
1320
|
+
class: J(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1321
1321
|
[i.name]: t.value === "unocss",
|
|
1322
1322
|
"show-bg": r.value.showBg || r.value.bg,
|
|
1323
1323
|
default: r.value.size === "default",
|
|
@@ -1336,7 +1336,7 @@ const ts = Ie(es), is = {
|
|
|
1336
1336
|
"i",
|
|
1337
1337
|
{
|
|
1338
1338
|
key: 0,
|
|
1339
|
-
class:
|
|
1339
|
+
class: J(`iksig ${r.value.name}`),
|
|
1340
1340
|
style: re(e.value)
|
|
1341
1341
|
},
|
|
1342
1342
|
null,
|
|
@@ -1354,7 +1354,7 @@ const ts = Ie(es), is = {
|
|
|
1354
1354
|
"i",
|
|
1355
1355
|
{
|
|
1356
1356
|
key: 3,
|
|
1357
|
-
class:
|
|
1357
|
+
class: J(r.value.name),
|
|
1358
1358
|
style: re(e.value)
|
|
1359
1359
|
},
|
|
1360
1360
|
null,
|
|
@@ -1369,7 +1369,7 @@ const ts = Ie(es), is = {
|
|
|
1369
1369
|
_: 1
|
|
1370
1370
|
/* STABLE */
|
|
1371
1371
|
}, 8, ["content"]))
|
|
1372
|
-
])) : (T(),
|
|
1372
|
+
])) : (T(), Ee(l, {
|
|
1373
1373
|
key: 1,
|
|
1374
1374
|
type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
|
|
1375
1375
|
}, {
|
|
@@ -1399,15 +1399,25 @@ const cs = /* @__PURE__ */ nt(us, [["__scopeId", "data-v-52806adf"]]), Ye = Ie(c
|
|
|
1399
1399
|
}
|
|
1400
1400
|
},
|
|
1401
1401
|
setup(a) {
|
|
1402
|
-
return (o, r) => (T(),
|
|
1403
|
-
|
|
1404
|
-
|
|
1405
|
-
|
|
1406
|
-
|
|
1407
|
-
|
|
1402
|
+
return (o, r) => (T(), E(
|
|
1403
|
+
"div",
|
|
1404
|
+
{
|
|
1405
|
+
class: J({ "exit-main-page-maximize": a.showBg && a.fullscreen })
|
|
1406
|
+
},
|
|
1407
|
+
[
|
|
1408
|
+
Z(j(Ye), {
|
|
1409
|
+
name: "iksvg_guanbidanchuang",
|
|
1410
|
+
title: "关闭",
|
|
1411
|
+
size: 20,
|
|
1412
|
+
error: ""
|
|
1413
|
+
})
|
|
1414
|
+
],
|
|
1415
|
+
2
|
|
1416
|
+
/* CLASS */
|
|
1417
|
+
));
|
|
1408
1418
|
}
|
|
1409
1419
|
});
|
|
1410
|
-
const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-
|
|
1420
|
+
const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-da39e979"]]), ds = { class: "base-header" }, gs = /* @__PURE__ */ ue({
|
|
1411
1421
|
__name: "IkBaseDialog",
|
|
1412
1422
|
props: /* @__PURE__ */ ct({
|
|
1413
1423
|
title: { default: "" },
|
|
@@ -1439,8 +1449,8 @@ const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-e27fb022"]]), ds = { cl
|
|
|
1439
1449
|
}
|
|
1440
1450
|
});
|
|
1441
1451
|
return (n, s) => {
|
|
1442
|
-
const l =
|
|
1443
|
-
return T(),
|
|
1452
|
+
const l = Te("el-dialog");
|
|
1453
|
+
return T(), Ee(l, $i({
|
|
1444
1454
|
modelValue: r.value,
|
|
1445
1455
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
|
|
1446
1456
|
}, n.$attrs, {
|
|
@@ -1468,7 +1478,7 @@ const hs = /* @__PURE__ */ nt(fs, [["__scopeId", "data-v-e27fb022"]]), ds = { cl
|
|
|
1468
1478
|
)
|
|
1469
1479
|
])
|
|
1470
1480
|
]),
|
|
1471
|
-
n.$attrs.showClose ? (T(),
|
|
1481
|
+
n.$attrs.showClose ? (T(), Ee(j(Ye), {
|
|
1472
1482
|
key: 0,
|
|
1473
1483
|
onClick: e,
|
|
1474
1484
|
name: t.value ? "iksvg_tuichuquanping" : "iksvg_quanping-daohang",
|
|
@@ -1835,7 +1845,7 @@ const bs = /* @__PURE__ */ ue({
|
|
|
1835
1845
|
style: re({ height: o.officeHeight })
|
|
1836
1846
|
},
|
|
1837
1847
|
[
|
|
1838
|
-
|
|
1848
|
+
Z(j(Zt), {
|
|
1839
1849
|
id: `${(/* @__PURE__ */ new Date()).getTime()}`,
|
|
1840
1850
|
ref: "editorRef",
|
|
1841
1851
|
"document-server-url": a.documentServerUrl,
|
|
@@ -2854,7 +2864,7 @@ var mi = {
|
|
|
2854
2864
|
return v.ex = t ? (t[arguments[0]] || {}).msg : "", v;
|
|
2855
2865
|
}
|
|
2856
2866
|
}
|
|
2857
|
-
), ae = "play", ei = "playing", Be = "ended", Ze = "pause", rt = "error", bt = "seeking", _e = "seeked", oe = "timeupdate", st = "waiting", ye = "canplay", zs = "canplaythrough", Pe = "durationchange", Zi = "volumechange",
|
|
2867
|
+
), ae = "play", ei = "playing", Be = "ended", Ze = "pause", rt = "error", bt = "seeking", _e = "seeked", oe = "timeupdate", st = "waiting", ye = "canplay", zs = "canplaythrough", Pe = "durationchange", Zi = "volumechange", ke = "loadeddata", Vs = "loadedmetadata", Qi = "ratechange", en = "progress", ti = "loadstart", He = "emptied", js = "stalled", Ws = "suspend", $s = "abort", Gs = "bufferedChange", ii = "focus", tn = "blur", ni = "ready", nn = "urlNull", Ne = "autoplay_started", ri = "autoplay_was_prevented", wt = "complete", dt = "replay", si = "destroy", Tt = "urlchange", $t = "download_speed_change", rn = "leaveplayer", sn = "enterplayer", on = "loading", ve = "fullscreen_change", gt = "cssFullscreen_change", pt = "mini_state_change", oi = "definition_change", Ks = "before_definition_change", Gt = "after_definition_change", Ys = "SEI_PARSED", Xs = "retry", Se = "video_resize", Kt = "pip_change", an = "rotate", ln = "screenShot", vt = "playnext", un = "shortcut", cn = "xglog", mt = "user_action", Et = "reset", fn = "source_error", hn = "source_success", qs = "switch_subtitle", dn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], gn = {
|
|
2858
2868
|
STATS_INFO: "stats_info",
|
|
2859
2869
|
STATS_DOWNLOAD: "stats_download",
|
|
2860
2870
|
STATS_RESET: "stats_reset"
|
|
@@ -2882,7 +2892,7 @@ const Js = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2882
2892
|
FPS_STUCK: pn,
|
|
2883
2893
|
FULLSCREEN_CHANGE: ve,
|
|
2884
2894
|
LEAVE_PLAYER: rn,
|
|
2885
|
-
LOADED_DATA:
|
|
2895
|
+
LOADED_DATA: ke,
|
|
2886
2896
|
LOADED_METADATA: Vs,
|
|
2887
2897
|
LOADING: on,
|
|
2888
2898
|
LOAD_START: ti,
|
|
@@ -4932,7 +4942,7 @@ function bo(a) {
|
|
|
4932
4942
|
}
|
|
4933
4943
|
return null;
|
|
4934
4944
|
}
|
|
4935
|
-
var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0,
|
|
4945
|
+
var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, Ce = null, St = /* @__PURE__ */ function(a) {
|
|
4936
4946
|
L(r, a);
|
|
4937
4947
|
var o = D(r);
|
|
4938
4948
|
function r(t) {
|
|
@@ -5013,7 +5023,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5013
5023
|
duration: 0
|
|
5014
5024
|
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Xe.init(e._pluginInfoId), N.os.isAndroid && N.osVersion > 0 && N.osVersion < 6 && (e.config.autoplay = !1), e.database = new eo(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
5015
5025
|
isActiveLocked: !1
|
|
5016
|
-
}, e.instManager =
|
|
5026
|
+
}, e.instManager = Ce;
|
|
5017
5027
|
var l = e._initDOM();
|
|
5018
5028
|
if (!l)
|
|
5019
5029
|
return console.error(new Error("can't find the dom which id is ".concat(e.config.id, " or this.config.el does not exist"))), Qt(e);
|
|
@@ -5044,7 +5054,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5044
5054
|
})), console.error("this.confg.id or this.config.el can't be empty"), !1;
|
|
5045
5055
|
}
|
|
5046
5056
|
var s = bo(this.root);
|
|
5047
|
-
s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Oe, this.playerId), (e =
|
|
5057
|
+
s && (H.logWarn("The is an Player instance already exists in this.root, destroy it and reinitialize"), s.destroy()), this.root.setAttribute(Oe, this.playerId), (e = Ce) === null || e === void 0 || e.add(this), q.init(this), this._initBaseDoms();
|
|
5048
5058
|
var l = this.constructor.XgVideoProxy;
|
|
5049
5059
|
if (l && this.mediaConfig.mediaType === l.mediaType) {
|
|
5050
5060
|
var u = this.innerContainer || this.root;
|
|
@@ -5093,7 +5103,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5093
5103
|
e.on(i, e["on" + i.charAt(0).toUpperCase() + i.slice(1)]);
|
|
5094
5104
|
}), ki.forEach(function(i) {
|
|
5095
5105
|
document && document.addEventListener(i, e.onFullscreenChange);
|
|
5096
|
-
}), N.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(
|
|
5106
|
+
}), N.os.isIos && (this.media.addEventListener("webkitbeginfullscreen", this._onWebkitbeginfullscreen), this.media.addEventListener("webkitendfullscreen", this._onWebkitendfullscreen)), this.once(ke, this.resize), this.playFunc = function() {
|
|
5097
5107
|
e.config.closeFocusVideoFocus || e.media.focus();
|
|
5098
5108
|
}, this.once(ae, this.playFunc);
|
|
5099
5109
|
}
|
|
@@ -5407,7 +5417,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5407
5417
|
value: function() {
|
|
5408
5418
|
this.load(), this.reloadFunc = function() {
|
|
5409
5419
|
this.play();
|
|
5410
|
-
}, this.once(
|
|
5420
|
+
}, this.once(ke, this.reloadFunc);
|
|
5411
5421
|
}
|
|
5412
5422
|
}, {
|
|
5413
5423
|
key: "resetState",
|
|
@@ -5437,7 +5447,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
5437
5447
|
value: function() {
|
|
5438
5448
|
var e, i = this, n = this.innerContainer, s = this.root, l = this.media;
|
|
5439
5449
|
if (!(!s || !l)) {
|
|
5440
|
-
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(si), (e =
|
|
5450
|
+
if (this.hasStart = !1, this._useAutoplay = !1, s.removeAttribute(Oe), this.updateAcc("destroy"), this._unbindEvents(), this._detachSourceEvents(this.media), h.clearAllTimers(this), this.emit(si), (e = Ce) === null || e === void 0 || e.remove(this), q.destroy(this), mn(this), F(O(r.prototype), "destroy", this).call(this), this.fullscreen && this._fullscreenEl === this.root && this.exitFullscreen(), n)
|
|
5441
5451
|
for (var u = n.children, c = 0; c < u.length; c++)
|
|
5442
5452
|
n.removeChild(u[c]);
|
|
5443
5453
|
!n && l instanceof window.Node && s.contains(l) && s.removeChild(l), ["topBar", "leftBar", "rightBar", "innerContainer"].map(function(g) {
|
|
@@ -6072,7 +6082,7 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
6072
6082
|
key: "setUserActive",
|
|
6073
6083
|
value: function(e, i) {
|
|
6074
6084
|
var n;
|
|
6075
|
-
typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (n =
|
|
6085
|
+
typeof i == "boolean" && i !== this.muted && (this.addInnerOP("volumechange"), h.typeOf(i) === Boolean && (this.muted = i)), (n = Ce) === null || n === void 0 || n.setActive(this.playerId, e);
|
|
6076
6086
|
}
|
|
6077
6087
|
}], [{
|
|
6078
6088
|
key: "debugger",
|
|
@@ -6085,22 +6095,22 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
6085
6095
|
}, {
|
|
6086
6096
|
key: "instManager",
|
|
6087
6097
|
get: function() {
|
|
6088
|
-
return
|
|
6098
|
+
return Ce;
|
|
6089
6099
|
},
|
|
6090
6100
|
set: function(e) {
|
|
6091
|
-
|
|
6101
|
+
Ce = e;
|
|
6092
6102
|
}
|
|
6093
6103
|
}, {
|
|
6094
6104
|
key: "getCurrentUserActivePlayerId",
|
|
6095
6105
|
value: function() {
|
|
6096
6106
|
var e;
|
|
6097
|
-
return (e =
|
|
6107
|
+
return (e = Ce) === null || e === void 0 ? void 0 : e.getActiveId();
|
|
6098
6108
|
}
|
|
6099
6109
|
}, {
|
|
6100
6110
|
key: "setCurrentUserActive",
|
|
6101
6111
|
value: function(e, i) {
|
|
6102
6112
|
var n;
|
|
6103
|
-
(n =
|
|
6113
|
+
(n = Ce) === null || n === void 0 || n.setActive(e, i);
|
|
6104
6114
|
}
|
|
6105
6115
|
}, {
|
|
6106
6116
|
key: "isHevcSupported",
|
|
@@ -6127,10 +6137,10 @@ var wo = ["play", "pause", "replay", "retry"], Ai = 0, Li = 0, be = null, St = /
|
|
|
6127
6137
|
_(St, "defaultPreset", null);
|
|
6128
6138
|
_(St, "XgVideoProxy", null);
|
|
6129
6139
|
St.instManager = _n.getInstance();
|
|
6130
|
-
function
|
|
6140
|
+
function Q() {
|
|
6131
6141
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
6132
6142
|
}
|
|
6133
|
-
var
|
|
6143
|
+
var be = {
|
|
6134
6144
|
LOAD_START: "loadstart",
|
|
6135
6145
|
LOADED_DATA: "loadeddata",
|
|
6136
6146
|
FIRST_FRAME: "firstFrame",
|
|
@@ -6157,23 +6167,23 @@ var we = {
|
|
|
6157
6167
|
isTimeUpdate: !1,
|
|
6158
6168
|
isFFSend: !1,
|
|
6159
6169
|
isLs: !1
|
|
6160
|
-
}, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime =
|
|
6170
|
+
}, t.vt = 0, t.pt = 0, t.fvt = 0, t.newPointTime = Q(), t.loadedCostTime = 0, t.startCostTime = 0, t._isSeeking = !1, t.seekingStart = 0, t.waitingStart = 0, t.fixedWaitingStart = 0, t._isWaiting = !1, t._waitTimer && h.clearTimeout(m(t), t._waitTimer), t._waittTimer && h.clearTimeout(m(t), t._waittTimer), t._waitTimer = null, t._waittTimer = null, t._waitType = 0;
|
|
6161
6171
|
}), _(m(t), "_onSeeking", function() {
|
|
6162
|
-
t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart =
|
|
6163
|
-
start:
|
|
6172
|
+
t.seekingStart || (t.suspendWaitingStatus("seek"), t.seekingStart = Q(), t.emitLog(be.SEEK_START, {
|
|
6173
|
+
start: Q()
|
|
6164
6174
|
}));
|
|
6165
6175
|
}), _(m(t), "_onSeeked", function() {
|
|
6166
6176
|
t.suspendSeekingStatus("seeked");
|
|
6167
6177
|
}), _(m(t), "_onWaitingLoadStart", function() {
|
|
6168
|
-
t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart =
|
|
6178
|
+
t._isWaiting || t.vt || (t._isWaiting = !0, t.waitingStart = Q(), t.fixedWaitingStart = Q(), t._waitType = 1, t.emitLog(be.WAIT_START, {
|
|
6169
6179
|
fixedStart: t.fixedWaitingStart,
|
|
6170
6180
|
start: t.waitingStart,
|
|
6171
6181
|
type: 1,
|
|
6172
6182
|
endType: "loadstart"
|
|
6173
6183
|
}));
|
|
6174
6184
|
}), _(m(t), "_onWaiting", function() {
|
|
6175
|
-
t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart =
|
|
6176
|
-
t._isWaiting && (t.waitingStart =
|
|
6185
|
+
t._isWaiting || !t.vt || (t._isWaiting = !0, t.vt ? t.seekingStart ? t._waitType = 2 : t._waitType = 0 : t._waitType = 1, t.fixedWaitingStart = Q(), t._waitTimer = h.setTimeout(m(t), function() {
|
|
6186
|
+
t._isWaiting && (t.waitingStart = Q(), h.clearTimeout(m(t), t._waitTimer), t._waitTimer = null, t._startWaitTimeout(), t.emitLog(be.WAIT_START, {
|
|
6177
6187
|
fixedStart: t.fixedWaitingStart,
|
|
6178
6188
|
start: t.waitingStart,
|
|
6179
6189
|
type: t._waitType,
|
|
@@ -6190,13 +6200,13 @@ var we = {
|
|
|
6190
6200
|
key: "afterCreate",
|
|
6191
6201
|
value: function() {
|
|
6192
6202
|
var e = this;
|
|
6193
|
-
this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime =
|
|
6203
|
+
this._onReset(), this._waitType = "firstFrame", this._initOnceEvents(), this.newPointTime = Q(), this.loadedCostTime = 0, this.startCostTime = 0, this.on(ti, function() {
|
|
6194
6204
|
var i = e._state, n = i.autoplayStart, s = i.isFFSend;
|
|
6195
|
-
e.startCostTime =
|
|
6196
|
-
}), this.on(
|
|
6197
|
-
e.vt =
|
|
6205
|
+
e.startCostTime = Q() - e.newPointTime, H.logInfo("[xgLogger]".concat(e.player.playerId, " LOAD_START"), "autoplayStart:".concat(n, " isFFSend:").concat(s, " startCostTime:").concat(e.startCostTime, " newPointTime").concat(e.newPointTime)), !s && (!i.isLs && e.emitLog(be.LOAD_START, {}), i.isLs = !0, i.isTimeUpdate = !1, i.isFFLoading = !0, e.pt = Q(), e.vt = 0, e.fvt = 0, e._initOnceEvents(), e._onWaitingLoadStart());
|
|
6206
|
+
}), this.on(ke, function() {
|
|
6207
|
+
e.vt = Q(), e.fvt = e.vt - e.pt, e.loadedCostTime = e.vt - e.newPointTime;
|
|
6198
6208
|
var i = e._state, n = i.isTimeUpdate, s = i.isFFSend, l = i.autoplayStart;
|
|
6199
|
-
H.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(
|
|
6209
|
+
H.logInfo("[xgLogger]".concat(e.player.playerId, " LOADED_DATA"), "fvt:".concat(e.fvt, " isTimeUpdate:").concat(e._state.isTimeUpdate, " loadedCostTime:").concat(e.loadedCostTime)), (n || l) && e._sendFF("loadedData"), s || e.emitLog(be.LOADED_DATA, {}), e.suspendWaitingStatus("loadeddata");
|
|
6200
6210
|
}), this.on(bt, this._onSeeking), this.on(_e, this._onSeeked), this.on(si, function() {
|
|
6201
6211
|
e.endState("destroy");
|
|
6202
6212
|
}), this.on(Tt, function() {
|
|
@@ -6213,9 +6223,9 @@ var we = {
|
|
|
6213
6223
|
}, {
|
|
6214
6224
|
key: "_sendFF",
|
|
6215
6225
|
value: function(e) {
|
|
6216
|
-
this.s =
|
|
6226
|
+
this.s = Q();
|
|
6217
6227
|
var i = this._state, n = i.isFFLoading, s = i.isFFSend;
|
|
6218
|
-
H.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!s)), this.vt > 0 && n && !s && (H.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(
|
|
6228
|
+
H.logInfo("[xgLogger]".concat(this.player.playerId, " _sendFF"), "".concat(e, " fvt:").concat(this.fvt, " isFFLoading:").concat(n, " !isFFSend:").concat(!s)), this.vt > 0 && n && !s && (H.logInfo("[xgLogger]".concat(this.player.playerId, " emitLog_firstFrame"), e), this._state.isFFLoading = !1, this._state.isFFSend = !0, this.emitLog(be.FIRST_FRAME, {
|
|
6219
6229
|
fvt: this.fvt,
|
|
6220
6230
|
costTime: this.fvt,
|
|
6221
6231
|
vt: this.vt,
|
|
@@ -6240,8 +6250,8 @@ var we = {
|
|
|
6240
6250
|
key: "suspendSeekingStatus",
|
|
6241
6251
|
value: function(e) {
|
|
6242
6252
|
if (this.seekingStart) {
|
|
6243
|
-
var i =
|
|
6244
|
-
this.seekingStart = 0, this.emitLog(
|
|
6253
|
+
var i = Q(), n = i - this.seekingStart;
|
|
6254
|
+
this.seekingStart = 0, this.emitLog(be.SEEK_END, {
|
|
6245
6255
|
end: i,
|
|
6246
6256
|
costTime: n,
|
|
6247
6257
|
endType: e
|
|
@@ -6252,8 +6262,8 @@ var we = {
|
|
|
6252
6262
|
key: "suspendWaitingStatus",
|
|
6253
6263
|
value: function(e) {
|
|
6254
6264
|
if (this._waitTimer && (h.clearTimeout(this, this._waitTimer), this._waitTimer = null), this._waittTimer && (h.clearTimeout(this, this._waittTimer), this._waittTimer = null), this._isWaiting = !1, !!this.waitingStart) {
|
|
6255
|
-
var i =
|
|
6256
|
-
this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(
|
|
6265
|
+
var i = Q(), n = i - this.waitingStart, s = i - this.fixedWaitingStart, l = this.config.waitTimeout;
|
|
6266
|
+
this._isWaiting = !1, this.waitingStart = 0, this.fixedWaitingStart = 0, this.emitLog(be.WAIT_END, {
|
|
6257
6267
|
fixedCostTime: s > l ? l : s,
|
|
6258
6268
|
costTime: n > l ? l : n,
|
|
6259
6269
|
type: e === "loadeddata" ? 1 : this._waitType,
|
|
@@ -6266,7 +6276,7 @@ var we = {
|
|
|
6266
6276
|
value: function(e, i) {
|
|
6267
6277
|
var n = this.player;
|
|
6268
6278
|
this.emit(cn, G({
|
|
6269
|
-
t:
|
|
6279
|
+
t: Q(),
|
|
6270
6280
|
host: h.getHostFromUrl(n.currentSrc),
|
|
6271
6281
|
vtype: n.vtype,
|
|
6272
6282
|
eventType: e,
|
|
@@ -7318,7 +7328,7 @@ var Ft = {
|
|
|
7318
7328
|
return {};
|
|
7319
7329
|
}
|
|
7320
7330
|
}]), r;
|
|
7321
|
-
}(xe),
|
|
7331
|
+
}(xe), we = {
|
|
7322
7332
|
PRESS: "press",
|
|
7323
7333
|
PRESS_END: "pressend",
|
|
7324
7334
|
DOUBlE_CLICK: "doubleclick",
|
|
@@ -7357,15 +7367,15 @@ var Bo = /* @__PURE__ */ function() {
|
|
|
7357
7367
|
};
|
|
7358
7368
|
x(this, a), _(this, "onTouchStart", function(e) {
|
|
7359
7369
|
var i = r._pos, n = r.root, s = Ni(e.touches);
|
|
7360
|
-
i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(
|
|
7370
|
+
i.x = s ? parseInt(s.pageX, 10) : e.pageX, i.y = s ? parseInt(s.pageX, 10) : e.pageX, i.start = !0, r.__setPress(e), n.addEventListener(r.events.end, r.onTouchEnd), n.addEventListener(r.events.cancel, r.onTouchCancel), n.addEventListener(r.events.move, r.onTouchMove), r.trigger(we.TOUCH_START, e);
|
|
7361
7371
|
}), _(this, "onTouchCancel", function(e) {
|
|
7362
7372
|
r.onTouchEnd(e);
|
|
7363
7373
|
}), _(this, "onTouchEnd", function(e) {
|
|
7364
7374
|
var i = r._pos, n = r.root;
|
|
7365
|
-
r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(
|
|
7375
|
+
r.__clearPress(), n.removeEventListener(r.events.cancel, r.onTouchCancel), n.removeEventListener(r.events.end, r.onTouchEnd), n.removeEventListener(r.events.move, r.onTouchMove), e.moving = i.moving, e.press = i.press, i.press && r.trigger(we.PRESS_END, e), r.trigger(we.TOUCH_END, e), !i.press && !i.moving && r.__setDb(e), i.press = !1, i.start = !1, i.moving = !1;
|
|
7366
7376
|
}), _(this, "onTouchMove", function(e) {
|
|
7367
7377
|
var i = r._pos, n = r.config, s = Ni(e.touches), l = s ? parseInt(s.pageX, 10) : e.pageX, u = s ? parseInt(s.pageY, 10) : e.pageX, c = l - i.x, f = u - i.y;
|
|
7368
|
-
Math.abs(f) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(
|
|
7378
|
+
Math.abs(f) < n.miniStep && Math.abs(c) < n.miniStep || (r.__clearPress(), i.press && r.trigger(we.PRESS_END, e), i.press = !1, i.moving = !0, r.trigger(we.TOUCH_MOVE, e));
|
|
7369
7379
|
}), this._pos = {
|
|
7370
7380
|
moving: !1,
|
|
7371
7381
|
start: !1,
|
|
@@ -7385,7 +7395,7 @@ var Bo = /* @__PURE__ */ function() {
|
|
|
7385
7395
|
value: function(r) {
|
|
7386
7396
|
var t = this, e = this.config;
|
|
7387
7397
|
this.pressIntrvalId && this.__clearPress(), this.pressIntrvalId = setTimeout(function() {
|
|
7388
|
-
t.trigger(
|
|
7398
|
+
t.trigger(we.PRESS, r), t._pos.press = !0, t.__clearPress();
|
|
7389
7399
|
}, e.pressDelay);
|
|
7390
7400
|
}
|
|
7391
7401
|
}, {
|
|
@@ -7398,11 +7408,11 @@ var Bo = /* @__PURE__ */ function() {
|
|
|
7398
7408
|
value: function(r) {
|
|
7399
7409
|
var t = this, e = this.config;
|
|
7400
7410
|
if (this.dbIntrvalId) {
|
|
7401
|
-
this.__clearDb(), this.trigger(
|
|
7411
|
+
this.__clearDb(), this.trigger(we.DOUBlE_CLICK, r);
|
|
7402
7412
|
return;
|
|
7403
7413
|
}
|
|
7404
7414
|
this.dbIntrvalId = setTimeout(function() {
|
|
7405
|
-
t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(
|
|
7415
|
+
t.__clearDb(), !t._pos.start && !t._pos.press && !t._pos.moving && t.trigger(we.CLICK, r);
|
|
7406
7416
|
}, e.dbClickDelay);
|
|
7407
7417
|
}
|
|
7408
7418
|
}, {
|
|
@@ -9392,7 +9402,7 @@ var Zo = /* @__PURE__ */ function(a) {
|
|
|
9392
9402
|
return I(r, [{
|
|
9393
9403
|
key: "afterCreate",
|
|
9394
9404
|
value: function() {
|
|
9395
|
-
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(
|
|
9405
|
+
this.curIndex = -1, this.curPos = null, this.lastCurrentTime = 0, this.updateSegments(), this.on(Pe, this._onDurationChange), this.on(ke, this._onLoadedData), this.on(oe, this._onTimeupdate), this.on(bt, this._onSeeking), this.on(ae, this._onPlay);
|
|
9396
9406
|
}
|
|
9397
9407
|
}, {
|
|
9398
9408
|
key: "setConfig",
|
|
@@ -9573,7 +9583,7 @@ var ra = /* @__PURE__ */ function(a) {
|
|
|
9573
9583
|
pre: function(u) {
|
|
9574
9584
|
u.preventDefault(), u.stopPropagation();
|
|
9575
9585
|
}
|
|
9576
|
-
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), N.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Zi, this.onVolumeChange), this.once(
|
|
9586
|
+
}), this._onMouseenterHandler = this.hook("mouseenter", this.onMouseenter), this._onMouseleaveHandler = this.hook("mouseleave", this.onMouseleave), N.device !== "mobile" && this.playerConfig.isMobileSimulateMode !== "mobile" && (this.bind("mouseenter", this._onMouseenterHandler), this.bind(["blur", "mouseleave"], this._onMouseleaveHandler), this.bind(".xgplayer-slider", "mousedown", this.onBarMousedown), this.bind(".xgplayer-slider", "mousemove", this.onBarMouseMove), this.bind(".xgplayer-slider", "mouseup", this.onBarMouseUp)), this.bind(".xgplayer-icon", ["touchend", "click"], this.changeMutedHandler), this.on(Zi, this.onVolumeChange), this.once(ke, this.onVolumeChange), h.typeOf(s) !== "Number" && (this.player.volume = this.config.default), this.onVolumeChange();
|
|
9577
9587
|
}
|
|
9578
9588
|
}
|
|
9579
9589
|
}, {
|
|
@@ -11824,7 +11834,7 @@ var lt = null, La = /* @__PURE__ */ function(a) {
|
|
|
11824
11834
|
e._checkIfCanStart() && e.start(0, u);
|
|
11825
11835
|
}), this.on(Ze, function() {
|
|
11826
11836
|
e.stop();
|
|
11827
|
-
})), this.on(
|
|
11837
|
+
})), this.on(ke, this.onLoadedData), this.on(ti, function() {
|
|
11828
11838
|
e._isLoaded = !1, e.stop();
|
|
11829
11839
|
}), document.addEventListener("visibilitychange", this.onVisibilitychange)));
|
|
11830
11840
|
}
|
|
@@ -12407,7 +12417,7 @@ var Ra = /* @__PURE__ */ function(a) {
|
|
|
12407
12417
|
key: "afterCreate",
|
|
12408
12418
|
value: function() {
|
|
12409
12419
|
var e = this.config, i = e.openSpeed, n = e.addSpeedTypeList;
|
|
12410
|
-
(n == null ? void 0 : n.length) > 0 && ut.push.apply(ut, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([
|
|
12420
|
+
(n == null ? void 0 : n.length) > 0 && ut.push.apply(ut, fe(n)), this.initSpeedList(), this.on("real_time_speed", this._onRealSpeedChange), this.timer = null, this.cnt = 0, this.xhr = null, i && this.on([ke, dt], this.startTimer);
|
|
12411
12421
|
}
|
|
12412
12422
|
}, {
|
|
12413
12423
|
key: "getSpeedName",
|
|
@@ -12434,7 +12444,7 @@ var Ra = /* @__PURE__ */ function(a) {
|
|
|
12434
12444
|
key: "destroy",
|
|
12435
12445
|
value: function() {
|
|
12436
12446
|
var e = this;
|
|
12437
|
-
this.off("real_time_speed", this._onRealSpeedChange), this.off([
|
|
12447
|
+
this.off("real_time_speed", this._onRealSpeedChange), this.off([ke, dt], this.startTimer), ut.forEach(function(i) {
|
|
12438
12448
|
e.speedListCache && e.speedListCache[i] && (e.speedListCache[i] = []);
|
|
12439
12449
|
}), this.speedListCache && (this.speedListCache = {}), clearTimeout(this.timer), this.timer = null, this.xhr && this.xhr.readyState !== 4 && (this.xhr.cancel && this.xhr.cancel(), this.xhr = null);
|
|
12440
12450
|
}
|
|
@@ -12666,12 +12676,12 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
|
|
|
12666
12676
|
});
|
|
12667
12677
|
});
|
|
12668
12678
|
}), (p, d) => {
|
|
12669
|
-
const v =
|
|
12670
|
-
return u.value ? (T(),
|
|
12679
|
+
const v = Te("el-icon");
|
|
12680
|
+
return u.value ? (T(), Ee(Sn, {
|
|
12671
12681
|
key: 0,
|
|
12672
12682
|
to: "body"
|
|
12673
12683
|
}, [
|
|
12674
|
-
|
|
12684
|
+
Z(xn, {
|
|
12675
12685
|
name: "viewer-fade",
|
|
12676
12686
|
appear: ""
|
|
12677
12687
|
}, {
|
|
@@ -12681,14 +12691,14 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
|
|
|
12681
12691
|
{
|
|
12682
12692
|
ref: "wrapper",
|
|
12683
12693
|
tabindex: -1,
|
|
12684
|
-
class:
|
|
12694
|
+
class: J(j(f).e("wrapper")),
|
|
12685
12695
|
style: re({ zIndex: a.zIndex })
|
|
12686
12696
|
},
|
|
12687
12697
|
[
|
|
12688
12698
|
S(
|
|
12689
12699
|
"div",
|
|
12690
12700
|
{
|
|
12691
|
-
class:
|
|
12701
|
+
class: J(j(f).e("mask"))
|
|
12692
12702
|
},
|
|
12693
12703
|
null,
|
|
12694
12704
|
2
|
|
@@ -12698,7 +12708,7 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
|
|
|
12698
12708
|
S(
|
|
12699
12709
|
"div",
|
|
12700
12710
|
{
|
|
12701
|
-
class:
|
|
12711
|
+
class: J(j(f).e("canvas"))
|
|
12702
12712
|
},
|
|
12703
12713
|
[
|
|
12704
12714
|
S("div", { id: j(c) }, null, 8, Ba),
|
|
@@ -12706,13 +12716,13 @@ const Ba = ["id"], Ha = /* @__PURE__ */ ue({
|
|
|
12706
12716
|
S(
|
|
12707
12717
|
"span",
|
|
12708
12718
|
{
|
|
12709
|
-
class:
|
|
12719
|
+
class: J([j(f).e("btn"), j(f).e("close")]),
|
|
12710
12720
|
onClick: g
|
|
12711
12721
|
},
|
|
12712
12722
|
[
|
|
12713
|
-
|
|
12723
|
+
Z(v, { onClick: g }, {
|
|
12714
12724
|
default: pe(() => [
|
|
12715
|
-
|
|
12725
|
+
Z(j(Vr))
|
|
12716
12726
|
]),
|
|
12717
12727
|
_: 1
|
|
12718
12728
|
/* STABLE */
|
|
@@ -12932,7 +12942,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
12932
12942
|
d.style.display = f;
|
|
12933
12943
|
}, u = (c) => Je(t.value, c);
|
|
12934
12944
|
return (c, f) => {
|
|
12935
|
-
const g =
|
|
12945
|
+
const g = Te("el-image"), p = Te("IkingApprovalProcessDetail");
|
|
12936
12946
|
return T(), E("div", Va, [
|
|
12937
12947
|
(T(!0), E(
|
|
12938
12948
|
le,
|
|
@@ -12963,7 +12973,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
12963
12973
|
S(
|
|
12964
12974
|
"i",
|
|
12965
12975
|
{
|
|
12966
|
-
class:
|
|
12976
|
+
class: J(
|
|
12967
12977
|
j(Wr)(
|
|
12968
12978
|
e,
|
|
12969
12979
|
d[e.defaultFile.nodeType],
|
|
@@ -12983,7 +12993,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
12983
12993
|
S(
|
|
12984
12994
|
"i",
|
|
12985
12995
|
{
|
|
12986
|
-
class:
|
|
12996
|
+
class: J(
|
|
12987
12997
|
s(d[e.defaultFile.approveStatus], v, d)
|
|
12988
12998
|
)
|
|
12989
12999
|
},
|
|
@@ -13178,7 +13188,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
13178
13188
|
])) : A("v-if", !0)
|
|
13179
13189
|
])) : A("v-if", !0),
|
|
13180
13190
|
A(" 附件 "),
|
|
13181
|
-
(R = d[e.defaultFile.attachment]) != null && R.length ? (T(),
|
|
13191
|
+
(R = d[e.defaultFile.attachment]) != null && R.length ? (T(), Ee(j(Qr), {
|
|
13182
13192
|
key: 1,
|
|
13183
13193
|
list: d[e.defaultFile.attachment]
|
|
13184
13194
|
}, null, 8, ["list"])) : A("v-if", !0),
|
|
@@ -13191,7 +13201,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
13191
13201
|
class: "image",
|
|
13192
13202
|
key: X
|
|
13193
13203
|
}, [
|
|
13194
|
-
|
|
13204
|
+
Z(g, {
|
|
13195
13205
|
src: u(P),
|
|
13196
13206
|
"preview-src-list": d[e.defaultFile.attachmentImg].map((ne) => u(ne)),
|
|
13197
13207
|
fit: "cover",
|
|
@@ -13253,7 +13263,7 @@ const Ua = /* @__PURE__ */ nt(Ha, [["__scopeId", "data-v-b301aa7d"]]), za = Ie(U
|
|
|
13253
13263
|
1
|
|
13254
13264
|
/* TEXT */
|
|
13255
13265
|
),
|
|
13256
|
-
|
|
13266
|
+
Z(p, $i({ ref_for: !0 }, r, {
|
|
13257
13267
|
"data-list": (P == null ? void 0 : P.processInstanceNodes) || []
|
|
13258
13268
|
}), null, 16, ["data-list"])
|
|
13259
13269
|
]))),
|