xyvcard-live 0.0.43 → 0.0.45
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/README.md +51 -51
- package/dist/{add-DFGDi0Vg.mjs → add-DD4XAv4d.mjs} +27 -27
- package/dist/assets/ac1ce398bc7731d9.webp +0 -0
- package/dist/{index-1d8eRvsu-CDo45zu5-CsTmnsmt.mjs → index-1d8eRvsu-DbHYko8x-DN7nsdAv.mjs} +1 -1
- package/dist/{index-hvh-AeP1.mjs → index-3tcRtzK3.mjs} +23 -23
- package/dist/{index-C-HV1ZMJ.mjs → index-85MCs4PK.mjs} +47 -47
- package/dist/{index-CES9VMga.mjs → index-BrKRnYQ2.mjs} +55 -55
- package/dist/{index-8KeVC5e8.mjs → index-BrQlFyh1.mjs} +1 -1
- package/dist/{index-CJQ1nVj2-HyCzS3NN.mjs → index-CJQ1nVj2-C46EDZcu.mjs} +1 -1
- package/dist/index-DC5UaXje-BABgUZ7R.mjs +1667 -0
- package/dist/{index-X8C0nzWy.mjs → index-DLadQFcc.mjs} +1 -1
- package/dist/{index-B8HpQzMQ.mjs → index-Df1Wwjih.mjs} +235 -229
- package/dist/index-E_J3jsUZ.mjs +49100 -0
- package/dist/{index-KMVMe9ZJ-r3RYv7wT.mjs → index-KMVMe9ZJ-6kta0HGl.mjs} +1 -1
- package/dist/{index-KMVMe9ZJ-wLdIEZoL-D7myUa9W.mjs → index-KMVMe9ZJ-CbtOZB8h-D48JlHrH.mjs} +22 -22
- package/dist/{index-DKtXNGRy.mjs → index-lvJ9J_61.mjs} +2 -2
- package/dist/{index-BkWF0nmT.mjs → index-zqO46rdL.mjs} +25 -25
- package/dist/index.mjs +7 -7
- package/dist/{index.vue_vue_type_script_setup_true_lang-CTz0JhjX.mjs → index.vue_vue_type_script_setup_true_lang-Y6WSSgr_.mjs} +34 -34
- package/dist/{info-ByXTOGCn-CKowqnwe-auS1BWSi.mjs → info-ByXTOGCn-B0gzq8-u-Cv95JwvL.mjs} +18 -18
- package/dist/{info-ByXTOGCn-M6DeTywG.mjs → info-ByXTOGCn-_V9Dc4OI.mjs} +2 -2
- package/dist/{info-D5NyAWqo.mjs → info-CVZV0iYJ.mjs} +7 -7
- package/dist/{info-C_OAyZk9-ClYndPiK-CmGmN1Qo.mjs → info-C_OAyZk9-BHxczpO0-84GFSB4q.mjs} +5 -5
- package/dist/{info-C_OAyZk9-DQYZgS6H.mjs → info-C_OAyZk9-Dqfc-oOF.mjs} +2 -2
- package/dist/info-DXkBZPqO-DmHEZgeJ.mjs +6813 -0
- package/dist/{info-ZydxPcdx-rJDqppUm-BvezwIgX.mjs → info-ZydxPcdx-Cs2desmS-sKsYwnhp.mjs} +16 -16
- package/dist/{info-ZydxPcdx-CFHEqQW8.mjs → info-ZydxPcdx-cjw8yhpu.mjs} +2 -2
- package/dist/{lives-BFFDkXyQ.mjs → lives-Bp1T_ojt.mjs} +10 -10
- package/dist/{region-B-uS64XY.mjs → region-Dr95UQPS.mjs} +1 -1
- package/dist/{region.vue_vue_type_script_setup_true_lang-2dvrKvEk.mjs → region.vue_vue_type_script_setup_true_lang-nNhCeSt7.mjs} +6 -6
- package/dist/{statistics-CKNzOUxs.mjs → statistics-BUECvYcj.mjs} +6 -6
- package/dist/style.css +1 -1
- package/dist/{transcoding-mFEy10QF.mjs → transcoding-C0XWKV3e.mjs} +15 -15
- package/dts/src/components/VideoUpload/index copy.vue.d.ts +22 -0
- package/dts/src/components/liveList/index.vue.d.ts +2 -2
- package/dts/src/components/videoList/index copy 2.vue.d.ts +6 -0
- package/dts/src/components/videoList/index copy.vue.d.ts +6 -0
- package/dts/src/index.d.ts +1 -2
- package/dts/src/router/index.d.ts +1 -1
- package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +15 -0
- package/dts/src/views/live/zb-live-video/lives.vue.d.ts +4 -4
- package/dts/src/views/live/zb-live-videoList/edit.vue.d.ts +1 -1
- package/dts/src/views/live/zb-live-videoList/transcoding.vue.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assets/2d4bca67ecd7b3db.png +0 -0
- package/dist/index-20SqsuLj-D6rbKOdi.mjs +0 -204
- package/dist/index-U1tRyQaA.mjs +0 -3396
- package/dist/info-DmaEQ7Rn-BazrtUTe.mjs +0 -4946
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
|
+
```
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as _e, ref as Y, reactive as oe, watch as X, computed as Ee, onMounted as ge, nextTick as O, resolveComponent as f, createElementBlock as
|
|
1
|
+
import { defineComponent as _e, ref as Y, reactive as oe, watch as X, computed as Ee, onMounted as ge, nextTick as O, resolveComponent as f, createElementBlock as b, openBlock as u, createElementVNode as E, createBlock as y, createCommentVNode as T, createVNode as i, unref as t, withCtx as r, Fragment as Z, renderList as z, createTextVNode as $, toDisplayString as k } from "vue";
|
|
2
2
|
import { ElMessage as S } from "element-plus";
|
|
3
3
|
import { routerUtil as ie } from "jmash-core";
|
|
4
|
-
import { useRouter as he, useRoute as
|
|
5
|
-
import { a as g, U as
|
|
4
|
+
import { useRouter as he, useRoute as be } from "vue-router";
|
|
5
|
+
import { a as g, U as we, C as s, l as W, p as G, _ as Se } from "./index-Df1Wwjih.mjs";
|
|
6
6
|
import { useI18n as Pe } from "vue-i18n";
|
|
7
|
-
import ke from "./lives-
|
|
8
|
-
import { V as Ie } from "./index-
|
|
7
|
+
import ke from "./lives-Bp1T_ojt.mjs";
|
|
8
|
+
import { V as Ie } from "./index-BrKRnYQ2.mjs";
|
|
9
9
|
import { s as Q, a as I, t as re } from "./timeConvert-DSKES6ZM.mjs";
|
|
10
10
|
const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye = {
|
|
11
11
|
key: 0,
|
|
@@ -26,11 +26,11 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
26
26
|
__name: "add",
|
|
27
27
|
setup(Be) {
|
|
28
28
|
g.liveTypeEnum.useEnumValues(), g.showModeEnum.useEnumValues(), g.replayModeEnum.useEnumValues();
|
|
29
|
-
const j = new
|
|
29
|
+
const j = new we({
|
|
30
30
|
roleCode: "streamer"
|
|
31
31
|
});
|
|
32
32
|
j.useValues(), console.log(j.values, "=> userListsDict");
|
|
33
|
-
const { t: V } = Pe(), x = he(), C =
|
|
33
|
+
const { t: V } = Pe(), x = he(), C = be(), q = Y();
|
|
34
34
|
let e = oe({
|
|
35
35
|
requestId: Math.random() * 10 + "",
|
|
36
36
|
updateMask: "",
|
|
@@ -69,7 +69,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
69
69
|
},
|
|
70
70
|
{ immediate: !0 }
|
|
71
71
|
);
|
|
72
|
-
const c = Y(null),
|
|
72
|
+
const c = Y(null), w = Y(null), ee = Ee(() => C.query.copy === "true");
|
|
73
73
|
ge(async () => {
|
|
74
74
|
await ne(), !e.liveType && g.liveTypeEnum.values.length && (e.liveType = g.liveTypeEnum.values[0].key), !e.replayMode && g.replayModeEnum.values.length && (e.replayMode = g.replayModeEnum.values[1].key), !e.showMode && g.showModeEnum.values.length && (e.showMode = g.showModeEnum.values[0].key);
|
|
75
75
|
});
|
|
@@ -92,7 +92,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
92
92
|
l.data.liveType === s.LIVE_TYPE.fake_live ? c.value = {
|
|
93
93
|
playUrl: G(l.data.playUrl),
|
|
94
94
|
totalSeconds: l.data.totalSeconds || 0
|
|
95
|
-
} : l.data.liveType === s.LIVE_TYPE.vod && (
|
|
95
|
+
} : l.data.liveType === s.LIVE_TYPE.vod && (w.value = {
|
|
96
96
|
playUrl: G(l.data.playUrl)
|
|
97
97
|
}), e.liveType = l.data.liveType || "", e.liveName = l.data.liveName || "", e.streamerName = l.data.streamerName || "", e.streamerId = l.data.streamerId || "", e.showMode = l.data.showMode || "", e.preStreamPic = l.data.preStreamPic || "", e.liveStreamPic = l.data.liveStreamPic || "", e.bgPic = l.data.bgPic || "", e.replayMode = l.data.replayMode || "", e.liveDescprition = l.data.liveDescprition || "", e.playUrl = l.data.playUrl || "", e.virtualNum = l.data.virtualNum || 0, e.streamType = l.data.streamType, e.showJoin = l.data.showJoin, e.roomPwd = l.data.roomPwd, e.transCode = l.data.transCode, e.fileId = l.data.fileId, e.fileName = l.data.fileName, e.replayStartTime = Q(l.data.replayStartTime), e.startTime = Q(l.data.startTime), e.endTime = Q(l.data.endTime), e.replayEndTime = Q(l.data.replayEndTime);
|
|
98
98
|
const n = l.data.totalSeconds || 0;
|
|
@@ -211,7 +211,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
211
211
|
totalSeconds: v,
|
|
212
212
|
fileId: n
|
|
213
213
|
};
|
|
214
|
-
e.liveType === s.LIVE_TYPE.fake_live ? c.value = p : e.liveType === s.LIVE_TYPE.vod && (
|
|
214
|
+
e.liveType === s.LIVE_TYPE.fake_live ? c.value = p : e.liveType === s.LIVE_TYPE.vod && (w.value = p), e.playUrl = d, e.totalSeconds = v, e.fileId = n, M.value = I(v), U.value = I(v), e.liveType === s.LIVE_TYPE.fake_live && O(() => {
|
|
215
215
|
R();
|
|
216
216
|
}), O(() => {
|
|
217
217
|
S.success("本地视频上传成功!");
|
|
@@ -220,7 +220,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
220
220
|
var h, D, H, A, L, B;
|
|
221
221
|
console.log(a, "=>data ");
|
|
222
222
|
const l = ((h = a.basicInfo) == null ? void 0 : h.name) || "未命名视频", n = ((D = a.transcodeData) == null ? void 0 : D.width) || 0, v = ((H = a.transcodeData) == null ? void 0 : H.height) || 0;
|
|
223
|
-
e.fileName = `${l} (${n}×${v})`, c.value = null,
|
|
223
|
+
e.fileName = `${l} (${n}×${v})`, c.value = null, w.value = null;
|
|
224
224
|
const d = (A = a.transcodeData) == null ? void 0 : A.url;
|
|
225
225
|
if (!d) {
|
|
226
226
|
S.warning("选中的转码视频无有效播放地址");
|
|
@@ -241,7 +241,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
241
241
|
// 可选:保留转码详细信息
|
|
242
242
|
}, e.playUrl = p, e.totalSeconds = m, M.value = I(m), U.value = I(m), O(() => {
|
|
243
243
|
R();
|
|
244
|
-
})) : e.liveType === s.LIVE_TYPE.vod && (
|
|
244
|
+
})) : e.liveType === s.LIVE_TYPE.vod && (w.value = {
|
|
245
245
|
playUrl: p,
|
|
246
246
|
fileId: _,
|
|
247
247
|
liveName: ((B = a.basicInfo) == null ? void 0 : B.name) || "未命名视频",
|
|
@@ -285,14 +285,14 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
285
285
|
S.error(V("liveVideo.fakeLiveRequired"));
|
|
286
286
|
return;
|
|
287
287
|
}
|
|
288
|
-
if (e.liveType === s.LIVE_TYPE.vod && !
|
|
288
|
+
if (e.liveType === s.LIVE_TYPE.vod && !w.value) {
|
|
289
289
|
S.error(V("liveVideo.vodRequired"));
|
|
290
290
|
return;
|
|
291
291
|
}
|
|
292
292
|
if (await ((l = q.value) == null ? void 0 : l.validate()))
|
|
293
293
|
try {
|
|
294
294
|
let d = { ...e };
|
|
295
|
-
e.liveType === s.LIVE_TYPE.fake_live && ((n = c.value) != null && n.fileId) ? d.fileId = c.value.fileId : e.liveType === s.LIVE_TYPE.vod && ((v =
|
|
295
|
+
e.liveType === s.LIVE_TYPE.fake_live && ((n = c.value) != null && n.fileId) ? d.fileId = c.value.fileId : e.liveType === s.LIVE_TYPE.vod && ((v = w.value) != null && v.fileId) && (d.fileId = w.value.fileId), d.totalSeconds = re(M.value) || 0, d.completeSeconds = re(U.value) || 0, e.liveType !== s.LIVE_TYPE.live && delete d.streamType;
|
|
296
296
|
let p;
|
|
297
297
|
if (ee.value) {
|
|
298
298
|
const _ = { ...d };
|
|
@@ -305,7 +305,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
305
305
|
};
|
|
306
306
|
return (a, l) => {
|
|
307
307
|
const n = f("el-radio"), v = f("el-radio-group"), d = f("el-form-item"), p = f("el-input"), _ = f("jmash-dict-select"), m = f("el-col"), h = f("el-row"), D = f("el-date-picker"), H = f("el-time-picker"), A = f("jmash-select"), L = f("jmash-single-image-upload"), B = f("jmash-editor"), N = f("el-form"), F = f("el-button");
|
|
308
|
-
return u(),
|
|
308
|
+
return u(), b("div", Me, [
|
|
309
309
|
E("div", Ue, [
|
|
310
310
|
i(N, {
|
|
311
311
|
ref_key: "liveFormRef",
|
|
@@ -329,7 +329,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
329
329
|
onChange: Te
|
|
330
330
|
}, {
|
|
331
331
|
default: r(() => [
|
|
332
|
-
(u(!0),
|
|
332
|
+
(u(!0), b(Z, null, z(t(g).liveTypeEnum.values, (o) => (u(), y(n, {
|
|
333
333
|
key: o.key,
|
|
334
334
|
border: !0,
|
|
335
335
|
value: o.key
|
|
@@ -345,7 +345,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
345
345
|
]),
|
|
346
346
|
_: 1
|
|
347
347
|
}, 8, ["label"]),
|
|
348
|
-
t(e).liveType === t(s).LIVE_TYPE.live ? (u(),
|
|
348
|
+
t(e).liveType === t(s).LIVE_TYPE.live ? (u(), b("div", Ye, " 实时直播形式,根据实际画面进行传播,无法快进或回放 ")) : T("", !0),
|
|
349
349
|
t(e).liveType === t(s).LIVE_TYPE.fake_live ? (u(), y(d, {
|
|
350
350
|
key: 1,
|
|
351
351
|
label: a.$t("liveVideo.fakeLive")
|
|
@@ -363,7 +363,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
363
363
|
class: "fakeLive",
|
|
364
364
|
onClick: ae
|
|
365
365
|
}, " 从本地上传视频 "),
|
|
366
|
-
(o = c.value) != null && o.playUrl ? (u(),
|
|
366
|
+
(o = c.value) != null && o.playUrl ? (u(), b("div", Le, "已设置")) : (u(), b("div", De, " 未设置 "))
|
|
367
367
|
];
|
|
368
368
|
}),
|
|
369
369
|
_: 1
|
|
@@ -385,7 +385,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
385
385
|
class: "fakeLive",
|
|
386
386
|
onClick: ae
|
|
387
387
|
}, " 从本地上传视频 "),
|
|
388
|
-
(o =
|
|
388
|
+
(o = w.value) != null && o.playUrl ? (u(), b("div", $e, "已设置")) : (u(), b("div", Ne, "未设置"))
|
|
389
389
|
];
|
|
390
390
|
}),
|
|
391
391
|
_: 1
|
|
@@ -398,7 +398,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
398
398
|
var o;
|
|
399
399
|
return [
|
|
400
400
|
E("div", Ce, [
|
|
401
|
-
(o = c.value) != null && o.playUrl ? (u(),
|
|
401
|
+
(o = c.value) != null && o.playUrl ? (u(), b("video", {
|
|
402
402
|
key: 0,
|
|
403
403
|
src: c.value.playUrl,
|
|
404
404
|
controls: "",
|
|
@@ -413,7 +413,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
413
413
|
}),
|
|
414
414
|
_: 1
|
|
415
415
|
})) : T("", !0),
|
|
416
|
-
(te =
|
|
416
|
+
(te = w.value) != null && te.playUrl && t(e).liveType === t(s).LIVE_TYPE.vod ? (u(), y(d, {
|
|
417
417
|
key: 4,
|
|
418
418
|
label: "视频预览"
|
|
419
419
|
}, {
|
|
@@ -421,9 +421,9 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
421
421
|
var o;
|
|
422
422
|
return [
|
|
423
423
|
E("div", Re, [
|
|
424
|
-
(o =
|
|
424
|
+
(o = w.value) != null && o.playUrl ? (u(), b("video", {
|
|
425
425
|
key: 0,
|
|
426
|
-
src:
|
|
426
|
+
src: w.value.playUrl,
|
|
427
427
|
controls: "",
|
|
428
428
|
width: "400",
|
|
429
429
|
height: "250",
|
|
@@ -679,7 +679,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
679
679
|
"onUpdate:modelValue": l[11] || (l[11] = (o) => t(e).showMode = o)
|
|
680
680
|
}, {
|
|
681
681
|
default: r(() => [
|
|
682
|
-
(u(!0),
|
|
682
|
+
(u(!0), b(Z, null, z(t(g).showModeEnum.values, (o) => (u(), y(n, {
|
|
683
683
|
key: o.key,
|
|
684
684
|
value: o.key
|
|
685
685
|
}, {
|
|
@@ -778,7 +778,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
778
778
|
"onUpdate:modelValue": l[12] || (l[12] = (o) => t(e).replayMode = o)
|
|
779
779
|
}, {
|
|
780
780
|
default: r(() => [
|
|
781
|
-
(u(!0),
|
|
781
|
+
(u(!0), b(Z, null, z(t(g).replayModeEnum.values, (o) => (u(), y(n, {
|
|
782
782
|
key: o.key,
|
|
783
783
|
border: !0,
|
|
784
784
|
value: o.key
|
|
@@ -822,7 +822,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
822
822
|
"onUpdate:modelValue": l[14] || (l[14] = (o) => t(e).showJoin = o)
|
|
823
823
|
}, {
|
|
824
824
|
default: r(() => [
|
|
825
|
-
(u(!0),
|
|
825
|
+
(u(!0), b(Z, null, z(t(g).isShowEnterLive.values, (o) => (u(), y(n, {
|
|
826
826
|
key: o.key,
|
|
827
827
|
value: o.key
|
|
828
828
|
}, {
|
|
@@ -891,7 +891,7 @@ const Me = { class: "app-container" }, Ue = { class: "search-container" }, Ye =
|
|
|
891
891
|
]);
|
|
892
892
|
};
|
|
893
893
|
}
|
|
894
|
-
}), ll = /* @__PURE__ */ Se(Ae, [["__scopeId", "data-v-
|
|
894
|
+
}), ll = /* @__PURE__ */ Se(Ae, [["__scopeId", "data-v-8fbe395f"]]);
|
|
895
895
|
export {
|
|
896
896
|
ll as default
|
|
897
897
|
};
|
|
Binary file
|
|
@@ -2,7 +2,7 @@ import { defineComponent as Y, ref as R, reactive as E, resolveComponent as p, r
|
|
|
2
2
|
import { useTableHooks as re, useUserStore as g, request as I, clearEmpty as _ } from "jmash-core";
|
|
3
3
|
import { useI18n as G } from "vue-i18n";
|
|
4
4
|
import { ElMessage as X } from "element-plus";
|
|
5
|
-
import { i as H, t as ue } from "./index-KMVMe9ZJ-
|
|
5
|
+
import { i as H, t as ue } from "./index-KMVMe9ZJ-CbtOZB8h-D48JlHrH.mjs";
|
|
6
6
|
import { useRoute as se } from "vue-router";
|
|
7
7
|
class pe {
|
|
8
8
|
getKey(e) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { defineComponent as ce, getCurrentInstance as pe, ref as U, resolveComponent as d, resolveDirective as ve, createElementBlock as c, openBlock as u, Fragment as
|
|
1
|
+
import { defineComponent as ce, getCurrentInstance as pe, ref as U, resolveComponent as d, resolveDirective as ve, createElementBlock as c, openBlock as u, Fragment as N, createElementVNode as w, createVNode as r, withCtx as n, unref as a, renderList as R, createBlock as V, createTextVNode as f, toDisplayString as m, withDirectives as D, createCommentVNode as E, isRef as A } from "vue";
|
|
2
2
|
import { useUserStore as b, clearEmpty as k, request as y, useTableHooks as fe } from "jmash-core";
|
|
3
3
|
import { useI18n as he } from "vue-i18n";
|
|
4
|
-
import { q as ge, a as _, g as H, U as Y, c as be, _ as ke } from "./index-
|
|
4
|
+
import { q as ge, a as _, g as H, U as Y, c as be, _ as ke } from "./index-Df1Wwjih.mjs";
|
|
5
5
|
import { useRoute as ye } from "vue-router";
|
|
6
6
|
import { b as q } from "./timeConvert-DSKES6ZM.mjs";
|
|
7
|
-
import {
|
|
7
|
+
import { N as we } from "./index-DC5UaXje-BABgUZ7R.mjs";
|
|
8
8
|
class _e {
|
|
9
9
|
getKey(t) {
|
|
10
10
|
return {
|
|
@@ -75,7 +75,7 @@ class _e {
|
|
|
75
75
|
});
|
|
76
76
|
}
|
|
77
77
|
}
|
|
78
|
-
const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve = { key: 1 }, Ie = { key: 0 },
|
|
78
|
+
const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve = { key: 1 }, Ie = { key: 0 }, Ne = { key: 1 }, $e = { class: "flex items-center" }, Te = { class: "ml-2" }, Se = ["onClick"], Le = ["onClick"], Re = ["onClick"], De = /* @__PURE__ */ ce({
|
|
79
79
|
__name: "index",
|
|
80
80
|
setup(O) {
|
|
81
81
|
const { t } = he(), p = ye(), { proxy: g } = pe(), M = U([]);
|
|
@@ -109,10 +109,10 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
109
109
|
liveId: p.query.liveId
|
|
110
110
|
}), {
|
|
111
111
|
tableHooks: i,
|
|
112
|
-
multipleTableRef:
|
|
113
|
-
queryFormRef:
|
|
114
|
-
listLoading:
|
|
115
|
-
tableData:
|
|
112
|
+
multipleTableRef: K,
|
|
113
|
+
queryFormRef: W,
|
|
114
|
+
listLoading: G,
|
|
115
|
+
tableData: J,
|
|
116
116
|
total: I
|
|
117
117
|
} = fe(t, x, s);
|
|
118
118
|
let C = U([
|
|
@@ -276,12 +276,12 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
276
276
|
typeof s.value.likeRegionCode == "string" && i.handleQuery();
|
|
277
277
|
}
|
|
278
278
|
return (o, l) => {
|
|
279
|
-
const v = d("el-option"),
|
|
280
|
-
return u(), c(
|
|
279
|
+
const v = d("el-option"), $ = d("el-select"), h = d("el-form-item"), T = d("jmash-select"), S = d("el-button"), ae = d("el-form"), ne = d("jmash-column-select"), re = d("el-col"), se = d("el-row"), ie = d("el-image"), ue = d("jmash-table"), de = d("jmash-pagination"), me = d("el-card"), L = ve("hasPerm");
|
|
280
|
+
return u(), c(N, null, [
|
|
281
281
|
w("div", null, [
|
|
282
282
|
r(ae, {
|
|
283
283
|
ref_key: "queryFormRef",
|
|
284
|
-
ref:
|
|
284
|
+
ref: W,
|
|
285
285
|
model: s.value,
|
|
286
286
|
inline: "",
|
|
287
287
|
class: "flex-search-form"
|
|
@@ -293,7 +293,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
293
293
|
class: "search-form-item"
|
|
294
294
|
}, {
|
|
295
295
|
default: n(() => [
|
|
296
|
-
r(
|
|
296
|
+
r($, {
|
|
297
297
|
modelValue: s.value.storeId,
|
|
298
298
|
"onUpdate:modelValue": l[0] || (l[0] = (e) => s.value.storeId = e),
|
|
299
299
|
placeholder: o.$t("liveVideo.storeNameRequired"),
|
|
@@ -304,7 +304,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
304
304
|
onChange: l[1] || (l[1] = (e) => a(i).handleQuery())
|
|
305
305
|
}, {
|
|
306
306
|
default: n(() => [
|
|
307
|
-
(u(!0), c(
|
|
307
|
+
(u(!0), c(N, null, R(j.value, (e) => (u(), V(v, {
|
|
308
308
|
key: e.key,
|
|
309
309
|
label: e.value,
|
|
310
310
|
value: e.key
|
|
@@ -320,7 +320,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
320
320
|
class: "search-form-item"
|
|
321
321
|
}, {
|
|
322
322
|
default: n(() => [
|
|
323
|
-
r(
|
|
323
|
+
r($, {
|
|
324
324
|
modelValue: s.value.referrerId,
|
|
325
325
|
"onUpdate:modelValue": l[2] || (l[2] = (e) => s.value.referrerId = e),
|
|
326
326
|
placeholder: o.$t("liveUser.referrerNameRequired"),
|
|
@@ -331,7 +331,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
331
331
|
onChange: l[3] || (l[3] = (e) => a(i).handleQuery())
|
|
332
332
|
}, {
|
|
333
333
|
default: n(() => [
|
|
334
|
-
(u(!0), c(
|
|
334
|
+
(u(!0), c(N, null, R(M.value, (e) => (u(), V(v, {
|
|
335
335
|
key: e.key,
|
|
336
336
|
label: `${e.value} ${e.mobilePhone}`,
|
|
337
337
|
value: e.key
|
|
@@ -347,7 +347,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
347
347
|
class: "search-form-item"
|
|
348
348
|
}, {
|
|
349
349
|
default: n(() => [
|
|
350
|
-
r(
|
|
350
|
+
r($, {
|
|
351
351
|
modelValue: s.value.userId,
|
|
352
352
|
"onUpdate:modelValue": l[4] || (l[4] = (e) => s.value.userId = e),
|
|
353
353
|
placeholder: o.$t("liveUser.likeNickNameRequired"),
|
|
@@ -358,7 +358,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
358
358
|
class: "search-select"
|
|
359
359
|
}, {
|
|
360
360
|
default: n(() => [
|
|
361
|
-
(u(!0), c(
|
|
361
|
+
(u(!0), c(N, null, R(P.value, (e) => (u(), V(v, {
|
|
362
362
|
key: e.key,
|
|
363
363
|
label: `${e.value} ${e.mobilePhone}`,
|
|
364
364
|
value: e.key
|
|
@@ -515,10 +515,10 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
515
515
|
default: n(() => [
|
|
516
516
|
r(ue, {
|
|
517
517
|
ref_key: "multipleTableRef",
|
|
518
|
-
ref:
|
|
518
|
+
ref: K,
|
|
519
519
|
"row-key": "listenId",
|
|
520
|
-
"list-loading": a(
|
|
521
|
-
data: a(
|
|
520
|
+
"list-loading": a(G),
|
|
521
|
+
data: a(J),
|
|
522
522
|
"table-label": a(C),
|
|
523
523
|
onSelectionChange: X,
|
|
524
524
|
onSortChange: Z
|
|
@@ -536,7 +536,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
536
536
|
e.data.row.liveSeconds === 0 ? (u(), c("span", Ue, "00:00:00")) : (u(), c("span", Ve, m(a(q)(e.data.row.liveSeconds)), 1))
|
|
537
537
|
]),
|
|
538
538
|
replaySeconds: n((e) => [
|
|
539
|
-
e.data.row.replaySeconds === 0 ? (u(), c("span", Ie, "00:00:00")) : (u(), c("span",
|
|
539
|
+
e.data.row.replaySeconds === 0 ? (u(), c("span", Ie, "00:00:00")) : (u(), c("span", Ne, m(a(q)(e.data.row.replaySeconds)), 1))
|
|
540
540
|
]),
|
|
541
541
|
createTime: n((e) => [
|
|
542
542
|
w("span", null, m(a(g).$moment.formatDate(
|
|
@@ -545,7 +545,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
545
545
|
)), 1)
|
|
546
546
|
]),
|
|
547
547
|
nickName: n((e) => [
|
|
548
|
-
w("div",
|
|
548
|
+
w("div", $e, [
|
|
549
549
|
e.data.row.headImage ? (u(), V(ie, {
|
|
550
550
|
key: 0,
|
|
551
551
|
src: a(H)(e.data.row.headImage, 80, 80),
|
|
@@ -591,7 +591,7 @@ const x = new _e(), Ce = { class: "search-flex-container" }, Ue = { key: 0 }, Ve
|
|
|
591
591
|
], 64);
|
|
592
592
|
};
|
|
593
593
|
}
|
|
594
|
-
}), Fe = /* @__PURE__ */ ke(De, [["__scopeId", "data-v-
|
|
594
|
+
}), Fe = /* @__PURE__ */ ke(De, [["__scopeId", "data-v-cd9270d5"]]);
|
|
595
595
|
export {
|
|
596
596
|
Fe as default
|
|
597
597
|
};
|