@lazycatcloud/lzc-video-player 0.0.5 → 0.0.6
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/components/Video/components/useLzcCommon.d.ts +0 -1
- package/dist/{list.b6b3725f.js → list.c11f3c19.js} +12 -12
- package/dist/{lzc-video-player.6ff297b1.js → lzc-video-player.0acd3ce8.js} +1945 -1946
- package/dist/lzc-video-player.js +2 -2
- package/dist/{playrate.cc67d295.js → playrate.89806fb8.js} +2 -2
- package/dist/{resolution.60e026bb.js → resolution.e8eac920.js} +2 -2
- package/dist/{simpleList.4fdcc7e8.js → simpleList.314db237.js} +6 -6
- package/dist/use/useVideoFrame.d.ts +1 -0
- package/package.json +1 -1
- package/dist/components/Video/components/LzcModal/index-horizontal.vue.d.ts +0 -12
- package/dist/components/Video/components/LzcModal/index-vertical.vue.d.ts +0 -12
- package/dist/components/Video/useOrientation.d.ts +0 -4
- package/dist/index-horizontal.d742b091.js +0 -31
- package/dist/index-vertical.357afcd2.js +0 -28
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as s, ref as u, openBlock as i, createBlock as y, withCtx as m, createTextVNode as f, toDisplayString as _ } from "vue";
|
|
2
|
-
import { S as g } from "./simpleList.
|
|
3
|
-
import "./lzc-video-player.
|
|
2
|
+
import { S as g } from "./simpleList.314db237.js";
|
|
3
|
+
import "./lzc-video-player.0acd3ce8.js";
|
|
4
4
|
import "pinia";
|
|
5
5
|
const D = /* @__PURE__ */ s({
|
|
6
6
|
__name: "playrate",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { defineComponent as y, ref as f, openBlock as m, createBlock as g, unref as v, withCtx as B, createTextVNode as F, toDisplayString as _ } from "vue";
|
|
2
|
-
import { S as D } from "./simpleList.
|
|
3
|
-
import "./lzc-video-player.
|
|
2
|
+
import { S as D } from "./simpleList.314db237.js";
|
|
3
|
+
import "./lzc-video-player.0acd3ce8.js";
|
|
4
4
|
import "pinia";
|
|
5
5
|
const R = /* @__PURE__ */ y({
|
|
6
6
|
__name: "resolution",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { defineComponent as _, openBlock as s, createElementBlock as
|
|
1
|
+
import { b as o, d as n, _ as r } from "./lzc-video-player.0acd3ce8.js";
|
|
2
|
+
import { defineComponent as _, openBlock as s, createElementBlock as c, createVNode as m, withCtx as i, Fragment as d, renderList as p, createBlock as u, createElementVNode as f, normalizeClass as v, renderSlot as k } from "vue";
|
|
3
3
|
const C = { class: "simple-list" }, L = /* @__PURE__ */ _({
|
|
4
4
|
__name: "simpleList",
|
|
5
5
|
props: {
|
|
@@ -8,20 +8,20 @@ const C = { class: "simple-list" }, L = /* @__PURE__ */ _({
|
|
|
8
8
|
},
|
|
9
9
|
emits: ["select"],
|
|
10
10
|
setup(l) {
|
|
11
|
-
return (
|
|
11
|
+
return (a, h) => (s(), c("div", C, [
|
|
12
12
|
m(o, null, {
|
|
13
13
|
default: i(() => [
|
|
14
|
-
(s(!0),
|
|
14
|
+
(s(!0), c(d, null, p(l.items, (t, e) => (s(), u(n, {
|
|
15
15
|
key: e,
|
|
16
16
|
class: "item",
|
|
17
17
|
clickable: "",
|
|
18
|
-
onClick: (y) =>
|
|
18
|
+
onClick: (y) => a.$emit("select", { item: t, index: e })
|
|
19
19
|
}, {
|
|
20
20
|
default: i(() => [
|
|
21
21
|
f("span", {
|
|
22
22
|
class: v(["text", { active: l.isActive(t, e) }])
|
|
23
23
|
}, [
|
|
24
|
-
k(
|
|
24
|
+
k(a.$slots, "default", {
|
|
25
25
|
data: { item: t, index: e }
|
|
26
26
|
}, void 0, !0)
|
|
27
27
|
], 2)
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
export declare function getFileLinkWithDefault(name: string): Promise<string>;
|
|
1
2
|
export declare const getFrame: (id: string) => string;
|
|
2
3
|
export declare const addFrame: (id: string, blob: Blob) => Promise<boolean>;
|
|
3
4
|
export declare const delFrame: (id: string) => Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
player: {
|
|
3
|
-
type: import("vue").PropType<import("video.js").VideoJsPlayer>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
player: {
|
|
8
|
-
type: import("vue").PropType<import("video.js").VideoJsPlayer>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>>, {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
declare const _default: import("vue").DefineComponent<{
|
|
2
|
-
player: {
|
|
3
|
-
type: import("vue").PropType<import("video.js").VideoJsPlayer>;
|
|
4
|
-
required: true;
|
|
5
|
-
};
|
|
6
|
-
}, {}, unknown, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").VNodeProps & import("vue").AllowedComponentProps & import("vue").ComponentCustomProps, Readonly<import("vue").ExtractPropTypes<{
|
|
7
|
-
player: {
|
|
8
|
-
type: import("vue").PropType<import("video.js").VideoJsPlayer>;
|
|
9
|
-
required: true;
|
|
10
|
-
};
|
|
11
|
-
}>>, {}>;
|
|
12
|
-
export default _default;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { defineComponent as i, defineAsyncComponent as o, openBlock as t, createElementBlock as p, unref as e, createBlock as l, createCommentVNode as y } from "vue";
|
|
2
|
-
import { a as n, _ } from "./lzc-video-player.6ff297b1.js";
|
|
3
|
-
import "pinia";
|
|
4
|
-
const m = { class: "modal-content" }, u = /* @__PURE__ */ i({
|
|
5
|
-
__name: "index-horizontal",
|
|
6
|
-
props: {
|
|
7
|
-
player: null
|
|
8
|
-
},
|
|
9
|
-
setup(a) {
|
|
10
|
-
const r = o(() => import("./list.b6b3725f.js")), s = o(() => import("./playrate.cc67d295.js")), c = o(() => import("./resolution.60e026bb.js"));
|
|
11
|
-
return (d, f) => (t(), p("div", m, [
|
|
12
|
-
e(n) === "LzcPlayrate" ? (t(), l(e(s), {
|
|
13
|
-
key: 0,
|
|
14
|
-
class: "playrate",
|
|
15
|
-
player: a.player
|
|
16
|
-
}, null, 8, ["player"])) : e(n) === "LzcResolution" ? (t(), l(e(c), {
|
|
17
|
-
key: 1,
|
|
18
|
-
class: "resolution",
|
|
19
|
-
player: a.player
|
|
20
|
-
}, null, 8, ["player"])) : e(n) === "LzcPlaylist" ? (t(), l(e(r), {
|
|
21
|
-
key: 2,
|
|
22
|
-
class: "list",
|
|
23
|
-
player: a.player
|
|
24
|
-
}, null, 8, ["player"])) : y("", !0)
|
|
25
|
-
]));
|
|
26
|
-
}
|
|
27
|
-
});
|
|
28
|
-
const v = /* @__PURE__ */ _(u, [["__scopeId", "data-v-544917ae"]]);
|
|
29
|
-
export {
|
|
30
|
-
v as default
|
|
31
|
-
};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { defineComponent as p, defineAsyncComponent as l, openBlock as t, createElementBlock as s, unref as e, createBlock as n, createCommentVNode as y } from "vue";
|
|
2
|
-
import { a as o, _ } from "./lzc-video-player.6ff297b1.js";
|
|
3
|
-
import "pinia";
|
|
4
|
-
const m = { class: "modal-content" }, d = /* @__PURE__ */ p({
|
|
5
|
-
__name: "index-vertical",
|
|
6
|
-
props: {
|
|
7
|
-
player: null
|
|
8
|
-
},
|
|
9
|
-
setup(a) {
|
|
10
|
-
const r = l(() => import("./list.b6b3725f.js")), c = l(() => import("./playrate.cc67d295.js")), i = l(() => import("./resolution.60e026bb.js"));
|
|
11
|
-
return (u, f) => (t(), s("div", m, [
|
|
12
|
-
e(o) === "LzcPlayrate" ? (t(), n(e(c), {
|
|
13
|
-
key: 0,
|
|
14
|
-
player: a.player
|
|
15
|
-
}, null, 8, ["player"])) : e(o) === "LzcResolution" ? (t(), n(e(i), {
|
|
16
|
-
key: 1,
|
|
17
|
-
player: a.player
|
|
18
|
-
}, null, 8, ["player"])) : e(o) === "LzcPlaylist" ? (t(), n(e(r), {
|
|
19
|
-
key: 2,
|
|
20
|
-
player: a.player
|
|
21
|
-
}, null, 8, ["player"])) : y("", !0)
|
|
22
|
-
]));
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
const L = /* @__PURE__ */ _(d, [["__scopeId", "data-v-fc9a6092"]]);
|
|
26
|
-
export {
|
|
27
|
-
L as default
|
|
28
|
-
};
|