xyvcard-live 0.0.28 → 0.0.29

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.
Files changed (29) hide show
  1. package/README.md +51 -51
  2. package/dist/{add-Cb0ml419.mjs → add-W2GK4AFt.mjs} +4 -4
  3. package/dist/{index-DdPSYvTw.mjs → index-ACNeG3vN.mjs} +25 -25
  4. package/dist/{index-C1P6qMB-.mjs → index-B2Ij3TPb.mjs} +498 -480
  5. package/dist/{index-BWz55C5-.mjs → index-Bb5vgL1a.mjs} +2 -2
  6. package/dist/{index-KVb4k3WI.mjs → index-BquFhBAk.mjs} +4 -4
  7. package/dist/{index-NOgGtDU4.mjs → index-C3zeNDwT.mjs} +7 -7
  8. package/dist/{index-CJQ1nVj2-CyqH84vS.mjs → index-CJQ1nVj2-CeABbCTr.mjs} +1 -1
  9. package/dist/{index-7aCxhNPo.mjs → index-Cn8UDPmW.mjs} +1 -1
  10. package/dist/{index-CFyGvFv-.mjs → index-DPsepUqx.mjs} +47 -47
  11. package/dist/{index-4NFKOnB9.mjs → index-DYCldZhq.mjs} +6 -6
  12. package/dist/{index-KMVMe9ZJ-CN4lclzk.mjs → index-KMVMe9ZJ-Bi-Egta2.mjs} +1 -1
  13. package/dist/{index-Y0Ztim1v.mjs → index-SYN4LRUq.mjs} +1 -1
  14. package/dist/{index-Bly58k56.mjs → index-ZfxEc127.mjs} +50 -50
  15. package/dist/index.mjs +1 -1
  16. package/dist/{index.vue_vue_type_script_setup_true_lang-B8xeqZ2F.mjs → index.vue_vue_type_script_setup_true_lang-BQmqw4LY.mjs} +2 -2
  17. package/dist/{info-ByXTOGCn-Je2IYkqj.mjs → info-ByXTOGCn-Cozbgavy.mjs} +2 -2
  18. package/dist/{info-C_OAyZk9-nht5SUxx.mjs → info-C_OAyZk9-DdKVtHww.mjs} +2 -2
  19. package/dist/{info-CYmV8Qgm.mjs → info-Cufdspkc.mjs} +156 -137
  20. package/dist/{info-ZydxPcdx-CLIYlz2x.mjs → info-ZydxPcdx-lFJ_eo1v.mjs} +2 -2
  21. package/dist/{lives-D527mXk1.mjs → lives-DEBgksRm.mjs} +2 -2
  22. package/dist/{statistics-DjuutoNw.mjs → statistics-DnThoKIl.mjs} +6 -6
  23. package/dist/style.css +1 -1
  24. package/dts/src/components/VideoUpload/index copy.vue.d.ts +41 -0
  25. package/dts/src/components/videoList/index copy 2.vue.d.ts +6 -0
  26. package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +15 -0
  27. package/dts/src/views/live/zb-live-video/lives.vue.d.ts +2 -2
  28. package/dts/src/views/live/zb-live-videoList/edit.vue.d.ts +1 -1
  29. package/package.json +13 -13
package/README.md CHANGED
@@ -1,51 +1,51 @@
1
- # pnpm publish --no-git-checks
2
- npm config set registry https://registry.npmjs.org/
3
-
4
- # pnpm install
5
- npm config set registry https://registry.npmmirror.com/
6
-
7
-
8
- This template should help get you started developing with Vue 3 in Vite.
9
-
10
- ## Recommended IDE Setup
11
-
12
- [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
13
-
14
- ## Type Support for `.vue` Imports in TS
15
-
16
- TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
17
-
18
- If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
19
-
20
- 1. Disable the built-in TypeScript Extension
21
- 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
22
- 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
23
- 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
24
-
25
- ## Customize configuration
26
-
27
- See [Vite Configuration Reference](https://vitejs.dev/config/).
28
-
29
- ## Project Setup
30
-
31
- ```sh
32
- pnpm install
33
- ```
34
-
35
- ### Compile and Hot-Reload for Development
36
-
37
- ```sh
38
- pnpm dev
39
- ```
40
-
41
- ### Type-Check, Compile and Minify for Production
42
-
43
- ```sh
44
- pnpm build
45
- ```
46
-
47
- ### Lint with [ESLint](https://eslint.org/)
48
-
49
- ```sh
50
- pnpm lint
51
- ```
1
+ # pnpm publish --no-git-checks
2
+ npm config set registry https://registry.npmjs.org/
3
+
4
+ # pnpm install
5
+ npm config set registry https://registry.npmmirror.com/
6
+
7
+
8
+ This template should help get you started developing with Vue 3 in Vite.
9
+
10
+ ## Recommended IDE Setup
11
+
12
+ [VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin).
13
+
14
+ ## Type Support for `.vue` Imports in TS
15
+
16
+ TypeScript cannot handle type information for `.vue` imports by default, so we replace the `tsc` CLI with `vue-tsc` for type checking. In editors, we need [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin) to make the TypeScript language service aware of `.vue` types.
17
+
18
+ If the standalone TypeScript plugin doesn't feel fast enough to you, Volar has also implemented a [Take Over Mode](https://github.com/johnsoncodehk/volar/discussions/471#discussioncomment-1361669) that is more performant. You can enable it by the following steps:
19
+
20
+ 1. Disable the built-in TypeScript Extension
21
+ 1) Run `Extensions: Show Built-in Extensions` from VSCode's command palette
22
+ 2) Find `TypeScript and JavaScript Language Features`, right click and select `Disable (Workspace)`
23
+ 2. Reload the VSCode window by running `Developer: Reload Window` from the command palette.
24
+
25
+ ## Customize configuration
26
+
27
+ See [Vite Configuration Reference](https://vitejs.dev/config/).
28
+
29
+ ## Project Setup
30
+
31
+ ```sh
32
+ pnpm install
33
+ ```
34
+
35
+ ### Compile and Hot-Reload for Development
36
+
37
+ ```sh
38
+ pnpm dev
39
+ ```
40
+
41
+ ### Type-Check, Compile and Minify for Production
42
+
43
+ ```sh
44
+ pnpm build
45
+ ```
46
+
47
+ ### Lint with [ESLint](https://eslint.org/)
48
+
49
+ ```sh
50
+ pnpm lint
51
+ ```
@@ -2,10 +2,10 @@ import { defineComponent as ye, ref as U, reactive as x, watch as B, computed as
2
2
  import { ElMessage as h } from "element-plus";
3
3
  import { routerUtil as ee } from "jmash-core";
4
4
  import { useRouter as Ve, useRoute as Ee } from "vue-router";
5
- import { D as V, C as d, l as F, p as A, _ as _e } from "./index-NOgGtDU4.mjs";
5
+ import { D as V, C as d, l as F, p as A, _ as _e } from "./index-C3zeNDwT.mjs";
6
6
  import { useI18n as ge } from "vue-i18n";
7
- import be from "./lives-D527mXk1.mjs";
8
- import { V as he } from "./index-BWz55C5-.mjs";
7
+ import be from "./lives-DEBgksRm.mjs";
8
+ import { V as he } from "./index-Bb5vgL1a.mjs";
9
9
  import { s as J, a as k, t as le } from "./timeConvert-DSKES6ZM.mjs";
10
10
  const Pe = { class: "app-container" }, Se = { class: "search-container" }, we = {
11
11
  key: 0,
@@ -769,7 +769,7 @@ const Pe = { class: "app-container" }, Se = { class: "search-container" }, we =
769
769
  ]);
770
770
  };
771
771
  }
772
- }), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-8736d6c9"]]);
772
+ }), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-570d68db"]]);
773
773
  export {
774
774
  We as default
775
775
  };
@@ -1,10 +1,10 @@
1
- import { defineComponent as he, getCurrentInstance as ge, ref as d, resolveComponent as n, resolveDirective as ke, createElementBlock as $, openBlock as b, createElementVNode as i, createVNode as l, createBlock as T, createCommentVNode as z, withCtx as a, createTextVNode as m, toDisplayString as c, withDirectives as Ve, withModifiers as I, unref as k, nextTick as Ce } from "vue";
2
- import { g as G, E as $e, C as J, l as F, _ as Ie } from "./index-NOgGtDU4.mjs";
1
+ import { defineComponent as he, getCurrentInstance as ge, ref as d, resolveComponent as n, resolveDirective as ke, createElementBlock as $, openBlock as y, createElementVNode as i, createVNode as l, createBlock as T, createCommentVNode as z, withCtx as a, createTextVNode as m, toDisplayString as c, withDirectives as Ve, withModifiers as I, unref as k, nextTick as Ce } from "vue";
2
+ import { g as G, E as $e, C as J, l as F, _ as Ie } from "./index-C3zeNDwT.mjs";
3
3
  import { ElDialog as Ue, ElMessage as p, ElMessageBox as De } from "element-plus";
4
4
  import { useI18n as Te } from "vue-i18n";
5
5
  import "jmash-core";
6
6
  import { p as Fe, e as Re } from "./index-D8SgFAny.mjs";
7
- import { V as xe } from "./index-BWz55C5-.mjs";
7
+ import { V as xe } from "./index-Bb5vgL1a.mjs";
8
8
  import { useRoute as Me } from "vue-router";
9
9
  const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee = { class: "transcode-info-container" }, Pe = ["onClick"], Ye = ["onClick"], qe = {
10
10
  key: 0,
@@ -164,8 +164,8 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
164
164
  }
165
165
  }
166
166
  return (e, o) => {
167
- const s = n("el-input"), r = n("el-form-item"), h = n("el-col"), ue = n("el-date-picker"), Y = n("el-button"), j = n("el-row"), me = n("el-form"), _ = n("el-table-column"), H = n("el-table"), pe = n("el-image"), O = n("el-icon"), q = n("el-dropdown-item"), ve = n("el-dropdown-menu"), fe = n("el-dropdown"), _e = n("jmash-pagination"), we = n("el-card"), be = ke("loading");
168
- return b(), $("div", Ne, [
167
+ const s = n("el-input"), r = n("el-form-item"), h = n("el-col"), ue = n("el-date-picker"), Y = n("el-button"), j = n("el-row"), me = n("el-form"), _ = n("el-table-column"), H = n("el-table"), pe = n("el-image"), O = n("el-icon"), q = n("el-dropdown-item"), ve = n("el-dropdown-menu"), fe = n("el-dropdown"), _e = n("jmash-pagination"), we = n("el-card"), ye = ke("loading");
168
+ return y(), $("div", Ne, [
169
169
  i("div", Se, [
170
170
  l(me, {
171
171
  ref_key: "queryFormRef",
@@ -276,7 +276,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
276
276
  })
277
277
  ]),
278
278
  footer: a(() => [
279
- V.value > 0 ? (b(), T(_e, {
279
+ V.value > 0 ? (y(), T(_e, {
280
280
  key: 0,
281
281
  total: V.value,
282
282
  "onUpdate:total": o[4] || (o[4] = (t) => V.value = t),
@@ -288,7 +288,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
288
288
  }, null, 8, ["total", "current-page", "page-size"])) : z("", !0)
289
289
  ]),
290
290
  default: a(() => [
291
- Ve((b(), T(H, {
291
+ Ve((y(), T(H, {
292
292
  ref_key: "multipleTableRef",
293
293
  ref: C,
294
294
  data: N.value,
@@ -304,11 +304,11 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
304
304
  width: "50"
305
305
  }, {
306
306
  default: a((t) => {
307
- var y, Q;
307
+ var b, Q;
308
308
  return [
309
309
  i("div", Ee, [
310
310
  l(H, {
311
- data: ((y = t.row.transcodeInfo) == null ? void 0 : y.transcodeSet) || [],
311
+ data: ((b = t.row.transcodeInfo) == null ? void 0 : b.transcodeSet) || [],
312
312
  border: "",
313
313
  size: "small",
314
314
  style: { width: "100%" }
@@ -339,11 +339,11 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
339
339
  default: a((w) => [
340
340
  i("span", {
341
341
  class: "el-button-color",
342
- onClick: I((ye) => A(w.row.url), ["prevent"])
342
+ onClick: I((be) => A(w.row.url), ["prevent"])
343
343
  }, " 预览 ", 8, Pe),
344
344
  i("span", {
345
345
  class: "el-button-color",
346
- onClick: I((ye) => K(w.row.url), ["prevent"])
346
+ onClick: I((be) => K(w.row.url), ["prevent"])
347
347
  }, " 下载 ", 8, Ye)
348
348
  ]),
349
349
  _: 1
@@ -351,7 +351,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
351
351
  ]),
352
352
  _: 1
353
353
  }, 8, ["data"]),
354
- !((Q = t.row.transcodeInfo) != null && Q.transcodeSet) || t.row.transcodeInfo.transcodeSet.length === 0 ? (b(), $("div", qe, " 暂无转码信息 ")) : z("", !0)
354
+ !((Q = t.row.transcodeInfo) != null && Q.transcodeSet) || t.row.transcodeInfo.transcodeSet.length === 0 ? (y(), $("div", qe, " 暂无转码信息 ")) : z("", !0)
355
355
  ])
356
356
  ];
357
357
  }),
@@ -365,7 +365,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
365
365
  default: a((t) => [
366
366
  i("div", ze, [
367
367
  i("div", Be, [
368
- t.row.basicInfo.coverUrl ? (b(), T(pe, {
368
+ t.row.basicInfo.coverUrl ? (y(), T(pe, {
369
369
  key: 0,
370
370
  src: k(G)(t.row.basicInfo.coverUrl, 80, 80),
371
371
  "preview-src-list": [
@@ -375,7 +375,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
375
375
  "hide-on-click-modal": "",
376
376
  fit: "cover",
377
377
  class: "cover-img"
378
- }, null, 8, ["src", "preview-src-list"])) : (b(), $("div", Ae, [
378
+ }, null, 8, ["src", "preview-src-list"])) : (y(), $("div", Ae, [
379
379
  l(O, { class: "placeholder-icon" }, {
380
380
  default: a(() => [
381
381
  l(k(Fe))
@@ -416,17 +416,17 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
416
416
  i("span", {
417
417
  type: "primary",
418
418
  class: "el-button-color",
419
- onClick: I((y) => A(t.row.basicInfo.mediaUrl), ["prevent"])
419
+ onClick: I((b) => A(t.row.basicInfo.mediaUrl), ["prevent"])
420
420
  }, " 预览 ", 8, je),
421
421
  i("span", {
422
422
  type: "primary",
423
423
  class: "el-button-color",
424
- onClick: I((y) => K(t.row.basicInfo.mediaUrl), ["prevent"])
424
+ onClick: I((b) => K(t.row.basicInfo.mediaUrl), ["prevent"])
425
425
  }, " 下载 ", 8, He),
426
426
  i("span", {
427
427
  type: "primary",
428
428
  class: "el-button-color",
429
- onClick: I((y) => ce(t.row), ["prevent"])
429
+ onClick: I((b) => ce(t.row), ["prevent"])
430
430
  }, " 删除 ", 8, Oe),
431
431
  l(fe, { class: "dropdown-left" }, {
432
432
  dropdown: a(() => [
@@ -436,7 +436,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
436
436
  l(q, {
437
437
  type: "primary",
438
438
  class: "el-button-color edit-link",
439
- onClick: (y) => le(t.row)
439
+ onClick: (b) => le(t.row)
440
440
  }, {
441
441
  default: a(() => [
442
442
  m(c(e.$t("common.edit")), 1)
@@ -448,7 +448,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
448
448
  l(q, {
449
449
  type: "primary",
450
450
  class: "el-button-color edit-link",
451
- onClick: (y) => se(t.row)
451
+ onClick: (b) => se(t.row)
452
452
  }, {
453
453
  default: a(() => [
454
454
  m(c(e.$t("liveVideo.unban")), 1)
@@ -460,7 +460,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
460
460
  l(q, {
461
461
  type: "primary",
462
462
  class: "el-button-color edit-link",
463
- onClick: (y) => de(t.row)
463
+ onClick: (b) => de(t.row)
464
464
  }, {
465
465
  default: a(() => [
466
466
  m(c(e.$t("liveVideo.banned")), 1)
@@ -491,12 +491,12 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
491
491
  ]),
492
492
  _: 1
493
493
  }, 8, ["data", "expand-row-keys"])), [
494
- [be, S.value]
494
+ [ye, S.value]
495
495
  ])
496
496
  ]),
497
497
  _: 1
498
498
  }),
499
- g.value.visible ? (b(), T($e, {
499
+ g.value.visible ? (y(), T($e, {
500
500
  key: 0,
501
501
  modelValue: g.value.visible,
502
502
  "onUpdate:modelValue": o[7] || (o[7] = (t) => g.value.visible = t),
@@ -515,7 +515,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
515
515
  }, {
516
516
  default: a(() => [
517
517
  i("div", Ge, [
518
- v.value.videoUrl ? (b(), $("video", {
518
+ v.value.videoUrl ? (y(), $("video", {
519
519
  key: 0,
520
520
  src: v.value.videoUrl,
521
521
  controls: "",
@@ -525,7 +525,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
525
525
  preload: "auto",
526
526
  poster: v.value.coverUrl,
527
527
  class: "preview-video"
528
- }, " 您的浏览器不支持视频播放,请升级浏览器后重试 ", 8, Je)) : (b(), $("div", Le, "暂无有效视频地址"))
528
+ }, " 您的浏览器不支持视频播放,请升级浏览器后重试 ", 8, Je)) : (y(), $("div", Le, "暂无有效视频地址"))
529
529
  ])
530
530
  ]),
531
531
  _: 1
@@ -539,7 +539,7 @@ const Ne = { class: "app-container" }, Se = { class: "search-container" }, Ee =
539
539
  ]);
540
540
  };
541
541
  }
542
- }), so = /* @__PURE__ */ Ie(We, [["__scopeId", "data-v-a978bd78"]]);
542
+ }), so = /* @__PURE__ */ Ie(We, [["__scopeId", "data-v-a39202d2"]]);
543
543
  export {
544
544
  so as default
545
545
  };