iking-web-ui-pro 0.2.20 → 0.2.21
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/IKExpandCollapse/ik.index.es.js +66 -69
- package/dist/IKExpandCollapse/ik.index.umd.js +1 -1
- package/dist/IKExpandCollapse/style.css +1 -1
- package/dist/IKPreviewFile/ik.index.es.js +100 -103
- package/dist/IKPreviewFile/ik.index.umd.js +1 -1
- package/dist/IKPreviewFile/style.css +1 -1
- package/dist/IKVerticalStepBar/ik.index.es.js +117 -120
- package/dist/IKVerticalStepBar/ik.index.umd.js +3 -3
- package/dist/IKVerticalStepBar/style.css +1 -1
- package/dist/IkApprovalProcessDetail/ik.index.es.js +98 -101
- package/dist/IkApprovalProcessDetail/ik.index.umd.js +1 -1
- package/dist/IkApprovalProcessDetail/style.css +1 -1
- package/dist/IkBaseDialog/ik.index.es.js +106 -109
- package/dist/IkBaseDialog/ik.index.umd.js +1 -1
- package/dist/IkBaseDialog/style.css +1 -1
- package/dist/IkBtnSetting/ik.index.es.js +239 -242
- package/dist/IkBtnSetting/ik.index.umd.js +1 -1
- package/dist/IkBtnSetting/style.css +1 -1
- package/dist/IkCollapseCard/ik.index.es.js +73 -76
- package/dist/IkCollapseCard/ik.index.umd.js +1 -1
- package/dist/IkCollapseCard/style.css +1 -1
- package/dist/IkDescription/ik.index.es.js +103 -106
- package/dist/IkDescription/ik.index.umd.js +1 -1
- package/dist/IkDescription/style.css +1 -1
- package/dist/IkDetailPreviewFiles/ik.index.es.js +87 -90
- package/dist/IkDetailPreviewFiles/ik.index.umd.js +1 -1
- package/dist/IkDetailPreviewFiles/style.css +1 -1
- package/dist/IkIconPicker/ik.index.es.js +138 -141
- package/dist/IkIconPicker/ik.index.umd.js +1 -1
- package/dist/IkIconPicker/style.css +1 -1
- package/dist/IkMonacoEditor/ik.index.es.js +312 -315
- package/dist/IkMonacoEditor/ik.index.umd.js +3 -3
- package/dist/IkMonacoEditor/style.css +1 -1
- package/dist/IkPageFull/ik.index.es.js +1051 -1054
- package/dist/IkPageFull/ik.index.umd.js +2 -2
- package/dist/IkPageFull/style.css +1 -1
- package/dist/IkPreviewFileDialog/ik.index.es.js +87 -90
- package/dist/IkPreviewFileDialog/ik.index.umd.js +1 -1
- package/dist/IkPreviewFileDialog/style.css +1 -1
- package/dist/IkSchedule/ik.index.es.js +2948 -2951
- package/dist/IkSchedule/ik.index.umd.js +1 -1
- package/dist/IkSchedule/style.css +1 -1
- package/dist/IkSideText/ik.index.es.js +91 -94
- package/dist/IkSideText/ik.index.umd.js +1 -1
- package/dist/IkSideText/style.css +1 -1
- package/dist/IkSvgIcon/ik.index.es.js +66 -69
- package/dist/IkSvgIcon/ik.index.umd.js +1 -1
- package/dist/IkSvgIcon/style.css +1 -1
- package/dist/IkUploadFile/ik.index.es.js +98 -101
- package/dist/IkUploadFile/ik.index.umd.js +1 -1
- package/dist/IkUploadFile/style.css +1 -1
- package/dist/IkUploadImage/ik.index.es.js +169 -172
- package/dist/IkUploadImage/ik.index.umd.js +1 -1
- package/dist/IkUploadImage/style.css +1 -1
- package/dist/Provider/ik.index.es.js +10 -14
- package/dist/Provider/ik.index.umd.js +1 -1
- package/dist/index.es.js +6827 -6834
- package/dist/index.umd.js +78 -78
- package/dist/src/components/Provider/ProviderConfig.vue.d.ts +0 -9
- package/dist/src/components/Provider/index.d.ts +0 -19
- 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 x, createElementBlock as O, createElementVNode as S, inject as
|
|
1
|
+
import { defineComponent as se, computed as K, openBlock as x, createElementBlock as O, createElementVNode as S, inject as Ze, ref as Xe, resolveComponent as Ee, Fragment as $e, renderList as Ht, normalizeStyle as le, toDisplayString as _e, normalizeClass as te, createVNode as X, unref as z, withModifiers as ui, renderSlot as pe, createBlock as ce, 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) => {
|
|
@@ -653,7 +653,7 @@ const it = (a, o) => {
|
|
|
653
653
|
let e = a / Math.pow(1024, t);
|
|
654
654
|
return (e % 1 === 0 ? e.toFixed(o || 0) : e.toFixed(o)) + " " + r[t];
|
|
655
655
|
}, et = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", zr = (a) => {
|
|
656
|
-
const o =
|
|
656
|
+
const o = Ze("loadUrl"), r = K(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Ze("uploadUrl"), e = K(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Ze("token"), n = K(() => a.token || (i == null ? void 0 : i.value)), s = Ze("onlyofficeConfig"), l = K(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Ze("userInfo"), c = K(() => a.userInfo || (u == null ? void 0 : u.value));
|
|
657
657
|
return {
|
|
658
658
|
cLoadUrl: r,
|
|
659
659
|
cUploadUrl: e,
|
|
@@ -742,7 +742,7 @@ const it = (a, o) => {
|
|
|
742
742
|
suffix: "suffix",
|
|
743
743
|
size: "size",
|
|
744
744
|
...o.field
|
|
745
|
-
})), i =
|
|
745
|
+
})), i = Xe({}), n = Xe(!1), s = (h) => {
|
|
746
746
|
var d, g;
|
|
747
747
|
i.value = {
|
|
748
748
|
...h,
|
|
@@ -770,15 +770,15 @@ const it = (a, o) => {
|
|
|
770
770
|
var p, m, _;
|
|
771
771
|
const g = Ee("tmplate");
|
|
772
772
|
return x(), O(
|
|
773
|
-
|
|
773
|
+
$e,
|
|
774
774
|
null,
|
|
775
775
|
[
|
|
776
776
|
(p = a.list) != null && p.length ? (x(), O(
|
|
777
|
-
|
|
777
|
+
$e,
|
|
778
778
|
{ key: 0 },
|
|
779
779
|
[
|
|
780
780
|
a.simple ? (x(!0), O(
|
|
781
|
-
|
|
781
|
+
$e,
|
|
782
782
|
{ key: 0 },
|
|
783
783
|
Ht(c.value, (C, w) => (x(), O("div", {
|
|
784
784
|
class: "iking-privew-annex simple",
|
|
@@ -822,7 +822,7 @@ const it = (a, o) => {
|
|
|
822
822
|
)) : (x(), ce(g, { key: 1 }, {
|
|
823
823
|
default: q(() => [
|
|
824
824
|
(x(!0), O(
|
|
825
|
-
|
|
825
|
+
$e,
|
|
826
826
|
null,
|
|
827
827
|
Ht(c.value, (C, w) => {
|
|
828
828
|
var b;
|
|
@@ -965,7 +965,7 @@ const Xr = Pe(Yr), qr = /* @__PURE__ */ se({
|
|
|
965
965
|
suffix: "suffix",
|
|
966
966
|
size: "fileSize",
|
|
967
967
|
...o.field
|
|
968
|
-
})), e =
|
|
968
|
+
})), e = Xe(null), i = Xe(null), n = bn({
|
|
969
969
|
image: !1,
|
|
970
970
|
office: !1,
|
|
971
971
|
video: !1
|
|
@@ -1022,7 +1022,7 @@ const Xr = Pe(Yr), qr = /* @__PURE__ */ se({
|
|
|
1022
1022
|
var d, g, p;
|
|
1023
1023
|
const h = Ee("el-image-viewer");
|
|
1024
1024
|
return r.value ? (x(), O(
|
|
1025
|
-
|
|
1025
|
+
$e,
|
|
1026
1026
|
{ key: 0 },
|
|
1027
1027
|
[
|
|
1028
1028
|
(d = i.value) != null && d.url && n.image ? (x(), ce(h, {
|
|
@@ -1111,87 +1111,84 @@ const Zr = Pe(qr), Jr = {
|
|
|
1111
1111
|
width: {}
|
|
1112
1112
|
},
|
|
1113
1113
|
setup(a) {
|
|
1114
|
-
const o = a, r =
|
|
1115
|
-
|
|
1116
|
-
|
|
1117
|
-
})
|
|
1118
|
-
const
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
const n = [];
|
|
1122
|
-
if (t.value.flip)
|
|
1123
|
-
switch (t.value.flip) {
|
|
1114
|
+
const o = a, r = K(() => o), t = K(() => {
|
|
1115
|
+
const { name: i } = r.value;
|
|
1116
|
+
return /^http?:\/\//.test(i) ? "img" : /i-[^:]+:[^:]+/.test(i) ? "unocss" : i != null && i.startsWith("iksig") ? "iksig" : i != null && i.includes(":") ? "iconify" : i != null && i.startsWith("iksvg") ? "svg" : "i";
|
|
1117
|
+
}), e = K(() => {
|
|
1118
|
+
const i = [];
|
|
1119
|
+
if (r.value.flip)
|
|
1120
|
+
switch (r.value.flip) {
|
|
1124
1121
|
case "horizontal":
|
|
1125
|
-
|
|
1122
|
+
i.push("rotateY(180deg)");
|
|
1126
1123
|
break;
|
|
1127
1124
|
case "vertical":
|
|
1128
|
-
|
|
1125
|
+
i.push("rotateX(180deg)");
|
|
1129
1126
|
break;
|
|
1130
1127
|
case "both":
|
|
1131
|
-
|
|
1128
|
+
i.push("rotateX(180deg)"), i.push("rotateY(180deg)");
|
|
1132
1129
|
break;
|
|
1133
1130
|
}
|
|
1134
|
-
|
|
1135
|
-
const
|
|
1136
|
-
...
|
|
1137
|
-
...
|
|
1138
|
-
...
|
|
1139
|
-
padding:
|
|
1140
|
-
...
|
|
1141
|
-
"--ik-color-icon-dark":
|
|
1142
|
-
"--ik-color-icon-light":
|
|
1131
|
+
r.value.rotate && i.push(`rotate(${r.value.rotate % 360}deg)`);
|
|
1132
|
+
const n = {
|
|
1133
|
+
...r.value.color && { color: r.value.color },
|
|
1134
|
+
...r.value.size && { fontSize: typeof r.value.size == "number" ? `${r.value.size}px` : r.value.size },
|
|
1135
|
+
...i.length && { transform: i.join(" ") },
|
|
1136
|
+
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
1137
|
+
...r.value.color && t.value !== "iksig" ? {
|
|
1138
|
+
"--ik-color-icon-dark": r.value.color,
|
|
1139
|
+
"--ik-color-icon-light": r.value.colorLight || Dn.setOpacity(r.value.color, r.value.opacity)
|
|
1143
1140
|
} : {}
|
|
1144
1141
|
};
|
|
1145
|
-
return
|
|
1142
|
+
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
1146
1143
|
});
|
|
1147
|
-
return (
|
|
1148
|
-
const
|
|
1149
|
-
return
|
|
1150
|
-
|
|
1144
|
+
return (i, n) => {
|
|
1145
|
+
const s = Ee("el-tooltip"), l = Ee("el-button");
|
|
1146
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (x(), O("span", Jr, [
|
|
1147
|
+
r.value.notip || !r.value.title ? (x(), O(
|
|
1151
1148
|
"i",
|
|
1152
1149
|
{
|
|
1153
1150
|
key: 0,
|
|
1154
1151
|
class: te(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1155
|
-
[
|
|
1156
|
-
"show-bg":
|
|
1157
|
-
default:
|
|
1158
|
-
small:
|
|
1159
|
-
big:
|
|
1160
|
-
warning:
|
|
1161
|
-
primary:
|
|
1162
|
-
success:
|
|
1163
|
-
error:
|
|
1164
|
-
active:
|
|
1165
|
-
disabled:
|
|
1152
|
+
[i.name]: t.value === "unocss",
|
|
1153
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
1154
|
+
default: r.value.size === "default",
|
|
1155
|
+
small: r.value.size === "small",
|
|
1156
|
+
big: r.value.size === "big",
|
|
1157
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
1158
|
+
primary: r.value.primary || r.value.type === "primary",
|
|
1159
|
+
success: i.success || r.value.type === "success",
|
|
1160
|
+
error: r.value.error || r.value.type === "error",
|
|
1161
|
+
active: r.value.active,
|
|
1162
|
+
disabled: r.value.disabled
|
|
1166
1163
|
}]),
|
|
1167
|
-
style: le(
|
|
1164
|
+
style: le(e.value)
|
|
1168
1165
|
},
|
|
1169
1166
|
[
|
|
1170
1167
|
ue(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
1171
|
-
|
|
1168
|
+
t.value === "iksig" ? (x(), O(
|
|
1172
1169
|
"i",
|
|
1173
1170
|
{
|
|
1174
1171
|
key: 0,
|
|
1175
|
-
class: te(`iksig ${
|
|
1176
|
-
style: le(
|
|
1172
|
+
class: te(`iksig ${r.value.name}`),
|
|
1173
|
+
style: le(e.value)
|
|
1177
1174
|
},
|
|
1178
1175
|
null,
|
|
1179
1176
|
6
|
|
1180
1177
|
/* CLASS, STYLE */
|
|
1181
|
-
)) :
|
|
1178
|
+
)) : t.value === "svg" ? (x(), O("svg", Qr, [
|
|
1182
1179
|
S("use", {
|
|
1183
|
-
"xlink:href": `#${
|
|
1180
|
+
"xlink:href": `#${r.value.name}`
|
|
1184
1181
|
}, null, 8, es)
|
|
1185
|
-
])) :
|
|
1182
|
+
])) : t.value === "img" ? (x(), O("img", {
|
|
1186
1183
|
key: 2,
|
|
1187
|
-
src:
|
|
1184
|
+
src: r.value.name,
|
|
1188
1185
|
class: "h-[1em] w-[1em]"
|
|
1189
1186
|
}, null, 8, ts)) : (x(), O(
|
|
1190
1187
|
"i",
|
|
1191
1188
|
{
|
|
1192
1189
|
key: 3,
|
|
1193
|
-
class: te(
|
|
1194
|
-
style: le(
|
|
1190
|
+
class: te(r.value.name),
|
|
1191
|
+
style: le(e.value)
|
|
1195
1192
|
},
|
|
1196
1193
|
null,
|
|
1197
1194
|
6
|
|
@@ -1200,9 +1197,9 @@ const Zr = Pe(qr), Jr = {
|
|
|
1200
1197
|
],
|
|
1201
1198
|
6
|
|
1202
1199
|
/* CLASS, STYLE */
|
|
1203
|
-
)) : (x(), ce(
|
|
1200
|
+
)) : (x(), ce(s, {
|
|
1204
1201
|
key: 1,
|
|
1205
|
-
content:
|
|
1202
|
+
content: r.value.title,
|
|
1206
1203
|
placement: "top"
|
|
1207
1204
|
}, {
|
|
1208
1205
|
default: q(() => [
|
|
@@ -1210,44 +1207,44 @@ const Zr = Pe(qr), Jr = {
|
|
|
1210
1207
|
"i",
|
|
1211
1208
|
{
|
|
1212
1209
|
class: te(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
1213
|
-
[
|
|
1214
|
-
"show-bg":
|
|
1215
|
-
default:
|
|
1216
|
-
small:
|
|
1217
|
-
big:
|
|
1218
|
-
warning:
|
|
1219
|
-
primary:
|
|
1220
|
-
success:
|
|
1221
|
-
error:
|
|
1222
|
-
active:
|
|
1210
|
+
[i.name]: t.value === "unocss",
|
|
1211
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
1212
|
+
default: r.value.size === "default",
|
|
1213
|
+
small: r.value.size === "small",
|
|
1214
|
+
big: r.value.size === "big",
|
|
1215
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
1216
|
+
primary: i.primary || r.value.type === "primary",
|
|
1217
|
+
success: i.success || r.value.type === "success",
|
|
1218
|
+
error: r.value.error || r.value.type === "error",
|
|
1219
|
+
active: r.value.active
|
|
1223
1220
|
}]),
|
|
1224
|
-
style: le(
|
|
1221
|
+
style: le(e.value)
|
|
1225
1222
|
},
|
|
1226
1223
|
[
|
|
1227
|
-
|
|
1224
|
+
t.value === "iksig" ? (x(), O(
|
|
1228
1225
|
"i",
|
|
1229
1226
|
{
|
|
1230
1227
|
key: 0,
|
|
1231
|
-
class: te(`iksig ${
|
|
1232
|
-
style: le(
|
|
1228
|
+
class: te(`iksig ${r.value.name}`),
|
|
1229
|
+
style: le(e.value)
|
|
1233
1230
|
},
|
|
1234
1231
|
null,
|
|
1235
1232
|
6
|
|
1236
1233
|
/* CLASS, STYLE */
|
|
1237
|
-
)) :
|
|
1234
|
+
)) : t.value === "svg" ? (x(), O("svg", is, [
|
|
1238
1235
|
S("use", {
|
|
1239
|
-
"xlink:href": `#${
|
|
1236
|
+
"xlink:href": `#${r.value.name}`
|
|
1240
1237
|
}, null, 8, ns)
|
|
1241
|
-
])) :
|
|
1238
|
+
])) : t.value === "img" ? (x(), O("img", {
|
|
1242
1239
|
key: 2,
|
|
1243
|
-
src:
|
|
1240
|
+
src: r.value.name,
|
|
1244
1241
|
class: "h-[1em] w-[1em]"
|
|
1245
1242
|
}, null, 8, rs)) : (x(), O(
|
|
1246
1243
|
"i",
|
|
1247
1244
|
{
|
|
1248
1245
|
key: 3,
|
|
1249
|
-
class: te(
|
|
1250
|
-
style: le(
|
|
1246
|
+
class: te(r.value.name),
|
|
1247
|
+
style: le(e.value)
|
|
1251
1248
|
},
|
|
1252
1249
|
null,
|
|
1253
1250
|
6
|
|
@@ -1261,13 +1258,13 @@ const Zr = Pe(qr), Jr = {
|
|
|
1261
1258
|
_: 1
|
|
1262
1259
|
/* STABLE */
|
|
1263
1260
|
}, 8, ["content"]))
|
|
1264
|
-
])) : (x(), ce(
|
|
1261
|
+
])) : (x(), ce(l, {
|
|
1265
1262
|
key: 1,
|
|
1266
|
-
type: ["warning", "error"].includes(
|
|
1263
|
+
type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
|
|
1267
1264
|
}, {
|
|
1268
1265
|
default: q(() => [
|
|
1269
|
-
|
|
1270
|
-
_e(
|
|
1266
|
+
Ye(
|
|
1267
|
+
_e(r.value.title),
|
|
1271
1268
|
1
|
|
1272
1269
|
/* TEXT */
|
|
1273
1270
|
)
|
|
@@ -1278,7 +1275,7 @@ const Zr = Pe(qr), Jr = {
|
|
|
1278
1275
|
};
|
|
1279
1276
|
}
|
|
1280
1277
|
});
|
|
1281
|
-
const os = /* @__PURE__ */ it(ss, [["__scopeId", "data-v-
|
|
1278
|
+
const os = /* @__PURE__ */ it(ss, [["__scopeId", "data-v-a7ec508a"]]), Oe = Pe(os), as = {
|
|
1282
1279
|
key: 0,
|
|
1283
1280
|
class: "exit-main-page-maximize"
|
|
1284
1281
|
}, ls = /* @__PURE__ */ se({
|
|
@@ -1333,7 +1330,7 @@ const us = /* @__PURE__ */ it(ls, [["__scopeId", "data-v-79f49df8"]]), cs = { cl
|
|
|
1333
1330
|
}),
|
|
1334
1331
|
emits: ["update:modelValue"],
|
|
1335
1332
|
setup(a) {
|
|
1336
|
-
const o = a, r = Yt(a, "modelValue"), t =
|
|
1333
|
+
const o = a, r = Yt(a, "modelValue"), t = Xe(o.fullscreen), e = () => {
|
|
1337
1334
|
t.value = !t.value;
|
|
1338
1335
|
}, i = se({
|
|
1339
1336
|
setup() {
|
|
@@ -1356,7 +1353,7 @@ const us = /* @__PURE__ */ it(ls, [["__scopeId", "data-v-79f49df8"]]), cs = { cl
|
|
|
1356
1353
|
}), Tn({
|
|
1357
1354
|
icon: q(() => [
|
|
1358
1355
|
pe(n.$slots, "title", {}, () => [
|
|
1359
|
-
|
|
1356
|
+
Ye(
|
|
1360
1357
|
_e(n.title),
|
|
1361
1358
|
1
|
|
1362
1359
|
/* TEXT */
|
|
@@ -1366,7 +1363,7 @@ const us = /* @__PURE__ */ it(ls, [["__scopeId", "data-v-79f49df8"]]), cs = { cl
|
|
|
1366
1363
|
header: q(() => [
|
|
1367
1364
|
S("div", cs, [
|
|
1368
1365
|
pe(n.$slots, "header", {}, () => [
|
|
1369
|
-
|
|
1366
|
+
Ye(
|
|
1370
1367
|
_e(n.title),
|
|
1371
1368
|
1
|
|
1372
1369
|
/* TEXT */
|
|
@@ -1726,7 +1723,7 @@ const _s = /* @__PURE__ */ se({
|
|
|
1726
1723
|
}
|
|
1727
1724
|
},
|
|
1728
1725
|
setup(a) {
|
|
1729
|
-
const o = a, r =
|
|
1726
|
+
const o = a, r = Xe({
|
|
1730
1727
|
width: "100%",
|
|
1731
1728
|
height: "100%",
|
|
1732
1729
|
...o.configOptions || {},
|
|
@@ -2759,7 +2756,7 @@ var gi = {
|
|
|
2759
2756
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
2760
2757
|
}
|
|
2761
2758
|
}
|
|
2762
|
-
), re = "play", Jt = "playing", Me = "ended",
|
|
2759
|
+
), re = "play", Jt = "playing", Me = "ended", qe = "pause", nt = "error", Ct = "seeking", Ce = "seeked", ne = "timeupdate", rt = "waiting", ye = "canplay", Bs = "canplaythrough", Ie = "durationchange", qi = "volumechange", ke = "loadeddata", Hs = "loadedmetadata", Zi = "ratechange", Ji = "progress", Qt = "loadstart", Ne = "emptied", Us = "stalled", zs = "suspend", Vs = "abort", js = "bufferedChange", ei = "focus", Qi = "blur", ti = "ready", en = "urlNull", Fe = "autoplay_started", ii = "autoplay_was_prevented", kt = "complete", ft = "replay", ni = "destroy", bt = "urlchange", Gt = "download_speed_change", tn = "leaveplayer", nn = "enterplayer", rn = "loading", ve = "fullscreen_change", ht = "cssFullscreen_change", dt = "mini_state_change", ri = "definition_change", Ws = "before_definition_change", $t = "after_definition_change", Gs = "SEI_PARSED", $s = "retry", Se = "video_resize", Kt = "pip_change", sn = "rotate", on = "screenShot", gt = "playnext", an = "shortcut", ln = "xglog", pt = "user_action", wt = "reset", un = "source_error", cn = "source_success", Ks = "switch_subtitle", fn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], hn = {
|
|
2763
2760
|
STATS_INFO: "stats_info",
|
|
2764
2761
|
STATS_DOWNLOAD: "stats_download",
|
|
2765
2762
|
STATS_RESET: "stats_reset"
|
|
@@ -2792,7 +2789,7 @@ const Ys = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2792
2789
|
LOADING: rn,
|
|
2793
2790
|
LOAD_START: Qt,
|
|
2794
2791
|
MINI_STATE_CHANGE: dt,
|
|
2795
|
-
PAUSE:
|
|
2792
|
+
PAUSE: qe,
|
|
2796
2793
|
PIP_CHANGE: Kt,
|
|
2797
2794
|
PLAY: re,
|
|
2798
2795
|
PLAYER_BLUR: Qi,
|
|
@@ -4717,7 +4714,7 @@ function yo(a) {
|
|
|
4717
4714
|
return tt(r.lang, ie.lang), (o = r.langKeys).push.apply(o, fe(ie.langKeys)), tt(r.textKeys, ie.textKeys), r;
|
|
4718
4715
|
}
|
|
4719
4716
|
si(vo);
|
|
4720
|
-
var
|
|
4717
|
+
var Ke = {
|
|
4721
4718
|
get textKeys() {
|
|
4722
4719
|
return ie.textKeys;
|
|
4723
4720
|
},
|
|
@@ -4916,7 +4913,7 @@ var Co = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
4916
4913
|
}, e._offsetInfo = {
|
|
4917
4914
|
currentTime: -1,
|
|
4918
4915
|
duration: 0
|
|
4919
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n =
|
|
4916
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = Ke.init(e._pluginInfoId), R.os.isAndroid && R.osVersion > 0 && R.osVersion < 6 && (e.config.autoplay = !1), e.database = new Zs(), e.isUserActive = !1, e._onceSeekCanplay = null, e._isPauseBeforeSeek = 0, e.innerStates = {
|
|
4920
4917
|
isActiveLocked: !1
|
|
4921
4918
|
}, e.instManager = be;
|
|
4922
4919
|
var l = e._initDOM();
|
|
@@ -5037,7 +5034,7 @@ var Co = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
5037
5034
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
5038
5035
|
this._loadingPlugins = [];
|
|
5039
5036
|
var n = this.config.ignores || [], s = this.config.plugins || [], l = this.config.i18n || [];
|
|
5040
|
-
i &&
|
|
5037
|
+
i && Ke.extend(l, this.__i18n);
|
|
5041
5038
|
var u = n.join("||").toLowerCase().split("||"), c = this.plugins;
|
|
5042
5039
|
s.forEach(function(h) {
|
|
5043
5040
|
try {
|
|
@@ -5823,11 +5820,11 @@ var Co = ["play", "pause", "replay", "retry"], xi = 0, Pi = 0, be = null, Tt = /
|
|
|
5823
5820
|
return this.config.lang;
|
|
5824
5821
|
},
|
|
5825
5822
|
set: function(e) {
|
|
5826
|
-
var i =
|
|
5823
|
+
var i = Ke.langKeys.filter(function(n) {
|
|
5827
5824
|
return n === e;
|
|
5828
5825
|
});
|
|
5829
5826
|
if (i.length === 0 && e !== "zh") {
|
|
5830
|
-
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(
|
|
5827
|
+
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(Ke.langKeys.join(), "] "));
|
|
5831
5828
|
return;
|
|
5832
5829
|
}
|
|
5833
5830
|
this.config.lang = e, $.setLang(e, this);
|
|
@@ -6453,7 +6450,7 @@ var So = /* @__PURE__ */ function(a) {
|
|
|
6453
6450
|
e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
|
|
6454
6451
|
}), this.on(re, function() {
|
|
6455
6452
|
e.onPlayPause("play");
|
|
6456
|
-
}), this.on(
|
|
6453
|
+
}), this.on(qe, function() {
|
|
6457
6454
|
e.onPlayPause("pause");
|
|
6458
6455
|
}), this.on(wt, function() {
|
|
6459
6456
|
e.onPlayerReset();
|
|
@@ -6995,7 +6992,7 @@ var Rt = {
|
|
|
6995
6992
|
key: "afterCreate",
|
|
6996
6993
|
value: function() {
|
|
6997
6994
|
var e = this;
|
|
6998
|
-
this.initIcons(), this.on(
|
|
6995
|
+
this.initIcons(), this.on(qe, function() {
|
|
6999
6996
|
e.setAttr("data-state", "pause");
|
|
7000
6997
|
}), this.on(re, function() {
|
|
7001
6998
|
e.setAttr("data-state", "play");
|
|
@@ -8799,7 +8796,7 @@ var Uo = /* @__PURE__ */ function(a) {
|
|
|
8799
8796
|
var e = this;
|
|
8800
8797
|
L(A(r.prototype), "afterCreate", this).call(this);
|
|
8801
8798
|
var i = this.player, n = this.config;
|
|
8802
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([
|
|
8799
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([qe, nt, Ne], function() {
|
|
8803
8800
|
e.animate(i.paused);
|
|
8804
8801
|
}), this.on(re, function() {
|
|
8805
8802
|
e.animate(i.paused);
|
|
@@ -11727,7 +11724,7 @@ var at = null, Pa = /* @__PURE__ */ function(a) {
|
|
|
11727
11724
|
}), this.on(re, function() {
|
|
11728
11725
|
var u = e.config.startInterval;
|
|
11729
11726
|
e._checkIfCanStart() && e.start(0, u);
|
|
11730
|
-
}), this.on(
|
|
11727
|
+
}), this.on(qe, function() {
|
|
11731
11728
|
e.stop();
|
|
11732
11729
|
})), this.on(ke, this.onLoadedData), this.on(Qt, function() {
|
|
11733
11730
|
e._isLoaded = !1, e.stop();
|
|
@@ -12376,7 +12373,7 @@ var La = /* @__PURE__ */ function(a) {
|
|
|
12376
12373
|
var l = s.getVideoPlaybackQuality;
|
|
12377
12374
|
l && (this.on(re, function() {
|
|
12378
12375
|
e._startTick();
|
|
12379
|
-
}), this.on(
|
|
12376
|
+
}), this.on(qe, function() {
|
|
12380
12377
|
e._stopTick();
|
|
12381
12378
|
}), this.on(Me, function() {
|
|
12382
12379
|
e._stopTick();
|
|
@@ -12472,7 +12469,7 @@ var La = /* @__PURE__ */ function(a) {
|
|
|
12472
12469
|
}
|
|
12473
12470
|
}]), r;
|
|
12474
12471
|
}(U);
|
|
12475
|
-
|
|
12472
|
+
Ke.use(Ia);
|
|
12476
12473
|
var Oa = /* @__PURE__ */ E(function a(o, r) {
|
|
12477
12474
|
var t, e, i;
|
|
12478
12475
|
T(this, a);
|
|
@@ -12505,7 +12502,7 @@ y(he, "Errors", ct);
|
|
|
12505
12502
|
y(he, "Events", Ys);
|
|
12506
12503
|
y(he, "Plugin", U);
|
|
12507
12504
|
y(he, "BasePlugin", xe);
|
|
12508
|
-
y(he, "I18N",
|
|
12505
|
+
y(he, "I18N", Ke);
|
|
12509
12506
|
y(he, "STATE_CLASS", k);
|
|
12510
12507
|
y(he, "InstManager", mn);
|
|
12511
12508
|
const Fa = ["id"], Ma = /* @__PURE__ */ se({
|
|
@@ -12725,7 +12722,7 @@ const Na = /* @__PURE__ */ it(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Pe(N
|
|
|
12725
12722
|
]),
|
|
12726
12723
|
default: q(() => [
|
|
12727
12724
|
(x(!0), O(
|
|
12728
|
-
|
|
12725
|
+
$e,
|
|
12729
12726
|
null,
|
|
12730
12727
|
Ht(a.listData, (l) => (x(), ce(
|
|
12731
12728
|
n,
|
|
@@ -12736,7 +12733,7 @@ const Na = /* @__PURE__ */ it(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Pe(N
|
|
|
12736
12733
|
{
|
|
12737
12734
|
label: q(() => [
|
|
12738
12735
|
pe(e.$slots, l[r.label], {}, () => [
|
|
12739
|
-
|
|
12736
|
+
Ye(
|
|
12740
12737
|
_e(l[r.label]),
|
|
12741
12738
|
1
|
|
12742
12739
|
/* TEXT */
|
|
@@ -12745,7 +12742,7 @@ const Na = /* @__PURE__ */ it(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Pe(N
|
|
|
12745
12742
|
]),
|
|
12746
12743
|
default: q(() => [
|
|
12747
12744
|
pe(e.$slots, `${l[r.label]}_value`, {}, () => [
|
|
12748
|
-
|
|
12745
|
+
Ye(
|
|
12749
12746
|
_e(l[r.value]) + " ",
|
|
12750
12747
|
1
|
|
12751
12748
|
/* TEXT */
|
|
@@ -12758,7 +12755,7 @@ const Na = /* @__PURE__ */ it(Ma, [["__scopeId", "data-v-b301aa7d"]]), Ba = Pe(N
|
|
|
12758
12755
|
},
|
|
12759
12756
|
{
|
|
12760
12757
|
default: q(() => [
|
|
12761
|
-
|
|
12758
|
+
Ye(
|
|
12762
12759
|
_e(l[r.value].value),
|
|
12763
12760
|
1
|
|
12764
12761
|
/* TEXT */
|