@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.
@@ -1,3 +1,2 @@
1
- export declare const vertical: import("vue").Ref<boolean>;
2
1
  export declare function formatTime(second: number): string;
3
2
  export declare function remHeight(rem: number, pixelRatio?: false): number;
@@ -1,5 +1,5 @@
1
1
  import { openBlock as u, createElementBlock as d, pushScopeId as Q, popScopeId as H, createElementVNode as o, ref as f, computed as S, defineComponent as x, normalizeClass as y, withModifiers as w, createBlock as $, unref as i, isRef as X, withCtx as B, toDisplayString as g, createCommentVNode as k, useCssVars as Y, onMounted as Z, nextTick as ee, onUnmounted as te, watchEffect as se, createVNode as h, Fragment as I, renderList as le, createTextVNode as V } from "vue";
2
- import { _ as D, Q as T, b as ne, E as U, u as ie, r as ue, c as oe, d as ae, f as K, g as ce } from "./lzc-video-player.6ff297b1.js";
2
+ import { _ as b, Q as T, a as ne, E as U, u as ie, r as ue, b as oe, c as ae, f as K, g as ce } from "./lzc-video-player.0acd3ce8.js";
3
3
  import "pinia";
4
4
  const de = {}, re = (e) => (Q("data-v-7a0e044b"), e = e(), H(), e), _e = /* @__PURE__ */ re(() => /* @__PURE__ */ o("ul", null, [
5
5
  /* @__PURE__ */ o("li", { class: "m1" }),
@@ -11,7 +11,7 @@ const de = {}, re = (e) => (Q("data-v-7a0e044b"), e = e(), H(), e), _e = /* @__P
11
11
  function ve(e, s) {
12
12
  return u(), d("div", null, pe);
13
13
  }
14
- const me = /* @__PURE__ */ D(de, [["render", ve], ["__scopeId", "data-v-7a0e044b"]]);
14
+ const me = /* @__PURE__ */ b(de, [["render", ve], ["__scopeId", "data-v-7a0e044b"]]);
15
15
  function ye() {
16
16
  const e = f(!1), s = f([]), l = f([]), a = S(
17
17
  () => s.value.length > 0 && l.value.length === s.value.length
@@ -28,7 +28,7 @@ function ye() {
28
28
  }
29
29
  function p(v) {
30
30
  if (s.value.includes(v)) {
31
- s.value = s.value.filter((b) => b !== v);
31
+ s.value = s.value.filter((D) => D !== v);
32
32
  return;
33
33
  }
34
34
  s.value.push(v);
@@ -72,7 +72,7 @@ const ge = /* @__PURE__ */ x({
72
72
  ], 2));
73
73
  }
74
74
  });
75
- const fe = /* @__PURE__ */ D(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { class: "card" }, ke = { class: "title" }, $e = {
75
+ const fe = /* @__PURE__ */ b(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { class: "card" }, ke = { class: "title" }, $e = {
76
76
  key: 0,
77
77
  class: "subtitle"
78
78
  }, Ce = { class: "buttons" }, xe = /* @__PURE__ */ x({
@@ -116,7 +116,7 @@ const fe = /* @__PURE__ */ D(ge, [["__scopeId", "data-v-b520dd6c"]]), he = { cla
116
116
  }, 8, ["model-value"]));
117
117
  }
118
118
  });
119
- const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) => (Q("data-v-4e728578"), e = e(), H(), e), be = { class: "list-top-bar" }, Ee = /* @__PURE__ */ M(() => /* @__PURE__ */ o("span", { class: "cancel-edit-text" }, "\u8BF7\u9009\u62E9", -1)), Fe = {
119
+ const be = /* @__PURE__ */ b(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) => (Q("data-v-1124b5a5"), e = e(), H(), e), De = { class: "list-top-bar" }, Ee = /* @__PURE__ */ M(() => /* @__PURE__ */ o("span", { class: "cancel-edit-text" }, "\u8BF7\u9009\u62E9", -1)), Fe = {
120
120
  key: 1,
121
121
  class: "title"
122
122
  }, Ie = { class: "clear" }, Ve = { key: 0 }, we = ["onClick"], Be = { class: "item" }, Te = { class: "item-pic" }, Se = { class: "item-info" }, Pe = { class: "item-info-title" }, Ae = { class: "item-info-subtitle" }, Ue = {
@@ -134,14 +134,14 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
134
134
  setup(e, { emit: s }) {
135
135
  const l = e;
136
136
  Y((t) => ({
137
- e7f8d06a: "url(" + i(U) + ")"
137
+ "607db02c": "url(" + i(U) + ")"
138
138
  }));
139
139
  const a = ie(), r = f(l.player ? l.player.currentTime() : 0), c = () => {
140
140
  r.value = l.player.currentTime();
141
141
  }, p = "page-title-edit", {
142
142
  selectedKeys: m,
143
143
  isEditing: v,
144
- isSelectAll: b,
144
+ isSelectAll: D,
145
145
  hdlSelectAll: P,
146
146
  hdlCancel: E,
147
147
  hdlToggleItem: N,
@@ -181,14 +181,14 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
181
181
  onClick: _[4] || (_[4] = w(() => {
182
182
  }, ["stop"]))
183
183
  }, [
184
- h(De, {
184
+ h(be, {
185
185
  title: "\u786E\u8BA4\u5220\u9664",
186
186
  desc: "\u662F\u5426\u5220\u9664\u5DF2\u9009\u4E2D\u7684\u89C6\u9891",
187
187
  show: C.value,
188
188
  "onUpdate:show": _[0] || (_[0] = (n) => C.value = n),
189
189
  onConfirm: G
190
190
  }, null, 8, ["show"]),
191
- o("div", be, [
191
+ o("div", De, [
192
192
  i(v) ? (u(), d("div", {
193
193
  key: 0,
194
194
  class: "title cancel-edit",
@@ -206,7 +206,7 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
206
206
  key: 1,
207
207
  class: y(`${p}-select`),
208
208
  onClick: _[3] || (_[3] = (...n) => i(P) && i(P)(...n))
209
- }, g(i(b) ? "\u53D6\u6D88\u5168\u9009" : "\u5168\u9009"), 3)) : (u(), d("span", {
209
+ }, g(i(D) ? "\u53D6\u6D88\u5168\u9009" : "\u5168\u9009"), 3)) : (u(), d("span", {
210
210
  key: 0,
211
211
  class: y(`${p}-edit`),
212
212
  onClick: _[2] || (_[2] = (n) => v.value = !0)
@@ -228,7 +228,7 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
228
228
  o("div", Be, [
229
229
  o("div", Te, [
230
230
  h(ae, {
231
- fit: "fill",
231
+ fit: "cover",
232
232
  src: L(n),
233
233
  "no-spinner": ""
234
234
  }, {
@@ -276,7 +276,7 @@ const De = /* @__PURE__ */ D(xe, [["__scopeId", "data-v-136158d9"]]), M = (e) =>
276
276
  };
277
277
  }
278
278
  });
279
- const Me = /* @__PURE__ */ D(He, [["__scopeId", "data-v-4e728578"]]), Le = /* @__PURE__ */ x({
279
+ const Me = /* @__PURE__ */ b(He, [["__scopeId", "data-v-1124b5a5"]]), Le = /* @__PURE__ */ x({
280
280
  __name: "list",
281
281
  props: {
282
282
  player: null