xyvcard-live 0.0.1

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 (42) hide show
  1. package/README.md +51 -0
  2. package/dist/add-CZ-qxdyj.mjs +784 -0
  3. package/dist/index-BEKuxMN9.mjs +4223 -0
  4. package/dist/index-BnJNPqw0.mjs +3249 -0
  5. package/dist/index-DLHRpKZf.mjs +4 -0
  6. package/dist/index-Jusy_c5g.mjs +1438 -0
  7. package/dist/index-fkh3q-6C.mjs +4 -0
  8. package/dist/index.mjs +6 -0
  9. package/dist/index.vue_vue_type_script_setup_true_lang-B2Da7LnF.mjs +494 -0
  10. package/dist/index.vue_vue_type_script_setup_true_lang-BM5U87cI.mjs +456 -0
  11. package/dist/info-DhG0Tqwk.mjs +404 -0
  12. package/dist/lives copy-Di8sUdq4.mjs +286 -0
  13. package/dist/lives-ftiJP8LL.mjs +70 -0
  14. package/dist/style.css +1 -0
  15. package/dts/src/App.vue.d.ts +2 -0
  16. package/dts/src/api/live/index.d.ts +12 -0
  17. package/dts/src/api/live/zb-live-comment/index.d.ts +22 -0
  18. package/dts/src/api/live/zb-live-comment/types.d.ts +82 -0
  19. package/dts/src/api/live/zb-live-user/index.d.ts +22 -0
  20. package/dts/src/api/live/zb-live-user/types.d.ts +108 -0
  21. package/dts/src/api/live/zb-live-video/index.d.ts +14 -0
  22. package/dts/src/api/live/zb-live-video/types.d.ts +124 -0
  23. package/dts/src/components/VideoUpload/index.vue.d.ts +41 -0
  24. package/dts/src/components/liveList/index.vue.d.ts +73 -0
  25. package/dts/src/constant.d.ts +53 -0
  26. package/dts/src/index.d.ts +7 -0
  27. package/dts/src/lang/index.d.ts +1 -0
  28. package/dts/src/lang/live/en.d.ts +59 -0
  29. package/dts/src/lang/live/zh-cn.d.ts +97 -0
  30. package/dts/src/main.d.ts +5 -0
  31. package/dts/src/permission.d.ts +1 -0
  32. package/dts/src/router/index.d.ts +10 -0
  33. package/dts/src/utils/copy.d.ts +1 -0
  34. package/dts/src/utils/timePlugin.d.ts +5 -0
  35. package/dts/src/views/live/zb-live-comment/index.vue.d.ts +2 -0
  36. package/dts/src/views/live/zb-live-user/index.vue.d.ts +2 -0
  37. package/dts/src/views/live/zb-live-video/add.vue.d.ts +2 -0
  38. package/dts/src/views/live/zb-live-video/index.vue.d.ts +2 -0
  39. package/dts/src/views/live/zb-live-video/info.vue.d.ts +2 -0
  40. package/dts/src/views/live/zb-live-video/lives copy.vue.d.ts +15 -0
  41. package/dts/src/views/live/zb-live-video/lives.vue.d.ts +16 -0
  42. package/package.json +58 -0
@@ -0,0 +1,404 @@
1
+ import { defineComponent as A, getCurrentInstance as L, ref as U, computed as E, resolveComponent as m, createElementBlock as u, openBlock as n, createVNode as a, withCtx as t, createElementVNode as e, createCommentVNode as v, createBlock as T, toDisplayString as i, unref as r, createTextVNode as h } from "vue";
2
+ import { fileApi as _, routerUtil as R } from "jmash-core";
3
+ import { useRoute as Z, useRouter as q } from "vue-router";
4
+ import { l as z, D as $, C as K, _ as j } from "./index-BnJNPqw0.mjs";
5
+ import { ElMessage as g } from "element-plus";
6
+ import { _ as F } from "./index.vue_vue_type_script_setup_true_lang-BM5U87cI.mjs";
7
+ import { _ as G } from "./index.vue_vue_type_script_setup_true_lang-B2Da7LnF.mjs";
8
+ function J(x) {
9
+ if (navigator.clipboard && window.isSecureContext)
10
+ navigator.clipboard.writeText(x), g({
11
+ message: "复制成功",
12
+ type: "success"
13
+ });
14
+ else {
15
+ let c = document.createElement("input");
16
+ c.style.position = "fixed", c.style.top = "-10000px", c.style.zIndex = "-999", document.body.appendChild(c), c.value = x, c.focus(), c.select();
17
+ try {
18
+ let p = document.execCommand("copy");
19
+ document.body.removeChild(c), p ? g({
20
+ message: "复制成功",
21
+ type: "success"
22
+ }) : g({
23
+ message: "复制失败",
24
+ type: "error"
25
+ });
26
+ } catch {
27
+ document.body.removeChild(c), g({
28
+ message: "当前浏览器不支持复制功能,请检查更新或更换其他浏览器操作",
29
+ type: "error"
30
+ });
31
+ }
32
+ }
33
+ }
34
+ const Q = { class: "app-container" }, W = { class: "info-card" }, X = { class: "label-text" }, ee = { class: "value-text" }, te = { class: "label-text" }, le = { class: "value-text" }, se = { class: "label-text" }, ae = {
35
+ key: 0,
36
+ class: "value-text"
37
+ }, ie = {
38
+ key: 1,
39
+ class: "empty-text"
40
+ }, oe = { class: "label-text" }, ne = {
41
+ key: 0,
42
+ class: "value-text"
43
+ }, ce = {
44
+ key: 1,
45
+ class: "empty-text"
46
+ }, re = { class: "label-text" }, de = { class: "value-text" }, ue = { class: "label-text" }, me = { class: "label-text" }, ve = { class: "value-text" }, _e = { class: "label-text" }, pe = {
47
+ key: 0,
48
+ class: "value-text"
49
+ }, fe = {
50
+ key: 1,
51
+ class: "empty-text"
52
+ }, be = { class: "live-info-wrapper" }, ye = { class: "value-text mono-text" }, he = { class: "value-text mono-text" }, ge = { class: "label-text" }, xe = { class: "value-text mono-text" }, ke = { class: "label-text" }, Ve = ["innerHTML"], Te = {
53
+ key: 0,
54
+ class: "media-card mb-20"
55
+ }, $e = { class: "image-grid" }, Ce = {
56
+ key: 0,
57
+ class: "image-card"
58
+ }, Se = { class: "image-card__label" }, we = { class: "image-card__content" }, De = {
59
+ key: 1,
60
+ class: "image-card"
61
+ }, Pe = { class: "image-card__label" }, Ue = { class: "image-card__content" }, Ee = {
62
+ key: 2,
63
+ class: "image-card"
64
+ }, Me = { class: "image-card__label" }, Ye = { class: "image-card__content" }, Ie = {
65
+ key: 1,
66
+ class: "media-card"
67
+ }, Ne = { class: "video-container" }, He = ["src"], Be = /* @__PURE__ */ A({
68
+ __name: "info",
69
+ setup(x) {
70
+ const { proxy: c } = L(), p = Z(), M = q(), C = U("first"), Y = (s, o) => {
71
+ console.log(s, o);
72
+ }, l = U({});
73
+ z.findById({ liveId: p.query.liveId }).then((s) => {
74
+ l.value = s.data;
75
+ });
76
+ const f = E(() => {
77
+ if (!l.value.streamUrl) return "";
78
+ const s = l.value.streamUrl, o = s.lastIndexOf("/");
79
+ return o === -1 ? s : s.substring(0, o + 1);
80
+ }), b = E(() => {
81
+ if (!l.value.streamUrl) return "";
82
+ const s = l.value.streamUrl, o = s.lastIndexOf("/");
83
+ return o === -1 ? "" : s.substring(o + 1);
84
+ });
85
+ function S(s) {
86
+ J(s);
87
+ }
88
+ function I() {
89
+ R.closeTagView(p.fullPath, M, !1);
90
+ }
91
+ return (s, o) => {
92
+ const N = m("el-button"), d = m("el-descriptions-item"), w = m("el-descriptions"), D = m("CopyDocument"), P = m("el-icon"), k = m("el-image"), V = m("el-tab-pane"), H = m("el-tabs"), B = m("el-card");
93
+ return n(), u("div", Q, [
94
+ a(B, {
95
+ shadow: "hover",
96
+ class: "main-card"
97
+ }, {
98
+ header: t(() => [
99
+ a(N, {
100
+ type: "primary",
101
+ onClick: I
102
+ }, {
103
+ default: t(() => [
104
+ h(i(s.$t("common.back")), 1)
105
+ ]),
106
+ _: 1
107
+ })
108
+ ]),
109
+ default: t(() => [
110
+ a(H, {
111
+ modelValue: C.value,
112
+ "onUpdate:modelValue": o[2] || (o[2] = (y) => C.value = y),
113
+ class: "live-tabs",
114
+ onTabClick: Y
115
+ }, {
116
+ default: t(() => [
117
+ a(V, {
118
+ label: "基本信息",
119
+ name: "first"
120
+ }, {
121
+ default: t(() => {
122
+ var y;
123
+ return [
124
+ e("div", null, [
125
+ e("div", W, [
126
+ o[3] || (o[3] = e("div", { class: "card-header" }, [
127
+ e("i", { class: "el-icon-info" }),
128
+ e("span", { class: "card-title" }, "直播信息")
129
+ ], -1)),
130
+ a(w, {
131
+ column: 2,
132
+ border: "",
133
+ class: "text-descriptions"
134
+ }, {
135
+ default: t(() => [
136
+ a(d, null, {
137
+ label: t(() => [
138
+ e("div", X, i(s.$t("liveVideo.liveName")), 1)
139
+ ]),
140
+ default: t(() => [
141
+ e("span", ee, i(l.value.liveName), 1)
142
+ ]),
143
+ _: 1
144
+ }),
145
+ a(d, null, {
146
+ label: t(() => [
147
+ e("div", te, i(s.$t("liveVideo.liveType")), 1)
148
+ ]),
149
+ default: t(() => [
150
+ e("span", le, i(r($).liveTypeEnum.getEnumValue(l.value.liveType)), 1)
151
+ ]),
152
+ _: 1
153
+ }),
154
+ a(d, null, {
155
+ label: t(() => [
156
+ e("div", se, i(s.$t("liveVideo.startTime")), 1)
157
+ ]),
158
+ default: t(() => [
159
+ l.value.startTime !== "1970-01-01T00:00:00Z" ? (n(), u("span", ae, i(r(c).$moment.formatDate(
160
+ l.value.startTime,
161
+ "YYYY-MM-DD HH:mm"
162
+ )), 1)) : (n(), u("span", ie, "-"))
163
+ ]),
164
+ _: 1
165
+ }),
166
+ a(d, null, {
167
+ label: t(() => [
168
+ e("div", oe, i(s.$t("liveVideo.endTime")), 1)
169
+ ]),
170
+ default: t(() => [
171
+ l.value.endTime !== "1970-01-01T00:00:00Z" ? (n(), u("span", ne, i(r(c).$moment.formatDate(l.value.endTime, "YYYY-MM-DD HH:mm")), 1)) : (n(), u("span", ce, "-"))
172
+ ]),
173
+ _: 1
174
+ }),
175
+ a(d, null, {
176
+ label: t(() => [
177
+ e("div", re, i(s.$t("liveVideo.streamerName")), 1)
178
+ ]),
179
+ default: t(() => [
180
+ e("span", de, i(l.value.streamerName), 1)
181
+ ]),
182
+ _: 1
183
+ }),
184
+ a(d, null, {
185
+ label: t(() => [
186
+ e("div", ue, i(s.$t("liveVideo.liveStatus")), 1)
187
+ ]),
188
+ default: t(() => [
189
+ h(" " + i(r($).liveStatusEnum.getEnumValue(
190
+ l.value.liveStatus
191
+ ) || "-"), 1)
192
+ ]),
193
+ _: 1
194
+ }),
195
+ a(d, null, {
196
+ label: t(() => [
197
+ e("div", me, i(s.$t("liveVideo.replayMode")), 1)
198
+ ]),
199
+ default: t(() => [
200
+ e("span", ve, i(r($).replayModeEnum.getEnumValue(
201
+ l.value.replayMode
202
+ ) || "-"), 1)
203
+ ]),
204
+ _: 1
205
+ }),
206
+ l.value.replayMode === r(K).REPLAY_MODE.end ? (n(), T(d, { key: 0 }, {
207
+ label: t(() => [
208
+ e("div", _e, i(s.$t("liveVideo.replayEndTime")), 1)
209
+ ]),
210
+ default: t(() => [
211
+ l.value.replayEndTime !== "1970-01-01T00:00:00Z" ? (n(), u("span", pe, i(r(c).$moment.formatDate(
212
+ l.value.replayEndTime,
213
+ "YYYY-MM-DD HH:mm"
214
+ )), 1)) : (n(), u("span", fe, "-"))
215
+ ]),
216
+ _: 1
217
+ })) : v("", !0)
218
+ ]),
219
+ _: 1
220
+ })
221
+ ]),
222
+ e("div", be, [
223
+ a(w, {
224
+ column: 2,
225
+ border: "",
226
+ class: "text-descriptions"
227
+ }, {
228
+ default: t(() => [
229
+ a(d, null, {
230
+ label: t(() => [...o[4] || (o[4] = [
231
+ e("div", { class: "label-text" }, "OBS服务器地址", -1)
232
+ ])]),
233
+ default: t(() => [
234
+ e("span", ye, [
235
+ h(i(f.value || "-") + " ", 1),
236
+ f.value ? (n(), T(P, {
237
+ key: 0,
238
+ class: "selectable-text",
239
+ style: { "vertical-align": "middle" },
240
+ "data-clipboard-text": f.value,
241
+ onClick: o[0] || (o[0] = (O) => S(f.value))
242
+ }, {
243
+ default: t(() => [
244
+ a(D)
245
+ ]),
246
+ _: 1
247
+ }, 8, ["data-clipboard-text"])) : v("", !0)
248
+ ])
249
+ ]),
250
+ _: 1
251
+ }),
252
+ a(d, null, {
253
+ label: t(() => [...o[5] || (o[5] = [
254
+ e("div", { class: "label-text" }, "OBS推流码", -1)
255
+ ])]),
256
+ default: t(() => [
257
+ e("span", he, [
258
+ h(i(b.value || "-") + " ", 1),
259
+ b.value ? (n(), T(P, {
260
+ key: 0,
261
+ class: "selectable-text",
262
+ style: { "vertical-align": "middle" },
263
+ "data-clipboard-text": b.value,
264
+ onClick: o[1] || (o[1] = (O) => S(b.value))
265
+ }, {
266
+ default: t(() => [
267
+ a(D)
268
+ ]),
269
+ _: 1
270
+ }, 8, ["data-clipboard-text"])) : v("", !0)
271
+ ])
272
+ ]),
273
+ _: 1
274
+ }),
275
+ a(d, { span: 2 }, {
276
+ label: t(() => [
277
+ e("div", ge, i(s.$t("liveVideo.streamUrl")), 1)
278
+ ]),
279
+ default: t(() => [
280
+ e("span", xe, i(l.value.streamUrl || "-"), 1)
281
+ ]),
282
+ _: 1
283
+ }),
284
+ a(d, { span: 2 }, {
285
+ label: t(() => [
286
+ e("div", ke, i(s.$t("liveVideo.liveDescprition")), 1)
287
+ ]),
288
+ default: t(() => [
289
+ e("div", {
290
+ class: "desc-content",
291
+ innerHTML: l.value.liveDescprition || "-"
292
+ }, null, 8, Ve)
293
+ ]),
294
+ _: 1
295
+ })
296
+ ]),
297
+ _: 1
298
+ })
299
+ ]),
300
+ l.value.preStreamPic || l.value.liveStreamPic || l.value.bgPic ? (n(), u("div", Te, [
301
+ o[6] || (o[6] = e("div", { class: "card-header" }, [
302
+ e("i", { class: "el-icon-picture" }),
303
+ e("span", { class: "card-title" }, "图片展示区域")
304
+ ], -1)),
305
+ e("div", $e, [
306
+ l.value.preStreamPic ? (n(), u("div", Ce, [
307
+ e("div", Se, i(s.$t("liveVideo.preStreamPic")), 1),
308
+ e("div", we, [
309
+ a(k, {
310
+ src: r(_).imageUrl(l.value.preStreamPic, 180, 180),
311
+ "preview-src-list": [
312
+ r(_).imageUrl(l.value.preStreamPic)
313
+ ],
314
+ "preview-teleported": "",
315
+ "hide-on-click-modal": "",
316
+ fit: "cover",
317
+ class: "preview-img"
318
+ }, null, 8, ["src", "preview-src-list"])
319
+ ])
320
+ ])) : v("", !0),
321
+ l.value.liveStreamPic ? (n(), u("div", De, [
322
+ e("div", Pe, i(s.$t("liveVideo.liveStreamPic")), 1),
323
+ e("div", Ue, [
324
+ a(k, {
325
+ src: r(_).imageUrl(l.value.liveStreamPic, 180, 180),
326
+ "preview-src-list": [
327
+ r(_).imageUrl(l.value.liveStreamPic)
328
+ ],
329
+ "preview-teleported": "",
330
+ "hide-on-click-modal": "",
331
+ fit: "cover",
332
+ class: "preview-img"
333
+ }, null, 8, ["src", "preview-src-list"])
334
+ ])
335
+ ])) : v("", !0),
336
+ l.value.bgPic ? (n(), u("div", Ee, [
337
+ e("div", Me, i(s.$t("liveVideo.bgPic")), 1),
338
+ e("div", Ye, [
339
+ a(k, {
340
+ src: r(_).imageUrl(l.value.bgPic, 180, 180),
341
+ "preview-src-list": [
342
+ r(_).imageUrl(l.value.bgPic)
343
+ ],
344
+ "preview-teleported": "",
345
+ "hide-on-click-modal": "",
346
+ fit: "cover",
347
+ class: "preview-img"
348
+ }, null, 8, ["src", "preview-src-list"])
349
+ ])
350
+ ])) : v("", !0)
351
+ ])
352
+ ])) : v("", !0),
353
+ (y = l.value) != null && y.playUrl && l.value.liveType !== "live" ? (n(), u("div", Ie, [
354
+ o[7] || (o[7] = e("div", { class: "card-header" }, [
355
+ e("i", { class: "el-icon-video-play" }),
356
+ e("span", { class: "card-title" }, "视频播放区域")
357
+ ], -1)),
358
+ e("div", Ne, [
359
+ e("video", {
360
+ src: l.value.playUrl,
361
+ controls: "",
362
+ class: "live-video",
363
+ autoplay: "",
364
+ muted: "",
365
+ playsinline: ""
366
+ }, null, 8, He)
367
+ ])
368
+ ])) : v("", !0)
369
+ ])
370
+ ];
371
+ }),
372
+ _: 1
373
+ }),
374
+ a(V, {
375
+ label: "观众明细",
376
+ name: "second"
377
+ }, {
378
+ default: t(() => [
379
+ a(F)
380
+ ]),
381
+ _: 1
382
+ }),
383
+ a(V, {
384
+ label: "互动评论",
385
+ name: "third"
386
+ }, {
387
+ default: t(() => [
388
+ a(G)
389
+ ]),
390
+ _: 1
391
+ })
392
+ ]),
393
+ _: 1
394
+ }, 8, ["modelValue"])
395
+ ]),
396
+ _: 1
397
+ })
398
+ ]);
399
+ };
400
+ }
401
+ }), Ke = /* @__PURE__ */ j(Be, [["__scopeId", "data-v-49b22c0d"]]);
402
+ export {
403
+ Ke as default
404
+ };
@@ -0,0 +1,286 @@
1
+ import { defineComponent as W, mergeModels as z, useModel as G, ref as c, getCurrentInstance as J, resolveComponent as r, createBlock as D, openBlock as C, withCtx as t, createVNode as o, withKeys as w, unref as i, createTextVNode as m, toDisplayString as s, createElementVNode as T, createCommentVNode as X } from "vue";
2
+ import { useTableHooks as x, fileApi as N } from "jmash-core";
3
+ import { l as ee, D as b, _ as le } from "./index-BnJNPqw0.mjs";
4
+ import { useI18n as te } from "vue-i18n";
5
+ const oe = { class: "flex items-center" }, ae = { class: "ml-2" }, ne = { class: "dialog-footer" }, ie = /* @__PURE__ */ W({
6
+ __name: "lives copy",
7
+ props: {
8
+ modelValue: { type: Boolean },
9
+ modelModifiers: {}
10
+ },
11
+ emits: /* @__PURE__ */ z(["refresh", "row-select", "confirm-select"], ["update:modelValue"]),
12
+ setup($, { emit: k }) {
13
+ const { t: Y } = te(), f = G($, "modelValue"), S = k, y = c([]), n = c({}), { proxy: M } = J(), d = c(null);
14
+ function E(e) {
15
+ y.value = e, e && e.length === 2 ? (n.value.startDate = new Date(e[0]).toISOString().replace("Z", "+08:00"), n.value.endDate = new Date(e[1]).toISOString().replace("Z", "+08:00")) : (n.value.startDate = void 0, n.value.endDate = void 0);
16
+ }
17
+ const { tableHooks: u, listLoading: R, tableData: U, total: re } = x(
18
+ Y,
19
+ ee,
20
+ n
21
+ );
22
+ let H = c([
23
+ {
24
+ label: "liveVideo.roomNum",
25
+ prop: "roomNum",
26
+ width: "150",
27
+ sortable: "custom",
28
+ isColumn: !0
29
+ },
30
+ {
31
+ label: "liveVideo.liveName",
32
+ prop: "liveName",
33
+ slotName: "liveName",
34
+ columnType: "slot",
35
+ minWidth: "150",
36
+ sortable: "custom",
37
+ isColumn: !0
38
+ },
39
+ {
40
+ label: "liveVideo.liveType",
41
+ prop: "liveType",
42
+ slotName: "liveType",
43
+ columnType: "slot",
44
+ width: "150",
45
+ sortable: "custom",
46
+ isColumn: !0
47
+ },
48
+ {
49
+ label: "liveVideo.startTime",
50
+ slotName: "startTime",
51
+ columnType: "slot",
52
+ width: "150",
53
+ sortable: "custom",
54
+ isColumn: !0
55
+ },
56
+ {
57
+ label: "liveVideo.liveStatus",
58
+ prop: "liveStatus",
59
+ slotName: "liveStatus",
60
+ columnType: "slot",
61
+ width: "150",
62
+ sortable: "custom",
63
+ isColumn: !0
64
+ }
65
+ ]);
66
+ function g() {
67
+ f.value && (f.value = !1);
68
+ }
69
+ const p = c(null), I = (e) => {
70
+ d.value && (d.value.clearSelection(), d.value.toggleRowSelection(e, !0)), p.value = e, S("row-select", e);
71
+ }, L = async () => {
72
+ if (!p.value) {
73
+ const { ElMessage: e } = await import("element-plus");
74
+ e.warning("请选择一条直播数据!");
75
+ return;
76
+ }
77
+ S("confirm-select", p.value), console.log("单选选中的数据:", p.value), g();
78
+ };
79
+ function Q(e) {
80
+ u.handleSort(e.prop, e.order);
81
+ }
82
+ function q() {
83
+ y.value = [], n.value.startDate = void 0, n.value.endDate = void 0, p.value = null, d.value && d.value.clearSelection(), u.resetQuery();
84
+ }
85
+ return u.getList(), (e, a) => {
86
+ const j = r("el-input"), v = r("el-form-item"), _ = r("el-col"), h = r("jmash-select"), K = r("el-date-picker"), P = r("el-row"), V = r("el-button"), Z = r("el-form"), A = r("el-image"), B = r("el-tag"), F = r("jmash-table"), O = r("el-dialog");
87
+ return C(), D(O, {
88
+ modelValue: f.value,
89
+ "onUpdate:modelValue": a[9] || (a[9] = (l) => f.value = l),
90
+ onClose: g
91
+ }, {
92
+ footer: t(() => [
93
+ T("div", ne, [
94
+ o(V, { onClick: g }, {
95
+ default: t(() => [
96
+ m(s(e.$t("common.cancel")), 1)
97
+ ]),
98
+ _: 1
99
+ }),
100
+ o(V, {
101
+ type: "primary",
102
+ onClick: L
103
+ }, {
104
+ default: t(() => [
105
+ m(s(e.$t("common.confirm")), 1)
106
+ ]),
107
+ _: 1
108
+ })
109
+ ])
110
+ ]),
111
+ default: t(() => [
112
+ o(Z, {
113
+ ref: "queryFormRef",
114
+ model: n.value,
115
+ inline: !0
116
+ }, {
117
+ default: t(() => [
118
+ o(P, null, {
119
+ default: t(() => [
120
+ o(_, { span: 6 }, {
121
+ default: t(() => [
122
+ o(v, {
123
+ label: e.$t("liveVideo.liveName"),
124
+ prop: "likeLiveName"
125
+ }, {
126
+ default: t(() => [
127
+ o(j, {
128
+ modelValue: n.value.likeLiveName,
129
+ "onUpdate:modelValue": a[0] || (a[0] = (l) => n.value.likeLiveName = l),
130
+ placeholder: e.$t("liveVideo.liveNameRequired"),
131
+ onKeyup: a[1] || (a[1] = w((l) => i(u).handleQuery(), ["enter"])),
132
+ class: "!w-[203px]"
133
+ }, null, 8, ["modelValue", "placeholder"])
134
+ ]),
135
+ _: 1
136
+ }, 8, ["label"])
137
+ ]),
138
+ _: 1
139
+ }),
140
+ o(_, { span: 6 }, {
141
+ default: t(() => [
142
+ o(v, {
143
+ label: e.$t("liveVideo.liveType"),
144
+ prop: "liveType"
145
+ }, {
146
+ default: t(() => [
147
+ o(h, {
148
+ modelValue: n.value.liveType,
149
+ "onUpdate:modelValue": a[2] || (a[2] = (l) => n.value.liveType = l),
150
+ data: i(b).liveTypeEnum.values,
151
+ placeholder: e.$t("liveVideo.liveTypeRequired"),
152
+ onKeyup: a[3] || (a[3] = w((l) => i(u).handleQuery(), ["enter"])),
153
+ class: "!w-[203px]"
154
+ }, null, 8, ["modelValue", "data", "placeholder"])
155
+ ]),
156
+ _: 1
157
+ }, 8, ["label"])
158
+ ]),
159
+ _: 1
160
+ }),
161
+ o(_, { span: 6 }, {
162
+ default: t(() => [
163
+ o(v, {
164
+ label: e.$t("liveVideo.liveStatus"),
165
+ prop: "liveStatus"
166
+ }, {
167
+ default: t(() => [
168
+ o(h, {
169
+ modelValue: n.value.liveStatus,
170
+ "onUpdate:modelValue": a[4] || (a[4] = (l) => n.value.liveStatus = l),
171
+ data: i(b).liveStatusEnum.values,
172
+ placeholder: e.$t("liveVideo.liveStatusRequired"),
173
+ onKeyup: a[5] || (a[5] = w((l) => i(u).handleQuery(), ["enter"])),
174
+ class: "!w-[203px]"
175
+ }, null, 8, ["modelValue", "data", "placeholder"])
176
+ ]),
177
+ _: 1
178
+ }, 8, ["label"])
179
+ ]),
180
+ _: 1
181
+ }),
182
+ o(_, { span: 6 }, {
183
+ default: t(() => [
184
+ o(v, {
185
+ label: e.$t("liveVideo.startTime"),
186
+ prop: "startDate"
187
+ }, {
188
+ default: t(() => [
189
+ o(K, {
190
+ modelValue: y.value,
191
+ "onUpdate:modelValue": a[6] || (a[6] = (l) => y.value = l),
192
+ type: "daterange",
193
+ "start-placeholder": e.$t("liveVideo.startTime"),
194
+ "end-placeholder": e.$t("liveVideo.endTime"),
195
+ format: "YYYY-MM-DD",
196
+ "value-format": "YYYY-MM-DDTHH:mm:ssZZ",
197
+ onChange: E,
198
+ class: "!w-[203px]"
199
+ }, null, 8, ["modelValue", "start-placeholder", "end-placeholder"])
200
+ ]),
201
+ _: 1
202
+ }, 8, ["label"])
203
+ ]),
204
+ _: 1
205
+ })
206
+ ]),
207
+ _: 1
208
+ }),
209
+ o(v, { class: "search-btn" }, {
210
+ default: t(() => [
211
+ o(V, {
212
+ type: "primary",
213
+ onClick: a[7] || (a[7] = (l) => i(u).handleQuery())
214
+ }, {
215
+ default: t(() => [
216
+ m(s(e.$t("common.search")), 1)
217
+ ]),
218
+ _: 1
219
+ }),
220
+ o(V, {
221
+ onClick: a[8] || (a[8] = (l) => q())
222
+ }, {
223
+ default: t(() => [
224
+ m(s(e.$t("common.reset")), 1)
225
+ ]),
226
+ _: 1
227
+ })
228
+ ]),
229
+ _: 1
230
+ })
231
+ ]),
232
+ _: 1
233
+ }, 8, ["model"]),
234
+ o(F, {
235
+ ref_key: "multipleTableRef",
236
+ ref: d,
237
+ "row-key": "liveId",
238
+ multiple: !1,
239
+ "list-loading": i(R),
240
+ data: i(U),
241
+ "table-label": i(H),
242
+ onCurrentChange: I,
243
+ onSortChange: Q,
244
+ "highlight-current-row": "",
245
+ selectable: !1
246
+ }, {
247
+ liveName: t((l) => [
248
+ T("div", oe, [
249
+ l.data.row.preStreamPic ? (C(), D(A, {
250
+ key: 0,
251
+ src: i(N).imageUrl(l.data.row.preStreamPic, 80, 80),
252
+ "preview-src-list": [
253
+ i(N).imageUrl(l.data.row.preStreamPic)
254
+ ],
255
+ "preview-teleported": "",
256
+ "hide-on-click-modal": "",
257
+ fit: "cover"
258
+ }, null, 8, ["src", "preview-src-list"])) : X("", !0),
259
+ T("span", ae, s(l.data.row.liveName), 1)
260
+ ])
261
+ ]),
262
+ liveStatus: t((l) => [
263
+ o(B, null, {
264
+ default: t(() => [
265
+ m(s(i(b).liveStatusEnum.getEnumValue(l.data.row.liveStatus)), 1)
266
+ ]),
267
+ _: 2
268
+ }, 1024)
269
+ ]),
270
+ liveType: t((l) => [
271
+ m(s(i(b).liveTypeEnum.getEnumValue(l.data.row.liveType)), 1)
272
+ ]),
273
+ startTime: t((l) => [
274
+ m(s(i(M).$moment.formatDate(l.data.row.startTime, "YYYY-MM-DD HH:mm")), 1)
275
+ ]),
276
+ _: 1
277
+ }, 8, ["list-loading", "data", "table-label"])
278
+ ]),
279
+ _: 1
280
+ }, 8, ["modelValue"]);
281
+ };
282
+ }
283
+ }), pe = /* @__PURE__ */ le(ie, [["__scopeId", "data-v-939b7a82"]]);
284
+ export {
285
+ pe as default
286
+ };