xyvcard-live 0.0.30 → 0.0.32

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 (28) hide show
  1. package/dist/{add-C0s1_CWG.mjs → add-Cvk6f0fi.mjs} +212 -194
  2. package/dist/{index-nZ6j4lKV.mjs → index-BOT8c_O3.mjs} +1 -1
  3. package/dist/{index-B2Ij3TPb.mjs → index-C1P6qMB-.mjs} +480 -498
  4. package/dist/{index-CJQ1nVj2-BDYpyQNX.mjs → index-CJQ1nVj2-I1BkEjzF.mjs} +1 -1
  5. package/dist/{index-D3KgvSyG.mjs → index-CanR_A5L.mjs} +1 -1
  6. package/dist/{index-3i2y3Khg.mjs → index-D-W3jRJj.mjs} +3 -3
  7. package/dist/{index-DtouxyMl.mjs → index-DPWBp-QM.mjs} +1 -1
  8. package/dist/{index-B9-DRJhP.mjs → index-DR_KLGcK.mjs} +355 -351
  9. package/dist/{index-KYUNCx_x.mjs → index-DXtoxvpk.mjs} +2 -2
  10. package/dist/{index-XxgT4vin.mjs → index-HaQWuNXR.mjs} +2 -2
  11. package/dist/{index-KMVMe9ZJ-CQUOHKlp.mjs → index-KMVMe9ZJ-Bqxbrxjm.mjs} +1 -1
  12. package/dist/{index-BnI97NC2.mjs → index-MnFwnWby.mjs} +1 -1
  13. package/dist/{index-DAMZ9yv4.mjs → index-aSFigz8T.mjs} +1 -1
  14. package/dist/index.mjs +1 -1
  15. package/dist/{index.vue_vue_type_script_setup_true_lang-CcNDUvmU.mjs → index.vue_vue_type_script_setup_true_lang-BNxGG8wQ.mjs} +2 -2
  16. package/dist/{info-ByXTOGCn-enaHO0ZO.mjs → info-ByXTOGCn-CjCH5sYZ.mjs} +2 -2
  17. package/dist/{info-C_OAyZk9-C0Hni8R5.mjs → info-C_OAyZk9-CR1ZDRnw.mjs} +2 -2
  18. package/dist/{info-CGwpwGPz.mjs → info-Cywnamb8.mjs} +5 -5
  19. package/dist/{info-ZydxPcdx-DLHJ7yla.mjs → info-ZydxPcdx-BBBVBV0i.mjs} +2 -2
  20. package/dist/{lives-fpmiP4Xh.mjs → lives-GYvhUUnF.mjs} +1 -1
  21. package/dist/{statistics-CMgNNlYI.mjs → statistics-BaDFsRh5.mjs} +1 -1
  22. package/dist/style.css +1 -1
  23. package/dist/{transcoding-C3WYIv4e.mjs → transcoding-BDgAwPDK.mjs} +1 -1
  24. package/dts/src/api/live/zb-live-video/types.d.ts +2 -0
  25. package/dts/src/components/liveList/index.vue.d.ts +2 -0
  26. package/dts/src/constant.d.ts +2 -0
  27. package/dts/src/lang/live/zh-cn.d.ts +2 -0
  28. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
- import { defineComponent as ye, ref as Y, reactive as x, watch as Z, computed as Te, onMounted as fe, nextTick as R, resolveComponent as E, createElementBlock as _, openBlock as n, createElementVNode as P, createBlock as c, createCommentVNode as T, createVNode as s, unref as t, withCtx as u, Fragment as H, renderList as F, createTextVNode as U, toDisplayString as D } from "vue";
2
- import { ElMessage as h } from "element-plus";
1
+ import { defineComponent as ye, ref as Y, reactive as x, watch as Z, computed as Te, onMounted as fe, nextTick as R, resolveComponent as E, createElementBlock as _, openBlock as u, createElementVNode as P, createBlock as c, createCommentVNode as y, createVNode as s, unref as t, withCtx as n, Fragment as H, renderList as F, createTextVNode as U, toDisplayString as D } from "vue";
2
+ import { ElMessage as w } 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 A, p as J, _ as _e } from "./index-B9-DRJhP.mjs";
5
+ import { D as V, C as r, l as O, p as A, _ as _e } from "./index-DR_KLGcK.mjs";
6
6
  import { useI18n as ge } from "vue-i18n";
7
- import be from "./lives-fpmiP4Xh.mjs";
8
- import { V as he } from "./index-XxgT4vin.mjs";
9
- import { s as O, a as k, t as le } from "./timeConvert-DSKES6ZM.mjs";
7
+ import be from "./lives-GYvhUUnF.mjs";
8
+ import { V as he } from "./index-HaQWuNXR.mjs";
9
+ import { s as J, a as k, t as le } from "./timeConvert-DSKES6ZM.mjs";
10
10
  const we = { class: "app-container" }, Pe = { class: "search-container" }, Se = {
11
11
  key: 0,
12
12
  class: "live-tip-text"
@@ -22,9 +22,9 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
22
22
  }, Ye = {
23
23
  key: 1,
24
24
  class: "setting-status"
25
- }, Ue = ["src"], De = ["src"], Le = { class: "files-list" }, $e = { class: "files-list" }, Ne = { class: "files-list" }, qe = { class: "button-container" }, Re = /* @__PURE__ */ ye({
25
+ }, Ue = ["src"], De = ["src"], Le = { class: "files-list" }, $e = { class: "files-list" }, Ne = { class: "files-list" }, Ce = { class: "button-container" }, Re = /* @__PURE__ */ ye({
26
26
  __name: "add",
27
- setup(Ce) {
27
+ setup(qe) {
28
28
  V.liveTypeEnum.useEnumValues(), V.showModeEnum.useEnumValues(), V.replayModeEnum.useEnumValues();
29
29
  const { t: f } = ge(), z = Ve(), L = Ee(), $ = Y();
30
30
  let e = x({
@@ -36,23 +36,25 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
36
36
  endTime: void 0,
37
37
  totalSeconds: 0,
38
38
  streamerName: "",
39
- showMode: "",
39
+ showMode: r.SHOW_MODE.horizontal,
40
40
  preStreamPic: "",
41
41
  liveStreamPic: "",
42
42
  bgPic: "",
43
- replayMode: "",
43
+ replayMode: r.REPLAY_MODE.none,
44
44
  replayEndTime: void 0,
45
45
  liveDescprition: "",
46
46
  playUrl: "",
47
47
  liveId: void 0,
48
48
  replayStartTime: void 0,
49
49
  virtualNum: 0,
50
- streamType: d.PUSH_TYPE_RTMP,
51
- completeSeconds: 0
50
+ streamType: r.PUSH_TYPE_RTMP,
51
+ completeSeconds: 0,
52
+ transCode: r.GQZB26,
53
+ showJoin: !1
52
54
  });
53
55
  const ae = (a) => {
54
- let l = "liveName,liveType,startTime,showMode,preStreamPic,liveStreamPic,bgPic,streamerName,liveDescprition,replayMode,playUrl,totalSeconds,virtualNum,roomPwd,showJoin,fileId,completeSeconds";
55
- return a === d.REPLAY_MODE.end && (l += ",replayEndTime"), e.liveType !== d.LIVE_TYPE.live && (l += ",endTime"), e.liveType === d.LIVE_TYPE.live && (l += ",streamType"), l;
56
+ let l = "liveName,liveType,startTime,showMode,preStreamPic,liveStreamPic,bgPic,streamerName,liveDescprition,replayMode,playUrl,totalSeconds,virtualNum,roomPwd,showJoin,fileId,completeSeconds,transCode";
57
+ return a === r.REPLAY_MODE.end && (l += ",replayEndTime"), e.liveType !== r.LIVE_TYPE.live && (l += ",endTime"), e.liveType === r.LIVE_TYPE.live && (l += ",streamType"), l;
56
58
  };
57
59
  e.updateMask = "", Z(
58
60
  () => [e.replayMode, e.liveType],
@@ -69,23 +71,23 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
69
71
  const a = L.query.liveId;
70
72
  if (a)
71
73
  try {
72
- const l = await A.findById({ liveId: a });
74
+ const l = await O.findById({ liveId: a });
73
75
  if (!l.data) {
74
- h.warning("未获取到直播数据");
76
+ w.warning("未获取到直播数据");
75
77
  return;
76
78
  }
77
- l.data.liveType === d.LIVE_TYPE.fake_live ? p.value = {
78
- playUrl: J(l.data.playUrl),
79
+ l.data.liveType === r.LIVE_TYPE.fake_live ? p.value = {
80
+ playUrl: A(l.data.playUrl),
79
81
  totalSeconds: l.data.totalSeconds || 0
80
- } : l.data.liveType === d.LIVE_TYPE.vod && (g.value = {
81
- playUrl: J(l.data.playUrl)
82
- }), e.liveType = l.data.liveType || "", e.liveName = l.data.liveName || "", e.streamerName = l.data.streamerName || "", 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.fileId = l.data.fileId, e.replayStartTime = O(l.data.replayStartTime), e.startTime = O(l.data.startTime), e.endTime = O(l.data.endTime), e.replayEndTime = O(l.data.replayEndTime);
83
- const r = l.data.totalSeconds || 0;
84
- e.totalSeconds = r, I.value = k(r);
85
- const m = l.data.completeSeconds || r;
86
- M.value = k(m), W.value ? (delete e.liveId, e.liveName = `${e.liveName}`, h.info("已加载原直播数据,当前为复制模式")) : e.liveId = l.data.liveId, e.liveType === d.LIVE_TYPE.fake_live && p.value && N();
82
+ } : l.data.liveType === r.LIVE_TYPE.vod && (g.value = {
83
+ playUrl: A(l.data.playUrl)
84
+ }), e.liveType = l.data.liveType || "", e.liveName = l.data.liveName || "", e.streamerName = l.data.streamerName || "", 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.replayStartTime = J(l.data.replayStartTime), e.startTime = J(l.data.startTime), e.endTime = J(l.data.endTime), e.replayEndTime = J(l.data.replayEndTime);
85
+ const d = l.data.totalSeconds || 0;
86
+ e.totalSeconds = d, I.value = k(d);
87
+ const m = l.data.completeSeconds || d;
88
+ M.value = k(m), W.value ? (delete e.liveId, e.liveName = `${e.liveName}`, w.info("已加载原直播数据,当前为复制模式")) : e.liveId = l.data.liveId, e.liveType === r.LIVE_TYPE.fake_live && p.value && N();
87
89
  } catch (l) {
88
- console.error("获取直播详情失败:", l), h.error("获取直播详情失败");
90
+ console.error("获取直播详情失败:", l), w.error("获取直播详情失败");
89
91
  }
90
92
  }, oe = x({
91
93
  liveType: [
@@ -129,8 +131,8 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
129
131
  message: f("liveVideo.pushTypeRequired"),
130
132
  trigger: "change",
131
133
  // 自定义验证器,只在 liveType 为直播类型时验证
132
- validator: (a, l, r) => {
133
- e.liveType === d.LIVE_TYPE.live && !l ? r(new Error(f("liveVideo.pushTypeRequired"))) : r();
134
+ validator: (a, l, d) => {
135
+ e.liveType === r.LIVE_TYPE.live && !l ? d(new Error(f("liveVideo.pushTypeRequired"))) : d();
134
136
  }
135
137
  }
136
138
  ],
@@ -141,20 +143,20 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
141
143
  trigger: "change"
142
144
  },
143
145
  {
144
- validator: (a, l, r) => {
145
- if (e.liveType === d.LIVE_TYPE.vod && e.startTime && l) {
146
+ validator: (a, l, d) => {
147
+ if (e.liveType === r.LIVE_TYPE.vod && e.startTime && l) {
146
148
  const m = new Date(e.startTime).getTime();
147
- new Date(l).getTime() <= m ? r(new Error("结束时间必须大于开始时间")) : r();
149
+ new Date(l).getTime() <= m ? d(new Error("结束时间必须大于开始时间")) : d();
148
150
  } else
149
- r();
151
+ d();
150
152
  },
151
153
  trigger: "change"
152
154
  }
153
155
  ],
154
156
  replayEndTime: [
155
157
  {
156
- validator: (a, l, r) => {
157
- e.replayMode === d.REPLAY_MODE.end && !l ? r(new Error(f("liveVideo.replayEndTimeRequired"))) : r();
158
+ validator: (a, l, d) => {
159
+ e.replayMode === r.REPLAY_MODE.end && !l ? d(new Error(f("liveVideo.replayEndTimeRequired"))) : d();
158
160
  },
159
161
  trigger: "change"
160
162
  }
@@ -172,68 +174,68 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
172
174
  function se(a) {
173
175
  e.bgPic = a;
174
176
  }
175
- const C = Y({ visible: !1 }), j = Y(!1);
177
+ const q = Y({ visible: !1 }), j = Y(!1);
176
178
  function G() {
177
- C.value.visible = !0;
179
+ q.value.visible = !0;
178
180
  }
179
- const K = () => {
181
+ const Q = () => {
180
182
  j.value = !0;
181
- }, ue = (a) => {
182
- var y, w;
183
- const l = (y = a == null ? void 0 : a.video) == null ? void 0 : y.url, r = a == null ? void 0 : a.fileId, m = ((w = a == null ? void 0 : a.video) == null ? void 0 : w.duration) || 0;
184
- if (!l || !r) {
185
- h.error("视频上传成功,但未获取到有效播放地址/文件ID!");
183
+ }, ne = (a) => {
184
+ var T, b;
185
+ const l = (T = a == null ? void 0 : a.video) == null ? void 0 : T.url, d = a == null ? void 0 : a.fileId, m = ((b = a == null ? void 0 : a.video) == null ? void 0 : b.duration) || 0;
186
+ if (!l || !d) {
187
+ w.error("视频上传成功,但未获取到有效播放地址/文件ID!");
186
188
  return;
187
189
  }
188
190
  let i = "";
189
191
  try {
190
- i = J(l), i || (i = l);
191
- } catch (b) {
192
- i = l, console.warn("播放地址处理失败,使用原始地址:", b);
192
+ i = A(l), i || (i = l);
193
+ } catch (h) {
194
+ i = l, console.warn("播放地址处理失败,使用原始地址:", h);
193
195
  }
194
196
  const v = {
195
197
  playUrl: i,
196
198
  totalSeconds: m,
197
- fileId: r
199
+ fileId: d
198
200
  };
199
- e.liveType === d.LIVE_TYPE.fake_live ? p.value = v : e.liveType === d.LIVE_TYPE.vod && (g.value = v), e.playUrl = i, e.totalSeconds = m, e.fileId = r, I.value = k(m), M.value = k(m), e.liveType === d.LIVE_TYPE.fake_live && R(() => {
201
+ e.liveType === r.LIVE_TYPE.fake_live ? p.value = v : e.liveType === r.LIVE_TYPE.vod && (g.value = v), e.playUrl = i, e.totalSeconds = m, e.fileId = d, I.value = k(m), M.value = k(m), e.liveType === r.LIVE_TYPE.fake_live && R(() => {
200
202
  N();
201
203
  }), R(() => {
202
- h.success("本地视频上传成功!");
204
+ w.success("本地视频上传成功!");
203
205
  });
204
- }, ne = (a) => {
205
- var v, y, w;
206
+ }, ue = (a) => {
207
+ var v, T, b;
206
208
  console.log(a, "=>data "), p.value = null, g.value = null;
207
209
  const l = (v = a.transcodeData) == null ? void 0 : v.url;
208
210
  if (!l) {
209
- h.warning("选中的转码视频无有效播放地址");
211
+ w.warning("选中的转码视频无有效播放地址");
210
212
  return;
211
213
  }
212
- let r = "";
214
+ let d = "";
213
215
  try {
214
- r = J(l), r || (r = l);
215
- } catch (b) {
216
- r = l, console.warn("播放地址处理失败,使用原始地址:", b);
216
+ d = A(l), d || (d = l);
217
+ } catch (h) {
218
+ d = l, console.warn("播放地址处理失败,使用原始地址:", h);
217
219
  }
218
- const m = a.fileId, i = ((y = a.metaData) == null ? void 0 : y.duration) || 0;
219
- e.liveType === d.LIVE_TYPE.fake_live ? (p.value = {
220
- playUrl: r,
220
+ const m = a.fileId, i = ((T = a.metaData) == null ? void 0 : T.duration) || 0;
221
+ e.liveType === r.LIVE_TYPE.fake_live ? (p.value = {
222
+ playUrl: d,
221
223
  totalSeconds: i,
222
224
  fileId: m,
223
225
  transcodeData: a.transcodeData
224
226
  // 可选:保留转码详细信息
225
- }, e.playUrl = r, e.totalSeconds = i, I.value = k(i), M.value = k(i), R(() => {
227
+ }, e.playUrl = d, e.totalSeconds = i, I.value = k(i), M.value = k(i), R(() => {
226
228
  N();
227
- })) : e.liveType === d.LIVE_TYPE.vod && (g.value = {
228
- playUrl: r,
229
+ })) : e.liveType === r.LIVE_TYPE.vod && (g.value = {
230
+ playUrl: d,
229
231
  fileId: m,
230
- liveName: ((w = a.basicInfo) == null ? void 0 : w.name) || "未命名视频",
232
+ liveName: ((b = a.basicInfo) == null ? void 0 : b.name) || "未命名视频",
231
233
  transcodeData: a.transcodeData
232
234
  // 转码详细信息
233
- }, e.playUrl = r, e.totalSeconds = i, I.value = k(i), M.value = k(i)), R(() => {
234
- var b, q;
235
- (b = $.value) == null || b.validateField(["fakeLiveSetting", "endTime"]), h.success(
236
- `已选中转码视频:${((q = a.basicInfo) == null ? void 0 : q.name) || "未命名视频"} (${a.transcodeData.width}×${a.transcodeData.height})`
235
+ }, e.playUrl = d, e.totalSeconds = i, I.value = k(i), M.value = k(i)), R(() => {
236
+ var h, C;
237
+ (h = $.value) == null || h.validateField(["fakeLiveSetting", "endTime"]), w.success(
238
+ `已选中转码视频:${((C = a.basicInfo) == null ? void 0 : C.name) || "未命名视频"} (${a.transcodeData.width}×${a.transcodeData.height})`
237
239
  );
238
240
  });
239
241
  }, N = () => {
@@ -243,52 +245,52 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
243
245
  console.error("无效的开始时间:", e.startTime);
244
246
  return;
245
247
  }
246
- const l = (p.value.totalSeconds || 0) * 1e3, r = new Date(a.getTime() + l), m = r.getUTCFullYear(), i = String(r.getUTCMonth() + 1).padStart(2, "0"), v = String(r.getUTCDate()).padStart(2, "0"), y = String(r.getUTCHours()).padStart(2, "0"), w = String(r.getUTCMinutes()).padStart(2, "0"), b = String(r.getUTCSeconds()).padStart(2, "0");
247
- e.endTime = `${m}-${i}-${v}T${y}:${w}:${b}Z`, R(() => {
248
+ const l = (p.value.totalSeconds || 0) * 1e3, d = new Date(a.getTime() + l), m = d.getUTCFullYear(), i = String(d.getUTCMonth() + 1).padStart(2, "0"), v = String(d.getUTCDate()).padStart(2, "0"), T = String(d.getUTCHours()).padStart(2, "0"), b = String(d.getUTCMinutes()).padStart(2, "0"), h = String(d.getUTCSeconds()).padStart(2, "0");
249
+ e.endTime = `${m}-${i}-${v}T${T}:${b}:${h}Z`, R(() => {
248
250
  $.value && $.value.validateField("endTime");
249
251
  });
250
252
  }
251
253
  }, me = () => {
252
- e.playUrl = "", e.liveType === d.LIVE_TYPE.fake_live && p.value ? N() : e.endTime = void 0;
254
+ e.playUrl = "", e.liveType === r.LIVE_TYPE.fake_live && p.value ? N() : e.endTime = void 0;
253
255
  };
254
256
  Z(
255
257
  () => e.startTime,
256
258
  (a) => {
257
- e.liveType === d.LIVE_TYPE.fake_live && p.value && a && N();
259
+ e.liveType === r.LIVE_TYPE.fake_live && p.value && a && N();
258
260
  }
259
261
  ), Z(
260
262
  () => e.replayMode,
261
263
  (a) => {
262
- a !== d.REPLAY_MODE.end && (e.replayEndTime = void 0);
264
+ a !== r.REPLAY_MODE.end && (e.replayEndTime = void 0);
263
265
  }
264
266
  );
265
267
  const pe = async () => {
266
- var l, r, m;
267
- if (e.liveType === d.LIVE_TYPE.fake_live && !p.value) {
268
- h.error(f("liveVideo.fakeLiveRequired"));
268
+ var l, d, m;
269
+ if (e.liveType === r.LIVE_TYPE.fake_live && !p.value) {
270
+ w.error(f("liveVideo.fakeLiveRequired"));
269
271
  return;
270
272
  }
271
- if (e.liveType === d.LIVE_TYPE.vod && !g.value) {
272
- h.error(f("liveVideo.vodRequired"));
273
+ if (e.liveType === r.LIVE_TYPE.vod && !g.value) {
274
+ w.error(f("liveVideo.vodRequired"));
273
275
  return;
274
276
  }
275
277
  if (await ((l = $.value) == null ? void 0 : l.validate()))
276
278
  try {
277
279
  let i = { ...e };
278
- e.liveType === d.LIVE_TYPE.fake_live && ((r = p.value) != null && r.fileId) ? i.fileId = p.value.fileId : e.liveType === d.LIVE_TYPE.vod && ((m = g.value) != null && m.fileId) && (i.fileId = g.value.fileId), i.totalSeconds = le(I.value) || 0, i.completeSeconds = le(M.value) || 0, e.liveType !== d.LIVE_TYPE.live && delete i.streamType;
280
+ e.liveType === r.LIVE_TYPE.fake_live && ((d = p.value) != null && d.fileId) ? i.fileId = p.value.fileId : e.liveType === r.LIVE_TYPE.vod && ((m = g.value) != null && m.fileId) && (i.fileId = g.value.fileId), i.totalSeconds = le(I.value) || 0, i.completeSeconds = le(M.value) || 0, e.liveType !== r.LIVE_TYPE.live && delete i.streamType;
279
281
  let v;
280
282
  if (W.value) {
281
- const y = { ...i };
282
- delete y.liveId, v = await A.create(y);
283
- } else L.query.liveId ? v = await A.update(i) : v = await A.create(i);
284
- v.status === 200 && (h.success(f("common.submitSuccess")), ee.closeTagView(L.fullPath, z, !1));
283
+ const T = { ...i };
284
+ delete T.liveId, v = await O.create(T);
285
+ } else L.query.liveId ? v = await O.update(i) : v = await O.create(i);
286
+ v.status === 200 && (w.success(f("common.submitSuccess")), ee.closeTagView(L.fullPath, z, !1));
285
287
  } catch (i) {
286
- h.error(f("common.submitFail") + i.message);
288
+ w.error(f("common.submitFail") + i.message);
287
289
  }
288
290
  };
289
291
  return (a, l) => {
290
- const r = E("el-radio"), m = E("el-radio-group"), i = E("el-form-item"), v = E("el-input"), y = E("el-date-picker"), w = E("el-time-picker"), b = E("el-col"), q = E("jmash-dict-select"), B = E("jmash-single-image-upload"), ve = E("jmash-editor"), ce = E("el-form"), Q = E("el-button");
291
- return n(), _("div", we, [
292
+ const d = E("el-radio"), m = E("el-radio-group"), i = E("el-form-item"), v = E("el-input"), T = E("jmash-dict-select"), b = E("el-date-picker"), h = E("el-time-picker"), C = E("el-col"), B = E("jmash-single-image-upload"), ve = E("jmash-editor"), ce = E("el-form"), K = E("el-button");
293
+ return u(), _("div", we, [
292
294
  P("div", Pe, [
293
295
  s(ce, {
294
296
  ref_key: "liveFormRef",
@@ -298,26 +300,26 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
298
300
  style: { "max-width": "800px" },
299
301
  "label-width": "auto"
300
302
  }, {
301
- default: u(() => {
303
+ default: n(() => {
302
304
  var S, X;
303
305
  return [
304
306
  s(i, {
305
307
  label: a.$t("liveVideo.liveType"),
306
308
  prop: "liveType"
307
309
  }, {
308
- default: u(() => [
310
+ default: n(() => [
309
311
  s(m, {
310
312
  modelValue: t(e).liveType,
311
313
  "onUpdate:modelValue": l[0] || (l[0] = (o) => t(e).liveType = o),
312
314
  onChange: me
313
315
  }, {
314
- default: u(() => [
315
- (n(!0), _(H, null, F(t(V).liveTypeEnum.values, (o) => (n(), c(r, {
316
+ default: n(() => [
317
+ (u(!0), _(H, null, F(t(V).liveTypeEnum.values, (o) => (u(), c(d, {
316
318
  key: o.key,
317
319
  border: !0,
318
320
  value: o.key
319
321
  }, {
320
- default: u(() => [
322
+ default: n(() => [
321
323
  U(D(o.value), 1)
322
324
  ]),
323
325
  _: 2
@@ -328,12 +330,12 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
328
330
  ]),
329
331
  _: 1
330
332
  }, 8, ["label"]),
331
- t(e).liveType === t(d).LIVE_TYPE.live ? (n(), _("div", Se, " 实时直播形式,根据实际画面进行传播,无法快进或回放 ")) : T("", !0),
332
- t(e).liveType === t(d).LIVE_TYPE.fake_live ? (n(), c(i, {
333
+ t(e).liveType === t(r).LIVE_TYPE.live ? (u(), _("div", Se, " 实时直播形式,根据实际画面进行传播,无法快进或回放 ")) : y("", !0),
334
+ t(e).liveType === t(r).LIVE_TYPE.fake_live ? (u(), c(i, {
333
335
  key: 1,
334
336
  label: a.$t("liveVideo.fakeLive")
335
337
  }, {
336
- default: u(() => {
338
+ default: n(() => {
337
339
  var o;
338
340
  return [
339
341
  P("button", {
@@ -344,18 +346,18 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
344
346
  P("button", {
345
347
  type: "button",
346
348
  class: "fakeLive",
347
- onClick: K
349
+ onClick: Q
348
350
  }, " 从本地上传视频 "),
349
- (o = p.value) != null && o.playUrl ? (n(), _("div", Ie, "已设置")) : (n(), _("div", ke, " 未设置 "))
351
+ (o = p.value) != null && o.playUrl ? (u(), _("div", Ie, "已设置")) : (u(), _("div", ke, " 未设置 "))
350
352
  ];
351
353
  }),
352
354
  _: 1
353
- }, 8, ["label"])) : T("", !0),
354
- t(e).liveType === t(d).LIVE_TYPE.vod ? (n(), c(i, {
355
+ }, 8, ["label"])) : y("", !0),
356
+ t(e).liveType === t(r).LIVE_TYPE.vod ? (u(), c(i, {
355
357
  key: 2,
356
358
  label: a.$t("liveVideo.vod")
357
359
  }, {
358
- default: u(() => {
360
+ default: n(() => {
359
361
  var o;
360
362
  return [
361
363
  P("button", {
@@ -366,21 +368,21 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
366
368
  P("button", {
367
369
  type: "button",
368
370
  class: "fakeLive",
369
- onClick: K
371
+ onClick: Q
370
372
  }, " 从本地上传视频 "),
371
- (o = g.value) != null && o.playUrl ? (n(), _("div", Ye, "已设置")) : (n(), _("div", Me, "未设置"))
373
+ (o = g.value) != null && o.playUrl ? (u(), _("div", Ye, "已设置")) : (u(), _("div", Me, "未设置"))
372
374
  ];
373
375
  }),
374
376
  _: 1
375
- }, 8, ["label"])) : T("", !0),
376
- (S = p.value) != null && S.playUrl && t(e).liveType === t(d).LIVE_TYPE.fake_live ? (n(), c(i, {
377
+ }, 8, ["label"])) : y("", !0),
378
+ (S = p.value) != null && S.playUrl && t(e).liveType === t(r).LIVE_TYPE.fake_live ? (u(), c(i, {
377
379
  key: 3,
378
380
  label: "视频预览"
379
381
  }, {
380
- default: u(() => {
382
+ default: n(() => {
381
383
  var o;
382
384
  return [
383
- (o = p.value) != null && o.playUrl ? (n(), _("video", {
385
+ (o = p.value) != null && o.playUrl ? (u(), _("video", {
384
386
  key: 0,
385
387
  src: p.value.playUrl,
386
388
  controls: "",
@@ -388,19 +390,19 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
388
390
  height: "250",
389
391
  muted: "",
390
392
  playsinline: ""
391
- }, " 您的浏览器不支持视频播放 ", 8, Ue)) : T("", !0)
393
+ }, " 您的浏览器不支持视频播放 ", 8, Ue)) : y("", !0)
392
394
  ];
393
395
  }),
394
396
  _: 1
395
- })) : T("", !0),
396
- (X = g.value) != null && X.playUrl && t(e).liveType === t(d).LIVE_TYPE.vod ? (n(), c(i, {
397
+ })) : y("", !0),
398
+ (X = g.value) != null && X.playUrl && t(e).liveType === t(r).LIVE_TYPE.vod ? (u(), c(i, {
397
399
  key: 4,
398
400
  label: "视频预览"
399
401
  }, {
400
- default: u(() => {
402
+ default: n(() => {
401
403
  var o;
402
404
  return [
403
- (o = g.value) != null && o.playUrl ? (n(), _("video", {
405
+ (o = g.value) != null && o.playUrl ? (u(), _("video", {
404
406
  key: 0,
405
407
  src: g.value.playUrl,
406
408
  controls: "",
@@ -408,16 +410,16 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
408
410
  height: "250",
409
411
  muted: "",
410
412
  playsinline: ""
411
- }, " 您的浏览器不支持视频播放 ", 8, De)) : T("", !0)
413
+ }, " 您的浏览器不支持视频播放 ", 8, De)) : y("", !0)
412
414
  ];
413
415
  }),
414
416
  _: 1
415
- })) : T("", !0),
417
+ })) : y("", !0),
416
418
  s(i, {
417
419
  label: a.$t("liveVideo.liveName"),
418
420
  prop: "liveName"
419
421
  }, {
420
- default: u(() => [
422
+ default: n(() => [
421
423
  s(v, {
422
424
  modelValue: t(e).liveName,
423
425
  "onUpdate:modelValue": l[1] || (l[1] = (o) => t(e).liveName = o),
@@ -429,14 +431,31 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
429
431
  ]),
430
432
  _: 1
431
433
  }, 8, ["label"]),
434
+ t(e).liveType === t(r).LIVE_TYPE.live ? (u(), c(i, {
435
+ key: 5,
436
+ label: a.$t("liveVideo.transCode"),
437
+ prop: "transCode"
438
+ }, {
439
+ default: n(() => [
440
+ s(T, {
441
+ modelValue: t(e).transCode,
442
+ "onUpdate:modelValue": l[2] || (l[2] = (o) => t(e).transCode = o),
443
+ placeholder: a.$t("liveVideo.transCodeRequired"),
444
+ "type-code": t(r).TRANSCODE_CODEC,
445
+ clearable: "",
446
+ class: "w-full"
447
+ }, null, 8, ["modelValue", "placeholder", "type-code"])
448
+ ]),
449
+ _: 1
450
+ }, 8, ["label"])) : y("", !0),
432
451
  s(i, {
433
452
  label: a.$t("liveVideo.startTime"),
434
453
  prop: "startTime"
435
454
  }, {
436
- default: u(() => [
437
- s(y, {
455
+ default: n(() => [
456
+ s(b, {
438
457
  modelValue: t(e).startTime,
439
- "onUpdate:modelValue": l[2] || (l[2] = (o) => t(e).startTime = o),
458
+ "onUpdate:modelValue": l[3] || (l[3] = (o) => t(e).startTime = o),
440
459
  type: "datetime",
441
460
  placeholder: a.$t("liveVideo.startTimeRequired"),
442
461
  format: "YYYY-MM-DD HH:mm:ss",
@@ -446,38 +465,38 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
446
465
  ]),
447
466
  _: 1
448
467
  }, 8, ["label"]),
449
- t(e).liveType !== t(d).LIVE_TYPE.live ? (n(), c(i, {
450
- key: 5,
468
+ t(e).liveType !== t(r).LIVE_TYPE.live ? (u(), c(i, {
469
+ key: 6,
451
470
  label: a.$t("liveVideo.endTime"),
452
471
  prop: "endTime"
453
472
  }, {
454
- default: u(() => [
455
- s(y, {
473
+ default: n(() => [
474
+ s(b, {
456
475
  modelValue: t(e).endTime,
457
- "onUpdate:modelValue": l[3] || (l[3] = (o) => t(e).endTime = o),
476
+ "onUpdate:modelValue": l[4] || (l[4] = (o) => t(e).endTime = o),
458
477
  type: "datetime",
459
478
  placeholder: a.$t("liveVideo.endTimeRequired"),
460
479
  format: "YYYY-MM-DD HH:mm:ss",
461
480
  "value-format": "YYYY-MM-DDTHH:mm:ssZ",
462
481
  class: "w-full",
463
- disabled: t(e).liveType === t(d).LIVE_TYPE.fake_live
482
+ disabled: t(e).liveType === t(r).LIVE_TYPE.fake_live
464
483
  }, null, 8, ["modelValue", "placeholder", "disabled"])
465
484
  ]),
466
485
  _: 1
467
- }, 8, ["label"])) : T("", !0),
468
- t(e).liveType === t(d).LIVE_TYPE.live ? (n(), c(b, {
469
- key: 6,
486
+ }, 8, ["label"])) : y("", !0),
487
+ t(e).liveType === t(r).LIVE_TYPE.live ? (u(), c(C, {
488
+ key: 7,
470
489
  span: 24
471
490
  }, {
472
- default: u(() => [
491
+ default: n(() => [
473
492
  s(i, {
474
493
  label: a.$t("liveVideo.totalSeconds"),
475
494
  prop: "totalSeconds"
476
495
  }, {
477
- default: u(() => [
478
- s(w, {
496
+ default: n(() => [
497
+ s(h, {
479
498
  modelValue: I.value,
480
- "onUpdate:modelValue": l[4] || (l[4] = (o) => I.value = o),
499
+ "onUpdate:modelValue": l[5] || (l[5] = (o) => I.value = o),
481
500
  placeholder: a.$t("liveVideo.totalSecondsRequired"),
482
501
  "show-word-limit": "",
483
502
  clearable: "",
@@ -490,17 +509,17 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
490
509
  }, 8, ["label"])
491
510
  ]),
492
511
  _: 1
493
- })) : T("", !0),
494
- s(b, { span: 24 }, {
495
- default: u(() => [
512
+ })) : y("", !0),
513
+ s(C, { span: 24 }, {
514
+ default: n(() => [
496
515
  s(i, {
497
516
  label: a.$t("liveVideo.completeSeconds"),
498
517
  prop: "completeSeconds"
499
518
  }, {
500
- default: u(() => [
501
- s(w, {
519
+ default: n(() => [
520
+ s(h, {
502
521
  modelValue: M.value,
503
- "onUpdate:modelValue": l[5] || (l[5] = (o) => M.value = o),
522
+ "onUpdate:modelValue": l[6] || (l[6] = (o) => M.value = o),
504
523
  placeholder: a.$t("liveVideo.completeSecondsRequired"),
505
524
  "show-word-limit": "",
506
525
  clearable: "",
@@ -518,13 +537,12 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
518
537
  label: a.$t("liveVideo.streamerName"),
519
538
  prop: "streamerName"
520
539
  }, {
521
- default: u(() => [
522
- s(q, {
540
+ default: n(() => [
541
+ s(T, {
523
542
  modelValue: t(e).streamerName,
524
- "onUpdate:modelValue": l[6] || (l[6] = (o) => t(e).streamerName = o),
525
- "type-code": t(d).ANCHOR_NAME,
543
+ "onUpdate:modelValue": l[7] || (l[7] = (o) => t(e).streamerName = o),
544
+ "type-code": t(r).ANCHOR_NAME,
526
545
  placeholder: a.$t("liveVideo.streamerNameRequired"),
527
- "show-word-limit": "",
528
546
  clearable: "",
529
547
  class: "w-full"
530
548
  }, null, 8, ["modelValue", "type-code", "placeholder"])
@@ -535,10 +553,10 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
535
553
  label: a.$t("liveVideo.roomPwd"),
536
554
  prop: "roomPwd"
537
555
  }, {
538
- default: u(() => [
556
+ default: n(() => [
539
557
  s(v, {
540
558
  modelValue: t(e).roomPwd,
541
- "onUpdate:modelValue": l[7] || (l[7] = (o) => t(e).roomPwd = o),
559
+ "onUpdate:modelValue": l[8] || (l[8] = (o) => t(e).roomPwd = o),
542
560
  placeholder: a.$t("liveVideo.roomPwdRequired"),
543
561
  clearable: ""
544
562
  }, null, 8, ["modelValue", "placeholder"])
@@ -549,10 +567,10 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
549
567
  label: a.$t("liveVideo.virtualNum"),
550
568
  prop: "virtualNum"
551
569
  }, {
552
- default: u(() => [
570
+ default: n(() => [
553
571
  s(v, {
554
572
  modelValue: t(e).virtualNum,
555
- "onUpdate:modelValue": l[8] || (l[8] = (o) => t(e).virtualNum = o),
573
+ "onUpdate:modelValue": l[9] || (l[9] = (o) => t(e).virtualNum = o),
556
574
  placeholder: a.$t("liveVideo.virtualNumRequired"),
557
575
  "show-word-limit": "",
558
576
  clearable: "",
@@ -561,37 +579,37 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
561
579
  ]),
562
580
  _: 1
563
581
  }, 8, ["label"]),
564
- t(e).liveType === t(d).LIVE_TYPE.live ? (n(), c(i, {
565
- key: 7,
582
+ t(e).liveType === t(r).LIVE_TYPE.live ? (u(), c(i, {
583
+ key: 8,
566
584
  label: a.$t("liveVideo.pushType"),
567
585
  prop: "streamType"
568
586
  }, {
569
- default: u(() => [
570
- s(q, {
587
+ default: n(() => [
588
+ s(T, {
571
589
  modelValue: t(e).streamType,
572
- "onUpdate:modelValue": l[9] || (l[9] = (o) => t(e).streamType = o),
590
+ "onUpdate:modelValue": l[10] || (l[10] = (o) => t(e).streamType = o),
573
591
  placeholder: a.$t("liveVideo.pushTypeRequired"),
574
- "type-code": t(d).PUSH_TYPE,
592
+ "type-code": t(r).PUSH_TYPE,
575
593
  class: "w-full"
576
594
  }, null, 8, ["modelValue", "placeholder", "type-code"])
577
595
  ]),
578
596
  _: 1
579
- }, 8, ["label"])) : T("", !0),
597
+ }, 8, ["label"])) : y("", !0),
580
598
  s(i, {
581
599
  label: a.$t("liveVideo.showMode"),
582
600
  prop: "showMode"
583
601
  }, {
584
- default: u(() => [
602
+ default: n(() => [
585
603
  s(m, {
586
604
  modelValue: t(e).showMode,
587
- "onUpdate:modelValue": l[10] || (l[10] = (o) => t(e).showMode = o)
605
+ "onUpdate:modelValue": l[11] || (l[11] = (o) => t(e).showMode = o)
588
606
  }, {
589
- default: u(() => [
590
- (n(!0), _(H, null, F(t(V).showModeEnum.values, (o) => (n(), c(r, {
607
+ default: n(() => [
608
+ (u(!0), _(H, null, F(t(V).showModeEnum.values, (o) => (u(), c(d, {
591
609
  key: o.key,
592
610
  value: o.key
593
611
  }, {
594
- default: u(() => [
612
+ default: n(() => [
595
613
  U(D(o.value), 1)
596
614
  ]),
597
615
  _: 2
@@ -606,7 +624,7 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
606
624
  label: a.$t("liveVideo.preStreamPic"),
607
625
  prop: "preStreamPic"
608
626
  }, {
609
- default: u(() => [
627
+ default: n(() => [
610
628
  P("div", Le, [
611
629
  s(B, {
612
630
  "picture-url": t(e).preStreamPic,
@@ -622,7 +640,7 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
622
640
  label: a.$t("liveVideo.liveStreamPic"),
623
641
  prop: "liveStreamPic"
624
642
  }, {
625
- default: u(() => [
643
+ default: n(() => [
626
644
  P("div", $e, [
627
645
  s(B, {
628
646
  "picture-url": t(e).liveStreamPic,
@@ -634,12 +652,12 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
634
652
  ]),
635
653
  _: 1
636
654
  }, 8, ["label"]),
637
- t(e).showMode === t(d).SHOW_MODE.vertical ? (n(), c(i, {
638
- key: 8,
655
+ t(e).showMode === t(r).SHOW_MODE.vertical ? (u(), c(i, {
656
+ key: 9,
639
657
  label: a.$t("liveVideo.bgPic"),
640
658
  prop: "bgPic"
641
659
  }, {
642
- default: u(() => [
660
+ default: n(() => [
643
661
  P("div", Ne, [
644
662
  s(B, {
645
663
  "picture-url": t(e).bgPic,
@@ -650,24 +668,24 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
650
668
  ])
651
669
  ]),
652
670
  _: 1
653
- }, 8, ["label"])) : T("", !0),
654
- t(e).liveType !== t(d).LIVE_TYPE.vod ? (n(), c(i, {
655
- key: 9,
671
+ }, 8, ["label"])) : y("", !0),
672
+ t(e).liveType !== t(r).LIVE_TYPE.vod ? (u(), c(i, {
673
+ key: 10,
656
674
  label: a.$t("liveVideo.replayMode"),
657
675
  prop: "replayMode"
658
676
  }, {
659
- default: u(() => [
677
+ default: n(() => [
660
678
  s(m, {
661
679
  modelValue: t(e).replayMode,
662
- "onUpdate:modelValue": l[11] || (l[11] = (o) => t(e).replayMode = o)
680
+ "onUpdate:modelValue": l[12] || (l[12] = (o) => t(e).replayMode = o)
663
681
  }, {
664
- default: u(() => [
665
- (n(!0), _(H, null, F(t(V).replayModeEnum.values, (o) => (n(), c(r, {
682
+ default: n(() => [
683
+ (u(!0), _(H, null, F(t(V).replayModeEnum.values, (o) => (u(), c(d, {
666
684
  key: o.key,
667
685
  border: !0,
668
686
  value: o.key
669
687
  }, {
670
- default: u(() => [
688
+ default: n(() => [
671
689
  U(D(o.value), 1)
672
690
  ]),
673
691
  _: 2
@@ -677,16 +695,16 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
677
695
  }, 8, ["modelValue"])
678
696
  ]),
679
697
  _: 1
680
- }, 8, ["label"])) : T("", !0),
681
- t(e).replayMode === t(d).REPLAY_MODE.end && t(e).liveType !== t(d).LIVE_TYPE.vod ? (n(), c(i, {
682
- key: 10,
698
+ }, 8, ["label"])) : y("", !0),
699
+ t(e).replayMode === t(r).REPLAY_MODE.end && t(e).liveType !== t(r).LIVE_TYPE.vod ? (u(), c(i, {
700
+ key: 11,
683
701
  label: a.$t("liveVideo.replayEndTime"),
684
702
  prop: "replayEndTime"
685
703
  }, {
686
- default: u(() => [
687
- s(y, {
704
+ default: n(() => [
705
+ s(b, {
688
706
  modelValue: t(e).replayEndTime,
689
- "onUpdate:modelValue": l[12] || (l[12] = (o) => t(e).replayEndTime = o),
707
+ "onUpdate:modelValue": l[13] || (l[13] = (o) => t(e).replayEndTime = o),
690
708
  type: "datetime",
691
709
  placeholder: a.$t("liveVideo.replayEndTimeRequired"),
692
710
  format: "YYYY-MM-DD HH:mm:ss",
@@ -695,22 +713,22 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
695
713
  }, null, 8, ["modelValue", "placeholder"])
696
714
  ]),
697
715
  _: 1
698
- }, 8, ["label"])) : T("", !0),
716
+ }, 8, ["label"])) : y("", !0),
699
717
  s(i, {
700
718
  label: a.$t("liveVideo.showJoin"),
701
719
  prop: "showJoin"
702
720
  }, {
703
- default: u(() => [
721
+ default: n(() => [
704
722
  s(m, {
705
723
  modelValue: t(e).showJoin,
706
- "onUpdate:modelValue": l[13] || (l[13] = (o) => t(e).showJoin = o)
724
+ "onUpdate:modelValue": l[14] || (l[14] = (o) => t(e).showJoin = o)
707
725
  }, {
708
- default: u(() => [
709
- (n(!0), _(H, null, F(t(V).isShowEnterLive.values, (o) => (n(), c(r, {
726
+ default: n(() => [
727
+ (u(!0), _(H, null, F(t(V).isShowEnterLive.values, (o) => (u(), c(d, {
710
728
  key: o.key,
711
729
  value: o.key
712
730
  }, {
713
- default: u(() => [
731
+ default: n(() => [
714
732
  U(D(o.value), 1)
715
733
  ]),
716
734
  _: 2
@@ -725,10 +743,10 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
725
743
  label: a.$t("liveVideo.liveDescprition"),
726
744
  prop: "liveDescprition"
727
745
  }, {
728
- default: u(() => [
746
+ default: n(() => [
729
747
  s(ve, {
730
748
  modelValue: t(e).liveDescprition,
731
- "onUpdate:modelValue": l[14] || (l[14] = (o) => t(e).liveDescprition = o),
749
+ "onUpdate:modelValue": l[15] || (l[15] = (o) => t(e).liveDescprition = o),
732
750
  style: { width: "100%" }
733
751
  }, null, 8, ["modelValue"])
734
752
  ]),
@@ -738,44 +756,44 @@ const we = { class: "app-container" }, Pe = { class: "search-container" }, Se =
738
756
  }),
739
757
  _: 1
740
758
  }, 8, ["model", "rules"]),
741
- P("div", qe, [
742
- s(Q, {
759
+ P("div", Ce, [
760
+ s(K, {
743
761
  type: "primary",
744
762
  onClick: ie
745
763
  }, {
746
- default: u(() => [
764
+ default: n(() => [
747
765
  U(D(a.$t("common.back")), 1)
748
766
  ]),
749
767
  _: 1
750
768
  }),
751
- s(Q, {
769
+ s(K, {
752
770
  type: "primary",
753
771
  onClick: pe
754
772
  }, {
755
- default: u(() => [
773
+ default: n(() => [
756
774
  U(D(a.$t("common.confirm")), 1)
757
775
  ]),
758
776
  _: 1
759
777
  })
760
778
  ])
761
779
  ]),
762
- C.value.visible ? (n(), c(be, {
780
+ q.value.visible ? (u(), c(be, {
763
781
  key: 0,
764
- modelValue: C.value.visible,
765
- "onUpdate:modelValue": l[15] || (l[15] = (S) => C.value.visible = S),
782
+ modelValue: q.value.visible,
783
+ "onUpdate:modelValue": l[16] || (l[16] = (S) => q.value.visible = S),
766
784
  width: "1200px",
767
- onConfirmSelect: l[16] || (l[16] = (S) => ne(S))
768
- }, null, 8, ["modelValue"])) : T("", !0),
785
+ onConfirmSelect: l[17] || (l[17] = (S) => ue(S))
786
+ }, null, 8, ["modelValue"])) : y("", !0),
769
787
  s(he, {
770
788
  modelValue: j.value,
771
- "onUpdate:modelValue": l[17] || (l[17] = (S) => j.value = S),
789
+ "onUpdate:modelValue": l[18] || (l[18] = (S) => j.value = S),
772
790
  "video-max-size": 800,
773
- onUploadSuccess: ue
791
+ onUploadSuccess: ne
774
792
  }, null, 8, ["modelValue"])
775
793
  ]);
776
794
  };
777
795
  }
778
- }), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-2ebfd619"]]);
796
+ }), We = /* @__PURE__ */ _e(Re, [["__scopeId", "data-v-70c28666"]]);
779
797
  export {
780
798
  We as default
781
799
  };