iking-web-ui-pro 0.2.19 → 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 +248 -237
- 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 +14465 -14458
- package/dist/index.umd.js +88 -88
- package/dist/src/components/IkUploadImage/index.d.ts +38 -0
- package/dist/src/components/IkUploadImage/src/index.vue.d.ts +18 -0
- 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 le, computed as Y, openBlock as A, createElementBlock as F, createElementVNode as S, inject as
|
|
1
|
+
import { defineComponent as le, computed as Y, openBlock as A, createElementBlock as F, createElementVNode as S, inject as Xe, mergeModels as at, useModel as Kt, ref as Ke, reactive as kn, watch as Ui, nextTick as zi, resolveComponent as $e, Fragment as Ze, createBlock as we, createCommentVNode as he, createVNode as J, unref as V, withCtx as de, normalizeClass as ee, normalizeStyle as oe, createTextVNode as Bt, toDisplayString as Ge, h as wn, mergeProps as bn, createSlots as Tn, renderSlot as Ae, Teleport as En, Transition as Sn, renderList as ai, withModifiers as li } from "vue";
|
|
2
2
|
import { buildUUID as Vi, ikColor as xn, paramType as Pn, ikFile as In } from "iking-utils-pro";
|
|
3
3
|
import { useNamespace as An } from "element-plus";
|
|
4
4
|
const Re = (a, o) => {
|
|
@@ -653,7 +653,7 @@ const yt = (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
|
}, Qe = (a, o) => o ? o.startsWith("http") ? o : `${a || location.origin}${o}` : "", Hr = (a) => {
|
|
656
|
-
const o =
|
|
656
|
+
const o = Xe("loadUrl"), r = Y(() => a.loadUrl || a.fileUrl || (o == null ? void 0 : o.value)), t = Xe("uploadUrl"), e = Y(() => a.action || a.uploadUrl || (t == null ? void 0 : t.value)), i = Xe("token"), n = Y(() => a.token || (i == null ? void 0 : i.value)), s = Xe("onlyofficeConfig"), l = Y(() => a.onlyofficeConfig || (s == null ? void 0 : s.value)), u = Xe("userInfo"), c = Y(() => a.userInfo || (u == null ? void 0 : u.value));
|
|
657
657
|
return {
|
|
658
658
|
cLoadUrl: r,
|
|
659
659
|
cUploadUrl: e,
|
|
@@ -704,7 +704,7 @@ const yt = (a, o) => {
|
|
|
704
704
|
suffix: "suffix",
|
|
705
705
|
size: "fileSize",
|
|
706
706
|
...o.field
|
|
707
|
-
})), e =
|
|
707
|
+
})), e = Ke(null), i = Ke(null), n = kn({
|
|
708
708
|
image: !1,
|
|
709
709
|
office: !1,
|
|
710
710
|
video: !1
|
|
@@ -759,7 +759,7 @@ const yt = (a, o) => {
|
|
|
759
759
|
};
|
|
760
760
|
return (u, c) => {
|
|
761
761
|
var d, g, p;
|
|
762
|
-
const h =
|
|
762
|
+
const h = $e("el-image-viewer");
|
|
763
763
|
return r.value ? (A(), F(
|
|
764
764
|
Ze,
|
|
765
765
|
{ key: 0 },
|
|
@@ -850,87 +850,84 @@ const zr = Re(Ur), Vr = {
|
|
|
850
850
|
width: {}
|
|
851
851
|
},
|
|
852
852
|
setup(a) {
|
|
853
|
-
const o = a, r =
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
})
|
|
857
|
-
const
|
|
858
|
-
|
|
859
|
-
|
|
860
|
-
const n = [];
|
|
861
|
-
if (t.value.flip)
|
|
862
|
-
switch (t.value.flip) {
|
|
853
|
+
const o = a, r = Y(() => o), t = Y(() => {
|
|
854
|
+
const { name: i } = r.value;
|
|
855
|
+
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";
|
|
856
|
+
}), e = Y(() => {
|
|
857
|
+
const i = [];
|
|
858
|
+
if (r.value.flip)
|
|
859
|
+
switch (r.value.flip) {
|
|
863
860
|
case "horizontal":
|
|
864
|
-
|
|
861
|
+
i.push("rotateY(180deg)");
|
|
865
862
|
break;
|
|
866
863
|
case "vertical":
|
|
867
|
-
|
|
864
|
+
i.push("rotateX(180deg)");
|
|
868
865
|
break;
|
|
869
866
|
case "both":
|
|
870
|
-
|
|
867
|
+
i.push("rotateX(180deg)"), i.push("rotateY(180deg)");
|
|
871
868
|
break;
|
|
872
869
|
}
|
|
873
|
-
|
|
874
|
-
const
|
|
875
|
-
...
|
|
876
|
-
...
|
|
877
|
-
...
|
|
878
|
-
padding:
|
|
879
|
-
...
|
|
880
|
-
"--ik-color-icon-dark":
|
|
881
|
-
"--ik-color-icon-light":
|
|
870
|
+
r.value.rotate && i.push(`rotate(${r.value.rotate % 360}deg)`);
|
|
871
|
+
const n = {
|
|
872
|
+
...r.value.color && { color: r.value.color },
|
|
873
|
+
...r.value.size && { fontSize: typeof r.value.size == "number" ? `${r.value.size}px` : r.value.size },
|
|
874
|
+
...i.length && { transform: i.join(" ") },
|
|
875
|
+
padding: r.value.showBg || r.value.bg ? r.value.padding : 0,
|
|
876
|
+
...r.value.color && t.value !== "iksig" ? {
|
|
877
|
+
"--ik-color-icon-dark": r.value.color,
|
|
878
|
+
"--ik-color-icon-light": r.value.colorLight || xn.setOpacity(r.value.color, r.value.opacity)
|
|
882
879
|
} : {}
|
|
883
880
|
};
|
|
884
|
-
return
|
|
881
|
+
return r.value.width && (n.width = n.height = typeof r.value.width == "number" ? `${r.value.width}px` : r.value.width), n;
|
|
885
882
|
});
|
|
886
|
-
return (
|
|
887
|
-
const
|
|
888
|
-
return
|
|
889
|
-
|
|
883
|
+
return (i, n) => {
|
|
884
|
+
const s = $e("el-tooltip"), l = $e("el-button");
|
|
885
|
+
return r.value.tableIconType === "icon" || !r.value.tableIconType ? (A(), F("span", Vr, [
|
|
886
|
+
r.value.notip || !r.value.title ? (A(), F(
|
|
890
887
|
"i",
|
|
891
888
|
{
|
|
892
889
|
key: 0,
|
|
893
890
|
class: ee(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
894
|
-
[
|
|
895
|
-
"show-bg":
|
|
896
|
-
default:
|
|
897
|
-
small:
|
|
898
|
-
big:
|
|
899
|
-
warning:
|
|
900
|
-
primary:
|
|
901
|
-
success:
|
|
902
|
-
error:
|
|
903
|
-
active:
|
|
904
|
-
disabled:
|
|
891
|
+
[i.name]: t.value === "unocss",
|
|
892
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
893
|
+
default: r.value.size === "default",
|
|
894
|
+
small: r.value.size === "small",
|
|
895
|
+
big: r.value.size === "big",
|
|
896
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
897
|
+
primary: r.value.primary || r.value.type === "primary",
|
|
898
|
+
success: i.success || r.value.type === "success",
|
|
899
|
+
error: r.value.error || r.value.type === "error",
|
|
900
|
+
active: r.value.active,
|
|
901
|
+
disabled: r.value.disabled
|
|
905
902
|
}]),
|
|
906
|
-
style: oe(
|
|
903
|
+
style: oe(e.value)
|
|
907
904
|
},
|
|
908
905
|
[
|
|
909
906
|
he(` <Icon v-if="outputType === 'iconify'" :icon="name" /> `),
|
|
910
|
-
|
|
907
|
+
t.value === "iksig" ? (A(), F(
|
|
911
908
|
"i",
|
|
912
909
|
{
|
|
913
910
|
key: 0,
|
|
914
|
-
class: ee(`iksig ${
|
|
915
|
-
style: oe(
|
|
911
|
+
class: ee(`iksig ${r.value.name}`),
|
|
912
|
+
style: oe(e.value)
|
|
916
913
|
},
|
|
917
914
|
null,
|
|
918
915
|
6
|
|
919
916
|
/* CLASS, STYLE */
|
|
920
|
-
)) :
|
|
917
|
+
)) : t.value === "svg" ? (A(), F("svg", jr, [
|
|
921
918
|
S("use", {
|
|
922
|
-
"xlink:href": `#${
|
|
919
|
+
"xlink:href": `#${r.value.name}`
|
|
923
920
|
}, null, 8, Wr)
|
|
924
|
-
])) :
|
|
921
|
+
])) : t.value === "img" ? (A(), F("img", {
|
|
925
922
|
key: 2,
|
|
926
|
-
src:
|
|
923
|
+
src: r.value.name,
|
|
927
924
|
class: "h-[1em] w-[1em]"
|
|
928
925
|
}, null, 8, Gr)) : (A(), F(
|
|
929
926
|
"i",
|
|
930
927
|
{
|
|
931
928
|
key: 3,
|
|
932
|
-
class: ee(
|
|
933
|
-
style: oe(
|
|
929
|
+
class: ee(r.value.name),
|
|
930
|
+
style: oe(e.value)
|
|
934
931
|
},
|
|
935
932
|
null,
|
|
936
933
|
6
|
|
@@ -939,9 +936,9 @@ const zr = Re(Ur), Vr = {
|
|
|
939
936
|
],
|
|
940
937
|
6
|
|
941
938
|
/* CLASS, STYLE */
|
|
942
|
-
)) : (A(), we(
|
|
939
|
+
)) : (A(), we(s, {
|
|
943
940
|
key: 1,
|
|
944
|
-
content:
|
|
941
|
+
content: r.value.title,
|
|
945
942
|
placement: "top"
|
|
946
943
|
}, {
|
|
947
944
|
default: de(() => [
|
|
@@ -949,44 +946,44 @@ const zr = Re(Ur), Vr = {
|
|
|
949
946
|
"i",
|
|
950
947
|
{
|
|
951
948
|
class: ee(["ik-svg-icon ik-icon relative h-[1em] w-[1em] inline-flex items-center justify-center fill-current leading-[1em] transition", {
|
|
952
|
-
[
|
|
953
|
-
"show-bg":
|
|
954
|
-
default:
|
|
955
|
-
small:
|
|
956
|
-
big:
|
|
957
|
-
warning:
|
|
958
|
-
primary:
|
|
959
|
-
success:
|
|
960
|
-
error:
|
|
961
|
-
active:
|
|
949
|
+
[i.name]: t.value === "unocss",
|
|
950
|
+
"show-bg": r.value.showBg || r.value.bg,
|
|
951
|
+
default: r.value.size === "default",
|
|
952
|
+
small: r.value.size === "small",
|
|
953
|
+
big: r.value.size === "big",
|
|
954
|
+
warning: r.value.warning || r.value.type === "warning",
|
|
955
|
+
primary: i.primary || r.value.type === "primary",
|
|
956
|
+
success: i.success || r.value.type === "success",
|
|
957
|
+
error: r.value.error || r.value.type === "error",
|
|
958
|
+
active: r.value.active
|
|
962
959
|
}]),
|
|
963
|
-
style: oe(
|
|
960
|
+
style: oe(e.value)
|
|
964
961
|
},
|
|
965
962
|
[
|
|
966
|
-
|
|
963
|
+
t.value === "iksig" ? (A(), F(
|
|
967
964
|
"i",
|
|
968
965
|
{
|
|
969
966
|
key: 0,
|
|
970
|
-
class: ee(`iksig ${
|
|
971
|
-
style: oe(
|
|
967
|
+
class: ee(`iksig ${r.value.name}`),
|
|
968
|
+
style: oe(e.value)
|
|
972
969
|
},
|
|
973
970
|
null,
|
|
974
971
|
6
|
|
975
972
|
/* CLASS, STYLE */
|
|
976
|
-
)) :
|
|
973
|
+
)) : t.value === "svg" ? (A(), F("svg", Kr, [
|
|
977
974
|
S("use", {
|
|
978
|
-
"xlink:href": `#${
|
|
975
|
+
"xlink:href": `#${r.value.name}`
|
|
979
976
|
}, null, 8, $r)
|
|
980
|
-
])) :
|
|
977
|
+
])) : t.value === "img" ? (A(), F("img", {
|
|
981
978
|
key: 2,
|
|
982
|
-
src:
|
|
979
|
+
src: r.value.name,
|
|
983
980
|
class: "h-[1em] w-[1em]"
|
|
984
981
|
}, null, 8, Yr)) : (A(), F(
|
|
985
982
|
"i",
|
|
986
983
|
{
|
|
987
984
|
key: 3,
|
|
988
|
-
class: ee(
|
|
989
|
-
style: oe(
|
|
985
|
+
class: ee(r.value.name),
|
|
986
|
+
style: oe(e.value)
|
|
990
987
|
},
|
|
991
988
|
null,
|
|
992
989
|
6
|
|
@@ -1000,13 +997,13 @@ const zr = Re(Ur), Vr = {
|
|
|
1000
997
|
_: 1
|
|
1001
998
|
/* STABLE */
|
|
1002
999
|
}, 8, ["content"]))
|
|
1003
|
-
])) : (A(), we(
|
|
1000
|
+
])) : (A(), we(l, {
|
|
1004
1001
|
key: 1,
|
|
1005
|
-
type: ["warning", "error"].includes(
|
|
1002
|
+
type: ["warning", "error"].includes(r.value.type) ? "danger" : ""
|
|
1006
1003
|
}, {
|
|
1007
1004
|
default: de(() => [
|
|
1008
1005
|
Bt(
|
|
1009
|
-
|
|
1006
|
+
Ge(r.value.title),
|
|
1010
1007
|
1
|
|
1011
1008
|
/* TEXT */
|
|
1012
1009
|
)
|
|
@@ -1017,7 +1014,7 @@ const zr = Re(Ur), Vr = {
|
|
|
1017
1014
|
};
|
|
1018
1015
|
}
|
|
1019
1016
|
});
|
|
1020
|
-
const qr = /* @__PURE__ */ yt(Xr, [["__scopeId", "data-v-
|
|
1017
|
+
const qr = /* @__PURE__ */ yt(Xr, [["__scopeId", "data-v-a7ec508a"]]), Le = Re(qr), Zr = {
|
|
1021
1018
|
key: 0,
|
|
1022
1019
|
class: "exit-main-page-maximize"
|
|
1023
1020
|
}, Jr = /* @__PURE__ */ le({
|
|
@@ -1072,7 +1069,7 @@ const Qr = /* @__PURE__ */ yt(Jr, [["__scopeId", "data-v-79f49df8"]]), es = { cl
|
|
|
1072
1069
|
}),
|
|
1073
1070
|
emits: ["update:modelValue"],
|
|
1074
1071
|
setup(a) {
|
|
1075
|
-
const o = a, r = Kt(a, "modelValue"), t =
|
|
1072
|
+
const o = a, r = Kt(a, "modelValue"), t = Ke(o.fullscreen), e = () => {
|
|
1076
1073
|
t.value = !t.value;
|
|
1077
1074
|
}, i = le({
|
|
1078
1075
|
setup() {
|
|
@@ -1083,7 +1080,7 @@ const Qr = /* @__PURE__ */ yt(Jr, [["__scopeId", "data-v-79f49df8"]]), es = { cl
|
|
|
1083
1080
|
}
|
|
1084
1081
|
});
|
|
1085
1082
|
return (n, s) => {
|
|
1086
|
-
const l =
|
|
1083
|
+
const l = $e("el-dialog");
|
|
1087
1084
|
return A(), we(l, bn({
|
|
1088
1085
|
modelValue: r.value,
|
|
1089
1086
|
"onUpdate:modelValue": s[0] || (s[0] = (u) => r.value = u)
|
|
@@ -1096,7 +1093,7 @@ const Qr = /* @__PURE__ */ yt(Jr, [["__scopeId", "data-v-79f49df8"]]), es = { cl
|
|
|
1096
1093
|
icon: de(() => [
|
|
1097
1094
|
Ae(n.$slots, "title", {}, () => [
|
|
1098
1095
|
Bt(
|
|
1099
|
-
|
|
1096
|
+
Ge(n.title),
|
|
1100
1097
|
1
|
|
1101
1098
|
/* TEXT */
|
|
1102
1099
|
)
|
|
@@ -1106,7 +1103,7 @@ const Qr = /* @__PURE__ */ yt(Jr, [["__scopeId", "data-v-79f49df8"]]), es = { cl
|
|
|
1106
1103
|
S("div", es, [
|
|
1107
1104
|
Ae(n.$slots, "header", {}, () => [
|
|
1108
1105
|
Bt(
|
|
1109
|
-
|
|
1106
|
+
Ge(n.title),
|
|
1110
1107
|
1
|
|
1111
1108
|
/* TEXT */
|
|
1112
1109
|
)
|
|
@@ -1465,7 +1462,7 @@ const us = /* @__PURE__ */ le({
|
|
|
1465
1462
|
}
|
|
1466
1463
|
},
|
|
1467
1464
|
setup(a) {
|
|
1468
|
-
const o = a, r =
|
|
1465
|
+
const o = a, r = Ke({
|
|
1469
1466
|
width: "100%",
|
|
1470
1467
|
height: "100%",
|
|
1471
1468
|
...o.configOptions || {},
|
|
@@ -2498,7 +2495,7 @@ var di = {
|
|
|
2498
2495
|
return m.ex = t ? (t[arguments[0]] || {}).msg : "", m;
|
|
2499
2496
|
}
|
|
2500
2497
|
}
|
|
2501
|
-
), ne = "play", qt = "playing", Oe = "ended",
|
|
2498
|
+
), ne = "play", qt = "playing", Oe = "ended", Ye = "pause", tt = "error", _t = "seeking", me = "seeked", ie = "timeupdate", it = "waiting", ve = "canplay", Ps = "canplaythrough", Ee = "durationchange", Xi = "volumechange", ye = "loadeddata", Is = "loadedmetadata", qi = "ratechange", Zi = "progress", Zt = "loadstart", Fe = "emptied", As = "stalled", Ls = "suspend", Ds = "abort", Rs = "bufferedChange", Jt = "focus", Ji = "blur", Qt = "ready", Qi = "urlNull", De = "autoplay_started", ei = "autoplay_was_prevented", Ct = "complete", ut = "replay", ti = "destroy", kt = "urlchange", jt = "download_speed_change", en = "leaveplayer", tn = "enterplayer", nn = "loading", ge = "fullscreen_change", ct = "cssFullscreen_change", ft = "mini_state_change", ii = "definition_change", Os = "before_definition_change", Wt = "after_definition_change", Fs = "SEI_PARSED", Ms = "retry", be = "video_resize", Gt = "pip_change", rn = "rotate", sn = "screenShot", ht = "playnext", on = "shortcut", an = "xglog", dt = "user_action", wt = "reset", ln = "source_error", un = "source_success", Ns = "switch_subtitle", cn = ["play", "playing", "ended", "pause", "error", "seeking", "seeked", "timeupdate", "waiting", "canplay", "canplaythrough", "durationchange", "volumechange", "loadeddata", "loadedmetadata", "ratechange", "progress", "loadstart", "emptied", "stalled", "suspend", "abort", "lowdecode"], fn = {
|
|
2502
2499
|
STATS_INFO: "stats_info",
|
|
2503
2500
|
STATS_DOWNLOAD: "stats_download",
|
|
2504
2501
|
STATS_RESET: "stats_reset"
|
|
@@ -2531,7 +2528,7 @@ const Bs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
|
2531
2528
|
LOADING: nn,
|
|
2532
2529
|
LOAD_START: Zt,
|
|
2533
2530
|
MINI_STATE_CHANGE: ft,
|
|
2534
|
-
PAUSE:
|
|
2531
|
+
PAUSE: Ye,
|
|
2535
2532
|
PIP_CHANGE: Gt,
|
|
2536
2533
|
PLAY: ne,
|
|
2537
2534
|
PLAYER_BLUR: Ji,
|
|
@@ -4456,7 +4453,7 @@ function ao(a) {
|
|
|
4456
4453
|
return et(r.lang, te.lang), (o = r.langKeys).push.apply(o, ae(te.langKeys)), et(r.textKeys, te.textKeys), r;
|
|
4457
4454
|
}
|
|
4458
4455
|
ni(so);
|
|
4459
|
-
var
|
|
4456
|
+
var We = {
|
|
4460
4457
|
get textKeys() {
|
|
4461
4458
|
return te.textKeys;
|
|
4462
4459
|
},
|
|
@@ -4655,7 +4652,7 @@ var uo = ["play", "pause", "replay", "retry"], Si = 0, xi = 0, _e = null, bt = /
|
|
|
4655
4652
|
}, e._offsetInfo = {
|
|
4656
4653
|
currentTime: -1,
|
|
4657
4654
|
duration: 0
|
|
4658
|
-
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n =
|
|
4655
|
+
}, e.innerContainer = null, e.controls = null, e.topBar = null, e.root = null, e.__i18n = We.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 = {
|
|
4659
4656
|
isActiveLocked: !1
|
|
4660
4657
|
}, e.instManager = _e;
|
|
4661
4658
|
var l = e._initDOM();
|
|
@@ -4776,7 +4773,7 @@ var uo = ["play", "pause", "replay", "retry"], Si = 0, xi = 0, _e = null, bt = /
|
|
|
4776
4773
|
var e = this, i = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : !0;
|
|
4777
4774
|
this._loadingPlugins = [];
|
|
4778
4775
|
var n = this.config.ignores || [], s = this.config.plugins || [], l = this.config.i18n || [];
|
|
4779
|
-
i &&
|
|
4776
|
+
i && We.extend(l, this.__i18n);
|
|
4780
4777
|
var u = n.join("||").toLowerCase().split("||"), c = this.plugins;
|
|
4781
4778
|
s.forEach(function(h) {
|
|
4782
4779
|
try {
|
|
@@ -5562,11 +5559,11 @@ var uo = ["play", "pause", "replay", "retry"], Si = 0, xi = 0, _e = null, bt = /
|
|
|
5562
5559
|
return this.config.lang;
|
|
5563
5560
|
},
|
|
5564
5561
|
set: function(e) {
|
|
5565
|
-
var i =
|
|
5562
|
+
var i = We.langKeys.filter(function(n) {
|
|
5566
5563
|
return n === e;
|
|
5567
5564
|
});
|
|
5568
5565
|
if (i.length === 0 && e !== "zh") {
|
|
5569
|
-
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(
|
|
5566
|
+
console.error("Sorry, set lang fail, because the language [".concat(e, "] is not supported now, list of all supported languages is [").concat(We.langKeys.join(), "] "));
|
|
5570
5567
|
return;
|
|
5571
5568
|
}
|
|
5572
5569
|
this.config.lang = e, K.setLang(e, this);
|
|
@@ -6192,7 +6189,7 @@ var vo = /* @__PURE__ */ function(a) {
|
|
|
6192
6189
|
e.setAttr("data-state", "play"), f.removeClass(e.root, s), e.show();
|
|
6193
6190
|
}), this.on(ne, function() {
|
|
6194
6191
|
e.onPlayPause("play");
|
|
6195
|
-
}), this.on(
|
|
6192
|
+
}), this.on(Ye, function() {
|
|
6196
6193
|
e.onPlayPause("pause");
|
|
6197
6194
|
}), this.on(wt, function() {
|
|
6198
6195
|
e.onPlayerReset();
|
|
@@ -6734,7 +6731,7 @@ var Dt = {
|
|
|
6734
6731
|
key: "afterCreate",
|
|
6735
6732
|
value: function() {
|
|
6736
6733
|
var e = this;
|
|
6737
|
-
this.initIcons(), this.on(
|
|
6734
|
+
this.initIcons(), this.on(Ye, function() {
|
|
6738
6735
|
e.setAttr("data-state", "pause");
|
|
6739
6736
|
}), this.on(ne, function() {
|
|
6740
6737
|
e.setAttr("data-state", "play");
|
|
@@ -8538,7 +8535,7 @@ var Ao = /* @__PURE__ */ function(a) {
|
|
|
8538
8535
|
var e = this;
|
|
8539
8536
|
L(I(r.prototype), "afterCreate", this).call(this);
|
|
8540
8537
|
var i = this.player, n = this.config;
|
|
8541
|
-
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([
|
|
8538
|
+
n.disable || (this.initIcons(), this.btnClick = this.btnClick.bind(this), this.bind(["touchend", "click"], this.btnClick), this.on([Ye, tt, Fe], function() {
|
|
8542
8539
|
e.animate(i.paused);
|
|
8543
8540
|
}), this.on(ne, function() {
|
|
8544
8541
|
e.animate(i.paused);
|
|
@@ -11466,7 +11463,7 @@ var st = null, ya = /* @__PURE__ */ function(a) {
|
|
|
11466
11463
|
}), this.on(ne, function() {
|
|
11467
11464
|
var u = e.config.startInterval;
|
|
11468
11465
|
e._checkIfCanStart() && e.start(0, u);
|
|
11469
|
-
}), this.on(
|
|
11466
|
+
}), this.on(Ye, function() {
|
|
11470
11467
|
e.stop();
|
|
11471
11468
|
})), this.on(ye, this.onLoadedData), this.on(Zt, function() {
|
|
11472
11469
|
e._isLoaded = !1, e.stop();
|
|
@@ -12115,7 +12112,7 @@ var ka = /* @__PURE__ */ function(a) {
|
|
|
12115
12112
|
var l = s.getVideoPlaybackQuality;
|
|
12116
12113
|
l && (this.on(ne, function() {
|
|
12117
12114
|
e._startTick();
|
|
12118
|
-
}), this.on(
|
|
12115
|
+
}), this.on(Ye, function() {
|
|
12119
12116
|
e._stopTick();
|
|
12120
12117
|
}), this.on(Oe, function() {
|
|
12121
12118
|
e._stopTick();
|
|
@@ -12211,7 +12208,7 @@ var ka = /* @__PURE__ */ function(a) {
|
|
|
12211
12208
|
}
|
|
12212
12209
|
}]), r;
|
|
12213
12210
|
}(U);
|
|
12214
|
-
|
|
12211
|
+
We.use(_a);
|
|
12215
12212
|
var Ta = /* @__PURE__ */ E(function a(o, r) {
|
|
12216
12213
|
var t, e, i;
|
|
12217
12214
|
T(this, a);
|
|
@@ -12244,7 +12241,7 @@ y(ue, "Errors", lt);
|
|
|
12244
12241
|
y(ue, "Events", Bs);
|
|
12245
12242
|
y(ue, "Plugin", U);
|
|
12246
12243
|
y(ue, "BasePlugin", Te);
|
|
12247
|
-
y(ue, "I18N",
|
|
12244
|
+
y(ue, "I18N", We);
|
|
12248
12245
|
y(ue, "STATE_CLASS", k);
|
|
12249
12246
|
y(ue, "InstManager", vn);
|
|
12250
12247
|
const Ea = ["id"], Sa = /* @__PURE__ */ le({
|
|
@@ -12310,7 +12307,7 @@ const Ea = ["id"], Sa = /* @__PURE__ */ le({
|
|
|
12310
12307
|
});
|
|
12311
12308
|
});
|
|
12312
12309
|
}), (g, p) => {
|
|
12313
|
-
const m =
|
|
12310
|
+
const m = $e("el-icon");
|
|
12314
12311
|
return u.value ? (A(), we(En, {
|
|
12315
12312
|
key: 0,
|
|
12316
12313
|
to: "body"
|
|
@@ -12463,7 +12460,7 @@ const xa = /* @__PURE__ */ yt(Sa, [["__scopeId", "data-v-b301aa7d"]]), Pa = Re(x
|
|
|
12463
12460
|
suffix: "suffix",
|
|
12464
12461
|
size: "size",
|
|
12465
12462
|
...o.field
|
|
12466
|
-
})), i =
|
|
12463
|
+
})), i = Ke({}), n = Ke(!1), s = (h) => {
|
|
12467
12464
|
var d, g;
|
|
12468
12465
|
i.value = {
|
|
12469
12466
|
...h,
|
|
@@ -12489,7 +12486,7 @@ const xa = /* @__PURE__ */ yt(Sa, [["__scopeId", "data-v-b301aa7d"]]), Pa = Re(x
|
|
|
12489
12486
|
})));
|
|
12490
12487
|
return (h, d) => {
|
|
12491
12488
|
var p, m, _;
|
|
12492
|
-
const g =
|
|
12489
|
+
const g = $e("tmplate");
|
|
12493
12490
|
return A(), F(
|
|
12494
12491
|
Ze,
|
|
12495
12492
|
null,
|
|
@@ -12509,7 +12506,7 @@ const xa = /* @__PURE__ */ yt(Sa, [["__scopeId", "data-v-b301aa7d"]]), Pa = Re(x
|
|
|
12509
12506
|
S(
|
|
12510
12507
|
"div",
|
|
12511
12508
|
Aa,
|
|
12512
|
-
|
|
12509
|
+
Ge(C.name),
|
|
12513
12510
|
1
|
|
12514
12511
|
/* TEXT */
|
|
12515
12512
|
),
|
|
@@ -12572,14 +12569,14 @@ const xa = /* @__PURE__ */ yt(Sa, [["__scopeId", "data-v-b301aa7d"]]), Pa = Re(x
|
|
|
12572
12569
|
S(
|
|
12573
12570
|
"div",
|
|
12574
12571
|
Ra,
|
|
12575
|
-
|
|
12572
|
+
Ge(C.name),
|
|
12576
12573
|
1
|
|
12577
12574
|
/* TEXT */
|
|
12578
12575
|
),
|
|
12579
12576
|
S(
|
|
12580
12577
|
"div",
|
|
12581
12578
|
Oa,
|
|
12582
|
-
|
|
12579
|
+
Ge(V(Br)(C.size)),
|
|
12583
12580
|
1
|
|
12584
12581
|
/* TEXT */
|
|
12585
12582
|
)
|