@das-fed/ui 6.4.0-hot.23 → 6.4.0-hot.24

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