@das-fed/ui 6.4.0-test.53 → 6.4.0-test.55

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 (37) hide show
  1. package/esm-map.json +3 -1
  2. package/package.json +7 -6
  3. package/packages/business-components/ai-panel/{index-BVbGcP9e.js → index-BUVM9wHT.js} +1 -1
  4. package/packages/business-components/ai-panel/index-BUVM9wHT.js.gz +0 -0
  5. package/packages/business-components/ai-panel/{index-D4944ccN.js → index-BXukDT-W.js} +1334 -1333
  6. package/packages/business-components/ai-panel/index-BXukDT-W.js.gz +0 -0
  7. package/packages/business-components/ai-panel/index.js +1 -1
  8. package/packages/business-components/ai-panel/src/dasAI/index.vue.d.ts +4 -3
  9. package/packages/business-components/ai-panel/src/index.vue.d.ts +4 -3
  10. package/packages/business-components/ai-panel/src/type.d.ts +4 -1
  11. package/packages/business-components/ai-panel/style.css +1 -1
  12. package/packages/business-components/ai-panel/style.css.gz +0 -0
  13. package/packages/business-components/device-panel/index.js +589 -591
  14. package/packages/business-components/device-panel/index.js.gz +0 -0
  15. package/packages/business-components/device-panel/style.css +1 -1
  16. package/packages/business-components/device-panel/style.css.gz +0 -0
  17. package/packages/business-components/video-dialog/index.d.ts +5 -0
  18. package/packages/business-components/video-dialog/index.js +368 -330
  19. package/packages/business-components/video-dialog/index.js.gz +0 -0
  20. package/packages/business-components/video-dialog/src/component/Player/index.vue.d.ts +2 -0
  21. package/packages/business-components/video-dialog/src/hooks/use-video/PlayerProvider.d.ts +11 -1
  22. package/packages/business-components/video-dialog/src/index.vue.d.ts +1 -0
  23. package/packages/business-components/video-dialog/src/type.d.ts +2 -0
  24. package/packages/business-components/video-dialog/style.css +1 -1
  25. package/packages/business-components/video-dialog/style.css.gz +0 -0
  26. package/packages/components/hls-player/i18n/index.d.ts +13 -0
  27. package/packages/components/hls-player/index.d.ts +172 -0
  28. package/packages/components/hls-player/index.js +21183 -0
  29. package/packages/components/hls-player/index.js.gz +0 -0
  30. package/packages/components/hls-player/src/das-hls-player.vue.d.ts +47 -0
  31. package/packages/components/hls-player/src/type.d.ts +33 -0
  32. package/packages/components/hls-player/style.css +1 -0
  33. package/packages/components/hls-player/style.css.gz +0 -0
  34. package/packages/components/index.d.ts +1 -0
  35. package/packages/components/index.js +1 -0
  36. package/packages/business-components/ai-panel/index-BVbGcP9e.js.gz +0 -0
  37. package/packages/business-components/ai-panel/index-D4944ccN.js.gz +0 -0
@@ -1,59 +1,60 @@
1
1
  import '@das-fed/ui/packages/business-components/video-dialog/style.css';
2
- import { getCurrentScope as ce, onScopeDispose as ue, getCurrentInstance as de, onMounted as K, nextTick as P, unref as l, ref as _, watch as F, defineComponent as D, useCssVars as pe, computed as x, createElementBlock as O, openBlock as g, normalizeClass as ve, renderSlot as X, createCommentVNode as I, Fragment as J, renderList as fe, createBlock as N, withCtx as f, withModifiers as y, createVNode as p, createElementVNode as v, toDisplayString as V, toRefs as me } from "vue";
2
+ import { getCurrentScope as ce, onScopeDispose as ue, getCurrentInstance as de, onMounted as J, nextTick as P, unref as l, ref as w, watch as R, defineComponent as O, useCssVars as pe, computed as U, createElementBlock as S, openBlock as p, normalizeClass as ve, renderSlot as ee, createCommentVNode as b, Fragment as x, renderList as fe, createBlock as N, withCtx as C, withModifiers as _, createVNode as v, createElementVNode as f, toDisplayString as V, toRefs as me } from "vue";
3
3
  import { withInstall as Ce } from "@das-fed/utils/with-install/index";
4
- import { t as m, setI18nRule as ge } from "@das-fed/web/packages/i18n/index";
5
- import { DasDialog as ke } from "@das-fed/ui/packages/components/dialog/index";
4
+ import { t as g, setI18nRule as ge } from "@das-fed/web/packages/i18n/index";
5
+ import { DasDialog as ye } from "@das-fed/ui/packages/components/dialog/index";
6
6
  import { DasTooltip as h } from "@das-fed/ui/packages/components/tooltip/index";
7
- import { DasIconFullscreen2 as ye } from "@das-fed/ui/packages/icons/fullscreen-2/index";
8
- import { DasAutoRegisterIcon as _e, DasIcon as L } from "@das-fed/ui/packages/components/icon/index";
7
+ import { DasIconFullscreen2 as ke } from "@das-fed/ui/packages/icons/fullscreen-2/index";
8
+ import { DasAutoRegisterIcon as _e, DasIcon as $ } from "@das-fed/ui/packages/components/icon/index";
9
9
  import { DasLivePlayer as we } from "@das-fed/ui/packages/components/live-player/index";
10
10
  import { DasSpin as he } from "@das-fed/ui/packages/components/spin/index";
11
- import be from "dayjs";
12
- import { createService as ee } from "@das-fed/utils/api-services/src/create-service";
13
- import { getProjectInfo as M, getToken as Ie } from "@das-fed/utils/common-info";
14
- var A;
15
- const B = typeof window < "u", Ee = (t) => typeof t == "string", Ne = () => {
11
+ import { DasHlsPlayer as be } from "@das-fed/ui/packages/components/hls-player/index";
12
+ import Ie from "dayjs";
13
+ import { createService as te } from "@das-fed/utils/api-services/src/create-service";
14
+ import { getProjectInfo as A, getToken as Ee } from "@das-fed/utils/common-info";
15
+ var Q;
16
+ const j = typeof window < "u", Ne = (t) => typeof t == "string", Fe = () => {
16
17
  };
17
- B && ((A = window == null ? void 0 : window.navigator) != null && A.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
18
- function te(t) {
18
+ j && ((Q = window == null ? void 0 : window.navigator) != null && Q.userAgent) && /iP(ad|hone|od)/.test(window.navigator.userAgent);
19
+ function oe(t) {
19
20
  return typeof t == "function" ? t() : l(t);
20
21
  }
21
- function Fe(t) {
22
+ function Re(t) {
22
23
  return t;
23
24
  }
24
- function oe(t) {
25
+ function ne(t) {
25
26
  return ce() ? (ue(t), !0) : !1;
26
27
  }
27
28
  function Se(t, n = !0) {
28
- de() ? K(t) : n ? t() : P(t);
29
+ de() ? J(t) : n ? t() : P(t);
29
30
  }
30
- function ne(t) {
31
+ function le(t) {
31
32
  var n;
32
- const e = te(t);
33
+ const e = oe(t);
33
34
  return (n = e == null ? void 0 : e.$el) != null ? n : e;
34
35
  }
35
- const Re = B ? window : void 0, ze = B ? window.document : void 0;
36
+ const ze = j ? window : void 0, De = j ? window.document : void 0;
36
37
  function Oe(...t) {
37
- let n, e, i, s;
38
- if (Ee(t[0]) || Array.isArray(t[0]) ? ([e, i, s] = t, n = Re) : [n, e, i, s] = t, !n)
39
- return Ne;
38
+ let n, e, i, r;
39
+ if (Ne(t[0]) || Array.isArray(t[0]) ? ([e, i, r] = t, n = ze) : [n, e, i, r] = t, !n)
40
+ return Fe;
40
41
  Array.isArray(e) || (e = [e]), Array.isArray(i) || (i = [i]);
41
42
  const o = [], a = () => {
42
43
  o.forEach((c) => c()), o.length = 0;
43
- }, k = (c, C, w, E) => (c.addEventListener(C, w, E), () => c.removeEventListener(C, w, E)), r = F(() => [ne(n), te(s)], ([c, C]) => {
44
- a(), c && o.push(...e.flatMap((w) => i.map((E) => k(c, w, E, C))));
45
- }, { immediate: !0, flush: "post" }), u = () => {
46
- r(), a();
44
+ }, y = (c, d, k, I) => (c.addEventListener(d, k, I), () => c.removeEventListener(d, k, I)), s = R(() => [le(n), oe(r)], ([c, d]) => {
45
+ a(), c && o.push(...e.flatMap((k) => i.map((I) => y(c, k, I, d))));
46
+ }, { immediate: !0, flush: "post" }), m = () => {
47
+ s(), a();
47
48
  };
48
- return oe(u), u;
49
+ return ne(m), m;
49
50
  }
50
- function De(t, n = !1) {
51
- const e = _(), i = () => e.value = !!t();
51
+ function Le(t, n = !1) {
52
+ const e = w(), i = () => e.value = !!t();
52
53
  return i(), Se(i, n), e;
53
54
  }
54
- const Q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, q = "__vueuse_ssr_handlers__";
55
- Q[q] = Q[q] || {};
56
- const G = [
55
+ const q = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, G = "__vueuse_ssr_handlers__";
56
+ q[G] = q[G] || {};
57
+ const W = [
57
58
  [
58
59
  "requestFullscreen",
59
60
  "exitFullscreen",
@@ -95,51 +96,51 @@ const G = [
95
96
  "MSFullscreenError"
96
97
  ]
97
98
  ];
98
- function le(t, n = {}) {
99
- const { document: e = ze, autoExit: i = !1 } = n, s = t || (e == null ? void 0 : e.querySelector("html")), o = _(!1);
100
- let a = G[0];
101
- const k = De(() => {
99
+ function ie(t, n = {}) {
100
+ const { document: e = De, autoExit: i = !1 } = n, r = t || (e == null ? void 0 : e.querySelector("html")), o = w(!1);
101
+ let a = W[0];
102
+ const y = Le(() => {
102
103
  if (e) {
103
- for (const S of G)
104
- if (S[1] in e)
105
- return a = S, !0;
104
+ for (const F of W)
105
+ if (F[1] in e)
106
+ return a = F, !0;
106
107
  } else
107
108
  return !1;
108
109
  return !1;
109
- }), [r, u, c, , C] = a;
110
- async function w() {
111
- k.value && (e != null && e[c] && await e[u](), o.value = !1);
110
+ }), [s, m, c, , d] = a;
111
+ async function k() {
112
+ y.value && (e != null && e[c] && await e[m](), o.value = !1);
112
113
  }
113
- async function E() {
114
- if (!k.value)
114
+ async function I() {
115
+ if (!y.value)
115
116
  return;
116
- await w();
117
- const S = ne(s);
118
- S && (await S[r](), o.value = !0);
117
+ await k();
118
+ const F = le(r);
119
+ F && (await F[s](), o.value = !0);
119
120
  }
120
- async function $() {
121
- o.value ? await w() : await E();
121
+ async function L() {
122
+ o.value ? await k() : await I();
122
123
  }
123
- return e && Oe(e, C, () => {
124
+ return e && Oe(e, d, () => {
124
125
  o.value = !!(e != null && e[c]);
125
- }, !1), i && oe(w), {
126
- isSupported: k,
126
+ }, !1), i && ne(k), {
127
+ isSupported: y,
127
128
  isFullscreen: o,
128
- enter: E,
129
- exit: w,
130
- toggle: $
129
+ enter: I,
130
+ exit: k,
131
+ toggle: L
131
132
  };
132
133
  }
133
- var W;
134
+ var Y;
134
135
  (function(t) {
135
136
  t.UP = "UP", t.RIGHT = "RIGHT", t.DOWN = "DOWN", t.LEFT = "LEFT", t.NONE = "NONE";
136
- })(W || (W = {}));
137
- var $e = Object.defineProperty, H = Object.getOwnPropertySymbols, Le = Object.prototype.hasOwnProperty, Pe = Object.prototype.propertyIsEnumerable, Y = (t, n, e) => n in t ? $e(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, xe = (t, n) => {
137
+ })(Y || (Y = {}));
138
+ var $e = Object.defineProperty, Z = Object.getOwnPropertySymbols, Pe = Object.prototype.hasOwnProperty, Ue = Object.prototype.propertyIsEnumerable, K = (t, n, e) => n in t ? $e(t, n, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[n] = e, xe = (t, n) => {
138
139
  for (var e in n || (n = {}))
139
- Le.call(n, e) && Y(t, e, n[e]);
140
- if (H)
141
- for (var e of H(n))
142
- Pe.call(n, e) && Y(t, e, n[e]);
140
+ Pe.call(n, e) && K(t, e, n[e]);
141
+ if (Z)
142
+ for (var e of Z(n))
143
+ Ue.call(n, e) && K(t, e, n[e]);
143
144
  return t;
144
145
  };
145
146
  const Te = {
@@ -169,9 +170,9 @@ const Te = {
169
170
  easeInOutBack: [0.68, -0.6, 0.32, 1.6]
170
171
  };
171
172
  xe({
172
- linear: Fe
173
+ linear: Re
173
174
  }, Te);
174
- const Ue = /* @__PURE__ */ D({
175
+ const Be = /* @__PURE__ */ O({
175
176
  __name: "GridItem",
176
177
  props: {
177
178
  active: { type: Boolean },
@@ -180,26 +181,26 @@ const Ue = /* @__PURE__ */ D({
180
181
  emits: ["itemClick"],
181
182
  setup(t, { emit: n }) {
182
183
  pe((c) => ({
183
- "9b3a2c32": u.value
184
+ "9b3a2c32": m.value
184
185
  }));
185
- const e = t, i = n, s = _(), { toggle: o, isFullscreen: a } = le(s), k = () => {
186
- s.value != document.fullscreenElement && (a.value ? (a.value = !1, P(() => {
186
+ const e = t, i = n, r = w(), { toggle: o, isFullscreen: a } = ie(r), y = () => {
187
+ r.value != document.fullscreenElement && (a.value ? (a.value = !1, P(() => {
187
188
  o();
188
189
  })) : o());
189
- }, r = () => {
190
+ }, s = () => {
190
191
  i("itemClick");
191
- }, u = x(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
192
- return (c, C) => (g(), O(
192
+ }, m = U(() => `calc(100% / ${Math.sqrt(e.gridNum)})`);
193
+ return (c, d) => (p(), S(
193
194
  "div",
194
195
  {
195
196
  ref_key: "containerRef",
196
- ref: s,
197
+ ref: r,
197
198
  class: ve(["wrapper", { "is-active": e.active }]),
198
- onDblclick: C[0] || (C[0] = (w) => k()),
199
- onClick: C[1] || (C[1] = (w) => r())
199
+ onDblclick: d[0] || (d[0] = (k) => y()),
200
+ onClick: d[1] || (d[1] = (k) => s())
200
201
  },
201
202
  [
202
- X(c.$slots, "default", {}, void 0, !0)
203
+ ee(c.$slots, "default", {}, void 0, !0)
203
204
  ],
204
205
  34
205
206
  /* CLASS, NEED_HYDRATION */
@@ -207,10 +208,10 @@ const Ue = /* @__PURE__ */ D({
207
208
  }
208
209
  }), T = (t, n) => {
209
210
  const e = t.__vccOpts || t;
210
- for (const [i, s] of n)
211
- e[i] = s;
211
+ for (const [i, r] of n)
212
+ e[i] = r;
212
213
  return e;
213
- }, Ve = /* @__PURE__ */ T(Ue, [["__scopeId", "data-v-100b67ca"]]), Be = { class: "layout-wrapper" }, je = /* @__PURE__ */ D({
214
+ }, He = /* @__PURE__ */ T(Be, [["__scopeId", "data-v-100b67ca"]]), Ve = { class: "layout-wrapper" }, je = /* @__PURE__ */ O({
214
215
  __name: "GridLayout",
215
216
  props: {
216
217
  gridNum: {},
@@ -219,24 +220,24 @@ const Ue = /* @__PURE__ */ D({
219
220
  },
220
221
  emits: ["update:activeIndex"],
221
222
  setup(t, { emit: n }) {
222
- const e = t, i = n, s = (o) => {
223
+ const e = t, i = n, r = (o) => {
223
224
  i("update:activeIndex", o);
224
225
  };
225
- return (o, a) => (g(), O("div", Be, [
226
- I(' :active="index === activeIndex" '),
227
- (g(!0), O(
228
- J,
226
+ return (o, a) => (p(), S("div", Ve, [
227
+ b(' :active="index === activeIndex" '),
228
+ (p(!0), S(
229
+ x,
229
230
  null,
230
- fe(e.gridNum, (k, r) => (g(), N(Ve, {
231
+ fe(e.gridNum, (y, s) => (p(), N(He, {
231
232
  active: !1,
232
233
  "grid-num": e.gridNum,
233
- onItemClick: (u) => s(r)
234
+ onItemClick: (m) => r(s)
234
235
  }, {
235
- default: f(() => [
236
- o.showFn(r) ? X(o.$slots, "default", {
236
+ default: C(() => [
237
+ o.showFn(s) ? ee(o.$slots, "default", {
237
238
  key: 0,
238
- index: r
239
- }, void 0, !0) : I("v-if", !0)
239
+ index: s
240
+ }, void 0, !0) : b("v-if", !0)
240
241
  ]),
241
242
  _: 2
242
243
  /* DYNAMIC */
@@ -246,123 +247,123 @@ const Ue = /* @__PURE__ */ D({
246
247
  ))
247
248
  ]));
248
249
  }
249
- }), Me = /* @__PURE__ */ T(je, [["__scopeId", "data-v-661e2289"]]), Ae = /* @__PURE__ */ D({
250
+ }), Me = /* @__PURE__ */ T(je, [["__scopeId", "data-v-661e2289"]]), Ae = /* @__PURE__ */ O({
250
251
  __name: "DirectionControl",
251
252
  emits: ["change"],
252
253
  setup(t, { emit: n }) {
253
- const e = n, i = (s) => {
254
- e("change", s);
254
+ const e = n, i = (r) => {
255
+ e("change", r);
255
256
  };
256
- return (s, o) => (g(), O(
257
+ return (r, o) => (p(), S(
257
258
  "div",
258
259
  {
259
260
  class: "direction-control",
260
- onDblclick: o[9] || (o[9] = y((a) => a.stopPropagation(), ["stop"]))
261
+ onDblclick: o[9] || (o[9] = _((a) => a.stopPropagation(), ["stop"]))
261
262
  },
262
263
  [
263
- p(l(h), {
264
- content: l(m)("左上")
264
+ v(l(h), {
265
+ content: l(g)("左上")
265
266
  }, {
266
- default: f(() => [
267
- v("div", {
267
+ default: C(() => [
268
+ f("div", {
268
269
  class: "icon icon-top-left",
269
- onClick: o[0] || (o[0] = y((a) => i("leftUp"), ["stop"]))
270
+ onClick: o[0] || (o[0] = _((a) => i("leftUp"), ["stop"]))
270
271
  })
271
272
  ]),
272
273
  _: 1
273
274
  /* STABLE */
274
275
  }, 8, ["content"]),
275
- p(l(h), {
276
- content: l(m)("上")
276
+ v(l(h), {
277
+ content: l(g)("上")
277
278
  }, {
278
- default: f(() => [
279
- v("div", {
279
+ default: C(() => [
280
+ f("div", {
280
281
  class: "icon icon-top",
281
- onClick: o[1] || (o[1] = y((a) => i("up"), ["stop"]))
282
+ onClick: o[1] || (o[1] = _((a) => i("up"), ["stop"]))
282
283
  })
283
284
  ]),
284
285
  _: 1
285
286
  /* STABLE */
286
287
  }, 8, ["content"]),
287
- p(l(h), {
288
- content: l(m)("右上")
288
+ v(l(h), {
289
+ content: l(g)("右上")
289
290
  }, {
290
- default: f(() => [
291
- v("div", {
291
+ default: C(() => [
292
+ f("div", {
292
293
  class: "icon icon-top-right",
293
- onClick: o[2] || (o[2] = y((a) => i("rightUp"), ["stop"]))
294
+ onClick: o[2] || (o[2] = _((a) => i("rightUp"), ["stop"]))
294
295
  })
295
296
  ]),
296
297
  _: 1
297
298
  /* STABLE */
298
299
  }, 8, ["content"]),
299
- p(l(h), {
300
- content: l(m)("左")
300
+ v(l(h), {
301
+ content: l(g)("左")
301
302
  }, {
302
- default: f(() => [
303
- v("div", {
303
+ default: C(() => [
304
+ f("div", {
304
305
  class: "icon icon-left",
305
- onClick: o[3] || (o[3] = y((a) => i("left"), ["stop"]))
306
+ onClick: o[3] || (o[3] = _((a) => i("left"), ["stop"]))
306
307
  })
307
308
  ]),
308
309
  _: 1
309
310
  /* STABLE */
310
311
  }, 8, ["content"]),
311
- p(l(h), {
312
- content: l(m)("自动")
312
+ v(l(h), {
313
+ content: l(g)("自动")
313
314
  }, {
314
- default: f(() => [
315
- v("div", {
315
+ default: C(() => [
316
+ f("div", {
316
317
  class: "icon icon-auto",
317
- onClick: o[4] || (o[4] = y((a) => i("auto"), ["stop"]))
318
+ onClick: o[4] || (o[4] = _((a) => i("auto"), ["stop"]))
318
319
  })
319
320
  ]),
320
321
  _: 1
321
322
  /* STABLE */
322
323
  }, 8, ["content"]),
323
- p(l(h), {
324
- content: l(m)("右")
324
+ v(l(h), {
325
+ content: l(g)("右")
325
326
  }, {
326
- default: f(() => [
327
- v("div", {
327
+ default: C(() => [
328
+ f("div", {
328
329
  class: "icon icon-right",
329
- onClick: o[5] || (o[5] = y((a) => i("right"), ["stop"]))
330
+ onClick: o[5] || (o[5] = _((a) => i("right"), ["stop"]))
330
331
  })
331
332
  ]),
332
333
  _: 1
333
334
  /* STABLE */
334
335
  }, 8, ["content"]),
335
- p(l(h), {
336
- content: l(m)("左下")
336
+ v(l(h), {
337
+ content: l(g)("左下")
337
338
  }, {
338
- default: f(() => [
339
- v("div", {
339
+ default: C(() => [
340
+ f("div", {
340
341
  class: "icon icon-bottom-left",
341
- onClick: o[6] || (o[6] = y((a) => i("leftDown"), ["stop"]))
342
+ onClick: o[6] || (o[6] = _((a) => i("leftDown"), ["stop"]))
342
343
  })
343
344
  ]),
344
345
  _: 1
345
346
  /* STABLE */
346
347
  }, 8, ["content"]),
347
- p(l(h), {
348
- content: l(m)("下")
348
+ v(l(h), {
349
+ content: l(g)("下")
349
350
  }, {
350
- default: f(() => [
351
- v("div", {
351
+ default: C(() => [
352
+ f("div", {
352
353
  class: "icon icon-bottom",
353
- onClick: o[7] || (o[7] = y((a) => i("down"), ["stop"]))
354
+ onClick: o[7] || (o[7] = _((a) => i("down"), ["stop"]))
354
355
  })
355
356
  ]),
356
357
  _: 1
357
358
  /* STABLE */
358
359
  }, 8, ["content"]),
359
- p(l(h), {
360
- content: l(m)("右下")
360
+ v(l(h), {
361
+ content: l(g)("右下")
361
362
  }, {
362
- default: f(() => [
363
- v("div", {
363
+ default: C(() => [
364
+ f("div", {
364
365
  class: "icon icon-bottom-right",
365
- onClick: o[8] || (o[8] = y((a) => i("rightDown"), ["stop"]))
366
+ onClick: o[8] || (o[8] = _((a) => i("rightDown"), ["stop"]))
366
367
  })
367
368
  ]),
368
369
  _: 1
@@ -373,10 +374,10 @@ const Ue = /* @__PURE__ */ D({
373
374
  /* NEED_HYDRATION */
374
375
  ));
375
376
  }
376
- }), Qe = /* @__PURE__ */ T(Ae, [["__scopeId", "data-v-db2e8ec2"]]), qe = { class: "video-wrapper" }, Ge = { class: "video-top" }, We = { class: "video-top_l" }, He = { class: "video-title-wrapper" }, Ye = { class: "video-title" }, Ze = { class: "video-top_r" }, Ke = {
377
+ }), Qe = /* @__PURE__ */ T(Ae, [["__scopeId", "data-v-db2e8ec2"]]), qe = { class: "video-wrapper" }, Ge = { class: "video-top" }, We = { class: "video-top_l" }, Ye = { class: "video-title-wrapper" }, Ze = { class: "video-title" }, Ke = { class: "video-top_r" }, Xe = {
377
378
  key: 0,
378
379
  class: "play-status"
379
- }, Xe = { class: "video-bottom" }, Je = { class: "video-bottom_r" }, et = /* @__PURE__ */ D({
380
+ }, Je = { class: "video-bottom" }, et = { class: "video-bottom_r" }, tt = /* @__PURE__ */ O({
380
381
  __name: "index",
381
382
  props: {
382
383
  videoUrl: {},
@@ -387,6 +388,7 @@ const Ue = /* @__PURE__ */ D({
387
388
  playbackRate: { default: 1 },
388
389
  paused: { type: Boolean, default: !1 },
389
390
  authType: { default: () => [] },
391
+ isHls: { type: Boolean, default: !1 },
390
392
  onReplay: {}
391
393
  },
392
394
  emits: ["close", "directionControl", "zoomControl"],
@@ -399,219 +401,241 @@ const Ue = /* @__PURE__ */ D({
399
401
  enlarge: import("@das-fed/ui/packages/icons/enlarge"),
400
402
  "direction-control": import("@das-fed/ui/packages/icons/direction-control")
401
403
  });
402
- const s = _(!0), o = _(), a = _(!1), k = _(), r = x(() => {
403
- var d;
404
- return (d = k.value) == null ? void 0 : d.video;
405
- }), u = _(!1), c = _(!0), C = (d) => {
406
- o.value = d, o.value.on(window.mpegts.Events.ERROR, (b) => {
404
+ const r = w(!0), o = w(), a = w(!1), y = w(), s = U(() => {
405
+ var u;
406
+ return (u = y.value) == null ? void 0 : u.video;
407
+ }), m = w(!1), c = w(!0), d = (u) => {
408
+ o.value = u, !e.isHls && o.value.on(window.mpegts.Events.ERROR, (E) => {
407
409
  });
408
- }, w = () => {
409
- s.value = !s.value, o.value && (o.value.muted = s.value);
410
- }, E = () => {
410
+ }, k = () => {
411
+ r.value = !r.value, o.value && (o.value.muted = r.value);
412
+ }, I = () => {
411
413
  a.value = !a.value;
412
- }, $ = _(""), S = () => {
413
- const d = document.createElement("canvas");
414
- if (r.value) {
415
- d.width = r.value.clientWidth, d.height = r.value.clientHeight;
416
- const b = d.getContext("2d");
417
- b == null || b.drawImage(r.value, 0, 0, d.width, d.height);
418
- const z = d.toDataURL("image/jpg"), ae = `【${e.title}】${be().format("YYYYMMDDHHmmss").toString()}.jpg`;
419
- if ($.value = z, "download" in document.createElement("a")) {
420
- const R = document.createElement("a");
421
- R.download = ae, R.style.display = "none", R.href = z, document.body.appendChild(R), document.body.appendChild(d), R.click(), URL.revokeObjectURL(R.href), document.body.removeChild(R), document.body.removeChild(d);
414
+ }, L = w(""), F = () => {
415
+ const u = document.createElement("canvas");
416
+ if (s.value) {
417
+ u.width = s.value.clientWidth, u.height = s.value.clientHeight;
418
+ const E = u.getContext("2d");
419
+ E == null || E.drawImage(s.value, 0, 0, u.width, u.height);
420
+ const D = u.toDataURL("image/jpg"), ae = `【${e.title}】${Ie().format("YYYYMMDDHHmmss").toString()}.jpg`;
421
+ if (L.value = D, "download" in document.createElement("a")) {
422
+ const z = document.createElement("a");
423
+ z.download = ae, z.style.display = "none", z.href = D, document.body.appendChild(z), document.body.appendChild(u), z.click(), URL.revokeObjectURL(z.href), document.body.removeChild(z), document.body.removeChild(u);
422
424
  }
423
425
  }
424
- }, se = (d) => {
425
- i("directionControl", d);
426
- }, j = (d) => {
427
- i("zoomControl", d);
428
- }, U = (d) => e.authType.includes(d);
429
- return F(
430
- () => r.value,
426
+ }, B = (u) => {
427
+ i("directionControl", u);
428
+ }, M = (u) => {
429
+ i("zoomControl", u);
430
+ }, H = (u) => e.authType.includes(u);
431
+ return R(
432
+ () => s.value,
431
433
  () => {
432
- r.value && r.value.addEventListener("ended", () => {
433
- u.value = !0, e.type === "playback" && (c.value = !1);
434
+ s.value && s.value.addEventListener("ended", () => {
435
+ m.value = !0, e.type === "playback" && (c.value = !1);
434
436
  });
435
437
  }
436
- ), F(
437
- () => r.value,
438
+ ), R(
439
+ () => s.value,
438
440
  () => {
439
- r.value && P(() => {
440
- r.value.playbackRate = e.playbackRate || 1;
441
+ s.value && P(() => {
442
+ s.value.playbackRate = e.playbackRate || 1;
441
443
  });
442
444
  }
443
- ), F(
445
+ ), R(
444
446
  () => o.value,
445
447
  () => {
446
448
  o.value && P(() => {
447
- o.value.muted = s.value;
449
+ o.value.muted = r.value;
448
450
  });
449
451
  }
450
- ), F(
452
+ ), R(
451
453
  () => e.playbackRate,
452
454
  () => {
453
- r.value && (r.value.playbackRate = e.playbackRate || 1);
455
+ s.value && (s.value.playbackRate = e.playbackRate || 1);
454
456
  },
455
457
  {
456
458
  immediate: !0
457
459
  }
458
- ), F(
460
+ ), R(
459
461
  () => e.paused,
460
462
  () => {
461
463
  o.value && (e.paused ? o.value.pause() : o.value.play());
462
464
  }
463
- ), F(
465
+ ), R(
464
466
  () => e.videoUrl,
465
467
  () => {
466
468
  c.value = !1, P(() => {
467
469
  c.value = !0;
468
470
  });
469
471
  }
470
- ), (d, b) => (g(), O("div", qe, [
471
- p(l(he), {
472
+ ), (u, E) => (p(), S("div", qe, [
473
+ v(l(he), {
472
474
  spinning: e.loading,
473
475
  type: "component",
474
- tip: l(m)("加载中...")
476
+ tip: l(g)("加载中...")
475
477
  }, {
476
- default: f(() => [
477
- v("div", Ge, [
478
- v("div", We, [
479
- v("div", He, [
480
- v(
478
+ default: C(() => [
479
+ f("div", Ge, [
480
+ f("div", We, [
481
+ f("div", Ye, [
482
+ f(
481
483
  "div",
482
- Ye,
484
+ Ze,
483
485
  V(e.title.length > 20 ? e.title.slice(0, 19) + "..." : e.title),
484
486
  1
485
487
  /* TEXT */
486
488
  )
487
489
  ])
488
490
  ]),
489
- v("div", Ze, [
490
- ["live"].includes(d.type) ? (g(), O(
491
+ f("div", Ke, [
492
+ ["live"].includes(u.type) ? (p(), S(
491
493
  "span",
492
- Ke,
493
- V(l(m)("正在实时预览")),
494
+ Xe,
495
+ V(l(g)("正在实时预览")),
494
496
  1
495
497
  /* TEXT */
496
- )) : I("v-if", !0),
497
- I(' <das-icon v-if="isFullscreen" class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
498
+ )) : b("v-if", !0),
499
+ b(' <das-icon v-if="isFullscreen" class="icon close-icon" icon="close" @click.stop="handleClose"></das-icon> ')
498
500
  ])
499
501
  ]),
500
- e.videoUrl && c.value ? (g(), N(l(we), {
501
- key: 0,
502
- type: "flv",
503
- ref_key: "dasLivePlayerRef",
504
- ref: k,
505
- muted: s.value,
506
- onLoaded: C,
507
- src: e.videoUrl
508
- }, null, 8, ["muted", "src"])) : I("v-if", !0),
509
- v("div", Xe, [
510
- b[3] || (b[3] = v(
502
+ u.isHls ? (p(), S(
503
+ x,
504
+ { key: 1 },
505
+ [
506
+ e.videoUrl && c.value ? (p(), N(l(be), {
507
+ key: 0,
508
+ ref_key: "dasLivePlayerRef",
509
+ ref: y,
510
+ muted: r.value,
511
+ onLoaded: d,
512
+ src: e.videoUrl
513
+ }, null, 8, ["muted", "src"])) : b("v-if", !0)
514
+ ],
515
+ 64
516
+ /* STABLE_FRAGMENT */
517
+ )) : (p(), S(
518
+ x,
519
+ { key: 0 },
520
+ [
521
+ e.videoUrl && c.value ? (p(), N(l(we), {
522
+ key: 0,
523
+ ref_key: "dasLivePlayerRef",
524
+ ref: y,
525
+ muted: r.value,
526
+ onLoaded: d,
527
+ src: e.videoUrl
528
+ }, null, 8, ["muted", "src"])) : b("v-if", !0)
529
+ ],
530
+ 64
531
+ /* STABLE_FRAGMENT */
532
+ )),
533
+ f("div", Je, [
534
+ E[3] || (E[3] = f(
511
535
  "div",
512
536
  { class: "video-bottom_l" },
513
537
  null,
514
538
  -1
515
539
  /* HOISTED */
516
540
  )),
517
- v("div", Je, [
518
- v(
541
+ f("div", et, [
542
+ f(
519
543
  "div",
520
544
  {
521
545
  class: "controls",
522
- onDblclick: b[2] || (b[2] = y((z) => z.stopPropagation(), ["stop"]))
546
+ onDblclick: E[2] || (E[2] = _((D) => D.stopPropagation(), ["stop"]))
523
547
  },
524
548
  [
525
- p(l(h), {
526
- content: l(m)("声音")
549
+ v(l(h), {
550
+ content: l(g)("声音")
527
551
  }, {
528
- default: f(() => [
529
- p(l(L), {
552
+ default: C(() => [
553
+ v(l($), {
530
554
  class: "icon icon-volume",
531
- icon: s.value ? "muted" : "volume",
532
- onClick: y(w, ["stop"])
555
+ icon: r.value ? "muted" : "volume",
556
+ onClick: _(k, ["stop"])
533
557
  }, null, 8, ["icon"])
534
558
  ]),
535
559
  _: 1
536
560
  /* STABLE */
537
561
  }, 8, ["content"]),
538
- p(l(h), {
539
- content: l(m)("截图")
562
+ v(l(h), {
563
+ content: l(g)("截图")
540
564
  }, {
541
- default: f(() => [
542
- p(l(L), {
565
+ default: C(() => [
566
+ v(l($), {
543
567
  class: "icon icon-screenshot",
544
568
  icon: "screenshot",
545
- onClick: y(S, ["stop"])
569
+ onClick: _(F, ["stop"])
546
570
  })
547
571
  ]),
548
572
  _: 1
549
573
  /* STABLE */
550
574
  }, 8, ["content"]),
551
- U("control") ? (g(), N(l(h), {
575
+ H("control") ? (p(), N(l(h), {
552
576
  key: 0,
553
- content: l(m)("聚焦-")
577
+ content: l(g)("聚焦-")
554
578
  }, {
555
- default: f(() => [
556
- ["live", "polling"].includes(e.type) ? (g(), N(l(L), {
579
+ default: C(() => [
580
+ ["live", "polling"].includes(e.type) ? (p(), N(l($), {
557
581
  key: 0,
558
582
  class: "icon icon-shrink",
559
583
  icon: "shrink",
560
- onClick: b[0] || (b[0] = y((z) => j("zoomOut"), ["stop"]))
561
- })) : I("v-if", !0)
584
+ onClick: E[0] || (E[0] = _((D) => M("zoomOut"), ["stop"]))
585
+ })) : b("v-if", !0)
562
586
  ]),
563
587
  _: 1
564
588
  /* STABLE */
565
- }, 8, ["content"])) : I("v-if", !0),
566
- U("control") ? (g(), N(l(h), {
589
+ }, 8, ["content"])) : b("v-if", !0),
590
+ H("control") ? (p(), N(l(h), {
567
591
  key: 1,
568
- content: l(m)("聚焦+")
592
+ content: l(g)("聚焦+")
569
593
  }, {
570
- default: f(() => [
571
- ["live", "polling"].includes(e.type) ? (g(), N(l(L), {
594
+ default: C(() => [
595
+ ["live", "polling"].includes(e.type) ? (p(), N(l($), {
572
596
  key: 0,
573
597
  class: "icon icon-enlarge",
574
598
  icon: "enlarge",
575
- onClick: b[1] || (b[1] = y((z) => j("zoomIn"), ["stop"]))
576
- })) : I("v-if", !0)
599
+ onClick: E[1] || (E[1] = _((D) => M("zoomIn"), ["stop"]))
600
+ })) : b("v-if", !0)
577
601
  ]),
578
602
  _: 1
579
603
  /* STABLE */
580
- }, 8, ["content"])) : I("v-if", !0),
581
- U("control") ? (g(), N(l(h), {
604
+ }, 8, ["content"])) : b("v-if", !0),
605
+ H("control") ? (p(), N(l(h), {
582
606
  key: 2,
583
- content: l(m)("方向控制")
607
+ content: l(g)("方向控制")
584
608
  }, {
585
- default: f(() => [
586
- ["live", "polling"].includes(e.type) ? (g(), N(l(L), {
609
+ default: C(() => [
610
+ ["live", "polling"].includes(e.type) ? (p(), N(l($), {
587
611
  key: 0,
588
612
  class: "icon icon-direction-control",
589
613
  icon: "direction-control",
590
- onClick: y(E, ["stop"])
591
- })) : I("v-if", !0)
614
+ onClick: _(I, ["stop"])
615
+ })) : b("v-if", !0)
592
616
  ]),
593
617
  _: 1
594
618
  /* STABLE */
595
- }, 8, ["content"])) : I("v-if", !0)
619
+ }, 8, ["content"])) : b("v-if", !0)
596
620
  ],
597
621
  32
598
622
  /* NEED_HYDRATION */
599
623
  )
600
624
  ])
601
625
  ]),
602
- a.value ? (g(), N(Qe, {
603
- key: 1,
604
- onChange: se
605
- })) : I("v-if", !0)
626
+ a.value ? (p(), N(Qe, {
627
+ key: 2,
628
+ onChange: B
629
+ })) : b("v-if", !0)
606
630
  ]),
607
631
  _: 1
608
632
  /* STABLE */
609
633
  }, 8, ["spinning", "tip"])
610
634
  ]));
611
635
  }
612
- }), tt = /* @__PURE__ */ T(et, [["__scopeId", "data-v-9cfa053b"]]), ot = "/api/device-relation/deviceproject/v1/project/device/video", nt = "v1", lt = ee(`/api/enterpriseright/permission/${nt}`), ie = ee(`${ot}`, it);
613
- function it(t) {
614
- const n = M() ? M().id : 1;
636
+ }), ot = /* @__PURE__ */ T(tt, [["__scopeId", "data-v-aeccd12a"]]), nt = "/api/device-relation/deviceproject/v1/project/device/video", lt = "v1", it = te(`/api/enterpriseright/permission/${lt}`), se = te(`${nt}`, st);
637
+ function st(t) {
638
+ const n = A() ? A().id : 1;
615
639
  return t.params || (t.params = {}), t.params.project = n, t.params.projectId = n, t;
616
640
  }
617
641
  function re(t) {
@@ -620,19 +644,19 @@ function re(t) {
620
644
  n.append(e, i);
621
645
  return n.toString();
622
646
  }
623
- function Z(t) {
624
- return ie.post(`/ptz?${re(t)}`)().run();
647
+ function X(t) {
648
+ return se.post(`/ptz?${re(t)}`)().run();
625
649
  }
626
650
  function rt(t) {
627
- return ie.post(`/url/preview?${re(t)}`)().run();
651
+ return se.post(`/url/preview?${re(t)}`)().run();
628
652
  }
629
- lt.post("data/device-auth");
630
- const st = (t) => {
631
- const n = Ie();
653
+ it.post("data/device-auth");
654
+ const at = (t) => {
655
+ const n = Ee();
632
656
  return `${t}?token=${n}`;
633
657
  };
634
- _([]);
635
- const at = /* @__PURE__ */ D({
658
+ w([]);
659
+ const ct = /* @__PURE__ */ O({
636
660
  props: {
637
661
  deviceInfo: {
638
662
  type: Object,
@@ -640,6 +664,10 @@ const at = /* @__PURE__ */ D({
640
664
  },
641
665
  source: {
642
666
  type: String
667
+ },
668
+ isHls: {
669
+ type: Boolean,
670
+ default: !1
643
671
  }
644
672
  },
645
673
  setup(t, {
@@ -647,87 +675,96 @@ const at = /* @__PURE__ */ D({
647
675
  }) {
648
676
  const {
649
677
  deviceInfo: e,
650
- source: i
651
- } = me(t), s = _(!1), o = _(""), a = async () => {
652
- var C;
653
- if (!((C = e.value) != null && C.deviceId)) return;
654
- s.value = !0;
655
- const [u, c] = await rt({
678
+ source: i,
679
+ isHls: r
680
+ } = me(t), o = w(!1), a = w(""), y = async () => {
681
+ var k;
682
+ if (!((k = e.value) != null && k.deviceId)) return;
683
+ o.value = !0;
684
+ const [c, d] = await rt({
656
685
  productId: e.value.productId,
657
686
  deviceId: e.value.deviceId,
658
687
  source: i.value
659
688
  });
660
- u || (o.value = st(c == null ? void 0 : c.wsFlvStreamURL)), s.value = !1;
661
- }, k = (u) => {
662
- Z({
689
+ if (!c) {
690
+ let I = r.value ? "httpHlsStreamURL" : "wsFlvStreamURL";
691
+ a.value = at(d == null ? void 0 : d[I]);
692
+ }
693
+ o.value = !1;
694
+ }, s = (c) => {
695
+ X({
663
696
  productId: e.value.productId,
664
697
  deviceId: e.value.deviceId,
665
- direction: u,
698
+ direction: c,
666
699
  zoom: "",
667
700
  source: i.value || "web"
668
701
  });
669
- }, r = (u) => {
670
- Z({
702
+ }, m = (c) => {
703
+ X({
671
704
  productId: e.value.productId,
672
705
  deviceId: e.value.deviceId,
673
706
  direction: "",
674
- zoom: u,
707
+ zoom: c,
675
708
  source: i.value || "web"
676
709
  });
677
710
  };
678
- return K(() => {
679
- a();
680
- }), F(() => e.value, () => {
681
- a();
711
+ return J(() => {
712
+ y();
713
+ }), R(() => e.value, () => {
714
+ y();
682
715
  }, {
683
716
  deep: !0
684
- }), () => p(J, null, [n.default({
685
- videoUrl: o.value,
686
- loading: s.value,
687
- onDirectionControl: k,
688
- onZoomControl: r
717
+ }), () => v(x, null, [n.default({
718
+ videoUrl: a.value,
719
+ loading: o.value,
720
+ onDirectionControl: s,
721
+ onZoomControl: m,
722
+ isHls: r.value
689
723
  })]);
690
724
  }
691
725
  });
692
- function ct(t) {
693
- const n = _(0), e = _(), {
726
+ function ut(t) {
727
+ const n = w(0), e = w(), {
694
728
  toggle: i,
695
- isFullscreen: s,
729
+ isFullscreen: r,
696
730
  exit: o
697
- } = le(e), a = (r, u) => {
698
- s.value && o();
731
+ } = ie(e), a = (s, m) => {
732
+ r.value && o();
699
733
  };
700
734
  return {
701
- render: () => p(Me, {
735
+ render: () => v(Me, {
702
736
  ref: e,
703
737
  gridNum: t.gridNum,
704
738
  activeIndex: n.value,
705
- "onUpdate:activeIndex": (r) => n.value = r,
706
- showFn: (r) => !!t.deviceList[r]
739
+ "onUpdate:activeIndex": (s) => n.value = s,
740
+ showFn: (s) => !!t.deviceList[s]
707
741
  }, {
708
742
  default: ({
709
- index: r
743
+ index: s
710
744
  }) => {
711
- const u = t.deviceList[r], c = t.source;
712
- return p(at, {
713
- deviceInfo: u,
714
- source: c
745
+ const m = t.deviceList[s], c = t.source, d = t.isHls;
746
+ return v(ct, {
747
+ deviceInfo: m,
748
+ source: c,
749
+ isHls: d
715
750
  }, {
716
751
  default: ({
717
- videoUrl: C,
718
- onDirectionControl: w,
719
- onZoomControl: E,
720
- loading: $
721
- }) => p(tt, {
752
+ videoUrl: k,
753
+ onDirectionControl: I,
754
+ onZoomControl: L,
755
+ loading: F,
756
+ isHls: B
757
+ }) => v(ot, {
722
758
  type: "live",
723
- loading: $,
724
- isFullscreen: s.value,
725
- videoUrl: C,
726
- title: u.deviceName,
759
+ loading: F,
760
+ isFullscreen: r.value,
761
+ videoUrl: k,
762
+ title: m.deviceName,
727
763
  onClose: () => a(),
728
- onDirectionControl: w,
729
- onZoomControl: E,
730
- authType: u.authType === 2 ? ["control"] : []
764
+ onDirectionControl: I,
765
+ onZoomControl: L,
766
+ authType: m.authType === 2 ? ["control"] : [],
767
+ isHls: B
731
768
  }, null)
732
769
  });
733
770
  }
@@ -735,61 +772,62 @@ function ct(t) {
735
772
  toggleFullscreen: i
736
773
  };
737
774
  }
738
- const ut = /* @__PURE__ */ D({
775
+ const dt = /* @__PURE__ */ O({
739
776
  __name: "index",
740
777
  props: {
741
778
  visible: { type: Boolean, default: !1 },
742
779
  deviceList: { default: () => [] },
743
780
  gridNum: { default: 4 },
744
- source: {}
781
+ source: {},
782
+ isHls: { type: Boolean, default: !1 }
745
783
  },
746
784
  emits: ["update:visible"],
747
785
  setup(t, { emit: n }) {
748
- const e = t, i = n, s = x({
786
+ const e = t, i = n, r = U({
749
787
  get: () => e.visible,
750
- set: (r) => i("update:visible", r)
751
- }), { render: o, toggleFullscreen: a } = ct(e), k = x(() => {
752
- let r = {};
788
+ set: (s) => i("update:visible", s)
789
+ }), { render: o, toggleFullscreen: a } = ut(e), y = U(() => {
790
+ let s = {};
753
791
  switch (e.gridNum) {
754
792
  case 1:
755
- r = "one-video";
793
+ s = "one-video";
756
794
  break;
757
795
  case 4:
758
- r = "four-video";
796
+ s = "four-video";
759
797
  break;
760
798
  case 9:
761
- r = "nine-video";
799
+ s = "nine-video";
762
800
  break;
763
801
  }
764
- return r;
802
+ return s;
765
803
  });
766
- return (r, u) => (g(), N(l(ke), {
804
+ return (s, m) => (p(), N(l(ye), {
767
805
  size: "mini",
768
- title: l(m)("视频监控"),
769
- "custom-class": `das-linakge-video-dialog ${k.value}`,
770
- modelValue: s.value,
771
- "onUpdate:modelValue": u[0] || (u[0] = (c) => s.value = c),
806
+ title: l(g)("视频监控"),
807
+ "custom-class": `das-linakge-video-dialog ${y.value}`,
808
+ modelValue: r.value,
809
+ "onUpdate:modelValue": m[0] || (m[0] = (c) => r.value = c),
772
810
  bodyStyle: { padding: 0 },
773
811
  "close-on-click-modal": !1,
774
812
  "close-on-press-escape": !1,
775
813
  modal: !1,
776
814
  "header-style": { display: "flex", justifyContent: "space-between", alignItems: "center" }
777
815
  }, {
778
- header: f(() => [
779
- v("div", null, [
780
- v(
816
+ header: C(() => [
817
+ f("div", null, [
818
+ f(
781
819
  "span",
782
820
  null,
783
- V(l(m)("视频监控")),
821
+ V(l(g)("视频监控")),
784
822
  1
785
823
  /* TEXT */
786
824
  )
787
825
  ]),
788
- p(l(h), {
789
- content: l(m)("页面全屏")
826
+ v(l(h), {
827
+ content: l(g)("页面全屏")
790
828
  }, {
791
- default: f(() => [
792
- p(l(ye), {
829
+ default: C(() => [
830
+ v(l(ke), {
793
831
  class: "icon",
794
832
  color: "#999",
795
833
  onClick: l(a)
@@ -799,14 +837,14 @@ const ut = /* @__PURE__ */ D({
799
837
  /* STABLE */
800
838
  }, 8, ["content"])
801
839
  ]),
802
- default: f(() => [
803
- s.value ? (g(), N(l(o), { key: 0 })) : I("v-if", !0)
840
+ default: C(() => [
841
+ r.value ? (p(), N(l(o), { key: 0 })) : b("v-if", !0)
804
842
  ]),
805
843
  _: 1
806
844
  /* STABLE */
807
845
  }, 8, ["title", "custom-class", "modelValue"]));
808
846
  }
809
- }), dt = {
847
+ }), pt = {
810
848
  加载中: { "zh-CN": "加载中", en: "Loading", _appCode: "framework" },
811
849
  正在实时预览: { "zh-CN": "正在实时预览", en: "Real-time Video", _appCode: "framework" },
812
850
  声音: { "zh-CN": "声音", en: "Sound", _appCode: "framework" },
@@ -828,10 +866,10 @@ const ut = /* @__PURE__ */ D({
828
866
  "聚焦-": { "zh-CN": "聚焦-", en: "Focus-", _appCode: "framework" },
829
867
  "聚焦+": { "zh-CN": "聚焦+", en: "Focus+", _appCode: "framework" }
830
868
  };
831
- ge(dt);
832
- const It = Ce(ut), Et = () => _(null);
869
+ ge(pt);
870
+ const Nt = Ce(dt), Ft = () => w(null);
833
871
  export {
834
- It as DasVideoDialog,
835
- Et as DasVideoDialogRef,
836
- ct as useVideo
872
+ Nt as DasVideoDialog,
873
+ Ft as DasVideoDialogRef,
874
+ ut as useVideo
837
875
  };